/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
ComplicationToggleReceiver.java | 36 Bundle extras = intent.getExtras(); local 37 ComponentName provider = extras.getParcelable(EXTRA_PROVIDER_COMPONENT); 38 int complicationId = extras.getInt(EXTRA_COMPLICATION_ID);
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
SampleChooserTargetService.java | 44 Bundle extras = new Bundle(); local 45 extras.putInt(Contact.ID, i); 58 extras));
|
/frameworks/base/core/java/android/nfc/tech/ |
NfcA.java | 69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A); local 70 mSak = extras.getShort(EXTRA_SAK); 71 mAtqa = extras.getByteArray(EXTRA_ATQA);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SystemUI.java | 55 final Bundle extras = new Bundle(); local 56 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, 59 n.addExtras(extras);
|
/frameworks/base/test-runner/src/android/test/ |
SyncBaseInstrumentation.java | 54 Bundle extras = new Bundle(); local 55 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 58 ContentResolver.requestSync(account, authority, extras);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
MediaController.java | 170 public void prepareFromMediaId(String mediaId, Bundle extras) { 171 mTransportDelegate.prepareFromMediaId(mediaId, extras); 174 public void prepareFromSearch(String query, Bundle extras) { 175 mTransportDelegate.prepareFromSearch(query, extras); 178 public void prepareFromUri(Uri uri, Bundle extras) { 179 mTransportDelegate.prepareFromUri(uri, extras); 186 public void playFromMediaId(String mediaId, Bundle extras) { 187 mTransportDelegate.playFromMediaId(mediaId, extras); 190 public void playFromSearch(String query, Bundle extras) { 191 mTransportDelegate.playFromSearch(query, extras); [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
RequestDesiredPermissionsActivity.java | 54 final Bundle extras = activity.getIntent().getExtras(); local 55 if (extras != null && extras.getBoolean(EXTRA_STARTED_PERMISSIONS_ACTIVITY, false)) {
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetBind.java | 48 final Bundle extras = intent.getExtras(); local 51 extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); 53 extras.getParcelableArrayList(EXTRA_APPWIDGET_BITMAPS);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
PinWidgetFlowHandler.java | 62 Bundle extras = new Bundle(); local 63 extras.putInt(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 64 mRequest.accept(extras);
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
BleScanReceiver.java | 254 Bundle extras = intent.getExtras(); local 262 if (extras == null) { 267 if (!extras.containsKey("ScanMode")) { 271 str = extras.getString("ScanMode"); 275 if (!extras.containsKey("StartTime")) { 279 str = extras.getString("StartTime"); 283 if (!extras.containsKey("ScanTime")) { 287 str = extras.getString("ScanTime"); 291 if (extras.containsKey("Repetitions")) { 293 str = extras.getString("Repetitions") [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallExtrasTest.java | 32 * Tests the {@link Connection} and {@link Call} extras functionality. 45 * Tests setting extras on the connection side and ensuring they are propagated through to 56 // Communicate extras from the ConnectionService to the InCallService. 57 Bundle extras = new Bundle(); local 58 extras.putString(EXTRA_KEY_STR, EXTRA_VALUE_STR); 59 extras.putInt(EXTRA_KEY_INT, EXTRA_VALUE_INT); 62 connection.putExtras(extras); 71 * Tests setting extras on the connection side and ensuring they are propagated through to 92 * Tests setting extras on the connection side and ensuring they are propagated through to 113 * Tests setting extras on the connection side and ensuring they are propagated through t 179 Bundle extras = new Bundle(); local 215 Bundle extras = new Bundle(); local 247 Bundle extras = new Bundle(); local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaControllerTest.java | 76 final Bundle extras = new Bundle(); local 77 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 78 mController.sendCommand(command, extras, new ResultReceiver(null)); 211 final Bundle extras = new Bundle(); local 212 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 213 controls.playFromMediaId(mediaId, extras); 223 controls.playFromSearch(query, extras); 233 controls.playFromUri(uri, extras); 243 controls.sendCustomAction(action, extras); 254 new CustomAction.Builder(action, action, -1).setExtras(extras).build() [all...] |
PlaybackStateTest.java | 78 Bundle extras = new Bundle(); local 79 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 87 .setExtras(extras) 138 Bundle extras = new Bundle(); local 139 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 147 .setExtras(extras) 151 .setExtras(extras) 166 Bundle extras = new Bundle(); local 167 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 171 .setExtras(extras) 225 Bundle extras = new Bundle(); local [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
RemotePlaybackClient.java | 275 * @param extras A bundle of extra arguments to be added to the 286 long positionMillis, Bundle extras, ItemActionCallback callback) { 288 extras, callback, MediaControlIntent.ACTION_PLAY); 309 * @param extras A bundle of extra arguments to be added to the 321 long positionMillis, Bundle extras, ItemActionCallback callback) { 323 extras, callback, MediaControlIntent.ACTION_ENQUEUE); 327 long positionMillis, Bundle extras, 347 performItemAction(intent, mSessionId, null, extras, callback); 365 * @param extras A bundle of extra arguments to be added to the 375 public void seek(String itemId, long positionMillis, Bundle extras, [all...] |
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 225 @param extras A bundle of extras to populate the contact edit page with if the contact 231 public void assignContactFromEmail(String emailAddress, boolean lazyLookup, Bundle extras) { 233 mExtras = extras; 266 * @param extras A bundle of extras to populate the contact edit page with if the contact 271 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { 273 mExtras = extras; 303 final Bundle extras = (mExtras == null) ? new Bundle() : mExtras; local 308 extras.putString(EXTRA_URI_CONTENT, mContactEmail) 348 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle(); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ZenModeFiltering.java | 73 * @param extras extras of the notification with EXTRA_PEOPLE populated 79 UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator, 84 if (config.allowRepeatCallers && REPEAT_CALLERS.isRepeat(context, extras)) { 89 final float contactAffinity = validator.getContactAffinity(userHandle, extras, 97 private static Bundle extras(NotificationRecord record) { method in class:ZenModeFiltering 99 ? record.sbn.getNotification().extras : null; 103 REPEAT_CALLERS.recordCall(mContext, extras(record)); 131 && REPEAT_CALLERS.isRepeat(mContext, extras(record))) { 239 private synchronized void recordCall(Context context, Bundle extras) { [all...] |
/tools/test/connectivity/acts/framework/tests/ |
acts_base_class_test.py | 65 self.assertIsNone(actual_record.extras) 203 self.assertIsNone(actual_record.extras) 223 self.assertIsNone(actual_record.extras) 244 self.assertIsNone(actual_record.extras) 263 self.assertIsNone(actual_record.extras) 282 self.assertIsNone(actual_record.extras) 306 self.assertIsNone(actual_record.extras) 331 self.assertIsNone(actual_record.extras) 353 self.assertIsNone(actual_record.extras) 378 self.assertIsNone(actual_record.extras) [all...] |
/build/make/core/ |
checktree | 93 extras = [] 103 extras.append(file) 106 extras = filter(filter_excludes, extras) 108 for s in extras:
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyNotificationListenerService.java | 61 sender.send("action extras", action.getExtras()); 65 sender.send("remote input extras", remoteInput.getExtras()); 70 sender.send("notification extras", notification.extras); 89 // Could happen on action that only has extras 111 private void send(String reason, Bundle extras) { 112 if (extras != null) { 113 for (String key : extras.keySet()) { 114 Object value = extras.get(key);
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
NfcAdapterExtras.java | 97 "You must pass a context to your NfcAdapter to use the NFC extras APIs"); 104 NfcAdapterExtras extras = sNfcExtras.get(adapter); local 105 if (extras == null) { 106 extras = new NfcAdapterExtras(adapter); 107 sNfcExtras.put(adapter, extras); 109 return extras; 163 Log.e(TAG, "NFC Adapter Extras dead - attempting to recover"); 224 * Some implementations of NFC Adapter Extras may require applications
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
SyncOneTask.java | 63 public void onCreate(Context context, Bundle extras) { 64 super.onCreate(context, extras); 65 mPhone = extras.getParcelable(EXTRA_PHONE_ACCOUNT_HANDLE); 66 mSyncType = extras.getString(EXTRA_SYNC_TYPE); 67 mVoicemail = extras.getParcelable(EXTRA_VOICEMAIL);
|
/external/autotest/site_utils/sponge_lib/ |
acts_job_info.py | 32 Extras = 'Extras' 227 def extras(self): member in class:ACTSRecord 229 return self._json_record.get(ACTSRecordEnums.Extras) 239 extras = self.extras 240 if not extras: 243 test_tracker_info = self.extras.get('test_tracker_info') 245 return self.extras.get('test_tracker_environment_info') 252 extras = self.extra [all...] |
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 170 Bundle extras) { 172 if (extras != null) { 173 extras.size(); // Unparcel so its toString() will show the contents. 175 Log.d(TAG, "startSync() start " + authority + " " + account + " " + extras); 187 && extras != null 188 && extras.getBoolean( 201 syncContextClient, authority, account, extras); 284 Account account, Bundle extras) { 289 mExtras = extras; 378 * be specified in extras, which is guaranteed to not be null. Invocation [all...] |
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
GetRestrictionsReceiver.java | 119 Bundle extras = new Bundle(); local 120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); 121 result.setResult(Activity.RESULT_OK, null, extras); 143 final Bundle extras = new Bundle(); local 155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent); 158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); 159 result.setResult(Activity.RESULT_OK, null, extras);
|
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
GetRestrictionsReceiver.java | 119 Bundle extras = new Bundle(); local 120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); 121 result.setResult(Activity.RESULT_OK, null, extras); 143 final Bundle extras = new Bundle(); local 155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent); 158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries); 159 result.setResult(Activity.RESULT_OK, null, extras);
|