Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeSettingsTest.java52 Policy policy = new Policy(0, 0, 0, 0); in testBlockedEffectsSummary_none() local
59 Policy policy = new Policy(0, 0, 0, NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK); in testBlockedEffectsSummary_some() local
66 Policy policy = new Policy(0, 0, 0, 511); in testBlockedEffectsSummary_all() local
73 Policy policy = new Policy(0, 0, 0, 0); in testGetCallsSettingSummary_none() local
79 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | Policy.PRIORITY_CATEGORY_CALLS, in testGetCallsSettingSummary_contacts() local
86 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_REPEAT_CALLERS, 0, 0, 0); in testGetCallsSettingSummary_repeatCallers() local
92 Policy policy = new Policy( in testGetCallsSettingSummary_starredRepeatCallers() local
101 Policy policy = new Policy(0, 0, 0, 0); in testGetSoundSettingSummary_allOff() local
107 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_ALARMS | Policy.PRIORITY_CATEGORY_SYSTEM in testGetSoundSettingSummary_allOn() local
115 Policy policy = new Policy(Policy.PRIORITY_CATEGORY_MEDIA, 0, 0, 0); in testGetSoundSettingSummary_allOffButOne() local
[all …]
DZenOnboardingActivityTest.java96 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in saveNewSetting() local
118 Policy policy = new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0, SUPPRESSED_EFFECT_SCREEN_ON); in keepCurrentSetting() local
130 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_zenUpdated() local
141 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_withinTimeThreshold() local
152 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_showSettingsSuggestionTrue() local
163 Policy policy = new Policy(0, 0, 0, 0); in isSuggestionComplete_showSettingsSuggestionFalse_notWithinTimeThreshold() local
176 Policy policy = new Policy(0, 0, 0, 511); in isSuggestionComplete_visualEffectsUpdated() local
DZenRuleCustomPrefContrTestBase.java36 void updateControllerZenPolicy(ZenPolicy policy) { in updateControllerZenPolicy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java99 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/
DZenModeSettings.java117 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()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeSettings.java117 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()
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DWakeupPolicyTest.java37 WakeupPolicy policy; in testPolicyParser() local
79 WakeupPolicy policy = new WakeupPolicy( in testPolicyInResource() local
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/
Ddamerau_levenshtein_edit_distance_policy_test.cpp32 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(), in TEST() local
40 DamerauLevenshteinEditDistancePolicy policy(codePoints0.data(), codePoints0.size(), in getEditDistance() local
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DPolicyServiceProxy.java71 public void setAccountPolicy(final long accountId, final Policy policy, in setAccountPolicy()
77 public void setAccountPolicy2(final long accountId, final Policy policy, in setAccountPolicy2()
151 public static void setAccountPolicy(Context context, long accountId, Policy policy, in setAccountPolicy()
156 public static void setAccountPolicy2(Context context, long accountId, Policy policy, in setAccountPolicy2()
DIPolicyService.aidl24 void setAccountPolicy(long accountId, in Policy policy, String securityKey); in setAccountPolicy()
26 void setAccountPolicy2(long accountId, in Policy policy, String securityKey, boolean notify); in setAccountPolicy2()
/packages/services/Car/car-lib/src/android/car/content/pm/
DICarAppBlockingPolicySetter.aidl27 void setAppBlockingPolicy(in CarAppBlockingPolicy policy) = 0; field
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowNetworkPolicyManager.java52 protected int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy()
59 NetworkPolicy policy) { in cycleIterator()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageInfoController.java28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageInfoController.java28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
/packages/services/Car/service/src/com/android/car/pm/
DAppBlockingPolicyProxy.java108 ICarAppBlockingPolicy policy = null; in onServiceConnected() local
154 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { in setAppBlockingPolicy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DSummaryDetector.java31 public SummaryDetector(BatteryTipPolicy policy, long averageTimeMs) { in SummaryDetector()
DSmartBatteryDetector.java33 public SmartBatteryDetector(BatteryTipPolicy policy, ContentResolver contentResolver) { in SmartBatteryDetector()
DEarlyWarningDetector.java40 public EarlyWarningDetector(BatteryTipPolicy policy, Context context) { in EarlyWarningDetector()
DLowBatteryDetector.java38 public LowBatteryDetector(Context context, BatteryTipPolicy policy, BatteryInfo batteryInfo) { in LowBatteryDetector()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DSummaryDetector.java31 public SummaryDetector(BatteryTipPolicy policy, long averageTimeMs) { in SummaryDetector()
DSmartBatteryDetector.java33 public SmartBatteryDetector(BatteryTipPolicy policy, ContentResolver contentResolver) { in SmartBatteryDetector()
DLowBatteryDetector.java38 public LowBatteryDetector(Context context, BatteryTipPolicy policy, BatteryInfo batteryInfo) { in LowBatteryDetector()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java140 Policy policy = new Policy(); in computeAggregatePolicy() local
249 public boolean isActive(Policy policy) { in isActive()
319 public int getInactiveReasons(Policy policy) { in getInactiveReasons()
536 public static void setAccountPolicy(Context context, Account account, Policy policy, in setAccountPolicy()
597 public void setAccountPolicy(long accountId, Policy policy, String securityKey, in setAccountPolicy()
/packages/apps/Email/tests/src/com/android/email/
DMockVendorPolicy.java29 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy()
/packages/services/Car/service/src/com/android/car/garagemode/
DWakeupPolicy.java46 WakeupPolicy(String[] policy) { in WakeupPolicy()
87 private LinkedList<WakeupInterval> parsePolicy(String[] policy) { in parsePolicy()

1234