Methods not covered are related to tuning or program list.
This makes 11 passing test cases and still 6 failing for the new HAL.
Test: instrumentation
Bug: 69958777
Change-Id: I2631d66d05774adb9e8fd42c8309e16f832c4478
* changes:
Rethrow RemoteException instead of log in ContextHubManager
Remove unnecessary log from ContextHubManager
Remove legacy bug comment in NanoAppInstanceInfo
Some private or package-private members have been marked as @SystemApi,
which do not make sense as they aren't accessible to apps due to the
access modifier. Having annotation on such members hasn't been harmful,
but will soon trigger CTS failures when we do the exact match for
SystemAPIs; a runtime entity annotated as @SystemApi have to exist in
the documented API (e.g. system-current.txt). So, removing the bogus
annotations.
Bug: 67891551
Test: m -j does not require m update-system-api
Change-Id: I0083475ef5435cf9a582c2ce1be469c92328fe69
For the moment, the only one that actually knows the true brightness
value is the DisplayPowerController, so have that tell the
BrightnessTracker directly when brightness changes.
Bug: 69405990
Test: atest com.android.server.display.BrightnessTrackerTest
atest com.android.server.display.BrightnessMappingStrategyTest
Change-Id: Ibf4e501ce2f7b071360bfac501dbbafb3ba55fa5
* changes:
Change ContextHubTransaction Callback to Listener
Adds a createClient method with no Executor argument
Replace Handler with Executor in new APIs
Needed to resolve Java compilation errors when using e.g.
List<ContextHubInfo> in AIDL. Doesn't add the "final" qualifier,
since make will throw errors due to compatibility issues.
Bug: 67734082
Test: make update-api && make
Change-Id: Ie7f99a41eab70455b1c4e86b673e7377be667dfb
Bug: 67734082
Test: Run a test app to issue an disable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: I5a26c85372bd10a0224bf2a696982dccbca0c275
Bug: 67734082
Test: Run a test app to issue an enable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: Ie4ec660a094082887eaefbdfc2e1fd8d1ee7c0e3
* changes:
Handles failure for transaction queue full
Reorganize use of error code enums
Removes setters from NanoAppInstanceInfo
Renames nanoapp instance IDs to handles in ContextHubService
Creates a NanoAppStateManager at ContextHubService
Removing these fields since they are not public APIs,
and is not used internally in the service.
Bug: 67734082
Test: None
Change-Id: I8897265365849ab5d0106849e41d16577a91ead9
Created to decouple the internal nanoapp state management at the
service with ContextHubService class
Bug: 67734082
Test: Compile and flash, run CHQTS and verify pass, also verify with
logs that the cache is updated accordingly after load/unload/query
Change-Id: Ie25460e7f8d903cdcb22f0a1c4870bb93ccbad3e
Bug: 67734082
Test: Run a test app to use the new query API, verify returns the
expected set of nanoapps
Change-Id: I2a808b9f80dd0d9168466f80b79ca1fa35da242c
Session-wide parameters are a subset of the available capture
parameters that can cause severe processing delays when
modified. The costs can be mitigated if clients are able to
pass their initial values during capture session initialization.
For performance reasons clients are also advised to avoid changing
them during active sessions.
Bug: 64450664
Test: Camera CTS
Change-Id: Ide9ee4402ed45d30add6575062b46427163f99dd
This CL mirrors changes made to the android.support.annotation version
of IntDef, to keep the usage and semantics identical (though the
internal version of @IntDef and @LongDef are of course hidden and not
part of the SDK.)
Test: These annotations have source retention and therefore have
no runtime impact; the change was compiling the SDK.
Change-Id: Idaf47e8d983c88be1bd8f938615c86611014b45a