/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 | 76 private PendingIntent mPendingIntent; 89 addAccountOptions.putParcelable(KEY_CALLER_IDENTITY, mPendingIntent); 96 if (mPendingIntent != null) { 97 mPendingIntent.cancel(); 98 mPendingIntent = null; 169 if (mPendingIntent != null) { 170 mPendingIntent.cancel(); 171 mPendingIntent = null; 187 mPendingIntent = PendingIntent.getBroadcast(this, 0, new Intent(), 0); 188 addAccountOptions.putParcelable(KEY_CALLER_IDENTITY, mPendingIntent); [all...] |
/frameworks/base/core/java/android/text/style/ |
EasyEditSpan.java | 56 private final PendingIntent mPendingIntent; 65 mPendingIntent = null; 75 mPendingIntent = pendingIntent; 83 mPendingIntent = source.readParcelable(null); 94 dest.writeParcelable(mPendingIntent, 0); 127 return 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/packages/SystemUI/src/com/android/systemui/usb/ |
UsbPermissionActivity.java | 57 private PendingIntent mPendingIntent; 70 mPendingIntent = (PendingIntent)intent.getParcelableExtra(Intent.EXTRA_INTENT); 148 mPendingIntent.send(this, 0, intent);
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/ |
TransportMediatorJellybeanMR2.java | 79 PendingIntent mPendingIntent; 112 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, mIntent, 114 mRemoteControl = new RemoteControlClient(mPendingIntent); 122 mAudioManager.registerMediaButtonEventReceiver(mPendingIntent); 194 mAudioManager.unregisterMediaButtonEventReceiver(mPendingIntent); 200 if (mPendingIntent != null) { 202 mPendingIntent.cancel(); 203 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);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
LocationStatsAggregator.java | 71 private PendingIntent mPendingIntent; 101 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 106 mPendingIntent); 111 mAlarmManager.cancel(mPendingIntent);
|
/frameworks/base/core/java/android/app/ |
PendingIntent.java | 166 private final PendingIntent mPendingIntent; 174 mPendingIntent = pi; 191 mWho.onSendFinished(mPendingIntent, mIntent, mResultCode, [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 48 private PendingIntent mPendingIntent; 67 if (mPendingIntent != null) { 68 mAlarmManager.cancel(mPendingIntent); 69 mPendingIntent = null; 85 mAlarmManager.cancel(mPendingIntent); 86 mPendingIntent = null; 210 if (mPendingIntent != null) { 217 PendingIntent pendingIntent = mPendingIntent = 230 mPendingIntent = null;
|
/cts/tests/tests/location2/src/android/location2/cts/ |
LocationManagerTest.java | 61 private PendingIntent mPendingIntent; 136 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent); 148 mManager.removeUpdates(mPendingIntent); 245 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent,
|
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 461 final PendingIntent mPendingIntent; 472 mPendingIntent = intent; 523 return mPendingIntent != null; 555 mPendingIntent.send(mContext, 0, statusChanged, this, mLocationHandler, 589 mPendingIntent.send(mContext, 0, locationChanged, this, mLocationHandler, 627 mPendingIntent.send(mContext, 0, providerIntent, this, mLocationHandler, [all...] |
AlarmManagerService.java | 110 final PendingIntent mPendingIntent; 116 mPendingIntent = pendingIntent; [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 63 private PendingIntent mPendingIntent; 112 if (mPendingIntent != null) { 113 mManager.removeProximityAlert(mPendingIntent); 416 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); 428 mManager.removeUpdates(mPendingIntent); 443 mManager.requestLocationUpdates(null, 0, 0, mPendingIntent); 506 mManager.requestLocationUpdates(TEST_MOCK_PROVIDER_NAME, 0, 0, mPendingIntent); 695 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, proximityIntent, 707 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); [all...] |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |