Home
last modified time | relevance | path

Searched refs:accumulatedPolicy (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPowerListener.java46 CarPowerPolicy accumulatedPolicy) {
48 if (mIsAudioEnabled != accumulatedPolicy.isComponentEnabled(AUDIO)) {
49 updateAudioPowerStateLocked(accumulatedPolicy);
/packages/services/Car/cpp/powerpolicy/aidl/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegateCallback.aidl51 oneway void onApplyPowerPolicySucceeded(int requestId, in CarPowerPolicy accumulatedPolicy, in onApplyPowerPolicySucceeded() argument
70 oneway void onPowerPolicyChanged(in CarPowerPolicy accumulatedPolicy); in onPowerPolicyChanged() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/1/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegateCallback.aidl38 …uestId, in android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy, boolean def… in onApplyPowerPolicySucceeded() argument
40 …nPowerPolicyChanged(in android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy); in onPowerPolicyChanged() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/current/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegateCallback.aidl38 …uestId, in android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy, boolean def… in onApplyPowerPolicySucceeded() argument
40 …nPowerPolicyChanged(in android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy); in onPowerPolicyChanged() argument
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java206 CarPowerPolicy accumulatedPolicy = mComponentHandler.getAccumulatedPolicy(policyId); in applyPowerPolicyAsync() local
207 mCallback.updatePowerComponents(accumulatedPolicy); in applyPowerPolicyAsync()
208 mCallback.onApplyPowerPolicySucceeded(requestId, accumulatedPolicy, deferred); in applyPowerPolicyAsync()
243 CarPowerPolicy accumulatedPolicy = mComponentHandler.getAccumulatedPolicy(policyId); in applyPowerPolicyInternal() local
245 mCallback.onPowerPolicyChanged(accumulatedPolicy); in applyPowerPolicyInternal()
246 mCallback.updatePowerComponents(accumulatedPolicy); in applyPowerPolicyInternal()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java961 CarPowerPolicy accumulatedPolicy = request.getAccumulatedPolicy(); in notifyPowerStateChangeToDaemon() local
962 updateCurrentPowerPolicy(accumulatedPolicy); in notifyPowerStateChangeToDaemon()
963 notifyPowerPolicyChange(accumulatedPolicy); in notifyPowerStateChangeToDaemon()
1870 private void doHandlePowerPolicyNotification(CarPowerPolicy accumulatedPolicy) { in doHandlePowerPolicyNotification() argument
1871 notifyPowerPolicyChange(accumulatedPolicy); in doHandlePowerPolicyNotification()
2250 android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy, in onApplyPowerPolicySucceeded() argument
2253 + "deferred = %b", requestId, accumulatedPolicy.policyId, deferred); in onApplyPowerPolicySucceeded()
2262 CarPowerPolicy accumulatedPowerPolicy = convertPowerPolicyFromDaemon(accumulatedPolicy); in onApplyPowerPolicySucceeded()
2283 android.frameworks.automotive.powerpolicy.CarPowerPolicy accumulatedPolicy) { in onPowerPolicyChanged() argument
2285 convertPowerPolicyFromDaemon(accumulatedPolicy); in onPowerPolicyChanged()
[all …]
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothPowerPolicy.java64 CarPowerPolicy accumulatedPolicy) {
65 boolean isOn = accumulatedPolicy.isComponentEnabled(PowerComponent.BLUETOOTH);
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java69 CarPowerPolicy accumulatedPolicy) {
71 notifyPowerPolicyListeners(appliedPolicy, accumulatedPolicy);
829 CarPowerPolicy accumulatedPolicy) { in notifyPowerPolicyListeners() argument
843 pair.second.execute(() -> pair.first.onPolicyChanged(accumulatedPolicy)); in notifyPowerPolicyListeners()
DICarPowerPolicyListener.aidl30 void onPolicyChanged(in CarPowerPolicy appliedPolicy, in CarPowerPolicy accumulatedPolicy); in onPolicyChanged() argument
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp360 &mutex](int32_t requestId, const CarPowerPolicy& accumulatedPolicy, in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
363 policyIdForNotification = accumulatedPolicy.policyId; in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
546 [[maybe_unused]] const CarPowerPolicy& accumulatedPolicy, in TEST_F()
642 [[maybe_unused]] const CarPowerPolicy& accumulatedPolicy, in TEST_F()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java125 CarPowerPolicy accumulatedPolicy) {
146 accumulatedPolicy.isComponentEnabled(PowerComponent.LOCATION);
DCarMediaService.java299 CarPowerPolicy accumulatedPolicy) {
302 boolean isOff = !accumulatedPolicy.isComponentEnabled(PowerComponent.MEDIA);
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp999 auto accumulatedPolicy = mComponentHandler.getAccumulatedPolicy(); in applyAndNotifyPowerPolicy() local
1002 ->onPolicyChanged(*accumulatedPolicy); in applyAndNotifyPowerPolicy()
1005 callback->onPowerPolicyChanged(*accumulatedPolicy); in applyAndNotifyPowerPolicy()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java985 CarPowerPolicy accumulatedPolicy) { in onPolicyChanged() argument
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java262 CarPowerPolicy accumulatedPolicy) {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java3565 CarPowerPolicy accumulatedPolicy) { in onPolicyChanged() argument
3567 mCurrentPowerPolicy = accumulatedPolicy; in onPolicyChanged()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java261 CarPowerPolicy accumulatedPolicy) {