Home
last modified time | relevance | path

Searched refs:definePowerPolicy (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java424 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/
DCarPowerManagerUnitTest.java264 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/
DPolicyManager.h75 android::base::Result<void> definePowerPolicy(
DPolicyManager.cpp496 Result<void> PolicyManager::definePowerPolicy(const std::string& policyId, in definePowerPolicy() function in android::frameworks::automotive::powerpolicy::PolicyManager
DCarPowerPolicyServer.cpp344 mPolicyManager.definePowerPolicy(policyId, enabledComponents, disabledComponents); in notifyPowerPolicyDefinition()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java1844 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()
DPolicyReader.java211 int definePowerPolicy(String policyId, String[] enabledComponents, in definePowerPolicy() method in PolicyReader
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java921 return definePowerPolicy(args, writer); in exec()
1955 private int definePowerPolicy(String[] args, IndentingPrintWriter writer) {