Home
last modified time | relevance | path

Searched refs:getPendingIntent (Results 1 – 13 of 13) sorted by relevance

/cts/tests/location/location_fine/src/android/location/cts/fine/
DGeofencingTest.java123 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert()
157 mManager.addProximityAlert(0, 0, 0, -1, capture.getPendingIntent()); in testAddProximityAlert()
164 mManager.addProximityAlert(0, 0, -1, -1, capture.getPendingIntent()); in testAddProximityAlert()
171 mManager.addProximityAlert(1000, 1000, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert()
201 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testRemoveProximityAlert()
202 mManager.removeProximityAlert(capture.getPendingIntent()); in testRemoveProximityAlert()
238 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_StartProximate()
266 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_Multiple()
267 mManager.addProximityAlert(30, 30, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_Multiple()
309 mManager.addProximityAlert(0, 0, 1000, 1, capture.getPendingIntent()); in testAddProximityAlert_Expires()
DLocationManagerFineTest.java420 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
431 mManager.removeUpdates(capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
463 mManager.requestLocationUpdates(null, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
1008 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1010 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 1); in testRequestFlush_PendingIntent()
1022 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
1029 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1030 mManager.requestFlush(GPS_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
1037 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1038 mManager.requestFlush(null, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
[all …]
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DWalletCardTest.java75 assertThat(card.getPendingIntent()).isEqualTo(newCard.getPendingIntent()); in testParcel_toParcel()
98 assertThat(card.getPendingIntent()).isEqualTo(newCard.getPendingIntent()); in testParcel_noIconOrLabel_toParcel()
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/
DNotificationManager28Test.java67 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_noPermission()
69 .setContentIntent(getPendingIntent()) in testPostFullScreenIntent_noPermission()
102 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManager28Test
/cts/tests/smartspace/src/android/smartspace/cts/
DSmartspaceActionTest.java58 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in testCreateSmartspaceAction()
75 assertThat(action.getPendingIntent()).isEqualTo(dummyPendingIntent); in testCreateSmartspaceAction()
/cts/tests/location/location_none/src/android/location/cts/none/
DNoLocationPermissionTest.java74 mLocationManager.requestLocationUpdates(provider, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates()
85 mLocationManager.addProximityAlert(0, 0, 100, -1, capture.getPendingIntent()); in testAddProximityAlert()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationManager29Test.java130 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManager29Test
144 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_noPermission()
146 .setContentIntent(getPendingIntent()) in testPostFullScreenIntent_noPermission()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchActionTest.java143 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in test_twoIntents()
152 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in test_PendingIntent()
155 assertNotNull(searchAction.getPendingIntent()); in test_PendingIntent()
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java69 assertThat(suggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_allFieldsShouldBeSet()
103 assertThat(newSuggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_fromParcelable()
/cts/tests/location/common/src/android/location/cts/common/
DProximityPendingIntentCapture.java38 public PendingIntent getPendingIntent() { in getPendingIntent() method in ProximityPendingIntentCapture
DLocationPendingIntentCapture.java63 public PendingIntent getPendingIntent() { in getPendingIntent() method in LocationPendingIntentCapture
/cts/tests/location/location_coarse/src/android/location/cts/coarse/
DLocationManagerCoarseTest.java222 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
290 mManager.addProximityAlert(0, 0, 100, -1, capture.getPendingIntent()); in testAddProximityAlert()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java432 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManagerTest
1988 "play", getPendingIntent()).build()) in testMediaStyle()
1991 "pause", getPendingIntent()).build()) in testMediaStyle()
2013 "a1", getPendingIntent()).build()) in testInboxStyle()
2016 "a2", getPendingIntent()).build()) in testInboxStyle()
2037 "a1", getPendingIntent()).build()) in testBigTextStyle()
2040 "a2", getPendingIntent()).build()) in testBigTextStyle()
2063 "a1", getPendingIntent()).build()) in testBigPictureStyle()
2066 "a2", getPendingIntent()).build()) in testBigPictureStyle()
2495 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_permission()
[all …]