Home
last modified time | relevance | path

Searched refs:USER_SERVICE (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityManagerTest.java177 ApplicationProvider.getApplicationContext().getSystemService(Context.USER_SERVICE); in switchUser()
179 .setSystemService(Context.USER_SERVICE, userManager); in switchUser()
DShadowUserManagerTest.java40 userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in setUp()
DShadowDevicePolicyManagerTest.java61 userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in setUp()
DShadowApplicationTest.java127 assertThat(context.getSystemService(Context.USER_SERVICE)).isInstanceOf(UserManager.class); in shouldProvideServicesIntroducedInJellyBeanMr1()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityManager.java115 Shadow.extract(RuntimeEnvironment.application.getSystemService(Context.USER_SERVICE)); in switchUser()
DShadowServiceManager.java130 map.put(Context.USER_SERVICE, createBinder(IUserManager.class, "android.os.IUserManager")); in map.put() argument
DShadowDevicePolicyManager.java286 return Shadow.extract(context.getSystemService(Context.USER_SERVICE)); in getShadowUserManager()