Home
last modified time | relevance | path

Searched refs:mIntents (Results 1 – 4 of 4) sorted by relevance

/cts/tests/location/common/src/android/location/cts/common/
DBroadcastCapture.java31 private final LinkedBlockingQueue<Intent> mIntents; field in BroadcastCapture
40 mIntents = new LinkedBlockingQueue<>(); in BroadcastCapture()
53 return mIntents.poll(timeoutMs, TimeUnit.MILLISECONDS); in getNextIntent()
63 mIntents.add(intent); in onReceive()
/cts/tests/app/AppStartTest/src/android/app/cts/
DActivityManagerAppStartInfoTest.java278 assertEquals(1, receiver.mIntents.size()); in testQueryThisProcess()
280 Bundle extras = receiver.mIntents.get(0).getExtras(); in testQueryThisProcess()
355 assertEquals(1, receiver.mIntents.size()); in testTriggerListeners()
357 Bundle extras = receiver.mIntents.get(0).getExtras(); in testTriggerListeners()
384 assertEquals(2, receiver.mIntents.size()); in testTriggerMultipleListeners()
386 Bundle extras = receiver.mIntents.get(0).getExtras(); in testTriggerMultipleListeners()
392 extras = receiver.mIntents.get(1).getExtras(); in testTriggerMultipleListeners()
420 assertEquals(1, receiver.mIntents.size()); in testRemoveListener()
422 Bundle extras = receiver.mIntents.get(0).getExtras(); in testRemoveListener()
537 List<Intent> mIntents = new ArrayList<Intent>();
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java178 private final Intent[] mIntents; field in IntentDrivenTestActivity.ButtonInfo
183 mIntents = intents; in ButtonInfo()
189 mIntents = null; in ButtonInfo()
197 mIntents = new Intent[parcelables.length]; in ButtonInfo()
199 mIntents[i] = (Intent) parcelables[i]; in ButtonInfo()
202 mIntents = null; in ButtonInfo()
212 return mIntents; in getIntents()
227 dest.writeParcelableArray(mIntents, 0); in writeToParcel()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java221 Intent[] mIntents = new Intent[]{new Intent(), new Intent()}; in testGetActivities() local
223 for (int i = 0; i < mIntents.length; i++) { in testGetActivities()
224 mIntents[i].setClass(mContext, PendingIntentStubActivity.class); in testGetActivities()
225 mIntents[i].setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testGetActivities()
227 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
241 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
245 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
251 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
258 mPendingIntent = PendingIntent.getActivities(mContext, 1, mIntents, in testGetActivities()
262 for (int i = 0; i < mIntents.length; i++) { in testGetActivities()
[all …]