Home
last modified time | relevance | path

Searched refs:mPendingIntent (Results 1 – 7 of 7) sorted by relevance

/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java43 private PendingIntent mPendingIntent; field in PendingIntentTest
140 mPendingIntent = null; in testGetActivity()
145 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity()
147 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage()); in testGetActivity()
149 mPendingIntent.send(); in testGetActivity()
152 assertNotNull(mPendingIntent); in testGetActivity()
156 mPendingIntent.cancel(); in testGetActivity()
157 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity()
159 assertNull(mPendingIntent); in testGetActivity()
161 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java62 private PendingIntent mPendingIntent; field in DeviceSuspendTestActivity
77 mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in activitySetUp()
250 mPendingIntent); in verifyDeviceCanSuspend()
264 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
277 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend()
359 mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
364 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
405 mPendingIntent); in runAPWakeUpWhenFIFOFull()
411 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
500 mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor()
[all …]
DOffBodySensorTestActivity.java88 private PendingIntent mPendingIntent; field in OffBodySensorTestActivity
301 mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in activitySetUp()
313 mPendingIntent); in startTimeoutTimer()
317 mAlarmManager.cancel(mPendingIntent); in stopTimeoutTimer()
/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java66 private PendingIntent mPendingIntent; field in LocationManagerTest
109 if (mPendingIntent != null) { in tearDown()
110 mManager.removeProximityAlert(mPendingIntent); in tearDown()
432 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
444 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithPendingIntent()
459 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
507 mManager.requestSingleUpdate(LocationManager.GPS_PROVIDER, mPendingIntent); in testSingleUpdateWithLocationListenerAndLooper()
547 mManager.requestLocationUpdates(0, 0 , criteria, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
561 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
576 mManager.requestLocationUpdates(0, 0, null, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNdefPushReceiverActivity.java47 private PendingIntent mPendingIntent; field in NdefPushReceiverActivity
62 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()) in onCreate()
77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
DTagVerifierActivity.java75 private PendingIntent mPendingIntent; field in TagVerifierActivity
104 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()) in onCreate()
131 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java61 private PendingIntent mPendingIntent; field in LocationManagerTest
174 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent);
186 mManager.removeUpdates(mPendingIntent);
271 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent,