/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageInfoControllerTest.java | 98 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/ |
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/Email/emailcommon/src/com/android/emailcommon/service/ |
D | PolicyServiceProxy.java | 71 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()
|
D | IPolicyService.aidl | 24 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/ |
D | ICarAppBlockingPolicySetter.aidl | 27 void setAppBlockingPolicy(in CarAppBlockingPolicy policy) = 0; field
|
D | ICarPackageManager.aidl | 24 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy()
|
D | CarAppBlockingPolicyService.java | 76 CarAppBlockingPolicy policy = CarAppBlockingPolicyService.this.getAppBlockingPolicy(); in setAppBlockingPolicySetter() local
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageInfoController.java | 27 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
|
D | ChartDataUsagePreference.java | 124 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy() 159 public void setNetworkPolicy(NetworkPolicy policy) { in setNetworkPolicy()
|
D | DataSaverBackend.java | 86 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
|
D | DataUsageBase.java | 78 protected boolean isNetworkPolicyModifiable(NetworkPolicy policy, int subId) { in isNetworkPolicyModifiable()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 108 ICarAppBlockingPolicy policy = null; in onServiceConnected() local 154 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { in setAppBlockingPolicy()
|
D | CarPackageManagerService.java | 116 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/ |
D | AudioRoutingPolicy.java | 46 String policy; in create() local 86 private AudioRoutingPolicy(String policy) { in AudioRoutingPolicy()
|
D | BluetoothAutoConnectStateMachine.java | 52 BluetoothAutoConnectStateMachine(BluetoothDeviceConnectionPolicy policy) { in BluetoothAutoConnectStateMachine() 67 public static BluetoothAutoConnectStateMachine make(BluetoothDeviceConnectionPolicy policy) { in make()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | SecurityPolicy.java | 140 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/ |
D | MockVendorPolicy.java | 29 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy()
|
D | SecurityPolicyTests.java | 112 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/ |
D | PolicyTests.java | 96 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/ |
D | TestAppBlockingPolicyService.java | 62 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(whitelists, null); in getAppBlockingPolicy() local
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HtmlSanitizer.java | 398 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/ |
D | ConnectivityTestActivity.java | 41 StrictMode.ThreadPolicy policy = in onCreate() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/ |
D | AnomalyUtils.java | 109 AnomalyDetectionPolicy policy, String targetPackageName) { in detectAnomalies()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSettings.java | 355 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/ |
D | edit_distance.h | 30 AK_FORCE_INLINE static float getEditDistance(const EditDistancePolicy *const policy) { in getEditDistance()
|