/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 424 int status = mService.definePowerPolicy(policyId, new String[]{"AUDIO", "BLUETOOTH"}, in testDefinePowerPolicyFromCommand() 429 status = mService.definePowerPolicy(policyId, new String[]{"AUDIO", "BLUTTOOTH"}, in testDefinePowerPolicyFromCommand() 433 status = mService.definePowerPolicy(policyId, new String[]{"AUDIO", "INVALID_COMPONENT"}, in testDefinePowerPolicyFromCommand() 443 mService.definePowerPolicy(policyId, new String[0], new String[0]); in testApplyPowerPolicy() 474 mService.definePowerPolicy(policyIdOne, new String[0], new String[0]); in testDefinePowerPolicyGroupFromCommand() 475 mService.definePowerPolicy(policyIdTwo, new String[0], new String[0]); in testDefinePowerPolicyGroupFromCommand() 510 mService.definePowerPolicy(policyId, new String[0], new String[0]); in testDefinePowerPolicyGroupFromCommand_invalidStateName() 527 mService.definePowerPolicy(policyId, new String[]{"AUDIO", "WIFI"}, new String[]{}); in testAddPowerPolicyListener() 551 mService.definePowerPolicy(policyId, new String[]{"AUDIO"}, new String[]{"WIFI"}); in testRemovePowerPolicyListener()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 264 mService.definePowerPolicy(definition.policyId, definition.enabledComponents, in testGetCurrentPowerPolicy() 279 mService.definePowerPolicy(policyId, new String[0], new String[0]); in testApplyPowerPolicy() 305 mService.definePowerPolicy(policyId, new String[]{"AUDIO"}, new String[]{"WIFI"}); in testAddPowerPolicyListener() 330 mService.definePowerPolicy(policyId, new String[]{"AUDIO"}, new String[]{"WIFI"}); in testAddPowerPolicyListener_Twice_WithDifferentFilters() 362 mService.definePowerPolicy(policyId, new String[]{"AUDIO"}, new String[]{"WIFI"}); in testRemovePowerPolicyListener()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.h | 75 android::base::Result<void> definePowerPolicy(
|
D | PolicyManager.cpp | 496 Result<void> PolicyManager::definePowerPolicy(const std::string& policyId, in definePowerPolicy() function in android::frameworks::automotive::powerpolicy::PolicyManager
|
D | CarPowerPolicyServer.cpp | 344 mPolicyManager.definePowerPolicy(policyId, enabledComponents, disabledComponents); in notifyPowerPolicyDefinition()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 1844 int status = definePowerPolicy(powerPolicyId, enabledComponents, disabledComponents); in definePowerPolicyFromCommand() 1860 public int definePowerPolicy(String powerPolicyId, String[] enabledComponents, in definePowerPolicy() method in CarPowerManagementService 1862 int status = mPolicyReader.definePowerPolicy(powerPolicyId, in definePowerPolicy()
|
D | PolicyReader.java | 211 int definePowerPolicy(String policyId, String[] enabledComponents, in definePowerPolicy() method in PolicyReader
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 921 return definePowerPolicy(args, writer); in exec() 1955 private int definePowerPolicy(String[] args, IndentingPrintWriter writer) {
|