Home
last modified time | relevance | path

Searched refs:getPolicyId (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java176 final int addIndex = findIndex(policy.getPolicyId(), ifIndex); in addDscpPolicyInternal()
204 ifacePolicies.put(policy.getPolicyId(), addIndex); in addDscpPolicyInternal()
238 sendStatus(nai, policy.getPolicyId(), DSCP_POLICY_STATUS_REQUEST_DECLINED); in addDscpPolicy()
243 sendStatus(nai, policy.getPolicyId(), in addDscpPolicy()
251 sendStatus(nai, policy.getPolicyId(), DSCP_POLICY_STATUS_REQUEST_DECLINED); in addDscpPolicy()
256 sendStatus(nai, policy.getPolicyId(), status); in addDscpPolicy()
/packages/services/Car/tests/common_utils/src/com/android/car/test/power/
DCarPowerPolicyUtil.java28 assertThat(first.getPolicyId()).isEqualTo(second.getPolicyId()); in assertPolicyIdentical()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DApplicationQosPolicyTrackingTable.java104 long policyHash = combinePolicyIdAndUid(policy.getPolicyId(), uid); in addPolicies()
159 long policyHash = combinePolicyIdAndUid(policy.getPolicyId(), uid); in filterUntrackedPolicies()
DApplicationQosPolicyRequestHandler.java666 rejectedPolicies.add(policyList.get(i).getPolicyId()); in handleHalPolicyAddError()
694 rejectedPolicies.add(policyList.get(i).getPolicyId()); in processSynchronousHalResponse()
DWifiServiceImpl.java7961 policyIdSet.add(policy.getPolicyId());
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java804 assertThat(mService.getCurrentPowerPolicy().getPolicyId()) in testUserManagerOnResumeCallAfterCancel()
820 assertThat(mService.getCurrentPowerPolicy().getPolicyId()) in testUserManagerOnResumeCallAfterCancel()
2116 listenerBluetooth.getCurrentPowerPolicy().getPolicyId())); in testGarageModeSystemPolicyOverride()
2123 listenerNfc.getCurrentPowerPolicy().getPolicyId())); in testGarageModeSystemPolicyOverride()
2738 assertThat(mService.getCurrentPowerPolicy().getPolicyId()).isEqualTo( in suspendAndResume()
2917 assertThat(mPowerComponentHandler.getAccumulatedPolicy().getPolicyId()).isEqualTo(policyId); in assertPowerPolicyApplied()
2933 assertWithMessage("Current policy ID").that(policy.getPolicyId()) in assertPowerPolicyNotApplied()
2938 assertWithMessage("Notified policy ID").that(policy.getPolicyId()) in assertPowerPolicyNotApplied()
2998 expectWithMessage("Policy id").that(policy.getPolicyId()).isEqualTo(policyId); in expectPowerPolicySet()
3003 mPowerComponentHandler.getAccumulatedPolicy().getPolicyId()).isEqualTo(policyId); in expectPowerComponentHandlerPolicySet()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerPolicy.java125 public @NonNull String getPolicyId() { in getPolicyId() method in CarPowerPolicy
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DQosPolicyParamsTest.java101 assertEquals(TEST_POLICY_ID, params.getPolicyId()); in verifyTestQosPolicyParams()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DQosPolicyRequestHandlerTest.java95 policy.getPolicyId(), NetworkAgent.DSCP_POLICY_STATUS_SUCCESS)); in setUp()
245 int policyId = policy.getPolicyId(); in testMoreResourcesIsFalseIfInsufficientResources()
DApplicationQosPolicyTrackingTableTest.java82 policyIds.add(policy.getPolicyId()); in getPolicyIdsFromPolicyList()
DApplicationQosPolicyRequestHandlerTest.java245 policyIds.add(policy.getPolicyId()); in getPolicyIdsFromPolicyList()
/packages/modules/Connectivity/framework/src/android/net/
DDscpPolicy.java130 public int getPolicyId() { in getPolicyId() method in DscpPolicy
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java315 assertThat(mCarPowerManager.getCurrentPowerPolicy().getPolicyId()).isEqualTo(policyId); in testApplyPowerPolicy()
750 mCurrentPolicyId = policy.getPolicyId(); in onPolicyChanged()
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosPolicyParams.java391 public int getPolicyId() { in getPolicyId() method in QosPolicyParams
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java199 mCurrentPolicyId = policy.getPolicyId(); in applyPowerPolicy()
DCarPowerManagementService.java1114 String policyId = policy == null ? fallbackPolicyId : policy.getPolicyId(); in applyDefaultPowerPolicyForState()
2323 mPolicyReader.definePowerPolicy(policy.getPolicyId(), in initializeRegisteredPowerPolicies()
2747 String policyId = accumulatedPowerPolicy.getPolicyId(); in notifyPowerPolicyChange()
2896 mCurrentPowerPolicyId = accumulatedPolicy.getPolicyId(); in updateCurrentPowerPolicy()
DPolicyReader.java385 proto.write(PowerPolicy.POLICY_ID, powerPolicy.getPolicyId()); in dumpProtoPowerPolicies()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java986 if (Objects.equals(appliedPolicy.getPolicyId(), mWaitingPolicyId)) { in onPolicyChanged()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java264 + appliedPolicy.getPolicyId());
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt101 method public int getPolicyId();
/packages/services/Car/car-lib/api/
Dcurrent.txt707 method @NonNull public String getPolicyId();
Dlint-baseline.txt1364 UnflaggedApi: android.car.hardware.power.CarPowerPolicy#getPolicyId():
1365 …PI must be flagged with @FlaggedApi: method android.car.hardware.power.CarPowerPolicy.getPolicyId()
/packages/services/Car/car-lib-module/api/
Dcurrent.txt707 method @NonNull public String getPolicyId();
/packages/modules/Wifi/framework/api/
Dsystem-current.txt119 method @IntRange(from=1, to=255) public int getPolicyId();
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1728 method TIRAMISU_0 String getPolicyId();