/development/samples/browseable/AppRestrictions/src/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);
|
/frameworks/base/core/java/android/app/job/ |
JobParameters.java | 61 private final PersistableBundle extras; field in class:JobParameters 73 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, 78 this.extras = extras; 104 * @return The extras you passed in when constructing this job with 106 * never be null. If you did not set any extras this will be an empty bundle. 109 return extras; 113 * @return The transient extras you passed in when constructing this job with 115 * never be null. If you did not set any extras this will be an empty bundle. 247 extras = in.readPersistableBundle() [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
NetworkLoggingHandler.java | 184 /** @returns extras if a message should be sent to the device owner */ 211 /** Build extras notification to the DO. Should only be called when there 214 final Bundle extras = new Bundle(); local 216 extras.putLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, mCurrentBatchToken); 217 extras.putInt(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_COUNT, lastBatchSize); 218 return extras; 223 private void notifyDeviceOwner(Bundle extras) { 225 + extras.getLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, -1)); 230 mDpm.sendDeviceOwnerCommand(DeviceAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE, extras);
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
PlaybackStateCompatTest.java | 92 Bundle extras = new Bundle(); local 93 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 101 .setExtras(extras) 164 Bundle extras = new Bundle(); local 165 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 173 .setExtras(extras) 177 .setExtras(extras) 194 Bundle extras = new Bundle(); local 195 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 205 .setExtras(extras); 258 Bundle extras = new Bundle(); local [all...] |
/frameworks/base/media/java/android/media/session/ |
MediaSession.java | 353 * @param extras Any extras included with the event 355 public void sendSessionEvent(@NonNull String event, @Nullable Bundle extras) { 360 mBinder.sendEvent(event, extras); 490 * Set some extras that can be associated with the {@link MediaSession}. No assumptions should 491 * be made as to how a {@link MediaController} will handle these extras. 494 * @param extras The extras associated with the {@link MediaSession}. 496 public void setExtras(@Nullable Bundle extras) { 498 mBinder.setExtras(extras); 1321 public final Bundle extras; field in class:MediaSession.Command [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionRequest.java | 68 * Sets the extras bundle for the resulting {@link ConnectionRequest} 69 * @param extras Application-specific extra data. 71 public Builder setExtras(Bundle extras) { 72 this.mExtras = extras; 151 * @param extras Application-specific extra data. 156 Bundle extras) { 157 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY, null, false, null, null); 163 * @param extras Application-specific extra data. 169 Bundle extras, 171 this(accountHandle, handle, extras, videoState, null, false, null, null) [all...] |
/tools/test/connectivity/acts/framework/tests/ |
acts_records_test.py | 33 def verify_record(self, record, result, details, extras): 38 self.assertEqual(record.extras, extras) 48 d[records.TestResultEnums.RECORD_EXTRAS] = extras 75 extras=None) 86 extras=self.float_extra) 97 extras=self.json_extra) 107 extras=None) 118 extras=self.float_extra) 129 extras=self.json_extra [all...] |
/frameworks/support/media-compat/tests/src/android/support/v4/media/ |
MediaBrowserServiceCompatTest.java | 214 Bundle extras = new Bundle(); local 215 extras.putString(key, val); 216 mMediaBrowser.search(StubMediaBrowserServiceCompat.SEARCH_QUERY, extras, 235 Bundle extras = new Bundle(); local 236 extras.putString(TEST_KEY_1, TEST_VALUE_1); 237 mMediaBrowser.sendCustomAction(StubMediaBrowserServiceCompat.CUSTOM_ACTION, extras, 290 Bundle extras = new Bundle(); local 291 extras.putString(TEST_KEY_1, TEST_VALUE_1); 292 mMediaBrowser.sendCustomAction(StubMediaBrowserServiceCompat.CUSTOM_ACTION, extras, 332 Bundle extras = new Bundle() local 372 final Bundle extras = new Bundle(); local [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaSessionCompat.java | 569 * @param extras Any extras included with the event 571 public void sendSessionEvent(String event, Bundle extras) { 575 mImpl.sendSessionEvent(event, extras); 734 * Sets some extras that can be associated with the 736 * {@link MediaControllerCompat} will handle these extras. Keys should be 739 * @param extras The extras associated with the session. 741 public void setExtras(Bundle extras) { 742 mImpl.setExtras(extras); 1360 Callback.this.onSetRating(RatingCompat.fromRating(ratingObj), extras); local 2804 public final Bundle extras; field in class:MediaSessionCompat.MediaSessionImplBase.Command [all...] |
/cts/hostsidetests/content/test-apps/CtsSyncAccountAccessSameCertTests/src/com/android/cts/content/ |
CtsSyncAccountAccessSameCertTestCases.java | 94 SyncAdapter.setOnPerformSyncDelegate((Account account, Bundle extras, 98 Bundle extras = new Bundle(); local 99 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true); 100 extras.putBoolean(ContentResolver.SYNC_EXTRAS_PRIORITY, true); 101 extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 105 .setExtras(extras)
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
MainInteractionService.java | 109 Bundle extras = intent.getExtras(); local 110 if (extras == null) { 111 extras = new Bundle(); 122 intent3p.putExtras(extras); 132 extras.putString(Utils.TESTCASE_TYPE, mIntent.getStringExtra(Utils.TESTCASE_TYPE)); 134 extras, SHOW_WITH_ASSIST | SHOW_WITH_SCREENSHOT);
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 129 Bundle extras = intent.getExtras(); local 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); 141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 129 Bundle extras = intent.getExtras(); local 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 140 String editTitle = extras.getString(NotesDbAdapter.KEY_TITLE); 141 String editBody = extras.getString(NotesDbAdapter.KEY_BODY);
|
/frameworks/base/core/java/android/nfc/tech/ |
Ndef.java | 160 Bundle extras = tag.getTechExtras(TagTechnology.NDEF); local 161 if (extras != null) { 162 mMaxNdefSize = extras.getInt(EXTRA_NDEF_MAXLENGTH); 163 mCardState = extras.getInt(EXTRA_NDEF_CARDSTATE); 164 mNdefMsg = extras.getParcelable(EXTRA_NDEF_MSG); 165 mNdefType = extras.getInt(EXTRA_NDEF_TYPE); 167 throw new NullPointerException("NDEF tech extras are null.");
|
/frameworks/base/core/java/com/android/internal/util/ |
ProgressReporter.java | 208 private void notifyStarted(int id, Bundle extras) { 211 mListeners.getBroadcastItem(i).onStarted(id, extras); 218 private void notifyProgress(int id, int progress, Bundle extras) { 221 mListeners.getBroadcastItem(i).onProgress(id, progress, extras); 228 private void notifyFinished(int id, Bundle extras) { 231 mListeners.getBroadcastItem(i).onFinished(id, extras);
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsService.java | 112 Bundle extras, List<Bundle> otherLikelyBundles) { 114 new CustomTabsSessionToken(callback), url, extras, otherLikelyBundles); 136 public int postMessage(ICustomTabsCallback callback, String message, Bundle extras) { 138 new CustomTabsSessionToken(callback), message, extras); 205 * @param extras Reserved for future use. 211 Bundle extras, List<Bundle> otherLikelyBundles); 264 * @param extras Reserved for future use. 270 CustomTabsSessionToken sessionToken, String message, Bundle extras);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
BaseTask.java | 159 public void onCreate(Context context, Bundle extras) { 161 mExtras = extras; 162 mPhoneAccountHandle = extras.getParcelable(EXTRA_PHONE_ACCOUNT_HANDLE); 164 policy.onCreate(this, extras); 170 public void onRestore(Bundle extras) { 172 mExecutionTime = extras.getLong(EXTRA_EXECUTION_TIME);
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
Common.java | 68 final Bundle extras = intent.getExtras(); local 69 if (extras == null) { 73 extras.getBinder(KEY_NETWORK_STATE_OBSERVER));
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/ |
ComplicationToggleReceiver.java | 45 Bundle extras = intent.getExtras(); local 46 ComponentName provider = extras.getParcelable(EXTRA_PROVIDER_COMPONENT); 47 int complicationId = extras.getInt(EXTRA_COMPLICATION_ID);
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetService.java | 86 final Bundle extras = new Bundle(); local 87 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day); 88 fillInIntent.putExtras(extras);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/ |
ComplicationToggleReceiver.java | 45 Bundle extras = intent.getExtras(); local 46 ComponentName provider = extras.getParcelable(EXTRA_PROVIDER_COMPONENT); 47 int complicationId = extras.getInt(EXTRA_COMPLICATION_ID);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessageReceiver.java | 34 Bundle extras = intent.getExtras(); local 35 if (extras == null) 38 Object[] pdus = (Object[]) extras.get("pdus");
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetService.java | 86 Bundle extras = new Bundle(); local 87 extras.putInt(StackWidgetProvider.EXTRA_ITEM, position); 89 fillInIntent.putExtras(extras);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
ArchivesProviderTest.java | 105 final Bundle extras = cursor.getExtras(); local 106 assertEquals(true, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 107 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 126 final Bundle extras = cursor.getExtras(); local 127 assertEquals(false, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 128 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 158 final Bundle extras = cursor.getExtras(); local 159 assertEquals(true, extras.getBoolean(DocumentsContract.EXTRA_LOADING, false)); 160 assertNull(extras.getString(DocumentsContract.EXTRA_ERROR)); 179 final Bundle extras = cursor.getExtras() local [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelReceiver.java | 99 final Bundle extras = new Bundle(); local 100 extras.putBoolean("GLOBAL_ENABLED", value); 101 setResultExtras(extras);
|