Home
last modified time | relevance | path

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

12

/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()
DLegacyPolicySet.java69 Policy policy = new Policy(); in flagsToPolicy() 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/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java91 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in setAppBlockingPolicy()
98 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags, in doSetAppBlockingPolicy()
266 private void doUpdatePolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in doUpdatePolicy()
434 CarAppBlockingPolicy policy) { in onPolicyConnectionAndSet()
443 CarAppBlockingPolicy policy) { in doHandlePolicyConnection()
462 doSetAppBlockingPolicy(proxy.getPackageName(), policy, 0, false /*setNow*/); in doHandlePolicyConnection() local
537 private void requestUpdatingPolicy(String packageName, CarAppBlockingPolicy policy, in requestUpdatingPolicy()
DAppBlockingPolicyProxy.java108 ICarAppBlockingPolicy policy = null; in onServiceConnected() local
154 public void setAppBlockingPolicy(CarAppBlockingPolicy policy) { in setAppBlockingPolicy()
/packages/services/Car/car-lib/src/android/car/content/pm/
DICarAppBlockingPolicySetter.aidl27 void setAppBlockingPolicy(in CarAppBlockingPolicy policy) = 0; field
DICarPackageManager.aidl23 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy()
DCarAppBlockingPolicyService.java76 CarAppBlockingPolicy policy = CarAppBlockingPolicyService.this.getAppBlockingPolicy(); in setAppBlockingPolicySetter() local
DCarPackageManager.java107 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, in setAppBlockingPolicy()
/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/provider/
DPolicyTests.java96 Policy policy = new Policy(); in testSetAndClearAccountPolicy() local
191 Policy policy = new Policy(); in testParcel() local
/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/services/Car/tests/carservice_test/src/com/android/car/test/
DTestAppBlockingPolicyService.java62 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(whitelists, null); in getAppBlockingPolicy() local
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageBase.java72 protected boolean isNetworkPolicyModifiable(NetworkPolicy policy, int subId) { in isNetworkPolicyModifiable()
DChartDataUsagePreference.java128 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
163 public void setNetworkPolicy(NetworkPolicy policy) { in setNetworkPolicy()
DDataUsageMeteredSettings.java135 final NetworkPolicy policy = mPolicyEditor.getPolicyMaybeUnquoted(template); in MeteredPreference() 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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Dedit_distance.h30 AK_FORCE_INLINE static float getEditDistance(const EditDistancePolicy *const policy) { in getEditDistance()
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
DVehiclePropertyAccessControlForTesting.cpp37 bool VehiclePropertyAccessControlForTesting::process(const char* policy) { in process()
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
DCarPackageManagerTest.java90 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } in testSettingWhitelist() local
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeSettings.java123 private boolean isCategoryEnabled(Policy policy, int categoryType) { in isCategoryEnabled()
DAppNotificationSettings.java86 NotificationManager.Policy policy = in onCreate() local
/packages/services/Car/service/src/com/android/car/
DAudioRoutingPolicy.java73 private AudioRoutingPolicy(String policy) { in AudioRoutingPolicy()

12