Searched refs:receivedIntent (Results 1 – 5 of 5) sorted by relevance
40 final Intent receivedIntent = deviceState.dpc().events().broadcastReceived() in assertPolicySetResultReceived() local50 assertThat(receivedIntent).isNotNull(); in assertPolicySetResultReceived()54 assertThat(receivedIntent.getBundleExtra(EXTRA_POLICY_BUNDLE_KEY).containsKey(key)) in assertPolicySetResultReceived()
118 final Intent receivedIntent = sDeviceState.dpc().events().broadcastReceived() in sendLostModeLocationUpdate_returnTrueAndSendLocationUpdate() local122 assertThat(receivedIntent).isNotNull(); in sendLostModeLocationUpdate_returnTrueAndSendLocationUpdate()125 receivedIntent.getParcelableExtra(EXTRA_LOST_MODE_LOCATION); in sendLostModeLocationUpdate_returnTrueAndSendLocationUpdate()143 final Intent receivedIntent = sDeviceState.dpc().events().broadcastReceived() in sendLostModeLocationUpdate_sendMostRecentLocation() local147 assertThat(receivedIntent).isNotNull(); in sendLostModeLocationUpdate_sendMostRecentLocation()150 receivedIntent.getParcelableExtra(EXTRA_LOST_MODE_LOCATION); in sendLostModeLocationUpdate_sendMostRecentLocation()
125 Intent receivedIntent = mReceivedIntents.get(0); in testAddSimAccount_broadcastsChange() local126 assertThat(SimContacts.ACTION_SIM_ACCOUNTS_CHANGED).isEqualTo(receivedIntent.getAction()); in testAddSimAccount_broadcastsChange()147 Intent receivedIntent = mReceivedIntents.get(0); in testRemoveSimAccount_broadcastsChange() local148 assertThat(SimContacts.ACTION_SIM_ACCOUNTS_CHANGED).isEqualTo(receivedIntent.getAction()); in testRemoveSimAccount_broadcastsChange()
111 Intent receivedIntent = mIntentFuture.get(TEST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testResetBroadcast() local113 receivedIntent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, -1)); in testResetBroadcast()
176 Intent receivedIntent = intentCaptor.getIntent(); in testDownloadFailureIntent() local179 receivedIntent.getIntExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_RESULT, -1)); in testDownloadFailureIntent()182 receivedIntent.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_REQUEST)); in testDownloadFailureIntent()