Home
last modified time | relevance | path

Searched refs:getShadowDevicePolicyManager (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java103 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_permitAllInputMethods_preferenceCountIs4()
118 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible()
136 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled()
154 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_multipleEnabledInputMethods_allPreferencesChecked()
173 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_disallowedByOrganization_noPreferencesShown()
200 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceIcon()
217 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceTitle()
234 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceSummary()
253 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_oneInputMethod_noneEnabled_oneInputMethodPreferenceInView()
265 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_oneInputMethod_noneEnabled_preferenceEnabled()
[all …]
DEnabledKeyboardPreferenceControllerTest.java88 getShadowDevicePolicyManager(mContext).reset(); in tearDown()
93 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_permitAllInputMethods()
104 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_hasAllowedImeByOrganization()
116 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_disallowedByOrganization()
139 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceIcon()
152 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceTitle()
165 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_verifyPreferenceSummary()
180 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in performClick_launchSettingsActivity()
204 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in performClick_noSettingsActivity_noCrash()
263 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager() method in EnabledKeyboardPreferenceControllerTest
DKeyboardPreferenceControllerTest.java89 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_noInputMethodInfo()
98 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
112 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
128 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser(null); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
146 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_hasAllowedImeByOrganization()
160 getShadowDevicePolicyManager(mContext).setPermittedInputMethodsForCurrentUser( in refreshUi_disallowedByOrganization()
198 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager() method in KeyboardPreferenceControllerTest
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java154 getShadowDevicePolicyManager().setPackageHasActiveAdmins( in onStart_packageHasActiveAdmins_disablesForceStopButton()
349 getShadowDevicePolicyManager().setPackageHasActiveAdmins( in onStart_packageHasActiveAdmins_disablesUninstallButton()
372 getShadowDevicePolicyManager().setIsUninstallInQueue(true); in onStart_uninstallQueued_disablesUninstallButton()
612 private ShadowDevicePolicyManager getShadowDevicePolicyManager() { in getShadowDevicePolicyManager() method in ApplicationDetailsFragmentTest