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.java38 private PendingIntent mPendingIntent; field in PendingIntentTest
135 mPendingIntent = null; in testGetActivity()
140 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity()
142 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage()); in testGetActivity()
144 mPendingIntent.send(); in testGetActivity()
147 assertNotNull(mPendingIntent); in testGetActivity()
151 mPendingIntent.cancel(); in testGetActivity()
152 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity()
154 assertNull(mPendingIntent); in testGetActivity()
156 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()
296 mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
301 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires()
342 mPendingIntent); in runAPWakeUpWhenFIFOFull()
348 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull()
437 mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java66 private PendingIntent mPendingIntent; field in LocationManagerTest
108 if (mPendingIntent != null) { in tearDown()
109 mManager.removeProximityAlert(mPendingIntent); in tearDown()
494 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
506 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithPendingIntent()
521 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent()
569 mManager.requestSingleUpdate(LocationManager.GPS_PROVIDER, mPendingIntent); in testSingleUpdateWithLocationListenerAndLooper()
609 mManager.requestLocationUpdates(0, 0 , criteria, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
623 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent()
638 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.java63 private PendingIntent mPendingIntent; field in LocationManagerTest
150 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent); in doTestGetLocationUpdates_withIntent()
162 mManager.removeUpdates(mPendingIntent); in doTestGetLocationUpdates_withIntent()
283 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent, in registerIntentReceiver()
/cts/tools/dex-tools/dex/
Dclasses.out.dex13863 private final android.app.PendingIntent mPendingIntent