Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java98 NetworkPolicy policy = getDefaultNetworkPolicy(); in testNegativeWarning_UpdatedToZero() local
106 NetworkPolicy policy = getDefaultNetworkPolicy(); in testWarningZero_UpdatedToZero() local
114 NetworkPolicy policy = getDefaultNetworkPolicy(); in testWarningPositive_UpdatedToWarning() local
122 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitNegative_UpdatedToZero() local
130 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitZero_UpdatedToZero() local
138 NetworkPolicy policy = getDefaultNetworkPolicy(); in testLimitPositive_UpdatedToLimit() 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
DICarPackageManager.aidl24 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy()
DCarAppBlockingPolicyService.java76 CarAppBlockingPolicy policy = CarAppBlockingPolicyService.this.getAppBlockingPolicy(); in setAppBlockingPolicySetter() local
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageInfoController.java27 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
DChartDataUsagePreference.java124 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
159 public void setNetworkPolicy(NetworkPolicy policy) { in setNetworkPolicy()
DDataSaverBackend.java86 final int policy = whitelisted ? POLICY_ALLOW_METERED_BACKGROUND : POLICY_NONE; in setIsWhitelisted() local
125 final int policy = blacklisted ? POLICY_REJECT_METERED_BACKGROUND : POLICY_NONE; in setIsBlacklisted() local
DDataUsageBase.java78 protected boolean isNetworkPolicyModifiable(NetworkPolicy policy, int subId) { in isNetworkPolicyModifiable()
/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()
DCarPackageManagerService.java116 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in setAppBlockingPolicy()
123 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags, in doSetAppBlockingPolicy()
337 private void doUpdatePolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in doUpdatePolicy()
561 CarAppBlockingPolicy policy) { in onPolicyConnectionAndSet()
570 CarAppBlockingPolicy policy) { in doHandlePolicyConnection()
589 doSetAppBlockingPolicy(proxy.getPackageName(), policy, 0, false /*setNow*/); in doHandlePolicyConnection() local
711 private void requestUpdatingPolicy(String packageName, CarAppBlockingPolicy policy, in requestUpdatingPolicy()
/packages/services/Car/service/src/com/android/car/
DAudioRoutingPolicy.java46 String policy; in create() local
86 private AudioRoutingPolicy(String policy) { in AudioRoutingPolicy()
DBluetoothAutoConnectStateMachine.java52 BluetoothAutoConnectStateMachine(BluetoothDeviceConnectionPolicy policy) { in BluetoothAutoConnectStateMachine()
67 public static BluetoothAutoConnectStateMachine make(BluetoothDeviceConnectionPolicy policy) { in make()
/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()
DSecurityPolicyTests.java112 Policy policy = new Policy(); in setupPolicy() local
217 Policy policy = Policy.restorePolicyWithId(mMockContext, policyKey); in assertAccountPolicyConsistent() local
479 private boolean policySetEqualsPolicy(PolicySet ps, Policy policy) { in policySetEqualsPolicy()
500 Policy policy = LegacyPolicySet.flagsToPolicy(flags); in testPolicyFlagsToPolicy() local
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java96 Policy policy = new Policy(); in testSetAndClearAccountPolicy() local
191 Policy policy = new Policy(); in testParcel() local
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DTestAppBlockingPolicyService.java62 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(whitelists, null); in getAppBlockingPolicy() local
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); in sanitizeHtml() local
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
DConnectivityTestActivity.java41 StrictMode.ThreadPolicy policy = in onCreate() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/
DAnomalyUtils.java109 AnomalyDetectionPolicy policy, String targetPackageName) { in detectAnomalies()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeSettings.java355 String getPrioritySettingSummary(Policy policy) { in getPrioritySettingSummary()
380 String getVisualSettingSummary(Policy policy) { in getVisualSettingSummary()
434 private boolean isCategoryEnabled(Policy policy, int categoryType) { in isCategoryEnabled()
438 private boolean isEffectSuppressed(Policy policy, int effect) { in isEffectSuppressed()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Dedit_distance.h30 AK_FORCE_INLINE static float getEditDistance(const EditDistancePolicy *const policy) { in getEditDistance()

12