History log of /frameworks/base/services/core/java/com/android/server/location/ContextHubService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe9a53bc45fd0124a876dc0a49680aaf86641d3e 31-Mar-2017 Jeff Sharkey <jsharkey@android.com> Consistent dump() permission checking.

This change introduces new methods on DumpUtils that can check if the
caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all
existing dump() methods to use these checks so that we emit
consistent error messages.

Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest
Bug: 32806790
Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.java
1d94181f44217979f2242281ebb9da50592e770e 10-Mar-2017 Ashutosh Joshi <ashutoshj@google.com> Add logging to ContextHubService.

Add log traces even for successful cases. This helps debug some
tricky race condition in clients.

Bug: 36065825
Test: Ensure that Context Hub clients like Geofencing work.
Change-Id: I76942662f6a7d681050d2b8854a7efd57d2735bf
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.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
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.java
290c3200244347550173c1f22052734ebdb24b44 29-Dec-2016 Ashutosh Joshi <ashutoshj@google.com> Remove Google nanoApp references from framework.

Remove references to Google specific code from the framework.
There is code that explictly deals only with Google Nanoapps on
very sepcific devices. Such code should not be in general Android
framework code.

Bug: 29336850
Test: GTS tests pass.
Change-Id: I8c25b0a5b732c36c4a56ce0c2b5d6abf3cb1aa01
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.java
19753cca3f49db2ca66106393d8302c0555fae79 23-Nov-2016 Ashutosh Joshi <ashutoshj@google.com> Switch to HIDL service based HAL

Switch to using HIDL service based HAL.
Some cleanup.

Test: GTS tests pass

Change-Id: Icf133fe4ead56336973dc50c4ec2aab18382a8ca
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.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
/frameworks/base/services/core/java/com/android/server/location/ContextHubService.java