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.java56 private PendingIntent mPendingIntent; field in DeviceSuspendTestActivity
71 mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in activitySetUp()
213 mPendingIntent); in testTimestampClockSource()
227 mAlarmManager.cancel(mPendingIntent); in testTimestampClockSource()
240 mAlarmManager.cancel(mPendingIntent); in testTimestampClockSource()
300 mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
305 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
346 mPendingIntent); in runAPWakeUpWhenFIFOFull()
352 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
441 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.java67 private PendingIntent mPendingIntent; field in LocationManagerTest
109 if (mPendingIntent != null) { in tearDown()
110 mManager.removeProximityAlert(mPendingIntent); in tearDown()
495 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
507 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithPendingIntent()
522 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
570 mManager.requestSingleUpdate(LocationManager.GPS_PROVIDER, mPendingIntent); in testSingleUpdateWithLocationListenerAndLooper()
610 mManager.requestLocationUpdates(0, 0 , criteria, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
624 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
639 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.java64 private PendingIntent mPendingIntent; field in LocationManagerTest
151 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent); in doTestGetLocationUpdates_withIntent()
163 mManager.removeUpdates(mPendingIntent); in doTestGetLocationUpdates_withIntent()
285 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent, in registerIntentReceiver()