Searched refs:mPendingIntent (Results 1 - 6 of 6) sorted by relevance

/cts/tests/app/src/android/app/cts/
H A DPendingIntentTest.java38 private PendingIntent mPendingIntent; field in class:PendingIntentTest
135 mPendingIntent = null;
140 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
142 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage());
144 mPendingIntent.send();
147 assertNotNull(mPendingIntent);
151 mPendingIntent.cancel();
152 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
154 assertNull(mPendingIntent);
156 mPendingIntent
[all...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
H A DDeviceSuspendTestActivity.java56 private PendingIntent mPendingIntent; field in class:DeviceSuspendTestActivity
71 mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);
213 mPendingIntent);
227 mAlarmManager.cancel(mPendingIntent);
240 mAlarmManager.cancel(mPendingIntent);
296 mPendingIntent);
301 mAlarmManager.cancel(mPendingIntent);
342 mPendingIntent);
348 mAlarmManager.cancel(mPendingIntent);
437 mPendingIntent);
[all...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
H A DNdefPushReceiverActivity.java47 private PendingIntent mPendingIntent; field in class:NdefPushReceiverActivity
62 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass())
77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null);
H A DTagVerifierActivity.java75 private PendingIntent mPendingIntent; field in class:TagVerifierActivity
104 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass())
131 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null);
/cts/tests/tests/location/src/android/location/cts/
H A DLocationManagerTest.java66 private PendingIntent mPendingIntent; field in class:LocationManagerTest
108 if (mPendingIntent != null) {
109 mManager.removeProximityAlert(mPendingIntent);
494 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent);
506 mManager.removeUpdates(mPendingIntent);
521 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent);
569 mManager.requestSingleUpdate(LocationManager.GPS_PROVIDER, mPendingIntent);
609 mManager.requestLocationUpdates(0, 0 , criteria, mPendingIntent);
623 mManager.removeUpdates(mPendingIntent);
638 mManager.requestLocationUpdates(0, 0, null, mPendingIntent);
[all...]
/cts/tests/tests/location2/src/android/location2/cts/
H A DLocationManagerTest.java63 private PendingIntent mPendingIntent; field in class:LocationManagerTest
150 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent);
162 mManager.removeUpdates(mPendingIntent);
283 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent,

Completed in 212 milliseconds