/cts/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 47 private PendingIntent mPendingIntent; field in PendingIntentTest 144 mPendingIntent = null; in testGetActivity() 149 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 151 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage()); in testGetActivity() 153 mPendingIntent.send(); in testGetActivity() 156 assertNotNull(mPendingIntent); in testGetActivity() 160 mPendingIntent.cancel(); in testGetActivity() 161 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 163 assertNull(mPendingIntent); in testGetActivity() 165 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() [all …]
|
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/ |
D | QueryAutofillStatusActivity.java | 39 private PendingIntent mPendingIntent; field in QueryAutofillStatusActivity 45 mPendingIntent = intent.getParcelableExtra("finishBroadcast"); in onCreate() 60 if (mPendingIntent != null) { in hasEnabledAutofillServicesAndFinish() 63 mPendingIntent.send(resultCode); in hasEnabledAutofillServicesAndFinish() 65 Log.w(TAG, "Pending intent " + mPendingIntent + " canceled"); in hasEnabledAutofillServicesAndFinish()
|
/cts/tests/tests/textclassifier/QueryTextClassifierServiceActivity/src/com/android/textclassifier/cts2/ |
D | QueryTextClassifierServiceActivity.java | 35 private PendingIntent mPendingIntent; field in QueryTextClassifierServiceActivity 41 mPendingIntent = intent.getParcelableExtra("finishBroadcast"); in onCreate() 60 if (mPendingIntent != null) { in detectLanguageAndFinish() 62 mPendingIntent.send(); in detectLanguageAndFinish() 64 Log.w(TAG, "Pending intent " + mPendingIntent + " canceled"); in detectLanguageAndFinish()
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | ProximityPendingIntentCapture.java | 21 private final PendingIntent mPendingIntent; field in ProximityPendingIntentCapture 28 mPendingIntent = PendingIntent.getBroadcast(context, sRequestCode.getAndIncrement(), in ProximityPendingIntentCapture() 39 return mPendingIntent; in getPendingIntent() 53 mLocationManager.removeProximityAlert(mPendingIntent); in close() 54 mPendingIntent.cancel(); in close()
|
D | LocationPendingIntentCapture.java | 42 private final PendingIntent mPendingIntent; field in LocationPendingIntentCapture 51 mPendingIntent = PendingIntent.getBroadcast(context, sRequestCode.getAndIncrement(), in LocationPendingIntentCapture() 64 return mPendingIntent; in getPendingIntent() 94 mLocationManager.removeUpdates(mPendingIntent); in close() 95 mPendingIntent.cancel(); in close()
|
/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlBuilderTest.java | 54 private PendingIntent mPendingIntent; field in CtsControlBuilderTest 62 mPendingIntent = PendingIntent.getActivity(mContext, 1, new Intent(), in setUp() 72 Control control = new Control.StatelessBuilder(CONTROL_ID, mPendingIntent) in testStatelessBuilder() 89 Control control = new Control.StatefulBuilder(CONTROL_ID, mPendingIntent) in testStatefulBuilderAlternateConstructor()
|
D | CtsControlsService.java | 62 private final PendingIntent mPendingIntent; field in CtsControlsService 68 mPendingIntent = PendingIntent.getActivity(mContext, 1, new Intent(), in CtsControlsService() 91 return new Control.StatefulBuilder("light", mPendingIntent) in buildLight() 105 return new Control.StatefulBuilder("switch", mPendingIntent) in buildSwitch() 121 return new Control.StatefulBuilder("mower", mPendingIntent) in buildMower() 139 return new Control.StatefulBuilder("lock", mPendingIntent) in buildLock() 153 return new Control.StatefulBuilder("gate", mPendingIntent) in buildGate() 174 return new Control.StatefulBuilder("thermostat", mPendingIntent) in buildThermostat() 186 return new Control.StatefulBuilder("routine", mPendingIntent) in buildRoutine() 199 return new Control.StatefulBuilder("camera", mPendingIntent) in buildCamera()
|
D | CtsControlTemplateTest.java | 56 private PendingIntent mPendingIntent; field in CtsControlTemplateTest 63 …mPendingIntent = PendingIntent.getActivity(context, 1, new Intent(), PendingIntent.FLAG_MUTABLE_UN… in setUp() 244 Control control = new Control.StatefulBuilder("1", mPendingIntent) in parcelAndUnparcel()
|
/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, PendingIntent.FLAG_MUTABLE_UNAUDITED); in activitySetUp() 253 mPendingIntent); in verifyDeviceCanSuspend() 267 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend() 280 mAlarmManager.cancel(mPendingIntent); in verifyDeviceCanSuspend() 362 mPendingIntent); in runAPWakeUpWhenReportLatencyExpires() 367 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenReportLatencyExpires() 408 mPendingIntent); in runAPWakeUpWhenFIFOFull() 414 mAlarmManager.cancel(mPendingIntent); in runAPWakeUpWhenFIFOFull() 503 mPendingIntent); in runAPWakeUpByAlarmNonWakeSensor() [all …]
|
D | OffBodySensorTestActivity.java | 88 private PendingIntent mPendingIntent; field in OffBodySensorTestActivity 301 …mPendingIntent = PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_MUTABLE_UNAUDITED); in activitySetUp() 313 mPendingIntent); in startTimeoutTimer() 317 mAlarmManager.cancel(mPendingIntent); in stopTimeoutTimer()
|
/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()
|