Home
last modified time | relevance | path

Searched refs:getPolicy (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java145 public Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in VendorPolicyLoader
166 return getPolicy(USE_ALTERNATE_EXCHANGE_STRINGS, null) in useAlternateExchangeStrings()
191 String result = getPolicy(GET_IMAP_ID, params).getString(GET_IMAP_ID); in getImapIdValues()
296 Bundle out = getPolicy(FIND_PROVIDER, params); in findProviderForDomain()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java51 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null)); in testPackageNotExist()
79 Bundle actualResult = pl.getPolicy("policy1", args); in testGetPolicy()
100 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null)); in testGetPolicyNonSystem()
DMockVendorPolicy.java29 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy() method in MockVendorPolicy
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowNetworkPolicyEditor.java34 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() method in ShadowNetworkPolicyEditor
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeBlockedEffectsPreferenceController.java47 return mSummaryBuilder.getBlockedEffectsSummary(getPolicy()); in getSummary()
DZenModeCallsPreferenceController.java64 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
DZenModeMessagesPreferenceController.java63 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
DAbstractZenModePreferenceController.java106 protected NotificationManager.Policy getPolicy() { in getPolicy() method in AbstractZenModePreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeBlockedEffectsPreferenceController.java47 return mSummaryBuilder.getBlockedEffectsSummary(getPolicy()); in getSummary()
DZenModeCallsPreferenceController.java53 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
DZenModeMessagesPreferenceController.java52 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
DAbstractZenModePreferenceController.java106 protected NotificationManager.Policy getPolicy() { in getPolicy() method in AbstractZenModePreferenceController
/packages/apps/Settings/src/com/android/settings/datausage/
DWifiDataUsageSummaryPreferenceController.java58 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(template)); in updateState()
DDataUsageSummaryPreferenceController.java201 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(mDefaultTemplate)); in updateState()
DBillingCycleSettings.java428 .getPolicy(parent.mNetworkTemplate); in show()
DDataUsageList.java283 final NetworkPolicy policy = services.mPolicyEditor.getPolicy(mTemplate); in updatePolicy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DWifiDataUsageSummaryPreferenceController.java59 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(template)); in updateState()
DDataUsageSummaryPreferenceController.java202 mDataInfoController.updateDataLimit(info, mPolicyEditor.getPolicy(mDefaultTemplate)); in updateState()
DBillingCycleSettings.java428 .getPolicy(parent.mNetworkTemplate); in show()
DDataUsageList.java280 final NetworkPolicy policy = services.mPolicyEditor.getPolicy(mTemplate); in updatePolicy()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java115 NetworkPolicy policy = mPolicyEditor.getPolicy(mNetworkTemplate); in getBundleForNetworkStats()
/packages/apps/Email/src/com/android/email/activity/setup/
DSetupDataFragment.java158 public synchronized Policy getPolicy() { in getPolicy() method in SetupDataFragment
DAccountSetupFinal.java1152 if (mSetupData.getPolicy() != null) { in initiateAccountCreation()
1154 account.mPolicy = mSetupData.getPolicy(); in initiateAccountCreation()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java434 public HvacPolicy getPolicy() { in getPolicy() method in HvacController