HomeSort by relevance Sort by last modified time
    Searched refs:mPendingIntent (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/app/src/android/app/cts/
PendingIntentTest.java 33 private PendingIntent mPendingIntent;
99 mPendingIntent = null;
104 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
106 assertEquals(mContext.getPackageName(), mPendingIntent.getTargetPackage());
108 mPendingIntent.send();
111 assertNotNull(mPendingIntent);
115 mPendingIntent.cancel();
116 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent,
118 assertNull(mPendingIntent);
120 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AddAccountSettings.java 66 private PendingIntent mPendingIntent;
75 if (mPendingIntent != null) {
76 mPendingIntent.cancel();
145 mPendingIntent = PendingIntent.getBroadcast(this, 0, new Intent(), 0);
146 addAccountOptions.putParcelable(KEY_CALLER_IDENTITY, mPendingIntent);
  /development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundDispatch.java 38 private PendingIntent mPendingIntent;
57 mPendingIntent = PendingIntent.getActivity(this, 0,
78 if (mAdapter != null) mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters,
  /frameworks/base/voip/java/com/android/server/sip/
SipWakeupTimer.java 59 private PendingIntent mPendingIntent;
78 if (mPendingIntent != null) {
79 mAlarmManager.cancel(mPendingIntent);
80 mPendingIntent = null;
96 mAlarmManager.cancel(mPendingIntent);
97 mPendingIntent = null;
221 if (mPendingIntent != null) {
228 PendingIntent pendingIntent = mPendingIntent =
241 mPendingIntent = null;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NdefPushReceiverActivity.java 47 private PendingIntent mPendingIntent;
62 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass())
77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null);
TagVerifierActivity.java 75 private PendingIntent mPendingIntent;
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/
LocationManagerTest.java 59 private PendingIntent mPendingIntent;
108 if (mPendingIntent != null) {
109 mManager.removeProximityAlert(mPendingIntent);
410 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent);
421 mManager.removeUpdates(mPendingIntent);
436 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent);
499 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent);
632 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent,
644 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbPermissionActivity.java 56 private PendingIntent mPendingIntent;
69 mPendingIntent = (PendingIntent)intent.getParcelableExtra(Intent.EXTRA_INTENT);
145 mPendingIntent.send(this, 0, intent);
  /frameworks/base/core/java/android/app/
PendingIntent.java 137 private final PendingIntent mPendingIntent;
145 mPendingIntent = pi;
162 mWho.onSendFinished(mPendingIntent, mIntent, mResultCode,
  /frameworks/base/services/java/com/android/server/
LocationManagerService.java 205 final PendingIntent mPendingIntent;
214 mPendingIntent = null;
219 mPendingIntent = intent;
259 return mPendingIntent != null;
270 if (mPendingIntent != null) {
271 return mPendingIntent;
300 mPendingIntent.send(mContext, 0, statusChanged, this, mLocationHandler,
336 mPendingIntent.send(mContext, 0, locationChanged, this, mLocationHandler,
376 mPendingIntent.send(mContext, 0, providerIntent, this, mLocationHandler,
    [all...]

Completed in 793 milliseconds