summaryrefslogtreecommitdiffstats
path: root/tools/aidl/aidl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* AIDL: Add option to generate No-Op methodsLuis Vidal2016-07-151-1/+13
| | | | | | | 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-301-8/+15
| | | | | | | | * 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
* 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-271-0/+1155
| | | | This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
* Move frameworks/base/tools/ to frameworks/tools/Mike Lockwood2013-08-281-1155/+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
* Enhance AIDL to take an explicit id for methodsMaurice Chu2012-10-181-0/+78
| | | | | | | | | | | | 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
* For events, require that the parameters be marked in.Joe Onorato2012-02-101-0/+9
| | | | | (because they won't work otherwise)
* aidl: All flattenable types now must also be parcelable.Joe Onorato2012-02-101-55/+46
| | | | This is more a limitation of the grammar than anything else triggering laziness on my part.
* add presenters to aidl.Joe Onorato2012-02-101-6/+22
|
* Support custom flattenable types for RPC.Joe Onorato2012-02-101-15/+53
|
* Checkpoint adding @home RPC support to aidlJoe Onorato2012-02-101-11/+27
|
* Add new dependency generation option to aidl.Xavier Ducrohet2011-09-011-44/+75
| | | | | | | | | | | | | | | | | | | | | | The SDK build system does not provide an output file and instead uses the -o<FOLDER> option and lets aidl figure out the intermediary folders that represents the packages, and the filename based on the input file (and its package). Because of this the -d<FILE> option to generate a dependency file is not convenient. Instead the new option, -a (no parameters), automatically generate a dependency files next to the output file. Also, when compiling parcelable aidl files, without the -b option, a dependency file is still generated. This is used by the SDK build system since it cannot parse the file separately and instead tries to compile every .aidl file. The generation of this dependency file (which shows no output) allows to know when any type of aidl file has been compiled. Change-Id: If81dc7e1e0a780592c94d1850a1d1b094d6e7908
* Fix aidl to cope with multiple collection types per method.Elliott Hughes2011-07-131-2/+0
| | | | | Bug: http://code.google.com/p/android/issues/detail?id=18497 Change-Id: I152416022524d2860cb16b46c4812c5be6bdcbad
* long modifier was on the wrong argument.Scott Turner2010-01-141-1/+1
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-1/+67
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-1/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+904
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-904/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+902