Home
last modified time | relevance | path

Searched refs:receivedIntent (Results 1 – 5 of 5) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/
DPolicySetResultUtils.java40 final Intent receivedIntent = deviceState.dpc().events().broadcastReceived() in assertPolicySetResultReceived() local
50 assertThat(receivedIntent).isNotNull(); in assertPolicySetResultReceived()
54 assertThat(receivedIntent.getBundleExtra(EXTRA_POLICY_BUNDLE_KEY).containsKey(key)) in assertPolicySetResultReceived()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLostModeLocationTest.java118 final Intent receivedIntent = sDeviceState.dpc().events().broadcastReceived() in sendLostModeLocationUpdate_returnTrueAndSendLocationUpdate() local
122 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() local
147 assertThat(receivedIntent).isNotNull(); in sendLostModeLocationUpdate_sendMostRecentLocation()
150 receivedIntent.getParcelableExtra(EXTRA_LOST_MODE_LOCATION); in sendLostModeLocationUpdate_sendMostRecentLocation()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_SimContactTest.java125 Intent receivedIntent = mReceivedIntents.get(0); in testAddSimAccount_broadcastsChange() local
126 assertThat(SimContacts.ACTION_SIM_ACCOUNTS_CHANGED).isEqualTo(receivedIntent.getAction()); in testAddSimAccount_broadcastsChange()
147 Intent receivedIntent = mReceivedIntents.get(0); in testRemoveSimAccount_broadcastsChange() local
148 assertThat(SimContacts.ACTION_SIM_ACCOUNTS_CHANGED).isEqualTo(receivedIntent.getAction()); in testRemoveSimAccount_broadcastsChange()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierSignalTest.java111 Intent receivedIntent = mIntentFuture.get(TEST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testResetBroadcast() local
113 receivedIntent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, -1)); in testResetBroadcast()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadReceiverTest.java176 Intent receivedIntent = intentCaptor.getIntent(); in testDownloadFailureIntent() local
179 receivedIntent.getIntExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_RESULT, -1)); in testDownloadFailureIntent()
182 receivedIntent.getParcelableExtra(MbmsDownloadSession.EXTRA_MBMS_DOWNLOAD_REQUEST)); in testDownloadFailureIntent()