34 Commits

Author SHA1 Message Date
Manuel Roman
bb5a8fd908 am 9d98a089: Check result handler is not null
* commit '9d98a089756b692eefeae7f92cca15e121196e0c':
  Check result handler is not null
2012-05-23 16:00:37 -07:00
Manuel Roman
9d98a08975 Check result handler is not null
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
2012-05-23 14:25:31 -07:00
Mike Lockwood
17a452f00c Revert "Revert "The com.android.athome api classes are moving android.support.place.""
This reverts commit 9dede89795a88268ab735a1b28e628f2a77922fe.
2012-02-17 10:38:00 -08:00
Mike Lockwood
9dede89795 Revert "The com.android.athome api classes are moving android.support.place."
to fix the build

This reverts commit 1aeecce8e9fe2749d1ad7ec86e40fe5a892f8f05
2012-02-17 09:53:17 -08:00
Joe Onorato
1aeecce8e9 The com.android.athome api classes are moving android.support.place.
Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
2012-02-16 17:59:30 -08:00
Manuel Roman
01060b08fb Modified the constructor of EndpointBase
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
2012-02-10 14:44:07 -08:00
Jason Simmons
7dc2973951 Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes 2012-02-10 14:44:07 -08:00
Joe Onorato
0a7eaecf64 Don't try to unmarshal void return types when there are out parameters being returned. 2012-02-10 14:44:05 -08:00
Joe Onorato
28087c63d8 Update aidl for new Broker API. 2012-02-10 10:51:23 -08:00
Joe Onorato
a1c6d909c2 aidl: All flattenable types now must also be parcelable.
This is more a limitation of the grammar than anything else triggering laziness on my part.
2012-02-10 10:51:23 -08:00
Joe Onorato
95a766ddcd Update aidl to new APIs. 2012-02-10 10:51:23 -08:00
Manuel Roman
b71287f42e Modified AIDL to support authentication
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
2012-02-10 10:51:22 -08:00
Tim Kilbourn
22a7cb8d49 Fix PresenterClass by adding a _listener field 2012-02-10 10:51:22 -08:00
Joe Onorato
e24dbeafe6 add presenters to aidl. 2012-02-10 10:51:22 -08:00
Joe Onorato
21d524ea8a Generate fallthrough for unhandled actions in RPC methods. 2012-02-10 10:51:21 -08:00
Joe Onorato
7db766c3fe Support custom flattenable types for RPC. 2012-02-10 10:51:21 -08:00
Joe Onorato
05ffbe7c02 Add the full suite of RpcData types. 2012-02-10 10:51:20 -08:00
Joe Onorato
fdfe2ff8c6 Checkpoint adding @home RPC support to aidl 2012-02-10 10:51:20 -08:00
Jason Simmons
6e5d9dfc5f Merge "Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes" into ics-aah 2012-01-11 12:51:52 -08:00
Manuel Roman
a8744b7cdf Modified the constructor of EndpointBase
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
2012-01-03 22:03:37 -08:00
Jason Simmons
20e0cef180 Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes
Change-Id: I1de957db3eceebc466d8ce23e2a80a0fcf4c917c
2011-12-16 16:14:17 -08:00
Joe Onorato
0c86196fe1 The com.android.athome api classes are moving android.support.place.
Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
2011-12-11 20:42:33 -08:00
Joe Onorato
6980de4ef9 Don't try to unmarshal void return types when there are out parameters being returned.
Change-Id: Ib7d2a5609167a076dd7ee8e10e8a55056789517e
2011-11-17 16:13:49 -08:00
Joe Onorato
9a7822497f The API doesn't need a container here, all it needs is a Context.
Change-Id: Id270a8cf4ce3b30dd470a5e11b966aaa14fb70c0
2011-10-23 19:11:40 -07:00
Joe Onorato
c7ec1dc21a Update aidl for new Broker API.
Change-Id: I3a51e45a054082a530b5af8aa063da6f674e89bc
2011-10-12 23:22:42 -07:00
Joe Onorato
9e35e44b42 aidl: All flattenable types now must also be parcelable.
This is more a limitation of the grammar than anything else triggering laziness on my part.

Change-Id: I73b21022388c54e516d7e1cddfd4895d351cd194
2011-10-09 22:32:07 -07:00
Joe Onorato
0d2a6b6cf5 Update aidl to new APIs.
Change-Id: I6a3984f9173573a256a60794b7482fab093a2635
2011-10-09 21:51:46 -07:00
Manuel Roman
2c5eb269bb Modified AIDL to support authentication
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: Ie1d247e8cac21f7f207a87b2eb77f3d1dd7215d4
2011-10-08 08:17:06 -07:00
Tim Kilbourn
b8a6f22e1b Fix PresenterClass by adding a _listener field
Change-Id: If5c4fab3bd9b5a42f066c183365aeeec65c87cbc
2011-09-27 10:30:53 -07:00
Joe Onorato
e415ecb479 add presenters to aidl.
Change-Id: I7c3187a5f619f9dd49104b3a131696a32248eb85
2011-09-23 23:57:12 -07:00
Joe Onorato
0ca2a36d8d Support custom flattenable types for RPC. 2011-09-19 16:23:18 -07:00
Joe Onorato
4742c0cd30 Generate fallthrough for unhandled actions in RPC methods.
Change-Id: I2913b20577dd47e000aa6b7403352ee492e6191a
2011-09-19 15:35:02 -07:00
Joe Onorato
a1426e61f4 Add the full suite of RpcData types.
Change-Id: I2798207a5bbce8fbb5980f2aa131d4e1f408839f
2011-09-02 15:28:36 -07:00
Joe Onorato
7add83bbb5 Checkpoint adding @home RPC support to aidl
Change-Id: I85534bd58aabdc58a05b76e49f5580196fefcec9
2011-09-01 15:31:29 -07:00