Home
last modified time | relevance | path

Searched refs:createNullProxy (Results 1 – 14 of 14) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageInstallerTest.java94 session.commit(new IntentSender(ReflectionHelpers.createNullProxy(IIntentSender.class))); in sessionCommitSession_streamProperlyClosed()
104 session.commit(new IntentSender(ReflectionHelpers.createNullProxy(IIntentSender.class))); in sessionCommitSession_streamStillOpen()
138 session.commit(new IntentSender(ReflectionHelpers.createNullProxy(IIntentSender.class))); in registerSessionCallback_sessionSucceeds()
DShadowViewTest.java171 shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); in shouldKnowIfThisOrAncestorsAreVisible()
199 shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); in performLongClick_shouldClickOnView()
209 shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); in checkedClick_shouldClickOnView()
567 …shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); // a view is only… in itKnowsIfTheViewIsShown()
DShadowListViewTest.java233 …shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); // Android implem… in getPositionForView_shouldReturnInvalidPositionForViewThatIsNotFound()
DShadowLayoutInflaterTest.java180 shadowOf(parent).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); in focusRequest_shouldNotExplodeOnViewRootImpl()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityManagerNative.java12 ReflectionHelpers.createNullProxy(IActivityManager.class);
DShadowActivityTaskManager.java17 return (IActivityTaskManager) ReflectionHelpers.createNullProxy(IActivityTaskManager.class); in getService()
DShadowPlayerBase.java17 return ReflectionHelpers.createNullProxy(IAudioService.class); in getService()
DShadowIAppOpsService.java18 return ReflectionHelpers.createNullProxy(IAppOpsService.class); in asInterface()
DShadowServiceManager.java222 binder.attachInterface(ReflectionHelpers.createNullProxy(clazz), descriptor); in createBinder()
228 binder.attachInterface(ReflectionHelpers.createNullProxy(clazz), descriptor); in createBinder()
DShadowAccessibilityManager.java64 new Object[]{context, ReflectionHelpers.createNullProxy(IAccessibilityManager.class), 0}); in createInstance()
DShadowSoundPool.java44 return ReflectionHelpers.createNullProxy(IAudioService.class); in getService()
DShadowActivityManager.java198 return ReflectionHelpers.createNullProxy(IActivityManager.class); in getService()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTest.java101 shadowOf(view).setMyParent(ReflectionHelpers.createNullProxy(ViewParent.class)); in clickOn_shouldCallClickListener()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/
DReflectionHelpers.java34 public static <T> T createNullProxy(Class<T> clazz) { in createNullProxy() method in ReflectionHelpers