| /packages/services/Car/service/src/com/android/car/power/ |
| D | PolicyReader.java | 172 CarPowerPolicy getPowerPolicy(String policyId) { in getPowerPolicy() 187 String policyId = group.get(state); in getDefaultPowerPolicyForState() local 201 CarPowerPolicy getPreemptivePowerPolicy(String policyId) { in getPreemptivePowerPolicy() 209 boolean isPreemptivePowerPolicy(String policyId) { in isPreemptivePowerPolicy() 234 int definePowerPolicy(String policyId, String[] enabledComponents, in definePowerPolicy() 286 String policyId = defaultPolicyPerState.valueAt(i); in definePowerPolicyGroup() local 473 String policyId = parser.getAttributeValue(NAMESPACE, ATTR_ID); in parsePolicies() local 543 private IntermediateCarPowerPolicy parsePolicy(XmlPullParser parser, String policyId, in parsePolicy() 727 String policyId = group.valueAt(i); in validatePolicyGroups() local 921 static boolean isSystemPowerPolicy(String policyId) { in isSystemPowerPolicy() [all …]
|
| D | CarPowerManagementService.java | 762 String policyId = policy == null ? fallbackPolicyId : policy.getPolicyId(); in applyDefaultPowerPolicyForState() local 1438 private void doHandlePowerPolicyNotification(String policyId) { in doHandlePowerPolicyNotification() 1620 public void applyPowerPolicy(String policyId) { in applyPowerPolicy() 1822 private int applyPowerPolicy(@Nullable String policyId, boolean delayNotification, in applyPowerPolicy() 1851 private int applyPreemptivePowerPolicy(String policyId) { in applyPreemptivePowerPolicy() 1872 String policyId; in cancelPreemptivePowerPolicy() local 1895 private void notifyPowerPolicyChangeToDaemon(String policyId, boolean force) { in notifyPowerPolicyChangeToDaemon() 1916 private void notifyPowerPolicyChange(String policyId, boolean upToDaemon, boolean force) { in notifyPowerPolicyChange() 2112 private void handlePowerPolicyNotification(String policyId) { in handlePowerPolicyNotification()
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
| D | CarPowerManagerUnitTest.java | 296 String policyId = "no_change_policy"; in testApplyPowerPolicy() local 307 String policyId = "invalid_power_policy"; in testApplyPowerPolicy_invalidId() local 327 String policyId = "audio_on_wifi_off"; in testAddPowerPolicyListener() local 354 String policyId = "audio_on_wifi_off"; in testAddPowerPolicyListener_Twice_WithDifferentFilters() local 391 String policyId = "audio_on_wifi_off"; in testRemovePowerPolicyListener() local 518 private static void assertPowerPolicyId(MockedPowerPolicyListener listener, String policyId, in assertPowerPolicyId() 756 public final String policyId; field in CarPowerManagerUnitTest.PolicyDefinition 760 private PolicyDefinition(String policyId, String[] enabledComponents, in PolicyDefinition()
|
| /packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
| D | DscpPolicyTracker.java | 111 private int findIndex(int policyId, int ifIndex) { in findIndex() 128 private void sendStatus(NetworkAgentInfo nai, int policyId, int status) { in sendStatus() 257 private void removePolicyFromMap(NetworkAgentInfo nai, int policyId, int index, in removePolicyFromMap() 276 public void removeDscpPolicy(NetworkAgentInfo nai, int policyId) { in removeDscpPolicy()
|
| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
| D | QosPolicyRequestHandlerTest.java | 101 int policyId = (int) args[0]; in setUp() local 109 int policyId, @QosPolicyRequestType int requestType, in createQosPolicyRequest() 245 int policyId = policy.getPolicyId(); in testMoreResourcesIsFalseIfInsufficientResources() local
|
| D | ApplicationQosPolicyRequestHandlerTest.java | 114 private QosPolicyParams createDownlinkPolicy(int policyId) { in createDownlinkPolicy()
|
| /packages/services/Car/car-lib/src/android/car/hardware/power/ |
| D | CarPowerPolicy.java | 95 public CarPowerPolicy( in CarPowerPolicy() 166 String policyId = in.readString(); in CarPowerPolicy() local
|
| D | ICarPower.aidl | 42 void applyPowerPolicy(String policyId); in applyPowerPolicy()
|
| D | CarPowerManager.java | 564 public void applyPowerPolicy(@NonNull String policyId) { in applyPowerPolicy()
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
| D | CarPowerManagementServiceUnitTest.java | 693 String policyId = "policy_id_valid"; in testDefinePowerPolicyFromCommand() local 712 String policyId = "policy_id_audio_off"; in testApplyPowerPolicy() local 732 String policyId = "policy_id_not_available"; in testApplyInvalidPowerPolicy() local 740 String policyId = "system_power_policy_no_user_interaction"; in testApplySystemPowerPolicyFromApps() local 784 String policyId = "policy_id_valid"; in testDefinePowerPolicyGroupFromCommand_invalidStateName() local 845 String policyId = "policy_id_disable_audio"; in testRemovePowerPolicyListener() local 1348 private void waitForPowerPolicy(String policyId) throws Exception { in waitForPowerPolicy() 1356 private static void waitForPolicyId(MockedPowerPolicyListener listener, String policyId, in waitForPolicyId() 1682 public void notifyPowerPolicyChange(String policyId, boolean force) { in notifyPowerPolicyChange() 1687 public void notifyPowerPolicyDefinition(String policyId, String[] enabledComponents, in notifyPowerPolicyDefinition()
|
| D | PolicyReaderUnitTest.java | 382 private void assertSystemPowerPolicy(String policyId, CarPowerPolicy expectedSystemPolicy) in assertSystemPowerPolicy() 393 private void checkPolicy(String policyId, CarPowerPolicy expectedPolicy) throws Exception { in checkPolicy()
|
| /packages/services/Car/cpp/powerpolicy/server/src/ |
| D | CarPowerPolicyServer.cpp | 191 ScopedAStatus CarServiceNotificationHandler::notifyPowerPolicyChange(const std::string& policyId, in notifyPowerPolicyChange() 202 const std::string& policyId, const std::vector<std::string>& enabledComponents, in notifyPowerPolicyDefinition() 375 ScopedAStatus CarPowerPolicyServer::notifyPowerPolicyChange(const std::string& policyId, in notifyPowerPolicyChange() 395 const std::string& policyId, const std::vector<std::string>& enabledComponents, in notifyPowerPolicyDefinition() 548 Result<void> CarPowerPolicyServer::applyPowerPolicy(const std::string& policyId, in applyPowerPolicy() 705 std::string policyId; in applyInitialPowerPolicy() local 801 Result<void> CarPowerPolicyServer::notifyVhalNewPowerPolicy(const std::string& policyId) { in notifyVhalNewPowerPolicy()
|
| D | PolicyManager.cpp | 338 const char* policyId; in readPolicies() local 382 const char* policyId; in readPolicyGroup() local 556 CarPowerPolicyPtr createPolicy(const char* policyId, in createPolicy() 590 bool isSystemPowerPolicy(const std::string& policyId) { in isSystemPowerPolicy() 641 Result<void> PolicyManager::definePowerPolicy(const std::string& policyId, in definePowerPolicy()
|
| /packages/modules/Wifi/service/java/com/android/server/wifi/ |
| D | QosPolicyRequestHandler.java | 135 public void setQosPolicyStatus(int policyId, int status) { in setQosPolicyStatus() 148 private void rejectQosPolicy(int policyId) { in rejectQosPolicy()
|
| D | ApplicationQosPolicyTrackingTable.java | 65 private static long combinePolicyIdAndUid(int policyId, int uid) { in combinePolicyIdAndUid() 198 int policyId = getPolicyIdFromCombinedLong(policyHash); in getAllPolicyIdsOwnedByUid() local
|
| D | WifiNetworkAgent.java | 49 void onDscpPolicyStatusUpdated(int policyId, int status); in onDscpPolicyStatusUpdated() 132 public void onDscpPolicyStatusUpdated(int policyId, int status) { in onDscpPolicyStatusUpdated()
|
| /packages/services/Car/car-lib/native/CarPowerManager/ |
| D | CarPowerPolicy.cpp | 29 CarPowerPolicy::CarPowerPolicy(const std::string& policyId, in CarPowerPolicy()
|
| /packages/modules/Connectivity/framework/src/android/net/ |
| D | DscpPolicy.java | 83 int policyId, in DscpPolicy() 294 public Builder(int policyId, int dscpValue) { in Builder()
|
| D | INetworkAgentRegistry.aidl | 48 void sendRemoveDscpPolicy(int policyId); in sendRemoveDscpPolicy()
|
| D | INetworkAgent.aidl | 51 void onDscpPolicyStatusUpdated(int policyId, int status); in onDscpPolicyStatusUpdated()
|
| D | NetworkAgent.java | 852 public void onDscpPolicyStatusUpdated(final int policyId, in onDscpPolicyStatusUpdated() 1242 public void onDscpPolicyStatusUpdated(int policyId, @DscpPolicyStatus int status) {} in onDscpPolicyStatusUpdated() 1471 public void sendRemoveDscpPolicy(final int policyId) { in sendRemoveDscpPolicy()
|
| /packages/services/Car/cpp/powerpolicy/server/tests/ |
| D | PowerComponentHandlerTest.cpp | 42 CarPowerPolicyPtr createPolicy(const std::string& policyId, in createPolicy()
|
| /packages/services/Car/tests/carservice_test/src/com/android/car/ |
| D | MockedCarTestBase.java | 773 public void notifyPowerPolicyChange(String policyId, boolean force) { in notifyPowerPolicyChange() 778 public void notifyPowerPolicyDefinition(String policyId, String[] enabledComponents, in notifyPowerPolicyDefinition()
|
| /packages/modules/Wifi/framework/java/android/net/wifi/ |
| D | QosPolicyParams.java | 232 private QosPolicyParams(int policyId, int dscp, @UserPriority int userPriority, in QosPolicyParams()
|
| /packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
| D | CarPowerManagementTest.java | 946 private PowerPolicyListener(String policyId) { in PowerPolicyListener()
|