Searched refs:ShadowContextImpl (Results 1 – 16 of 16) sorted by relevance
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | ShadowUtils.java | 52 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/ |
D | ShadowContextImpl.java | 42 @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()
|
D | ShadowContextWrapper.java | 122 ((ShadowContextImpl) Shadow.extract(realContextWrapper.getBaseContext())) in removeSystemService()
|
D | ShadowApplication.java | 299 ShadowContextImpl shadowContext = Shadow.extract(realApplication.getBaseContext()); in setSystemService()
|
D | ShadowApplicationPackageManager.java | 127 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/ |
D | ShadowContextImpl.java | 59 @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()
|
D | ShadowContextWrapper.java | 170 ((ShadowContextImpl) Shadow.extract(realContextWrapper.getBaseContext())) in removeSystemService()
|
D | ShadowApplication.java | 391 ShadowContextImpl shadowContext = Shadow.extract(realApplication.getBaseContext()); in setSystemService()
|
D | ShadowActivity.java | 71 import org.robolectric.shadows.ShadowContextImpl._ContextImpl_;
|
D | ShadowUserManager.java | 1119 ShadowContextImpl shadowContext = Shadow.extract(application.getBaseContext()); in switchUser()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 58 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/ |
D | RobolectricTestUtilities.java | 52 import org.robolectric.shadows.ShadowContextImpl; 73 private final ShadowContextImpl shadowContext;
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextImplTest.java | 37 private final ShadowContextImpl shadowContext = Shadow.extract(context.getBaseContext());
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextImplTest.java | 43 private final ShadowContextImpl shadowContext = Shadow.extract(context.getBaseContext());
|
D | ShadowUserManagerTest.java | 1139 ShadowContextImpl shadowContext = Shadow.extract(application.getBaseContext()); in setUserIdInContext()
|
/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/ |
D | AndroidTestEnvironment.java | 79 import org.robolectric.shadows.ShadowContextImpl._ContextImpl_;
|