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.java118 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert()
152 mManager.addProximityAlert(0, 0, 0, -1, capture.getPendingIntent()); in testAddProximityAlert()
159 mManager.addProximityAlert(0, 0, -1, -1, capture.getPendingIntent()); in testAddProximityAlert()
166 mManager.addProximityAlert(1000, 1000, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert()
191 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testRemoveProximityAlert()
192 mManager.removeProximityAlert(capture.getPendingIntent()); in testRemoveProximityAlert()
223 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_StartProximate()
246 mManager.addProximityAlert(0, 0, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_Multiple()
247 mManager.addProximityAlert(30, 30, 1000, -1, capture.getPendingIntent()); in testAddProximityAlert_Multiple()
284 mManager.addProximityAlert(0, 0, 1000, 1, capture.getPendingIntent()); in testAddProximityAlert_Expires()
DLocationManagerFineTest.java422 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
433 mManager.removeUpdates(capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
465 mManager.requestLocationUpdates(null, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
956 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
958 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 1); in testRequestFlush_PendingIntent()
970 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
977 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
978 mManager.requestFlush(GPS_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
985 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
986 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/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/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/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/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.java431 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManagerTest
2013 "play", getPendingIntent()).build()) in testMediaStyle()
2016 "pause", getPendingIntent()).build()) in testMediaStyle()
2038 "a1", getPendingIntent()).build()) in testInboxStyle()
2041 "a2", getPendingIntent()).build()) in testInboxStyle()
2062 "a1", getPendingIntent()).build()) in testBigTextStyle()
2065 "a2", getPendingIntent()).build()) in testBigTextStyle()
2088 "a1", getPendingIntent()).build()) in testBigPictureStyle()
2091 "a2", getPendingIntent()).build()) in testBigPictureStyle()
2520 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_permission()
[all …]