/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
MediaControllerCompatTest.java | 128 final Bundle extras = new Bundle(); local 129 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 130 mController.sendCommand(command, extras, new ResultReceiver(null)); 299 final Bundle extras = new Bundle(); local 300 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); 301 controls.setRating(rating, extras); 310 controls.playFromMediaId(mediaId, extras); 318 controls.playFromSearch(query, extras); 326 controls.playFromUri(uri, extras); 334 controls.sendCustomAction(action, extras); [all...] |
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcTag.java | 535 Bundle extras = new Bundle(); local 536 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg); 537 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength); 538 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState); 539 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType)); 545 builtTechExtras[builtTechExtras.length - 1] = extras; 548 // Tech extras were built before, patch the NDEF one in 552 newTechExtras[oldTechExtras.length] = extras; 653 Bundle extras = new Bundle(); local 658 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)) [all...] |
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
UtilsProvider.java | 27 public Bundle call(String method, String arg, Bundle extras) { 28 return UtilsReceiver.doAllocation(getContext(), extras);
|
/cts/tests/tests/media/src/android/media/cts/ |
ResourceManagerTest.java | 34 Bundle extras = new Bundle(); local 36 "android.media.cts", ResourceManagerStubActivity.class, extras);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_ContactCountsTest.java | 64 final Bundle extras = cursor.getExtras(); local 65 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); 66 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 79 final Bundle extras = cursor.getExtras(); local 80 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); 81 assertTrue(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); 85 extras.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES); 89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS);
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Audio.java | 47 Bundle extras = getIntent().getExtras(); local 48 playAudio(extras.getInt(MEDIA));
|
/frameworks/base/core/java/android/content/ |
BroadcastReceiver.java | 142 public final void setResultExtras(Bundle extras) { 144 mResultExtras = extras; 164 public final void setResult(int code, String data, Bundle extras) { 168 mResultExtras = extras; 459 * Change the current result extras of this broadcast; only works with 471 * @param extras The new extra data map; may be null. 475 public final void setResultExtras(Bundle extras) { 477 mPendingResult.mResultExtras = extras; 489 * @return Map The current extras map. 518 * @param extras The new extra data map. This is a Bundl [all...] |
/frameworks/base/core/java/android/database/ |
Cursor.java | 450 * @param extras {@link Bundle} to set, or null to set an empty bundle. 452 void setExtras(Bundle extras); 471 * @param extras extra values, or {@link android.os.Bundle#EMPTY Bundle.EMPTY}. 476 Bundle respond(Bundle extras);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
TestAppWidgetProvider.java | 49 Bundle extras = intent.getExtras(); local 50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
TestAppWidgetProvider.java | 46 Bundle extras = intent.getExtras(); local 47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
Task.java | 102 void onCreate(Context context, Bundle extras); 111 void onRestore(Bundle extras);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
UploadTask.java | 51 public void onCreate(Context context, Bundle extras) { 52 super.onCreate(context, extras);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
ReadableArchive.java | 266 Bundle extras = null; local 269 extras = new Bundle(1); 270 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 90); 273 extras = new Bundle(1); 274 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 180); 277 extras = new Bundle(1); 278 extras.putInt(DocumentsContract.EXTRA_ORIENTATION, 270); 283 openDocument(documentId, "r", signal), range[0], range[1], extras);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
UserInitializeReceiver.java | 62 final String[] extras = resources.getStringArray(resid); local 63 for (String extra : extras) {
|
/packages/apps/Settings/src/com/android/settings/language/ |
UserDictionaryPreferenceController.java | 56 final Bundle extras = preference.getExtras(); local 61 // parameter in the extras. This will be interpreted by the 68 extras.putString("locale", localeSet.first());
|
/cts/tests/tests/content/src/android/content/cts/ |
TestPagingContentProvider.java | 109 Bundle extras = c.getExtras(); local 119 extras.putStringArray(ContentResolver.EXTRA_HONORED_ARGS, new String[] { 123 extras.putInt(ContentResolver.EXTRA_TOTAL_COUNT, recordsetSize); 143 Bundle extras = new Bundle(); local 144 c.setExtras(extras);
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
intent.py | 30 category=None, component=None, data=None, extras=None, 41 extras: A dict containing extra parameters to be passed along with the 55 self._extras = extras 85 def extras(self): member in class:Intent 114 if self.extras: 115 for key, value in self.extras.iteritems(): 128 'Intent does not know how to pass %s extras' % type(value))
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
intent.py | 30 category=None, component=None, data=None, extras=None, 41 extras: A dict containing extra parameters to be passed along with the 55 self._extras = extras 85 def extras(self): member in class:Intent 114 if self.extras: 115 for key, value in self.extras.iteritems(): 128 'Intent does not know how to pass %s extras' % type(value))
|
/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/ |
SimpleStaticVectorDrawable.java | 105 VectorDrawableCompat[] extras = new VectorDrawableCompat[EXTRA_TESTS]; local 107 extras[0] = (VectorDrawableCompat) state.newDrawable(); 108 extras[1] = (VectorDrawableCompat) state.newDrawable(); 111 extras[0].setAlpha(128); 122 addDrawableButtons(container, extras);
|
/packages/apps/Car/Media/src/com/android/car/media/ |
MediaActivity.java | 145 Bundle extras = null; local 147 extras = intent.getExtras(); 151 if (extras != null && extras.containsKey(MediaManager.KEY_MEDIA_PACKAGE) && 152 extras.containsKey(MediaManager.KEY_MEDIA_CLASS)) {
|
/packages/apps/Settings/src/com/android/settings/password/ |
SetNewPasswordController.java | 50 /** Starts the {@link ChooseLockGeneric} activity with the given extras. */ 108 final Bundle extras; local 114 extras = getFingerprintChooseLockExtras(); 116 extras = new Bundle(); 120 extras.putInt(Intent.EXTRA_USER_ID, mTargetUserId); 121 mUi.launchChooseLock(extras);
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchLeanbackJankTests.java | 57 * Optional method name that return extras for launch the activity. 59 String extras() default ""; 114 if (!TextUtils.isEmpty(option.extras())) { 115 Method extraMethod = getClass().getMethod(option.extras()); 152 @Option(activity = "leanback.BrowseActivity", extras = "noBitmapUpload") 164 @Option(activity = "leanback.BrowseActivity", extras = "noBitmapUpload",
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
MediaControllerCompatApi21.java | 173 public static void playFromMediaId(Object controlsObj, String mediaId, Bundle extras) { 174 ((MediaController.TransportControls) controlsObj).playFromMediaId(mediaId, extras); 177 public static void playFromSearch(Object controlsObj, String query, Bundle extras) { 178 ((MediaController.TransportControls) controlsObj).playFromSearch(query, extras); 264 public void onSessionEvent(String event, Bundle extras); 269 public void onExtrasChanged(Bundle extras); 286 public void onSessionEvent(String event, Bundle extras) { 287 mCallback.onSessionEvent(event, extras); 311 public void onExtrasChanged(Bundle extras) { 312 mCallback.onExtrasChanged(extras); [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaControllerCompat.java | 387 * Gets the extras for this session. 680 * @param extras Optional parameters for the event. 682 public void onSessionEvent(String event, Bundle extras) { 724 * Override to handle changes to the {@link MediaSessionCompat} extras. 726 * @param extras The extras that can include other information 729 public void onExtrasChanged(Bundle extras) { 826 public void onSessionEvent(String event, Bundle extras) { 832 callback.onSessionEvent(event, extras); [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Conference.java | 64 public void onExtrasChanged(Conference c, Bundle extras) {} 716 * Replaces all the extras associated with this {@code Conference}. 718 * New or existing keys are replaced in the {@code Conference} extras. Keys which are no longer 719 * in the new extras, but were present the last time {@code setExtras} was called are removed. 722 * {@link #removeExtras(String...)} methods to modify the extras. 724 * No assumptions should be made as to how an In-Call UI or service will handle these extras. 725 * Keys should be fully qualified (e.g., com.example.extras.MY_EXTRA) to avoid conflicts. 727 * @param extras The extras associated with this {@code Conference}. 729 public final void setExtras(@Nullable Bundle extras) { [all...] |