/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 53 Policy policy = new Policy(); in createPolicy() local 136 Policy policy = createPolicy(); in verifyParcelWithoutProtoPortMap() local 148 Policy policy = createPolicy(); in verifyParcelWithoutPreferredRoamingPartnerList() local 160 Policy policy = createPolicy(); in verifyParcelWithoutPolicyUpdate() local 186 Policy policy = createPolicy(); in verifyCopyConstructionWithFullPolicy() local 198 Policy policy = new Policy(); in validatePolicyWithDefault() local 220 Policy policy = createPolicy(); in validatePolicyWithoutPolicyUpdate() local 232 Policy policy = createPolicy(); in validatePolicyWithInvalidPolicyUpdate() local 244 Policy policy = createPolicy(); in validatePolicyWithRoamingPartnerWithoutFQDN() local 261 Policy policy = createPolicy(); in validatePolicyWithRoamingPartnerWithoutCountries() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeSettingsTest.java | 54 Policy policy = new Policy(0, 0, 0, 0); in testBlockedEffectsSummary_none() local 61 Policy policy = new Policy(0, 0, 0, NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK); in testBlockedEffectsSummary_some() local 68 Policy policy = new Policy(0, 0, 0, 511); in testBlockedEffectsSummary_all() local 76 Policy policy = new Policy(0, 0, 0, 0); in testGetCallsSettingSummary_none() local 82 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | Policy.PRIORITY_CATEGORY_CALLS, in testGetCallsSettingSummary_contacts() local 89 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_REPEAT_CALLERS, 0, 0, 0); in testGetCallsSettingSummary_repeatCallers() local 95 Policy policy = new Policy( in testGetCallsSettingSummary_starredRepeatCallers() local
|
D | ZenOnboardingActivityTest.java | 97 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in saveNewSetting() local 119 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in keepCurrentSetting() local 131 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_zenUpdated() local 142 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_withinTimeThreshold() local 153 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_showSettingsSuggestionTrue() local 164 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_showSettingsSuggestionFalse_notWithinTimeThreshold() local 177 Policy policy = new Policy(0, 0, 0, 511); in isSuggestionComplete_visualEffectsUpdated() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 164 PasswordPolicy policy = new PasswordPolicy(); in activity_shouldHaveSecureFlag() local 179 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_noMinPasswordComplexity() local 194 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_minPasswordComplexityStricter_pin() local 207 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_minPasswordComplexityStricter_password() local 220 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_dpmRestrictionsStricter_password() local 236 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_dpmLengthLonger_pin() local 250 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_dpmQualityComplex() local 268 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_pinRequested() local 282 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_passwordRequested() local 296 PasswordPolicy policy = new PasswordPolicy(); in processAndValidatePasswordRequirements_numericComplexHighComplexity_pinRequested() local [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/ |
D | DataUsageInfoControllerTest.java | 121 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_NegativeWarning_UpdatedToZero() local 131 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_WarningZero_UpdatedToZero() local 141 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_WarningPositive_UpdatedToWarning() local 151 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_LimitNegative_UpdatedToZero() local 161 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_LimitZero_UpdatedToZero() local 171 NetworkPolicy policy = getDefaultNetworkPolicy(); in updateDataLimit_LimitPositive_UpdatedToLimit() local
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSettings.java | 127 String getOtherSoundCategoriesSummary(Policy policy) { in getOtherSoundCategoriesSummary() 154 String getCallsSettingSummary(Policy policy) { in getCallsSettingSummary() 171 String getMessagesSettingSummary(Policy policy) { in getMessagesSettingSummary() 212 String getBlockedEffectsSummary(Policy policy) { in getBlockedEffectsSummary() 250 private List<String> getEnabledCategories(Policy policy, in getEnabledCategories() 277 private boolean isCategoryEnabled(Policy policy, int categoryType) { in isCategoryEnabled() 281 private String getCategory(int category, Policy policy, boolean isFirst) { in getCategory()
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | PowerComponentHandlerTest.cpp | 42 CarPowerPolicyPtr policy = std::make_shared<CarPowerPolicy>(); in createPolicy() local 65 CarPowerPolicyPtr policy = handler.getAccumulatedPolicy(); in TEST_F() local 75 CarPowerPolicyPtr policy = in TEST_F() local 110 CarPowerPolicyPtr policy = createPolicy(policyId, enabledComponents, disabledComponents); in TEST_F() local
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/os/ |
D | ThreadPolicyWithPriorityUnitTest.java | 57 int policy = -1; in testThreadPolicyWithPriorityInvalidPolicy() local 69 int policy = ThreadPolicyWithPriority.SCHED_FIFO; in testThreadPolicyWithPriorityPriorityTooSmall() local 81 int policy = ThreadPolicyWithPriority.SCHED_FIFO; in testThreadPolicyWithPriorityPriorityTooLarge() local
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | RequestManageCredentials.java | 133 AppUriAuthenticationPolicy policy = in onCreate() local 167 private boolean isValidAuthenticationPolicy(AppUriAuthenticationPolicy policy) { in isValidAuthenticationPolicy() 342 private String getNumberOfAuthenticationPolicyUris(AppUriAuthenticationPolicy policy) { in getNumberOfAuthenticationPolicyUris() 351 private String getNumberOfAuthenticationPolicyApps(AppUriAuthenticationPolicy policy) { in getNumberOfAuthenticationPolicyApps()
|
/packages/modules/Bluetooth/system/gd/security/ |
D | l2cap_security_module_interface.cc | 27 hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, in Enforce() 35 …2capSecurityModuleInterface::Enforce(hci::AddressWithType remote, l2cap::le::SecurityPolicy policy, in Enforce()
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/ |
D | damerau_levenshtein_edit_distance_policy_test.cpp | 32 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(), in TEST() local 40 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(), in getEditDistance() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 76 CarPowerPolicy policy = mHandler.getAccumulatedPolicy(); in testGetAccumulatedPolicy_firstTime() local 87 CarPowerPolicy policy = new CarPowerPolicy("test_policy1", new int[]{WIFI}, in testApplyPowerPolicy_oneTime() local
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DscpPolicyTest.kt | 367 val policy = DscpPolicy.Builder(1, 1) in <lambda>() constant 405 val policy = DscpPolicy.Builder(1, 1) in <lambda>() constant 443 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(1111, 1111)).build() in <lambda>() constant 479 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(1111, 1111)).build() in <lambda>() constant 511 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(1111, 1111)).build() in <lambda>() constant 552 val policy = DscpPolicy.Builder(1, 1) in <lambda>() constant 600 val policy = DscpPolicy.Builder(1, 1).setDestinationPortRange(Range(4444, 4444)).build() in <lambda>() constant 635 val policy = DscpPolicy.Builder(policyId, dscpValue).setDestinationPortRange(range).build() in <lambda>() constant
|
/packages/apps/Settings/src/com/android/settings/development/tare/ |
D | DropdownActivity.java | 53 int policy = intent.getIntExtra(EXTRA_POLICY, DEFAULT_POLICY); in onCreate() local 82 private void selectFragment(int policy) { in selectFragment()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DscpPolicyTracker.java | 136 private boolean matchesIpv4(DscpPolicy policy) { in matchesIpv4() 143 private boolean matchesIpv6(DscpPolicy policy) { in matchesIpv6() 162 private int addDscpPolicyInternal(DscpPolicy policy, int ifIndex) { in addDscpPolicyInternal() 223 public void addDscpPolicy(NetworkAgentInfo nai, DscpPolicy policy) { in addDscpPolicy()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 98 CarPowerPolicy policy = mCarPowerManagementService.getCurrentPowerPolicy(); in initializePowerState() local 111 private void updateAudioPowerStateLocked(CarPowerPolicy policy) { in updateAudioPowerStateLocked()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowNetworkPolicyManager.java | 52 protected int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() 59 NetworkPolicy policy) { in cycleIterator()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ThreadPriorityController.cpp | 65 Status ThreadPriorityController::setThreadPriority(int pid, int tid, int uid, int policy, in setThreadPriority() 111 int policy = mSystemCallsInterface->getScheduler(tpid); in getThreadPriority() local 129 int ThreadPriorityController::SystemCalls::setScheduler(pid_t tid, int policy, in setScheduler()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 178 Result<void> readComponents(const XMLElement* pPolicy, CarPowerPolicyPtr policy, in readComponents() 212 Result<void> readOtherComponents(const XMLElement* pPolicy, CarPowerPolicyPtr policy, in readOtherComponents() 265 auto policy = std::make_shared<CarPowerPolicy>(); in readPolicies() local 437 CarPowerPolicyPtr policy = std::make_shared<CarPowerPolicy>(); in createPolicy() local 458 std::string toString(const CarPowerPolicy& policy) { in toString() 521 auto policy = std::make_shared<CarPowerPolicy>(); in definePowerPolicy() local 617 for (auto policy : policyOverrides) { in reconstructNoUserInteractionPolicy() local
|
/packages/services/Car/car-lib/src/android/car/os/ |
D | ThreadPolicyWithPriority.java | 111 public ThreadPolicyWithPriority( in ThreadPolicyWithPriority() 236 int policy = in.readInt(); in ThreadPolicyWithPriority() local
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 112 ICarAppBlockingPolicy policy = null; in onServiceConnected() local 160 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { in setAppBlockingPolicy()
|
/packages/services/Car/car-lib/src/android/car/content/pm/ |
D | ICarAppBlockingPolicySetter.aidl | 27 void setAppBlockingPolicy(in CarAppBlockingPolicy policy) = 0; field
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/ |
D | security_enforcement_interface.h | 49 …void Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) o… in Enforce()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | CarBluetoothUserService.java | 288 int policy; in getConnectionPolicy() local 327 public void setConnectionPolicy(int profile, BluetoothDevice device, int policy) { in setConnectionPolicy()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageInfoController.java | 28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
|