Home
last modified time | relevance | path

Searched refs:mDevicePolicyResourcesManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedPreferenceHelperTest.java56 private DevicePolicyResourcesManager mDevicePolicyResourcesManager; field in RestrictedPreferenceHelperTest
66 doReturn(mDevicePolicyResourcesManager).when(mDevicePolicyManager) in setUp()
81 when(mDevicePolicyResourcesManager.getString(any(), any())).thenReturn("test"); in bindPreference_disabled_shouldDisplayDisabledSummary()
111 when(mDevicePolicyResourcesManager.getString(any(), any())).thenReturn("test"); in bindPreference_notDisabled_shouldNotHideSummary()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DCrossProfileAppsTest.java75 private DevicePolicyResourcesManager mDevicePolicyResourcesManager; field in CrossProfileAppsTest
106 when(mDevicePolicyManager.getResources()).thenReturn(mDevicePolicyResourcesManager); in mockContext()
177 verify(mDevicePolicyResourcesManager).getString(eq(SWITCH_TO_WORK_LABEL), any(), eq("app")); in getProfileSwitchingLabel_managedProfile()
186 verify(mDevicePolicyResourcesManager) in getProfileSwitchingLabel_personalProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java120 protected DevicePolicyResourcesManager mDevicePolicyResourcesManager; field in KeyguardIndicationControllerBaseTest
234 when(mDevicePolicyManager.getResources()).thenReturn(mDevicePolicyResourcesManager); in setUp()
242 when(mDevicePolicyResourcesManager.getString(anyString(), any())) in setUp()
244 when(mDevicePolicyResourcesManager.getString(anyString(), any(), anyString())) in setUp()