Searched refs:extras (Results 51 - 75 of 341) sorted by relevance

1234567891011>>

/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DIMediaControllerCallback.aidl30 void onEvent(String event, in Bundle extras);
38 void onExtrasChanged(in Bundle extras);
H A DIMediaSession.aidl67 void prepareFromMediaId(String uri, in Bundle extras) = 33;
68 void prepareFromSearch(String string, in Bundle extras) = 34;
69 void prepareFromUri(in Uri uri, in Bundle extras) = 35;
71 void playFromMediaId(String uri, in Bundle extras) = 13;
72 void playFromSearch(String string, in Bundle extras) = 14;
73 void playFromUri(in Uri uri, in Bundle extras) = 15;
/frameworks/base/core/java/android/nfc/tech/
H A DNfcA.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
70 mSak = extras.getShort(EXTRA_SAK);
71 mAtqa = extras.getByteArray(EXTRA_ATQA);
H A DNdef.java160 Bundle extras = tag.getTechExtras(TagTechnology.NDEF);
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/packages/SystemUI/src/com/android/systemui/
H A DSystemUI.java55 final Bundle extras = new Bundle();
56 extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME,
59 n.addExtras(extras);
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java54 Bundle extras = new Bundle();
55 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
58 ContentResolver.requestSync(account, authority, extras);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java276 * @param extras A bundle of extra arguments to be added to the
287 long positionMillis, Bundle extras, ItemActionCallback callback) {
289 extras, callback, MediaControlIntent.ACTION_PLAY);
310 * @param extras A bundle of extra arguments to be added to the
322 long positionMillis, Bundle extras, ItemActionCallback callback) {
324 extras, callback, MediaControlIntent.ACTION_ENQUEUE);
328 long positionMillis, Bundle extras,
348 performItemAction(intent, mSessionId, null, extras, callback);
366 * @param extras A bundle of extra arguments to be added to the
376 public void seek(String itemId, long positionMillis, Bundle extras, argument
286 play(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, ItemActionCallback callback) argument
321 enqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, ItemActionCallback callback) argument
327 playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, final ItemActionCallback callback, String action) argument
408 getStatus(String itemId, Bundle extras, ItemActionCallback callback) argument
440 remove(String itemId, Bundle extras, ItemActionCallback callback) argument
471 pause(Bundle extras, SessionActionCallback callback) argument
498 resume(Bundle extras, SessionActionCallback callback) argument
525 stop(Bundle extras, SessionActionCallback callback) argument
554 startSession(Bundle extras, SessionActionCallback callback) argument
613 getSessionStatus(Bundle extras, SessionActionCallback callback) argument
644 endSession(Bundle extras, SessionActionCallback callback) argument
652 performItemAction(final Intent intent, final String sessionId, final String itemId, Bundle extras, final ItemActionCallback callback) argument
703 performSessionAction(final Intent intent, final String sessionId, Bundle extras, final SessionActionCallback callback) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java225 @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) { argument
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) { argument
273 mExtras = extras;
303 final Bundle extras = (mExtras == null) ? new Bundle() : mExtras;
308 extras
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeFiltering.java73 * @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));
134 && REPEAT_CALLERS.isRepeat(mContext, extras(record))) {
246 private synchronized void recordCall(Context context, Bundle extras) { argument
78 matchesCallFilter(Context context, int zen, ZenModeConfig config, UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) argument
256 isRepeat(Context context, Bundle extras) argument
283 peopleString(Bundle extras) argument
[all...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java97 "You must pass a context to your NfcAdapter to use the NFC extras APIs");
104 NfcAdapterExtras extras = sNfcExtras.get(adapter);
105 if (extras == null) {
106 extras = new NfcAdapterExtras(adapter);
107 sNfcExtras.put(adapter, extras);
109 return extras;
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java165 Bundle extras) {
175 && extras != null
176 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
188 syncContextClient, authority, account, extras);
227 Bundle extras = new Bundle();
228 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
229 startSync(null, authority, account, extras);
246 Account account, Bundle extras) {
251 mExtras = extras;
312 * be specified in extras, whic
164 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
245 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
322 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument
335 onSecurityException(Account account, Bundle extras, String authority, SyncResult syncResult) argument
[all...]
/frameworks/base/core/java/android/app/job/
H A DJobParameters.java49 private final PersistableBundle extras; field in class:JobParameters
61 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, argument
66 this.extras = extras;
92 * @return The extras you passed in when constructing this job with
94 * never be null. If you did not set any extras this will be an empty bundle.
97 return extras;
101 * @return The transient extras you passed in when constructing this job with
103 * never be null. If you did not set any extras this will be an empty bundle.
235 extras
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DNetworkLoggingHandler.java184 /** @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();
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) { argument
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/
H A DPlaybackStateCompatTest.java92 Bundle extras = new Bundle();
93 extras.putString(EXTRAS_KEY, EXTRAS_VALUE);
101 .setExtras(extras)
164 Bundle extras = new Bundle();
165 extras.putString(EXTRAS_KEY, EXTRAS_VALUE);
173 .setExtras(extras)
177 .setExtras(extras)
194 Bundle extras = new Bundle();
195 extras.putString(EXTRAS_KEY, EXTRAS_VALUE);
205 .setExtras(extras);
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java352 * @param extras Any extras included with the event
354 public void sendSessionEvent(@NonNull String event, @Nullable Bundle extras) { argument
359 mBinder.sendEvent(event, extras);
489 * Set some extras that can be associated with the {@link MediaSession}. No assumptions should
490 * be made as to how a {@link MediaController} will handle these extras.
493 * @param extras The extras associated with the {@link MediaSession}.
495 public void setExtras(@Nullable Bundle extras) { argument
497 mBinder.setExtras(extras);
543 dispatchPrepareFromMediaId(String mediaId, Bundle extras) argument
547 dispatchPrepareFromSearch(String query, Bundle extras) argument
551 dispatchPrepareFromUri(Uri uri, Bundle extras) argument
559 dispatchPlayFromMediaId(String mediaId, Bundle extras) argument
563 dispatchPlayFromSearch(String query, Bundle extras) argument
567 dispatchPlayFromUri(Uri uri, Bundle extras) argument
636 postToCallback(int what, Object obj, Bundle extras) argument
858 onPrepareFromMediaId(String mediaId, Bundle extras) argument
870 onPrepareFromSearch(String query, Bundle extras) argument
882 onPrepareFromUri(Uri uri, Bundle extras) argument
897 onPlayFromSearch(String query, Bundle extras) argument
904 onPlayFromMediaId(String mediaId, Bundle extras) argument
910 onPlayFromUri(Uri uri, Bundle extras) argument
980 onCustomAction(@onNull String action, @Nullable Bundle extras) argument
1026 onPrepareFromMediaId(String mediaId, Bundle extras) argument
1034 onPrepareFromSearch(String query, Bundle extras) argument
1042 onPrepareFromUri(Uri uri, Bundle extras) argument
1058 onPlayFromMediaId(String mediaId, Bundle extras) argument
1066 onPlayFromSearch(String query, Bundle extras) argument
1074 onPlayFromUri(Uri uri, Bundle extras) argument
1263 public final Bundle extras; field in class:MediaSession.Command
1266 Command(String command, Bundle extras, ResultReceiver stub) argument
[all...]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DMediaBrowserServiceCompatTest.java214 Bundle extras = new Bundle();
215 extras.putString(key, val);
216 mMediaBrowser.search(StubMediaBrowserServiceCompat.SEARCH_QUERY, extras,
235 Bundle extras = new Bundle();
236 extras.putString(TEST_KEY_1, TEST_VALUE_1);
237 mMediaBrowser.sendCustomAction(StubMediaBrowserServiceCompat.CUSTOM_ACTION, extras,
290 Bundle extras = new Bundle();
291 extras.putString(TEST_KEY_1, TEST_VALUE_1);
292 mMediaBrowser.sendCustomAction(StubMediaBrowserServiceCompat.CUSTOM_ACTION, extras,
332 Bundle extras
498 onSearchResult(String query, Bundle extras, List<MediaItem> items) argument
508 onError(String query, Bundle extras) argument
533 onProgressUpdate(String action, Bundle extras, Bundle data) argument
544 onResult(String action, Bundle extras, Bundle resultData) argument
555 onError(String action, Bundle extras, Bundle data) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DProgressReporter.java208 private void notifyStarted(int id, Bundle extras) { argument
211 mListeners.getBroadcastItem(i).onStarted(id, extras);
218 private void notifyProgress(int id, int progress, Bundle extras) { argument
221 mListeners.getBroadcastItem(i).onProgress(id, progress, extras);
228 private void notifyFinished(int id, Bundle extras) { argument
231 mListeners.getBroadcastItem(i).onFinished(id, extras);
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsService.java112 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);
210 mayLaunchUrl(CustomTabsSessionToken sessionToken, Uri url, Bundle extras, List<Bundle> otherLikelyBundles) argument
269 postMessage( CustomTabsSessionToken sessionToken, String message, Bundle extras) argument
H A DCustomTabsSession.java61 * @param extras Reserved for future use.
68 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { argument
70 return mService.mayLaunchUrl(mCallback, url, extras, otherLikelyBundles);
173 * @param extras Reserved for future use.
178 public int postMessage(String message, Bundle extras) { argument
181 return mService.postMessage(mCallback, message, extras);
/frameworks/base/core/java/android/print/
H A DPrintDocumentAdapter.java180 * @param extras Additional information about how to layout the content.
188 Bundle extras);
186 onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) argument
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java40 public void onStatusChanged(String provider, int status, Bundle extras) {}
/frameworks/base/telecomm/java/android/telecom/
H A DStatusHints.java44 Bundle extras) {
46 iconResId), extras);
49 public StatusHints(CharSequence label, Icon icon, Bundle extras) { argument
52 mExtras = extras;
43 StatusHints(ComponentName packageName, CharSequence label, int iconResId, Bundle extras) argument
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIInCallAdapter.aidl67 void sendCallEvent(String callId, String event, in Bundle extras);
69 void putExtras(String callId, in Bundle extras);
/frameworks/base/tests/testables/src/android/testing/
H A DTestableSettingsProvider.java69 public Bundle call(String method, String arg, Bundle extras) { argument
71 final int userId = extras.getInt(Settings.CALL_METHOD_USER_KEY, 0);
91 Bundle call = mSettings.call(method, arg, extras);
100 value = extras.getString(Settings.NameValueTable.VALUE, null);
/frameworks/support/compat/ics/android/support/v4/app/
H A DRemoteInputCompatBase.java39 CharSequence[] choices, boolean allowFreeFormInput, Bundle extras,
38 build(String resultKey, CharSequence label, CharSequence[] choices, boolean allowFreeFormInput, Bundle extras, Set<String> allowedDataTypes) argument

Completed in 599 milliseconds

1234567891011>>