d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
ontextHubManager.java
|
6f64bf059030ba53f7869f8639e6082b0f1f8824 |
18-Jan-2017 |
Ashutosh Joshi <ashutoshj@google.com> |
Fix error in width of nanoAppId NanoAppId should not be 32 bits as exposed in some APIs. Adding new methods to accept a 64 bit nanoAppId and deprecating the buggy API methods. Test: Compile build, ensure CHRE applications (eg: geofencing) work. Change-Id: I08b09ff1b1d23b616214282f200202c99620c300
anoApp.java
|
420e45e9cb004ea6c6e11f69adcdbf3dac5fc800 |
21-Dec-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Move ContextHubService to a better location. Move ContextHub service from system core to a more appropriate place for a service. Test: GTS tests pass. Change-Id: Ie0f25414fc472a0214c0dd94e7ad4564cd38f842
ontextHubManager.java
ontextHubService.java
|
05c68d3940d5e8794744c10063b6e8d219321f07 |
02-Dec-2016 |
Michael Wright <michaelwr@google.com> |
Remove accidentally exposed Geofencing classes. Bug: 33238174 Test: m -j12 Change-Id: I95c3c314f8659f1eeff1dfa218c4c0ab7f0b47b3
eofenceHardware.java
|
cb6216221907d4711fe842c18ee608f50f912924 |
11-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Make another interface oneway, whitelist provider. More progress towards removing blocking calls to improve system stability. Test: builds, boots Bug: 32715088 Change-Id: I5ab2d2687f4f47e0ee68105c6998e74798af061c
FusedLocationHardwareSink.aidl
|
0a17db1cc5942ea000ca87bb72853de57a15ec64 |
04-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Detect non-oneway calls leaving system_server. To protect system stability, any Binder calls leaving the system_server must carefully be performed using FLAG_ONEWAY (or the 'oneway' verb in AIDL) which prevents the call from blocking indefinitely on the remote process. In this CL, the system_server uses the new Binder.setWarnOnBlocking() method to enable detection by default for all remote Binder interfaces. It can also use Binder.allowBlocking() to allow blocking calls on certain remote interfaces that have been determined to be safe. This CL adds the 'oneway' verb to several interfaces and methods where it should have been added, and marks a handful of system ContentProviders as being safe to call into. Also, we assume that any services obtained from ServiceManager are part of the core OS, and are okay to make blocking calls to. Test: builds, boots, runs with minimal logs triggered Bug: 32715088 Change-Id: Ide476e120cb40436a94b7faf7615c943d691f4c0
ActivityRecognitionHardwareClient.aidl
|
5abcc9a8884712c25ba05f15c3adea458e33e481 |
28-Sep-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Hack around 32-bit app ID am: 1983f9b05b am: 40c0435026 am: eaed84e40a Change-Id: I2eb38c4cf7e27bfb75db2f41b529840ac9fd1f44
|
1983f9b05b3d1df5563789bfe20421b305a5cab2 |
27-Sep-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Hack around 32-bit app ID The NanoApp.java class has a bug (b/30808791) where the API treats app IDs as 32-bits, instead of 64-bits. We are too late in the Android N release cycle to change this API. We previously put in a hack to fix this only for Google nanoapps. However, our GTS nanoapps need this to work, and there are other partners who need this to work in the N timeframe. So we make a more robust hack which parses the full 64-bit app ID out of the header binary. Test: Compiles and runs GTS Bug: 31767599 Change-Id: Ic43f1f62c685fb99aac08d08767d1a67c329503f
ontextHubService.java
|
f4d609b9c061c13ebb263cced58ac86424b4fff1 |
31-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Hack in Google vendor value am: 5817ce0c13 am: 3d2f2a4305 am: ee483f7d78 Change-Id: I8ca30026b44d6ccea7cefa4b6671b4f286c352b5
|
ed2a5f85929e921120011ed5912f2414daeb1e4e |
30-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Document InstanceInfo bug am: 3be73d3950 am: 6f155aa4bf am: 7fd9e40381 Change-Id: I0f95997e013d5cb8fb23b18ad82763cc091e38f1
|
786676eb39cfed2b6cc08ef8b2bfd64c579c80e6 |
30-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
NanoAppFilter: Workaround HubId issues am: 3907049080 am: 41ef2a038d am: d20ed26dff Change-Id: Iba85f8939fca3bf097f8778fdd980bd9290a7530
|
45cad7f70ce70869414adb3e567b3af9ff908edc |
30-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Fix API documentation. am: fac5be2ace am: 921e7ef350 am: fce14d1808 Change-Id: Ib5e0ba71519b2be92064b691c4e7d5b1b51deb81
|
974c0b6a2c360d6e86ce8e99fee56569187473fe |
30-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Don't double report app loads am: fe6d4f518a am: ca627a8cc3 am: 8c94f54e0f Change-Id: I34887862a05e0cbe3c21e038c31072cd41f363a3
|
3d2f2a4305e0056227cc253390cea71c1846e48e |
29-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Hack in Google vendor value am: 5817ce0c13 Change-Id: I168a2a2a50168f7590842b5c51fbc8a80842b00e
|
143aaa6d05332515afca4977d29bcfc66c015d27 |
29-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
Merge "ContextHubService: Hack in Google vendor value" into nyc-mr1-dev
|
6f155aa4bfbd8c63df5e46330a705f2ed4f28714 |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Document InstanceInfo bug am: 3be73d3950 Change-Id: I8a1418086d7e9c4f60205234394dd1cc8d1215df
|
73f511e471d11ce650a574e9e67ee30b56d1ba4e |
26-Aug-2016 |
Brian Duddie <bduddie@google.com> |
Merge "ContextHubManager: Document InstanceInfo bug" into nyc-mr1-dev
|
5817ce0c13c4d190845b0cc74a4232cc845c31e3 |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Hack in Google vendor value To workaround b/30808791 without changing the NanoApp API, we make the assumption that if the most significant byte of our four-byte app ID is a lower-case 'L', then this is a Google Nanoapp and thus we should use "Googl" for our vendor ID, and set the most significant four bytes of our eight byte app ID accordingly. Bug: 30922112 Change-Id: I155dff58cdda1ef36a68e6d25df1e9059b1252f1
ontextHubService.java
|
41ef2a038db18d7ebb3219a2f49e42105ba2b537 |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
NanoAppFilter: Workaround HubId issues am: 3907049080 Change-Id: I0b9b272e05bc2ff4ecbc74b5570eda066dedede1
|
921e7ef3500f0aaca2cee5cc5d820d2ea6f00505 |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Fix API documentation. am: fac5be2ace Change-Id: I220af0f42791d1210acf9e88da670994f3c6ae45
|
f8d61675ac755a5110193e796e35e2e2a364387c |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
Merge "NanoAppFilter: Workaround HubId issues" into nyc-mr1-dev
|
1e07e392c376250180a788cd9bfee61595734156 |
26-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
Merge "ContextHubManager: Fix API documentation." into nyc-mr1-dev
|
3be73d3950fbc06d45ce8141f5e3585be141111a |
18-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Document InstanceInfo bug Our getNanoAppInstanceInfo() method returns incorrect information for several fields in many cases. We're too late in the release cycle to fix the core of this issue, but we can at least document it so users aren't surprised. Bug: 30944457 Change-Id: I9330c3b77d08c36befbe20258c6cc45dc640f103
ontextHubManager.java
|
390704908004a9298944091c0f74a481fac1c4a8 |
18-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
NanoAppFilter: Workaround HubId issues There's no API to set mContextHubId, but testMatch() uses this. We can't add API at this point of the release cycle, so instead we default mContextHubId to HUB_ANY, which makes it always match. Bug:30018518 Change-Id: I4e08afc65889dc109a4da1bd99a027345da865ca
anoAppFilter.java
|
fac5be2ace153998d8d317c76a22dffe9bf17f34 |
18-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Fix API documentation. Most notably, the loadNanoApp() claimed it was returning the nano app instance handle on success, when it actually was just returning 0 on success. Bug: 30475803 Change-Id: I436255f0103a743a02f40c41ee4c6f653d007d89
ontextHubManager.java
|
fe6d4f518a34aa620eda9fe36365c2f750e6c67f |
19-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubService: Don't double report app loads Our logs would show us loading apps twice, when in reality we load them once, and then update our caches with the app version later. There are other issues around how this code works (for example, b/30970527), but this is an appropriate approach at this stage of the release. Bug: 30836667 Change-Id: I2e2a65bc8a2ef4d1703df0a0586a8ed251607af7
ontextHubService.java
anoAppInstanceInfo.java
|
49ca529a850e60482ddcc8c0762105b4aa10f35f |
10-May-2016 |
Jeff Sharkey <jsharkey@android.com> |
Avoid caching services with missing binders. When fetching system services early during boot, if the underlying binder interface hasn't been published yet, we end up caching a manager class that is broken for the remainder of the process lifetime, and innocent downstream callers end up using the broken cached manager. Fix this by using an explicit exception to quickly abort manager creation when the underlying binder is missing. The exception is only used to skip the remainder of the manager creation, and it doesn't actually crash the process. Bug: 28634953 Change-Id: I0cb62261e6d6833660704b93a11185aa11a2ac97
ontextHubManager.java
ontextHubService.java
|
d51413ec4939e4640821297398ebb3df19f8a394 |
16-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Merge \\"Loading NanoApps now works.\\" into nyc-mr1-dev am: 095979b463 am: 820ab55e1c Change-Id: Ib92f140990ed577483bcafdbdc87118f2528144e
|
118644056f3c442f0aa9451aaeac8e8b35dde3f8 |
15-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Loading NanoApps now works. Fixing transaction handling for loading/unloading nanoApps. Bug: 30165105 Change-Id: I540243d730040e70b2d104ccd9ea5a0baaa0d97d
ontextHubService.java
|
5bcbe741988d49ab1f5fb6a32702ebefe7ffb867 |
14-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Merge \"Merge \\"Add state for loading/unloading apps\\" into nyc-mr1-dev am: 2e42020eab\" into nyc-mr1-dev-plus-aosp am: 5c99851d23 Change-Id: I0f52f1406840b9ddcfe9dd30c19c5ea01755039f
|
0ce29c421e7f5831a3c39f55c7316b9223ea42ae |
14-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Merge \\"MediaPlayer: fix typo for OnInfoListener.\\" into nyc-mr1-dev am: ebc3c9ca3f am: 3ed59e2fda Change-Id: Ib10558712b5e7abe1b0a853eceb4c20beacd6153
|
54787a5f9ffe7a15784049b00f664fac37c53b95 |
27-Apr-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Add state for loading/unloading apps Add state for loading/unloading nanoApps. Pass on OS response to ContextHubService clients. Fix Build Breakage due to uninitalized variables. Bug: 29193948 Change-Id: Ibebecf704bb3ad2583e110f1fcf05400a53b1b4c
ontextHubService.java
|
f6029bbbcfd823a19b5eb35ed7cecd82e4ba6e10 |
14-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Revert "Add state for loading/unloading apps" This reverts commit 00b351aeef9c660cf3b1cfb3b24aae82d3fe2b8e. Change-Id: Iee229adff8fec4f2407aa895886e63953f0d7d32
ontextHubService.java
|
49805052e85c9273a212cda3adfa701564b091ec |
14-Jul-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Merge \\"Add state for loading/unloading apps\\" into nyc-mr1-dev am: a980cba4d8 am: f4ba21c420 Change-Id: I51c696280b4fd322cde7f4701bbf6b0042a7ab3e
|
00b351aeef9c660cf3b1cfb3b24aae82d3fe2b8e |
27-Apr-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Add state for loading/unloading apps Add state for loading/unloading nanoApps. Pass on OS response to ContextHubService clients. Bug: 29193948 Change-Id: I700f3bdbb8e84413455751dec02a812a639421b3
ontextHubService.java
|
916e86e6fb58d39a7c336c27b9783167a29e1ab7 |
16-Jun-2016 |
Brian Duddie <bduddie@google.com> |
Merge \\\"Send VR mode notification to AR app on context hub\\\" into nyc-dev am: 9a31e8be48 am: 93a2410f2d am: a9edc2edf2 Change-Id: Ia356dd1453a4ebf320d3ce01dc6b4596c3507433
|
c3d8a529c69b754fbd77231d8fd480db94763143 |
15-Jun-2016 |
Brian Duddie <bduddie@google.com> |
Send VR mode notification to AR app on context hub Bug: 28793778 Change-Id: I7417ba7f696dc61689687bd56b165a81aea1715a
ontextHubService.java
|
514c5ef8d5774d8820ed1bf90fe53af1606cf106 |
25-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add missing @Deprecated annotations. Add missing @Deprecated annotations for methods with @deprecated tag in javadoc. Change-Id: I35b78ccb97832d86b914c21a300444ba29e33844
ontextHubManager.java
|
6469c233fb9f7e617a5bc8b5d8348d7241d279c7 |
28-Apr-2016 |
destradaa <destradaa@google.com> |
Fixes on handling messages from apps to host. - Ensure that app to host events are not filtered out - Populates the app handle appropriately for clients to reference the nano app sending the event Bug: 28273520 Bug: 28272149 Change-Id: I7373fc84abcadc2ab17109484f2d04b02a474593
ontextHubInfo.java
|
78cebca7204f85ebb7c583bab2fc9891367cd403 |
15-Apr-2016 |
destradaa <destradaa@google.com> |
Add support for multiple callback registration in. - Allows several callbacks from different processes to register with the ContextHub service. - Add an 'internal' callback that can be used for primary clients. - Fix issue with parceling NanoApp info Change-Id: Iec203e8b8bc847cb9274f3f4157d0773984dd87c
ontextHubManager.java
ontextHubService.java
anoAppInstanceInfo.java
|
1f3560e75ea4101f5d80262147e6860e43f1a907 |
11-Apr-2016 |
Greg Kaiser <gkaiser@google.com> |
NanoApp: Make indentation consistent Four spaces is our style standard. Change-Id: I94f4493268e29b7de5d4fc0f5ef98637997b3957
anoApp.java
|
cb83bd04b7dac57be7f382be7343bfe9f1a598ab |
08-Apr-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Avoid bad NanoApp objects We provide a preferred constructor for the user which will always generate a serializable NanoApp object. While we still support the other path, we throw a specific exception when trying to serialize a bad NanoApp object to ease debugging. Change-Id: I7ee610f0fce2f0dd489526e4819f66035281024b
anoApp.java
|
6239cc6fe1d18ce4365c56346a09c7963dfa8f10 |
05-Apr-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Add dumpsys capabilities for context hub service Add useful debug hook for context hub service. Fix constants Use helper functions to address OS Change-Id: Iba5f24a9a1fd809c3d83752953389d373ff334ca
ontextHubInfo.java
ontextHubService.java
emoryRegion.java
anoApp.java
anoAppInstanceInfo.java
|
cafdee9a72652354c5bde0b13c86dac3d88ac2ae |
05-Apr-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
App upload to Context hub. Fix constants Use helper functions to address OS Change-Id: I61bd1f3eff2716ead2771eda335998f2e9b73afc
ontextHubService.java
|
b741e3b374e7eebf96e2104dec5caccf723b2a39 |
29-Mar-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Added handling apps query response from context hub Added handling of app query reponse from context hub. Exposed the maximum message size to clients. Change-Id: Ie96a860774d005ad6ad72acc88dc79964835486b
ontextHubInfo.java
ontextHubManager.java
ontextHubMessage.java
ontextHubService.java
anoAppFilter.java
anoAppInstanceInfo.java
|
2c697fb4a8b8f8c0a2acf1fb15027f363f74c2dc |
01-Apr-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Revert "Added handling apps query response from context hub" This reverts commit adf75e31f52a7a935a66a884fb55631c7309ee75. Change-Id: I8391eb57c3a53e686bd817d27860fa6f785113f1
ontextHubInfo.java
ontextHubManager.java
ontextHubMessage.java
ontextHubService.java
anoAppFilter.java
anoAppInstanceInfo.java
|
adf75e31f52a7a935a66a884fb55631c7309ee75 |
29-Mar-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Added handling apps query response from context hub Added handling of app query reponse from context hub. Exposed the maximum message size to clients. Change-Id: I8d8ecaa2e75f6ef86ee65a3a050538cbbadc32eb
ontextHubInfo.java
ontextHubManager.java
ontextHubMessage.java
ontextHubService.java
anoAppFilter.java
anoAppInstanceInfo.java
|
6ba60e60491c79896bc97c5712cedac32b6a67ea |
18-Mar-2016 |
Greg Kaiser <gkaiser@google.com> |
ContextHubManager: Rename Callback class. Since this Callback class is scoped within ContextHubManager, we remove the redundant ContextHub from the name. This CL is just a rename and should not modify any behavior. Change-Id: I40fea3ab7b5312d32a6f22b7543669ed563b9992
ontextHubManager.java
|
8bad3fec0f54959958352c0bef90b813cd0d823a |
15-Mar-2016 |
destradaa <destradaa@google.com> |
Update ContextHubManager's System APIs. - Consolidates the use of handles in context hub, and nano apps. - Quick fixes to typos. - Update the signature to find nano apps to use primitive types Change-Id: Icffa6fa86e0e33a536516d98bc4674c0a39b2163
ontextHubManager.java
ontextHubService.java
|
9ff7d2235427b211344fa58b608424805a21aa24 |
11-Feb-2016 |
Peng Xu <pengxu@google.com> |
Exposing Context Hub service. Adding the Context hub service. This is the service that exposes the context hub HAL to the system. The API exposed is a System API. Change-Id: I854141714ecd21f6386e6b15b7bc9a997483ccf6
ontextHubInfo.aidl
ontextHubInfo.java
ontextHubManager.java
ontextHubMessage.aidl
ontextHubService.java
ContextHubCallback.aidl
ContextHubService.aidl
emoryRegion.java
anoApp.aidl
anoApp.java
anoAppFilter.aidl
anoAppFilter.java
anoAppInstanceInfo.aidl
|
1d1ac5409597ef668e52c6f27293eaf9af575e33 |
19-Jan-2016 |
Ashutosh Joshi <ashutoshj@google.com> |
Context hub API for applications Adding a System API for applications to access a context hub. The API is not expected to be exposed to third party Android applications in the medium term. Change-Id: Ia2222317c913de6901f3912e4c89b5cfa398be85
ontextHubInfo.aidl
ontextHubInfo.java
ontextHubManager.java
ontextHubMessage.aidl
ontextHubMessage.java
ontextHubService.java
ContextHubCallback.aidl
ContextHubService.aidl
emoryRegion.java
anoApp.aidl
anoApp.java
anoAppFilter.aidl
anoAppFilter.java
anoAppInstanceInfo.aidl
anoAppInstanceInfo.java
|
47ee2ecf82958f211c775a4125968fbf505fe594 |
26-Aug-2015 |
Daniel Estrada Alva <destradaa@google.com> |
Merge "Disable AR HW when client binder dies." into mnc-dr-dev
|
e1a5144a1ddded30dca1e1425739649032a86bac |
24-Jun-2015 |
destradaa <destradaa@google.com> |
Cherry-pick: Add callback-based support for HW Activity Recognition. Add a callback-based mechanism for GmsCore to connect to Hardware Activity Recognition. This allows GmsCore to stop polling to identify if the Android platform supports the functionality or not. Bug: 17112184 Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
ActivityRecognitionHardwareClient.aidl
ActivityRecognitionHardwareWatcher.aidl
|
614612edb508dd5ef1a8f463105b16894906264e |
24-Aug-2015 |
destradaa <destradaa@google.com> |
Disable AR HW when client binder dies. Ensure that activities are unregistered from AR HW when the client's binder dies. This clean up is required to prevent AR HW to keep active when there are no clients listening for events. Bug: 19894637 Change-Id: Iccd609cf1d2d4a4453c7a96cb8645b61639c3234
ctivityRecognitionHardware.java
|
b80844001442bde6189015b01dc9c6f87a898560 |
14-Apr-2015 |
David Christie <dnchrist@google.com> |
Ensure GeofenceHardware will return capabilities for old implementations. New FLP HAL implementations will explicitly return their capabilities, but old versions won't (the implicit capability in old versions was GNNS). Ensure that the getCapabilities feature of GeofenceHardware will return GNNS for old binaries, so GmsCore doesn't have to worry about versioning. Change-Id: I4b1c942b0d68d87bfbb18b8c06fd9d8b8f68efa6
eofenceHardwareImpl.java
|
cfc9b6d6ab3c622ea4f9d06c28d6e0d2055d98e1 |
14-Apr-2015 |
David Christie <dnchrist@google.com> |
Add versioning to FLP HAL. Retain compatibility with implementations compiled against old headers or left unchanged from LMP. Change-Id: I3f7cfaaf0cba8697c312940a805b053c6040caa6
eofenceHardwareImpl.java
FusedLocationHardware.aidl
|
fff30439cafb737eb54de807caab4fb61432f2cc |
13-Apr-2015 |
David Christie <dnchrist@google.com> |
Add ability to flush FLP HAL batched locations buffer. Currently GmsCore has to guess how many locations to retrieve based on requested frequency and then demux the output looking for timestamps (that aren't monotonically increasing). This capability gives GmsCore a more graceful solution. Change-Id: Ie1d71615f699bc0d3c63f8b80aa7b40b9971cf96
FusedLocationHardware.aidl
|
15003f19e5e5a443222569401f167a3ac0e1de3a |
13-Apr-2015 |
David Christie <dnchrist@google.com> |
Add a status callback for location batching in FLP HAL -Allows GmsCore to know when location is unsuccessful so it can switch to a SW solution. Change-Id: I3d1df7b828f7fb189446881eea87d9a952310614
FusedLocationHardwareSink.aidl
|
ffca45a2cdd778e6edd5c3959bf53c6192b7e035 |
12-Apr-2015 |
David Christie <dnchrist@google.com> |
Add capability callback for FLP HAL. Let HAL implementation tell if geofencing/batching is supported and which technologies (GNNS, wifi, etc) can be used. Still todo: Add ability for GmsCore geofencing to tell which technologies are supported (instead of just using it to update monitoring). This requires SystemApi change + approval so will do in separate CL. Note that the classes in the lib are not copied directly into GmsCore. The instance will always be whatever is in the platform. This is why the callback is backwards compatible as long as their is a default implementation (but not if it's abstract). Change-Id: I7d6adeb049b89935bc4443785df5d7ef4c730e5d
eofenceHardwareImpl.java
eofenceHardwareService.java
FusedLocationHardwareSink.aidl
|
1414a6291dd2cb70f32106cdd272764537d8dfcd |
15-Mar-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Fix format string in Geofence %p is not a valid conversion in format strings. It is also superfluous, as it is already known that location is null. Bug: 19797138 Change-Id: I5784e28b05b4ca9aac57e0fc9da4a7f01d9b3247
eofenceHardwareImpl.java
|
4cc80a758c3e4f044c2e53b6210df0e515536a1b |
03-Dec-2014 |
Zhentao Sun <robinvane@google.com> |
Fixed a leak in GeofenceHardwareImpl.java. Bug: 18542685. This CL includes two changes: * Fixed a leak of DeathRecipient when geofences are removed from the hardware. * Avoid creating more DeathRecipient than needed. Use the underlying binder object instead of the callback object to tell if they are the same. So if the client passes the same callback instance to GeofenceHardwareImpl, only one DeathRecipient is created. Change-Id: I7809e4bc04df4f9e3590de98a03178b276c821ea
eofenceHardwareImpl.java
|
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 |
08-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Put in real "code" (aka marketing) name. Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
eofenceHardware.java
|
c4e1e59561884afc2c71b4b52697f62bd6b38f99 |
15-Aug-2014 |
destradaa <destradaa@google.com> |
Add @SystemApi annotation to Geofence Hardware types. b/17008446 Change-Id: Id3f92dd03309324d3343c87da8c3e30733d06a64
eofenceHardware.java
eofenceHardwareCallback.java
eofenceHardwareMonitorCallback.java
eofenceHardwareMonitorEvent.java
eofenceHardwareRequest.java
|
c2b74b73a11b0a9aa4f29b28554292cc0947464b |
31-Jul-2014 |
Wonsik Kim <wonsik@google.com> |
Fix NPE when fused geofence hardware is not available. b/16690237 Change-Id: I3ac50c8fd50fc799afcfc76126a5fd0c9ba0a5f4
eofenceHardwareImpl.java
|
f9a274c9b8578dda6afeda422bff18b1577028b9 |
26-Jul-2014 |
destradaa <destradaa@google.com> |
Add support for sources in Geofencing APIs. Support setting the source when adding geofences. b/14117199 Surface the source when FLP geofence changes state. b/14119200 Change-Id: I50dc40a9caee400594e1778c98e284e0db0d5e66
eofenceHardware.java
eofenceHardwareImpl.java
eofenceHardwareMonitorCallback.java
eofenceHardwareMonitorEvent.aidl
eofenceHardwareMonitorEvent.java
eofenceHardwareRequest.java
eofenceHardwareRequestParcelable.java
eofenceHardwareService.java
GeofenceHardware.aidl
GeofenceHardwareMonitorCallback.aidl
|
3b0224dc3c2e7ffb93dc56970395003d0e387545 |
16-Jul-2014 |
destradaa <destradaa@google.com> |
Fix exceptions in ActivityRecognition platform stack. b/16348349 Change-Id: I1f85283c86130b86389a1be7da49904658b0558c
ctivityChangedEvent.java
ctivityRecognitionEvent.java
ctivityRecognitionHardware.java
|
a4fa3b5aa53cf677b623fe346c585cb8a0c1ce26 |
09-Jul-2014 |
destradaa <destradaa@google.com> |
Add support in the platform for Activity Recognition Hardware. Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
ctivityChangedEvent.aidl
ctivityChangedEvent.java
ctivityRecognitionEvent.java
ctivityRecognitionHardware.java
ActivityRecognitionHardware.aidl
ActivityRecognitionHardwareSink.aidl
ActivityRecognitionHardwareWatcher.aidl
|
17ff2b2b3a28da2f34e82ce1a623865fc249e87c |
10-Jul-2014 |
destradaa <destradaa@google.com> |
Mark FLP constants as public, so they can be consumed by geofencing. Change-Id: I6e73692064a9f58eeac6ba1118c37ac500df0d9f
eofenceHardware.java
|
cc972725af35284c0b571aaa0dc6873e69b15119 |
25-Apr-2014 |
destradaa <destradaa@google.com> |
Make sure FLP HAL statuses currently used are translated (if needed) correctly into the framework. b/14118906 Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d
eofenceHardware.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
eofenceHardwareRequest.java
|
7f02eb2c84c0a39e6357aca10a4fda1dd090a8a6 |
20-Sep-2013 |
destradaa <destradaa@google.com> |
Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer Bug: 10624887 Change-Id: I656973653d82c73a7ba2b51f22989ffed144c5df
eofenceHardwareImpl.java
|
0682809ad08db284d7110aab44108d5e9c310e6b |
13-Aug-2013 |
destradaa <destradaa@google.com> |
Add support in the platform for Flp Geofencing. Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
eofenceHardware.java
eofenceHardwareImpl.java
eofenceHardwareRequestParcelable.aidl
eofenceHardwareRequestParcelable.java
eofenceHardwareService.java
GeofenceHardware.aidl
|
1af4b0280af406cfc7eb46810f6b76e57b983e11 |
13-Jul-2013 |
destradaa <destradaa@google.com> |
Add FlpHal layer to support Location Batching. Change-Id: Ia3a57d869dfb3f067a1b95fa66d54f311ddcfdc3
FusedLocationHardware.aidl
FusedLocationHardwareSink.aidl
|
b8061be81c7a7cf87f4edc7ea48a8fd464363a61 |
14-May-2013 |
Zhentao Sun <robinvane@google.com> |
Passed the correct gps geofence availability value to client. Fixed b/8967427. Change-Id: If205b963533f096c27985476a5d487a2d090ccf8
eofenceHardwareImpl.java
|
cfa496f7cdc52711e9ad7521224f67d1aaee002c |
06-May-2013 |
Zhentao Sun <robinvane@google.com> |
Fixed unreleased wake lock isues and NPE. Fixed b/8834502. Wake lock might not be released when the callback is null. NPE is thrown when the callback is null in some cases too. Change-Id: I27d3af810669e446cfb57aba8715c80cba3e15e7
eofenceHardwareImpl.java
|
f8f085c51b5f8b180ad964d0385b34f8fa97cd32 |
26-Apr-2013 |
Zhentao Sun <robinvane@google.com> |
Fixed race conditions in GeofenceHardwareImpl. Fixed b/8725226 1. Check if a geofence is registered before calling removeGeofence, pauseGeofence and resumeGeofence 2. Moved add/remove operation of mGeofences from handler thread to binder thread to fix potential race conditions by REMOVE_GEOFENCE. Change-Id: I1c68a49ac4a08324c13702ba9013d2adf031aed9
eofenceHardwareImpl.java
|
da6508954a492f3dd4397e70e4fa08ee54bd2741 |
17-Apr-2013 |
Jaikumar Ganesh <jaikumar@google.com> |
Hardware geofence API changes. b/8631678 1.GeofenceRequest object created. 2.MonitorState moved to a new callback 3.getTypeAndStatus separated to 2 calls. 4.Binder death implemented 5.geofenceChange callback name changed. 6.Parameters rearranged in some calls. Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc
eofenceHardware.java
eofenceHardwareCallback.java
eofenceHardwareImpl.java
eofenceHardwareMonitorCallback.java
eofenceHardwareRequest.java
eofenceHardwareService.java
GeofenceHardware.aidl
GeofenceHardwareCallback.aidl
GeofenceHardwareMonitorCallback.aidl
|
8ce470dd4ba0608abb6b5eae117cefca927af96b |
03-Apr-2013 |
Jaikumar Ganesh <jaikumar@google.com> |
GPS Hardware geofencing. Add support for doing geofencing in hardware. Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
eofenceHardware.java
eofenceHardwareCallback.java
eofenceHardwareImpl.java
eofenceHardwareService.java
GeofenceHardware.aidl
GeofenceHardwareCallback.aidl
|