/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | CarPowerPolicyServerTest.cpp | 68 Status getCurrentPowerPolicy(CarPowerPolicy* aidlReturn) { in getCurrentPowerPolicy() function in android::frameworks::automotive::powerpolicy::internal::CarPowerPolicyServerPeer 69 return server->getCurrentPowerPolicy(aidlReturn); in getCurrentPowerPolicy() 134 Status status = server->getCurrentPowerPolicy(¤tPolicy); in TEST_F()
|
D | SilentModeHandlerTest.cpp | 108 MOCK_METHOD(Status, getCurrentPowerPolicy, (CarPowerPolicy * aidlReturn), (override));
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 91 when(mMockCarPowerService.getCurrentPowerPolicy()).thenReturn(null); in startListeningForPolicyChanges_withNullPolicy_enablesAudio() 169 when(mMockCarPowerService.getCurrentPowerPolicy()).thenReturn(ENABLED_POLICY); in withAudioInitiallyEnabled() 173 when(mMockCarPowerService.getCurrentPowerPolicy()).thenReturn(DISABLED_POLICY); in withAudioInitiallyDisabled()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 447 CarPowerPolicy policy = mService.getCurrentPowerPolicy(); in testApplyPowerPolicy() 542 assertThat(listenerAudio.getCurrentPowerPolicy().getPolicyId()).isEqualTo(policyId); in testAddPowerPolicyListener() 543 assertThat(listenerWifi.getCurrentPowerPolicy().getPolicyId()).isEqualTo(policyId); in testAddPowerPolicyListener() 544 assertThat(listenerLocation.getCurrentPowerPolicy()).isNull(); in testAddPowerPolicyListener() 560 assertThat(listenerAudio.getCurrentPowerPolicy()).isNull(); in testRemovePowerPolicyListener() 572 CarPowerPolicy policy = mService.getCurrentPowerPolicy(); in testParcelableCreation() 914 public CarPowerPolicy getCurrentPowerPolicy() { in getCurrentPowerPolicy() method in CarPowerManagementServiceUnitTest.MockedPowerPolicyListener
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 343 public CarPowerPolicy getCurrentPowerPolicy() { in getCurrentPowerPolicy() method in CarPowerManager 345 return mService.getCurrentPowerPolicy(); in getCurrentPowerPolicy()
|
D | ICarPower.aidl | 40 CarPowerPolicy getCurrentPowerPolicy(); in getCurrentPowerPolicy() method
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 112 CarPowerPolicy policy = mCarPowerManager.getCurrentPowerPolicy(); in handleCurrentPolicy()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 99 CarPowerPolicy policy = mCarPowerManagementService.getCurrentPowerPolicy(); in initializePowerState()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/ |
D | CarPowerManagerPermissionTest.java | 104 () -> mCarPowerManager.getCurrentPowerPolicy()); in testGetCurrentPowerPolicy()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 272 assertPolicyIdentical(expected, mCarPowerManager.getCurrentPowerPolicy()); in testGetCurrentPowerPolicy() 283 assertThat(mCarPowerManager.getCurrentPowerPolicy().getPolicyId()).isEqualTo(policyId); in testApplyPowerPolicy()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.h | 157 binder::Status getCurrentPowerPolicy(CarPowerPolicy* aidlReturn) override;
|
D | CarPowerPolicyServer.cpp | 228 Status CarPowerPolicyServer::getCurrentPowerPolicy(CarPowerPolicy* aidlReturn) { in getCurrentPowerPolicy() function in android::frameworks::automotive::powerpolicy::CarPowerPolicyServer
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 1088 public CarPowerPolicy getCurrentPowerPolicy() { in getCurrentPowerPolicy() method in CarPowerManagementService
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 561 …ON_READ_CAR_POWER_POLICY) public android.car.hardware.power.CarPowerPolicy getCurrentPowerPolicy();
|