Home
last modified time | relevance | path

Searched refs:ShadowContextImpl (Results 1 – 16 of 16) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DShadowUtils.java52 ShadowContextImpl shadow = in addExternalDir()
86 @Implements(className = org.robolectric.shadows.ShadowContextImpl.CLASS_NAME)
87 public static class ShadowContextImpl extends org.robolectric.shadows.ShadowContextImpl { class in ShadowUtils
137 return directlyOn(realObject, ShadowContextImpl.CLASS_NAME, "getFilesDir"); in getFilesDir()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java42 @Implements(className = ShadowContextImpl.CLASS_NAME)
43 public class ShadowContextImpl { class
67 ShadowContextImpl.CLASS_NAME, in getSystemService()
319 ShadowContextImpl.CLASS_NAME, in startActivityAsUser()
353 ShadowContextImpl.class.getClassLoader(), "android.app.ContextImpl"); in reset()
361 ShadowContextImpl.class.getClassLoader(), in reset()
373 ShadowContextImpl.class.getClassLoader(), "android.app.ContextImpl$ServiceFetcher"); in reset()
DShadowContextWrapper.java122 ((ShadowContextImpl) Shadow.extract(realContextWrapper.getBaseContext())) in removeSystemService()
DShadowApplication.java299 ShadowContextImpl shadowContext = Shadow.extract(realApplication.getBaseContext()); in setSystemService()
DShadowApplicationPackageManager.java127 from(Class.forName(ShadowContextImpl.CLASS_NAME), contextImpl), in __constructor__()
143 from(Class.forName(ShadowContextImpl.CLASS_NAME), contextImpl), in __constructor__()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java59 @Implements(className = ShadowContextImpl.CLASS_NAME)
61 public class ShadowContextImpl { class
404 return directlyOn(realContextImpl, ShadowContextImpl.CLASS_NAME, "getUserId"); in getUserId()
425 ShadowContextImpl.class.getClassLoader(), "android.app.ContextImpl"); in reset()
433 ShadowContextImpl.class.getClassLoader(), in reset()
DShadowContextWrapper.java170 ((ShadowContextImpl) Shadow.extract(realContextWrapper.getBaseContext())) in removeSystemService()
DShadowApplication.java391 ShadowContextImpl shadowContext = Shadow.extract(realApplication.getBaseContext()); in setSystemService()
DShadowActivity.java71 import org.robolectric.shadows.ShadowContextImpl._ContextImpl_;
DShadowUserManager.java1119 ShadowContextImpl shadowContext = Shadow.extract(application.getBaseContext()); in switchUser()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java58 import org.robolectric.shadows.ShadowContextImpl;
183 getClass().getClassLoader(), ShadowContextImpl.CLASS_NAME); in setUpApplicationState()
281 getClass().getClassLoader(), ShadowContextImpl.CLASS_NAME); in createInitialApplication()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java52 import org.robolectric.shadows.ShadowContextImpl;
73 private final ShadowContextImpl shadowContext;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java37 private final ShadowContextImpl shadowContext = Shadow.extract(context.getBaseContext());
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java43 private final ShadowContextImpl shadowContext = Shadow.extract(context.getBaseContext());
DShadowUserManagerTest.java1139 ShadowContextImpl shadowContext = Shadow.extract(application.getBaseContext()); in setUserIdInContext()
/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/
DAndroidTestEnvironment.java79 import org.robolectric.shadows.ShadowContextImpl._ContextImpl_;