/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
|
D | ZenRuleCustomPrefContrTestBase.java | 38 void updateControllerZenPolicy(ZenPolicy policy) { in updateControllerZenPolicy()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageInfoControllerTest.java | 99 NetworkPolicy policy = getDefaultNetworkPolicy(); in testNegativeWarning_UpdatedToZero() local 107 NetworkPolicy policy = getDefaultNetworkPolicy(); in testWarningZero_UpdatedToZero() local 115 NetworkPolicy policy = getDefaultNetworkPolicy(); in testWarningPositive_UpdatedToWarning() local 123 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitNegative_UpdatedToZero() local 131 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitZero_UpdatedToZero() local 139 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitPositive_UpdatedToLimit() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeSettings.java | 117 String getSoundSettingSummary(Policy policy) { in getSoundSettingSummary() 142 String getCallsSettingSummary(Policy policy) { in getCallsSettingSummary() 159 String getMessagesSettingSummary(Policy policy) { in getMessagesSettingSummary() 196 String getBlockedEffectsSummary(Policy policy) { in getBlockedEffectsSummary() 232 private List<String> getEnabledCategories(Policy policy, in getEnabledCategories() 250 private boolean isCategoryEnabled(Policy policy, int categoryType) { in isCategoryEnabled() 254 private String getCategory(int category, Policy policy, boolean isFirst) { in getCategory()
|
D | ZenModeSettingsFooterPreferenceController.java | 201 public void setNotificationPolicy(NotificationManager.Policy policy) { in setNotificationPolicy() 209 NotificationManager.Policy policy = savedInstanceState.getParcelable(KEY_POLICY); in onCreateDialog() local
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSettings.java | 123 String getOtherSoundCategoriesSummary(Policy policy) { in getOtherSoundCategoriesSummary() 153 String getCallsSettingSummary(Policy policy) { in getCallsSettingSummary() 170 String getMessagesSettingSummary(Policy policy) { in getMessagesSettingSummary() 207 String getBlockedEffectsSummary(Policy policy) { in getBlockedEffectsSummary() 243 private List<String> getEnabledCategories(Policy policy, in getEnabledCategories() 261 private boolean isCategoryEnabled(Policy policy, int categoryType) { in isCategoryEnabled() 265 private String getCategory(int category, Policy policy, boolean isFirst) { in getCategory()
|
D | ZenModeSettingsFooterPreferenceController.java | 201 public void setNotificationPolicy(NotificationManager.Policy policy) { in setNotificationPolicy() 209 NotificationManager.Policy policy = savedInstanceState.getParcelable(KEY_POLICY); in onCreateDialog() local
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | WakeupPolicyTest.java | 37 WakeupPolicy policy; in testPolicyParser() local 79 WakeupPolicy policy = new WakeupPolicy( in testPolicyInResource() local
|
/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/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/car-lib/src/android/car/content/pm/ |
D | ICarAppBlockingPolicySetter.aidl | 27 void setAppBlockingPolicy(in CarAppBlockingPolicy policy) = 0; field
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 109 ICarAppBlockingPolicy policy = null; in onServiceConnected() local 155 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { in setAppBlockingPolicy()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | WakeupPolicy.java | 46 WakeupPolicy(String[] policy) { in WakeupPolicy() 87 private LinkedList<WakeupInterval> parsePolicy(String[] policy) { in parsePolicy()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageInfoController.java | 28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageInfoController.java | 28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/ |
D | SmartBatteryDetector.java | 33 public SmartBatteryDetector(BatteryTipPolicy policy, ContentResolver contentResolver) { in SmartBatteryDetector()
|
D | SummaryDetector.java | 31 public SummaryDetector(BatteryTipPolicy policy, long averageTimeMs) { in SummaryDetector()
|
D | EarlyWarningDetector.java | 40 public EarlyWarningDetector(BatteryTipPolicy policy, Context context) { in EarlyWarningDetector()
|
D | LowBatteryDetector.java | 38 public LowBatteryDetector(Context context, BatteryTipPolicy policy, BatteryInfo batteryInfo) { in LowBatteryDetector()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | SmartBatteryDetector.java | 33 public SmartBatteryDetector(BatteryTipPolicy policy, ContentResolver contentResolver) { in SmartBatteryDetector()
|
D | SummaryDetector.java | 31 public SummaryDetector(BatteryTipPolicy policy, long averageTimeMs) { in SummaryDetector()
|
D | EarlyWarningDetector.java | 40 public EarlyWarningDetector(BatteryTipPolicy policy, Context context) { in EarlyWarningDetector()
|
D | LowBatteryDetector.java | 38 public LowBatteryDetector(Context context, BatteryTipPolicy policy, BatteryInfo batteryInfo) { in LowBatteryDetector()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/content/pm/ |
D | CarPackageManagerPermissionTest.java | 59 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(null, null); in testSetAppBlockingPolicy() local
|