Home
last modified time | relevance | path

Searched refs:getPendingIntent (Results 1 – 17 of 17) 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.java545 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
556 mManager.removeUpdates(capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
588 mManager.requestLocationUpdates(null, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
1114 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1116 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 1); in testRequestFlush_PendingIntent()
1128 mManager.requestFlush(TEST_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
1135 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1136 mManager.requestFlush(GPS_PROVIDER, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
1143 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestFlush_PendingIntent()
1144 mManager.requestFlush(null, capture.getPendingIntent(), 0); in testRequestFlush_PendingIntent()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/
DNotificationManager28Test.java95 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_noPermission()
97 .setContentIntent(getPendingIntent()) in testPostFullScreenIntent_noPermission()
107 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManager28Test
/cts/tests/smartspace/src/android/smartspace/cts/
DTapActionTest.java53 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in testCreateTapAction()
65 assertThat(tapAction.getPendingIntent()).isEqualTo(pendingIntent); in testCreateTapAction()
DSmartspaceActionTest.java58 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in testCreateSmartspaceAction()
75 assertThat(action.getPendingIntent()).isEqualTo(dummyPendingIntent); in testCreateSmartspaceAction()
DSmartspaceTestUtils.java55 .getPendingIntent(0, PendingIntent.FLAG_IMMUTABLE); in createSmartspaceTapAction()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DWalletCardTest.java95 assertThat(card.getPendingIntent()).isEqualTo(newCard.getPendingIntent()); in testParcel_toParcel()
126 assertThat(card.getPendingIntent()).isEqualTo(newCard.getPendingIntent()); in testParcel_noIconOrLabel_toParcel()
/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/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.java132 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManager29Test
147 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_noPermission()
149 .setContentIntent(getPendingIntent()) in testPostFullScreenIntent_noPermission()
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java70 assertThat(suggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_allFieldsShouldBeSet()
104 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/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java308 private PendingIntent getPendingIntent() { in getPendingIntent() method in NotificationManagerTest
1472 "play", getPendingIntent()).build()) in testMediaStyle()
1475 "pause", getPendingIntent()).build()) in testMediaStyle()
1496 "a1", getPendingIntent()).build()) in testInboxStyle()
1499 "a2", getPendingIntent()).build()) in testInboxStyle()
1519 "a1", getPendingIntent()).build()) in testBigTextStyle()
1522 "a2", getPendingIntent()).build()) in testBigTextStyle()
1544 "a1", getPendingIntent()).build()) in testBigPictureStyle()
1547 "a2", getPendingIntent()).build()) in testBigPictureStyle()
1766 .setFullScreenIntent(getPendingIntent(), true) in testPostFullScreenIntent_permission()
[all …]
/cts/tests/location/location_coarse/src/android/location/cts/coarse/
DLocationManagerCoarseTest.java228 mManager.requestLocationUpdates(TEST_PROVIDER, 0, 0, capture.getPendingIntent()); in testRequestLocationUpdates_PendingIntent()
299 mManager.addProximityAlert(0, 0, 100, -1, capture.getPendingIntent()); in testAddProximityAlert()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt2477 method @Nullable public android.app.PendingIntent getPendingIntent();
2613 method @Nullable public android.app.PendingIntent getPendingIntent();
2980 method @Nullable public android.app.PendingIntent getPendingIntent();
13156 method public android.app.PendingIntent getPendingIntent();
Dcurrent.txt7560 method public android.app.PendingIntent getPendingIntent(int, int);
7561 method public android.app.PendingIntent getPendingIntent(int, int, android.os.Bundle);
41454 method @NonNull public android.app.PendingIntent getPendingIntent();