/cts/tests/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 33 private PendingIntent mPendingIntent; field in PendingIntentTest 99 mPendingIntent = null; in testGetActivity() 104 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 106 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage()); in testGetActivity() 108 mPendingIntent.send(); in testGetActivity() 111 assertNotNull(mPendingIntent); in testGetActivity() 115 mPendingIntent.cancel(); in testGetActivity() 116 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 118 assertNull(mPendingIntent); in testGetActivity() 120 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 55 private PendingIntent mPendingIntent; field in DeviceSuspendTestActivity 70 mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0); in activitySetUp() 223 mPendingIntent); in runAPWakeUpWhenReportLatencyExpires() 228 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires() 267 mPendingIntent); in runAPWakeUpWhenFIFOFull() 273 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull() 312 mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor() 317 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 63 private PendingIntent mPendingIntent; field in LocationManagerTest 105 if (mPendingIntent != null) { in tearDown() 106 mManager.removeProximityAlert(mPendingIntent); in tearDown() 491 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent() 503 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithPendingIntent() 518 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent); in testLocationUpdatesWithPendingIntent() 599 mManager.requestLocationUpdates(0, 0 , criteria, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent() 613 mManager.removeUpdates(mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent() 628 mManager.requestLocationUpdates(0, 0, null, mPendingIntent); in testLocationUpdatesWithCriteriaAndPendingIntent() 657 mManager.requestSingleUpdate(criteria, mPendingIntent); in testSingleUpdateWithCriteriaAndPendingIntent() [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 | 63 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()
|