/cts/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 43 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/ |
D | DeviceSuspendTestActivity.java | 62 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 …]
|
D | OffBodySensorTestActivity.java | 88 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/ |
D | LocationManagerTest.java | 66 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/ |
D | NdefPushReceiverActivity.java | 47 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()
|
D | TagVerifierActivity.java | 75 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/ |
D | LocationManagerTest.java | 61 private PendingIntent mPendingIntent; field in LocationManagerTest 174 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent); 186 mManager.removeUpdates(mPendingIntent); 271 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent,
|