Searched refs:getShadowInstrumentation (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextWrapper.java | 20 return getShadowInstrumentation().getBroadcastIntents(); in getBroadcastIntents() 30 return getShadowInstrumentation().getNextStartedActivity(); in getNextStartedActivity() 40 return getShadowInstrumentation().peekNextStartedActivity(); in peekNextStartedActivity() 48 getShadowInstrumentation().clearNextStartedActivities(); in clearNextStartedActivities() 58 return getShadowInstrumentation().getNextStartedService(); in getNextStartedService() 68 return getShadowInstrumentation().peekNextStartedService(); in peekNextStartedService() 76 getShadowInstrumentation().clearStartedServices(); in clearStartedServices() 85 return getShadowInstrumentation().getNextStoppedService(); in getNextStoppedService() 90 getShadowInstrumentation().grantPermissions(permissionNames); in grantPermissions() 95 getShadowInstrumentation().grantPermissions(pid, uid, permissions); in grantPermissions() [all …]
|
D | ShadowContextImpl.java | 147 getShadowInstrumentation().sendBroadcastWithPermission(intent, null, realContextImpl); in sendBroadcast() 152 getShadowInstrumentation() in sendBroadcast() 158 getShadowInstrumentation() in sendOrderedBroadcast() 171 getShadowInstrumentation() in sendOrderedBroadcast() 231 getShadowInstrumentation().sendStickyBroadcast(intent, realContextImpl); in sendStickyBroadcast() 236 return getShadowInstrumentation().checkPermission(permission, pid, uid); in checkPermission() 241 return getShadowInstrumentation().registerReceiver(receiver, filter, realContextImpl); in registerReceiver() 250 return getShadowInstrumentation() in registerReceiver() 261 return getShadowInstrumentation() in registerReceiverAsUser() 268 getShadowInstrumentation().unregisterReceiver(broadcastReceiver); in unregisterReceiver() [all …]
|
D | ShadowApplication.java | 104 getShadowInstrumentation().setComponentNameAndServiceForBindService(name, service); in setComponentNameAndServiceForBindService() 109 getShadowInstrumentation() in setComponentNameAndServiceForBindServiceForIntent() 114 getShadowInstrumentation().assertNoBroadcastListenersOfActionRegistered(context, action); in assertNoBroadcastListenersOfActionRegistered() 118 return getShadowInstrumentation().getBoundServiceConnections(); in getBoundServiceConnections() 122 getShadowInstrumentation().setUnbindServiceShouldThrowIllegalArgument(flag); in setUnbindServiceShouldThrowIllegalArgument() 126 return getShadowInstrumentation().getUnboundServiceConnections(); in getUnboundServiceConnections() 132 return getShadowInstrumentation().hasReceiverForIntent(intent); in hasReceiverForIntent() 138 return getShadowInstrumentation().getReceiversForIntent(intent); in getReceiversForIntent() 145 return getShadowInstrumentation().getRegisteredReceivers(); in getRegisteredReceivers() 185 getShadowInstrumentation().declareActionUnbindable(action); in declareActionUnbindable()
|