Searched refs:mShadowApplication (Results 1 – 6 of 6) sorted by relevance
80 private ShadowApplication mShadowApplication; field in AudioSharingReceiverTest92 mShadowApplication = Shadow.extract(mContext); in setUp()93 mShadowApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNm); in setUp()115 mShadowApplication.getRegisteredReceivers(); in broadcastReceiver_isRegistered()218 assertThat(mShadowApplication.hasReceiverForIntent(intent)).isTrue(); in getAudioSharingReceiver()220 mShadowApplication.getReceiversForIntent(intent); in getAudioSharingReceiver()
88 private ShadowApplication mShadowApplication; field in MediaDeviceUpdateWorkerTest98 mShadowApplication = ShadowApplication.getInstance(); in setUp()195 for (BroadcastReceiver receiver : mShadowApplication.getReceiversForIntent(intent)) { in onReceive_inCallState_shouldNotifyChange()209 for (BroadcastReceiver receiver : mShadowApplication.getReceiversForIntent(intent)) { in onReceive_notInCallState_doNothing()
89 private ShadowApplication mShadowApplication; field in MediaOutputIndicatorWorkerTest99 mShadowApplication = ShadowApplication.getInstance(); in setUp()205 for (BroadcastReceiver receiver : mShadowApplication.getReceiversForIntent(intent)) { in onReceive_shouldNotifyChange()
70 private ShadowApplication mShadowApplication; field in DiscoverableFooterPreferenceControllerTest75 mShadowApplication = Shadows.shadowOf(RuntimeEnvironment.application); in setUp()200 mShadowApplication.getRegisteredReceivers(); in getRegisteredBroadcastReceivers()
129 private ShadowApplication mShadowApplication; field in DeviceLockServiceImplTest137 mShadowApplication = shadowOf((Application) mContext); in setup()138 mShadowApplication.grantPermissions(MANAGE_DEVICE_LOCK_SERVICE_FROM_CONTROLLER); in setup()139 mShadowApplication.setSystemService( in setup()424 ServiceConnection connection = mShadowApplication.getBoundServiceConnections().get(0); in waitUntilConnected()
92 private ShadowApplication mShadowApplication; field in AccessibilityHearingAidPreferenceControllerTest113 mShadowApplication = shadowOf((Application) ApplicationProvider.getApplicationContext()); in setUp()315 for (BroadcastReceiver receiver : mShadowApplication.getReceiversForIntent(intent)) { in sendIntent()