summaryrefslogtreecommitdiffstats
path: root/tools/aidl
Commit message (Collapse)AuthorAgeFilesLines
* AIDL: Add option to generate No-Op methodsLuis Vidal2016-07-156-8/+115
| | | | | | | Add the option to generate a default (no-op) implementation of an interface Change-Id: I2631e93c8b85e056cf928e9592342dc4466f293e
* aidl: Support for duplicate methods having different argumentsSteve Kondik2015-10-303-8/+22
| | | | | | | | * Add support for duplicate methods in AIDL when they have different ids, only when ids have been manually assigned to all methods. * This is useful for backwards compatibility. Change-Id: I9612d1633c48e31fe65b966777366a9a6b3ebf5c
* kill OS_CASE_SENSITIVEYabin Cui2014-11-101-1/+2
| | | | | Bug: 18314594 Change-Id: Ib11b45d2597b2576bc7df2d0167ce1bbd1449523
* include direct.h for _mkdirAndrew Hsieh2014-09-301-0/+1
| | | | | | | | | Bug: 14416410 The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer declares _mkdir in io.h. Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
* am 71364f8c: am f5f4d930: am 74bebf6f: Exclude the host aapt and aidl from ↵Ying Wang2014-03-081-2/+2
|\ | | | | | | | | | | | | PDK build. * commit '71364f8c1e1bcc84375830dd5904dfe7cdfb5ed6': Exclude the host aapt and aidl from PDK build.
| * am 74bebf6f: Exclude the host aapt and aidl from PDK build.Ying Wang2014-03-081-2/+2
| |\ | | | | | | | | | | | | * commit '74bebf6faed2d34814ffc3d46664330ea568f7b2': Exclude the host aapt and aidl from PDK build.
| | * Exclude the host aapt and aidl from PDK build.Ying Wang2014-03-071-2/+2
| | | | | | | | | | | | | | | Bug: 13028632 Change-Id: I0f774b19be77462d0fa271088a4a5a152729d13c
| | * am 8f592378: am 69920427: Merge "Fix a variety of small publicly-reported bugs."Elliott Hughes2013-10-291-7/+8
| | |\ | | | | | | | | | | | | | | | | * commit '8f592378a1ea7f31d57253dc202f42707ef4da36': Fix a variety of small publicly-reported bugs.
* | | \ am 4bd720c2: am a05e7526: am 9c6f41e3: am be7b8f4f: Merge "aidl: Support ↵David 'Digit' Turner2014-03-061-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | building with updated host sysroot." * commit '4bd720c2c63b2400437db971ac96616693a8fe3b': aidl: Support building with updated host sysroot.
| * | | aidl: Support building with updated host sysroot.David 'Digit' Turner2014-03-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes tools/aidl/Type.cpp to compile with a more recent SDK host toolchain sysroot (that has not been submitted yet). The main issue is that the code uses ssize_t which is defined in <sys/types.h>, but didn't include the header directly. Apparently, this no longer compiles when using the Ubuntu 10.04 libc6-dev headers (the current SDK toolchain is based on Ubuntu 8.04), so perform an explicit include to fix this. NOTE: This doesn't break the Windows SDK build. Change-Id: Idcacf8f8d1c606b39bf8aa75ab409aa0c2a3cd5a
| * | | Merge commit 'b873a17ce7be0a9771c24999adca6964431728f6' into HEADThe Android Open Source Project2013-11-221-0/+10
| |\ \ \ | | |/ / | | | / | | |/ | |/| Change-Id: I938755073e70602cc8f51ce9bd420fdcf870cecd
| * | Fix a variety of small publicly-reported bugs.Elliott Hughes2013-10-291-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Possible NULL dereference in cmds/bootanimation/BootAnimation.cpp. https://code.google.com/p/android/issues/detail?id=61556 Missing fclose in core/jni/android_os_Debug.cpp. https://code.google.com/p/android/issues/detail?id=61546 Bad loop guards in core/jni/android_util_Process.cpp. https://code.google.com/p/android/issues/detail?id=61557 Assignment to wrong variable in libs/androidfw/AssetManager.cpp. https://code.google.com/p/android/issues/detail?id=61560 Missing delete[]s in libs/androidfw/ObbFile.cpp. https://code.google.com/p/android/issues/detail?id=61549 Leaks on error in tools/aapt/Images.cpp. https://code.google.com/p/android/issues/detail?id=61552 Two missing fclose calls in tools/aapt/Resource.cpp. https://code.google.com/p/android/issues/detail?id=61553 Missing fclose in tools/aidl/aidl.cpp. https://code.google.com/p/android/issues/detail?id=61554 Change-Id: I5820f3824e72d07a9acb776cf0af3e7443f5694a
* | | Re-apply several tools fixes lost by the directory rearrangement.Elliott Hughes2014-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Leaks on error in tools/aapt/Images.cpp. https://code.google.com/p/android/issues/detail?id=61552 Two missing fclose calls in tools/aapt/Resource.cpp. https://code.google.com/p/android/issues/detail?id=61553 Missing fclose in tools/aidl/aidl.cpp. https://code.google.com/p/android/issues/detail?id=61554 Change-Id: I56ce144958296961b77354815efc1a245564594b
* | | Revert "Move frameworks/base/tools/ to frameworks/tools/"Adam Lesinski2014-01-2720-0/+7672
| | | | | | | | | | | | This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
* | | Move frameworks/base/tools/ to frameworks/tools/Mike Lockwood2013-08-2820-7672/+0
| |/ |/| | | | | Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
* | Better aidl generated dependencyYing Wang2013-08-231-0/+10
|/ | | | | | | | | | | | | | | Previously if an imported aidl file has been deleted or moved, the generated dependency file still contains the stale file name, and make will fail with "No rule to make target <the deleted/moved file>". This change uses technique described in section "Automatic Dependency Generation", Chapter 8 of "Managing Projects with GNU Make (3d Edition)". The same technique is used by the Android platform build system to generate C/C++ header dependencies. Bug: 10459179 Change-Id: Ib0c01a4234ef1af994487fdc846cdf8d13a675f6
* Revert "Tentative fix for aidl import issue"Laurent Tu2013-02-151-1/+1
| | | | | | | | Fix build. This reverts commit 4f115e08cb68aaf77693f3f4598f0eb5f7634777. Change-Id: Ic4f51e3492f54afec5f0eeb48e08491eb47f3c04
* Tentative fix for aidl import issueLaurent Tu2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | Fix issue when aidl generation doesn't use the right type when it is a suffix of a pre-declared type. eg. android.location.Location and foo.android.location.Location. The aidl generation will never use foo.android.location.Location. The tentative fix reverses the order in which Namespace.Search iterates through the known types. A better fix would be to annotate the types that are declared in the aidl import statements to be prioritary in Namespace.Search. Lmk if I you agree with this approach and think that this is worth the work. Thanks! Change-Id: I97dd1a1d417075accf1d61f9aba5aba3dea175c6
* am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-074-0/+0
|\ | | | | | | | | * commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6': Correct executable bit for source files
| * am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-074-0/+0
| |\ | | | | | | | | | | | | * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
| | * Correct executable bit for source filesKenny Root2012-11-074-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
* | | Enhance AIDL to take an explicit id for methodsMaurice Chu2012-10-185-4/+132
|/ / | | | | | | | | | | | | | | | | | | | | | | This adds an annotation to methods in AIDL of the form "void myMethod() = 3;" to explicitly set the onTransact id for the method. Either all methods must have explicitly annotated id's or none of them should be explicitly annotated. There is error checking in the AIDL compiler for duplicate id's and id's outside of the valid range. Bug: 7353910 Change-Id: I868045e3f112c9a279c573cea368a621116cbf77
* | Allow multiple 'parcelable' declarations in aidl filesAdam Powell2012-08-161-4/+2
| | | | | | | | | | | | | | This solves a problem with declaring multiple Parcelable static inner classes. Change-Id: I5e42b412d6d937df19a388988be5aa58a8dbc3e4
* | am 4b4b4438: am 33c5670b: Merge "Fewer warnings in aidl generated code."Elliott Hughes2012-08-071-4/+4
|\ \ | |/ | | | | | | * commit '4b4b44381b133e9ab7418806c046774b7fd31393': Fewer warnings in aidl generated code.
| * Fewer warnings in aidl generated code.Elliott Hughes2012-08-071-4/+4
| | | | | | | | | | Bug: http://code.google.com/p/android/issues/detail?id=19196 Change-Id: If054e60c19dc73fe32f55d0fa1054309565a6de6
* | am 9d98a089: Check result handler is not nullManuel Roman2012-05-231-1/+4
|\ \ | |/ |/| | | | | * commit '9d98a089756b692eefeae7f92cca15e121196e0c': Check result handler is not null
| * Check result handler is not nullManuel Roman2012-05-231-1/+4
| | | | | | | | | | | | | | | | If caller passes a null result handler to the proxy methods, we need to check it when getting the result. Otherwise we try to invoke a method on a null object Change-Id: Ic2f456c36cb542b782b6a6d0d4d607ccf0987496
| * Merge "Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes" ↵Jason Simmons2012-01-111-0/+15
| |\ | | | | | | | | | into ics-aah
| | * Add a getEndpointInfo accessor to AIDL-generated RPC proxy classesJason Simmons2011-12-161-0/+15
| | | | | | | | | | | | Change-Id: I1de957db3eceebc466d8ce23e2a80a0fcf4c917c
| * | Modified the constructor of EndpointBaseManuel Roman2012-01-031-1/+5
| |/ | | | | | | | | | | | | | | | | We introduced changes to the Endpoint lifecycle. Modified the AIDL compiler to take into account the changes. Just affected the constructor, which needs now an extra parameter: placeInfo Change-Id: I936e8e0ee512a1f7015a029be48042b7b98b7ffb
| * The com.android.athome api classes are moving android.support.place.Joe Onorato2011-12-112-10/+10
| | | | | | | | Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
| * Use the new get/putFlattenable methods on RpcData.Joe Onorato2011-12-041-36/+5
| | | | | | | | | | | | They handle null correctly. Change-Id: I8eebf43e1791ea0f99f3d4ee1beb74aa4c977115
| * Don't try to unmarshal void return types when there are out parameters being ↵Joe Onorato2011-11-171-5/+7
| | | | | | | | | | | | returned. Change-Id: Ib7d2a5609167a076dd7ee8e10e8a55056789517e
| * For events, require that the parameters be marked in.Joe Onorato2011-11-081-0/+9
| | | | | | | | | | | | (because they won't work otherwise) Change-Id: I77f370ca1bc381ea07fc2854d2a90d8138ca1796
| * Support putting Flattenables in Lists.Joe Onorato2011-11-072-5/+34
| | | | | | | | Change-Id: I683ec1823286d7f2ac03683a1cdad6413d2445b1
| * Was generating code that uses the wrong RpcData.Joe Onorato2011-11-061-3/+3
| | | | | | | | Change-Id: I7984ac8306d7e293c6e4ccb75c5f03c508e465af
| * Merge "This should fix the build for now." into ics-aahJoe Onorato2011-11-031-1/+2
| |\
| | * This should fix the build for now.Joe Onorato2011-11-031-1/+2
| | | | | | | | | | | | | | | | | | I can't reproduce the real problem. Change-Id: I851d42eed6f5eb5e9b2b53859e97b43438676cc8
| * | Merge "Add some extra debug information because this error is only happening ↵Joe Onorato2011-11-031-2/+3
| |\ \ | | |/ | | | | | | on the build server." into ics-aah
| | * Add some extra debug information because this error is only happening on the ↵Joe Onorato2011-11-031-2/+3
| | | | | | | | | | | | | | | | | | build server. Change-Id: I0703fffbe9701bf6614030e948a8e6cbfc3647be
| | * Revert "Treat parcelables as flattenables for now, until the sdk contains a ↵Joe Onorato2011-10-281-3/+1
| | | | | | | | | | | | | | | | | | newer aidl." Change-Id: I8f588d160888550ee79564afe6935fd0f78bc1f7
| | * Treat parcelables as flattenables for now, until the sdk contains a newer aidl.Joe Onorato2011-10-281-1/+3
| | | | | | | | | | | | Change-Id: Ic673aaa41fc9f430fdb7bda8963297452c9471da
| | * Update aidl for new Broker API.Joe Onorato2011-10-281-43/+42
| | | | | | | | | | | | Change-Id: Ibb92fb85eea5e9c9aeaf8ef1d2a5ef19fbf68021
| | * aidl: All flattenable types now must also be parcelable.Joe Onorato2011-10-286-140/+99
| | | | | | | | | | | | | | | | | | This is more a limitation of the grammar than anything else triggering laziness on my part. Change-Id: I5ad949c6d8378870e40a15cf6e975e318cfeece5
| | * Update aidl to new APIs.Joe Onorato2011-10-281-41/+40
| | | | | | | | | | | | Change-Id: If7a39bec6478ee2a2c1493c744fa5afe9757c88d
| | * Suport RpcData as a parcelable type.Joe Onorato2011-10-282-18/+28
| | | | | | | | | | | | Change-Id: I5721fe5b33f52edfb06f4c9cd4f8c97d234e9fc7
| | * Modified AIDL to support authenticationManuel Roman2011-10-282-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | We need to pass an RpcContext with information such as the caller's certificate. I also modified the compiler so it does not use Container anymore and uses Context Change-Id: Ib54b774f9c7b5cb3e0a014ce91548b817efcb72b
| | * Fix PresenterClass by adding a _listener fieldTim Kilbourn2011-10-281-1/+1
| | | | | | | | | | | | Change-Id: I22578bba4d66d032f67ceec3e7232de13be4f175
| | * add presenters to aidl.Joe Onorato2011-10-284-231/+491
| | | | | | | | | | | | Change-Id: I23c0bb085f3bfd27ca3b7f53e26cb704f8ddac1a
| | * Support custom flattenable types for RPC.Joe Onorato2011-10-288-54/+203
| | | | | | | | | | | | Change-Id: I5c29043baba792ce99d2e9d48bc96d4837b2a808