Home
last modified time | relevance | path

Searched refs:onPolicyChanged (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPowerListenerTest.java129 changeListener.onPolicyChanged(EMPTY_POLICY, ENABLED_POLICY); in onPolicyChange_withPowerSwitchingToEnabled_enablesAudio()
140 changeListener.onPolicyChanged(EMPTY_POLICY, ENABLED_POLICY); in onPolicyChange_withPowerRemainingEnabled_doesNothing()
152 changeListener.onPolicyChanged(EMPTY_POLICY, DISABLED_POLICY); in onPolicyChange_withPowerSwitchingToDisabled_disablesAudio()
163 changeListener.onPolicyChanged(EMPTY_POLICY, DISABLED_POLICY); in onPolicyChange_withPowerStayingDisabled_doesNothing()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DICarPowerPolicyListener.aidl30 void onPolicyChanged(in CarPowerPolicy appliedPolicy, in CarPowerPolicy accumulatedPolicy); in onPolicyChanged() method
DCarPowerManager.java68 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
348 void onPolicyChanged(@NonNull CarPowerPolicy policy); in onPolicyChanged() method
843 pair.second.execute(() -> pair.first.onPolicyChanged(accumulatedPolicy)); in notifyPowerPolicyListeners()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java46 public void onPolicyChanged(@NonNull CarPowerPolicy policy) {
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPowerListener.java45 public void onPolicyChanged(CarPowerPolicy policy,
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothPowerPolicy.java63 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothPowerPolicyTest.java207 mPolicy.getPowerPolicyListener().onPolicyChanged(policy, policy); in sendPowerPolicyBluetoothOnOff()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java124 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
DCarMediaService.java298 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp88 ScopedAStatus onPolicyChanged(const CarPowerPolicy& /*policy*/) override { in onPolicyChanged() function in android::frameworks::automotive::powerpolicy::__anon710700a60111::MockPowerPolicyChangeCallback
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java749 public void onPolicyChanged(@NonNull CarPowerPolicy policy) { in onPolicyChanged() method in CarPowerManagerUnitTest.MockedPowerPolicyListener
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java984 public void onPolicyChanged(CarPowerPolicy appliedPolicy, in onPolicyChanged() method in CarPowerManagementTest.PowerPolicyListener
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java261 public void onPolicyChanged(CarPowerPolicy appliedPolicy,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java850 mPowerPolicyListener.onPolicyChanged(powerPolicy, powerPolicy); in sendPowerPolicyEvent()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp1002 ->onPolicyChanged(*accumulatedPolicy); in applyAndNotifyPowerPolicy()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java260 public void onPolicyChanged(CarPowerPolicy policy,
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java2782 listener.onPolicyChanged(appliedPolicy, accumulatedPolicy); in notifyPowerPolicyChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java3564 public void onPolicyChanged(CarPowerPolicy appliedPolicy, in onPolicyChanged() method in CarPowerManagementServiceUnitTest.MockedPowerPolicyListener
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java8681 policyChangeListenerCaptor.getValue().onPolicyChanged(); in triggerConnectToMergedNetwork()
8700 policyChangeListenerCaptor.getValue().onPolicyChanged(); in triggerConnectToMergedNetwork()
8743 policyChangeListenerCaptor.getValue().onPolicyChanged(); in triggerConnectToUnmergedNetwork()
/packages/services/Car/car-lib/api/
Dcurrent.txt700 method public void onPolicyChanged(@NonNull android.car.hardware.power.CarPowerPolicy);
Dlint-baseline.txt1352 UnflaggedApi: android.car.hardware.power.CarPowerManager.CarPowerPolicyListener#onPolicyChanged(and…
1353 …od android.car.hardware.power.CarPowerManager.CarPowerPolicyListener.onPolicyChanged(android.car.h…
/packages/services/Car/car-lib-module/api/
Dcurrent.txt700 method public void onPolicyChanged(@NonNull android.car.hardware.power.CarPowerPolicy);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java8615 public void onPolicyChanged() { in onPolicyChanged() method in ClientModeImpl.WifiVcnNetworkPolicyChangeListener
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1713 method TIRAMISU_0 void onPolicyChanged(CarPowerPolicy policy);