Home
last modified time | relevance | path

Searched refs:getShadowInstrumentation (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java20 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 …]
DShadowContextImpl.java146 getShadowInstrumentation().sendBroadcastWithPermission(intent, null, realContextImpl); in sendBroadcast()
151 getShadowInstrumentation() in sendBroadcast()
157 getShadowInstrumentation() in sendOrderedBroadcast()
170 getShadowInstrumentation() in sendOrderedBroadcast()
184 getShadowInstrumentation().sendStickyBroadcast(intent, realContextImpl); in sendStickyBroadcast()
189 return getShadowInstrumentation().checkPermission(permission, pid, uid); in checkPermission()
194 return getShadowInstrumentation().registerReceiver(receiver, filter, realContextImpl); in registerReceiver()
203 return getShadowInstrumentation() in registerReceiver()
214 return getShadowInstrumentation() in registerReceiverAsUser()
221 getShadowInstrumentation().unregisterReceiver(broadcastReceiver); in unregisterReceiver()
[all …]
DShadowApplication.java104 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()