Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java62 Bundle extras = intent.getExtras(); in onReceive() local
63 if (extras != null) { in onReceive()
64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
70 Bundle extras = intent.getExtras(); in onReceive() local
71 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive()
72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive()
76 Bundle extras = intent.getExtras(); in onReceive() local
77 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID) in onReceive()
78 && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS)) { in onReceive()
79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive()
[all …]
/frameworks/base/core/java/android/content/
DSyncActivityTooManyDeletes.java50 Bundle extras = getIntent().getExtras(); in onCreate() local
51 if (extras == null) { in onCreate()
56 mNumDeletes = extras.getLong("numDeletes"); in onCreate()
57 mAccount = (Account) extras.getParcelable("account"); in onCreate()
58 mAuthority = extras.getString("authority"); in onCreate()
59 mProvider = extras.getString("provider"); in onCreate()
117 Bundle extras = new Bundle(); in startSyncReallyDelete() local
118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in startSyncReallyDelete()
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncReallyDelete()
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncReallyDelete()
[all …]
DPeriodicSync.java33 public final Bundle extras; field in PeriodicSync
45 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync() argument
48 if (extras == null) { in PeriodicSync()
49 this.extras = new Bundle(); in PeriodicSync()
51 this.extras = new Bundle(extras); in PeriodicSync()
65 this.extras = new Bundle(other.extras); in PeriodicSync()
74 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync() argument
78 this.extras = new Bundle(extras); in PeriodicSync()
86 this.extras = in.readBundle(); in PeriodicSync()
100 dest.writeBundle(extras); in writeToParcel()
[all …]
DAbstractThreadedSyncAdapter.java152 Bundle extras) { in startSync() argument
162 && extras != null in startSync()
163 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) { in startSync()
175 syncContextClient, authority, account, extras); in startSync()
214 Bundle extras = new Bundle(); in initialize() local
215 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true); in initialize()
216 startSync(null, authority, account, extras); in initialize()
233 Account account, Bundle extras) { in SyncThread() argument
238 mExtras = extras; in SyncThread()
305 public abstract void onPerformSync(Account account, Bundle extras, in onPerformSync() argument
DContentResolver.java1360 public final Bundle call(Uri uri, String method, String arg, Bundle extras) { in call() argument
1372 return provider.call(mPackageName, method, arg, extras); in call()
1734 public void startSync(Uri uri, Bundle extras) { in startSync() argument
1736 if (extras != null) { in startSync()
1737 String accountName = extras.getString(SYNC_EXTRAS_ACCOUNT); in startSync()
1741 extras.remove(SYNC_EXTRAS_ACCOUNT); in startSync()
1743 requestSync(account, uri != null ? uri.getAuthority() : null, extras); in startSync()
1765 public static void requestSync(Account account, String authority, Bundle extras) { in requestSync() argument
1766 requestSyncAsUser(account, authority, UserHandle.myUserId(), extras); in requestSync()
1774 Bundle extras) { in requestSyncAsUser() argument
[all …]
DBroadcastReceiver.java304 public final void setResultExtras(Bundle extras) { in setResultExtras() argument
306 mResultExtras = extras; in setResultExtras()
326 public final void setResult(int code, String data, Bundle extras) { in setResult() argument
330 mResultExtras = extras; in setResult()
609 public final void setResultExtras(Bundle extras) { in setResultExtras() argument
611 mPendingResult.mResultExtras = extras; in setResultExtras()
657 public final void setResult(int code, String data, Bundle extras) { in setResult() argument
661 mPendingResult.mResultExtras = extras; in setResult()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java73 public Bundle extras; field in SyncOperation
94 Bundle extras, long runTimeFromNow, long flexTime, long backoff, in SyncOperation() argument
97 reason, source, extras, runTimeFromNow, flexTime, backoff, delayUntil, in SyncOperation()
102 Bundle extras, long runTimeFromNow, long flexTime, long backoff, in SyncOperation() argument
104 this(new SyncStorageEngine.EndPoint(service, userId), reason, source, extras, in SyncOperation()
108 private SyncOperation(SyncStorageEngine.EndPoint info, int reason, int source, Bundle extras, in SyncOperation() argument
114 this.extras = new Bundle(extras); in SyncOperation()
115 cleanBundle(this.extras); in SyncOperation()
125 if (!this.extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { in SyncOperation()
126 this.extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in SyncOperation()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java246 long positionMillis, Bundle extras, ItemActionCallback callback) { in play() argument
248 extras, callback, MediaControlIntent.ACTION_PLAY); in play()
281 long positionMillis, Bundle extras, ItemActionCallback callback) { in enqueue() argument
283 extras, callback, MediaControlIntent.ACTION_ENQUEUE); in enqueue()
287 long positionMillis, Bundle extras, in playOrEnqueue() argument
307 performItemAction(intent, mSessionId, null, extras, callback); in playOrEnqueue()
335 public void seek(String itemId, long positionMillis, Bundle extras, in seek() argument
344 performItemAction(intent, mSessionId, itemId, extras, callback); in seek()
367 public void getStatus(String itemId, Bundle extras, ItemActionCallback callback) { in getStatus() argument
374 performItemAction(intent, mSessionId, itemId, extras, callback); in getStatus()
[all …]
/frameworks/base/core/java/android/app/
DNotification.java684 public Bundle extras = new Bundle(); field in Notification
923 private Action(int icon, CharSequence title, PendingIntent intent, Bundle extras, in Action() argument
928 this.mExtras = extras != null ? extras : new Bundle(); in Action()
977 private Builder(int icon, CharSequence title, PendingIntent intent, Bundle extras, in Builder() argument
982 mExtras = extras; in Builder()
996 public Builder addExtras(Bundle extras) { in addExtras() argument
997 if (extras != null) { in addExtras()
998 mExtras.putAll(extras); in addExtras()
1313 extras = parcel.readBundle(); // may be null in Notification()
1397 if (this.extras != null) { in cloneInto()
[all …]
/frameworks/base/core/java/android/app/job/
DJobParameters.java33 private final PersistableBundle extras; field in JobParameters
38 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() argument
41 this.extras = extras; in JobParameters()
59 return extras; in getExtras()
79 extras = in.readPersistableBundle(); in JobParameters()
92 dest.writePersistableBundle(extras); in writeToParcel()
DJobInfo.java74 private final PersistableBundle extras; field in JobInfo
100 return extras; in getExtras()
209 extras = in.readPersistableBundle(); in JobInfo()
227 extras = b.mExtras; in JobInfo()
251 out.writePersistableBundle(extras); in writeToParcel()
324 public Builder setExtras(PersistableBundle extras) { in setExtras() argument
325 mExtras = extras; in setExtras()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java215 public void assignContactFromEmail(String emailAddress, boolean lazyLookup, Bundle extras) { in assignContactFromEmail() argument
217 mExtras = extras; in assignContactFromEmail()
255 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { in assignContactFromPhone() argument
257 mExtras = extras; in assignContactFromPhone()
287 final Bundle extras = (mExtras == null) ? new Bundle() : mExtras; in onClick() local
292 extras.putString(EXTRA_URI_CONTENT, mContactEmail); in onClick()
293 mQueryHandler.startQuery(TOKEN_EMAIL_LOOKUP_AND_TRIGGER, extras, in onClick()
297 extras.putString(EXTRA_URI_CONTENT, mContactPhone); in onClick()
298 mQueryHandler.startQuery(TOKEN_PHONE_LOOKUP_AND_TRIGGER, extras, in onClick()
339 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle(); in onQueryComplete() local
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DMockProvider.java92 public int getStatus(Bundle extras) { in getStatus() argument
94 extras.clear(); in getStatus()
95 extras.putAll(mExtras); in getStatus()
123 public void setStatus(int status, Bundle extras, long updateTime) { in setStatus() argument
127 if (extras != null) { in setStatus()
128 mExtras.putAll(extras); in setStatus()
158 public boolean sendExtraCommand(String command, Bundle extras) { in sendExtraCommand() argument
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java76 Bundle extras, String groupKey, boolean groupSummary, String sortKey) { in Builder() argument
103 if (extras != null) { in Builder()
104 mExtras.putAll(extras); in Builder()
136 Bundle extras = getExtras(notif); in build() local
139 if (extras.containsKey(key)) { in build()
143 extras.putAll(mergeBundle); in build()
227 Bundle extras = (Bundle) sExtrasField.get(notif); in getExtras() local
228 if (extras == null) { in getExtras()
229 extras = new Bundle(); in getExtras()
230 sExtrasField.set(notif, extras); in getExtras()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java117 public void onConfirm(Caller caller, Request request, CharSequence prompt, Bundle extras) { in onConfirm() argument
118 Log.i(TAG, "onConfirm: prompt=" + prompt + " extras=" + extras); in onConfirm()
127 … public void onCompleteVoice(Caller caller, Request request, CharSequence message, Bundle extras) { in onCompleteVoice() argument
128 Log.i(TAG, "onCompleteVoice: message=" + message + " extras=" + extras); in onCompleteVoice()
136 public void onAbortVoice(Caller caller, Request request, CharSequence message, Bundle extras) { in onAbortVoice() argument
137 Log.i(TAG, "onAbortVoice: message=" + message + " extras=" + extras); in onAbortVoice()
145 public void onCommand(Caller caller, Request request, String command, Bundle extras) { in onCommand() argument
146 Log.i(TAG, "onCommand: command=" + command + " extras=" + extras); in onCommand()
/frameworks/support/v4/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java43 ArrayList<String> people, Bundle extras, String groupKey, boolean groupSummary, in Builder() argument
72 if (extras != null) { in Builder()
73 mExtras.putAll(extras); in Builder()
119 return notif.extras; in getExtras()
131 SparseArray<Bundle> actionExtrasMap = notif.extras.getSparseParcelableArray( in getAction()
141 return notif.extras.getBoolean(NotificationCompatJellybean.EXTRA_LOCAL_ONLY); in getLocalOnly()
145 return notif.extras.getString(NotificationCompatJellybean.EXTRA_GROUP_KEY); in getGroup()
149 return notif.extras.getBoolean(NotificationCompatJellybean.EXTRA_GROUP_SUMMARY); in isGroupSummary()
153 return notif.extras.getString(NotificationCompatJellybean.EXTRA_SORT_KEY); in getSortKey()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractor.aidl29 IVoiceInteractorCallback callback, CharSequence prompt, in Bundle extras); in startConfirmation() argument
31 IVoiceInteractorCallback callback, CharSequence message, in Bundle extras); in startCompleteVoice() argument
33 IVoiceInteractorCallback callback, CharSequence message, in Bundle extras); in startAbortVoice() argument
35 IVoiceInteractorCallback callback, String command, in Bundle extras); in startCommand() argument
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java96 public int getStatus(Bundle extras) { in getStatus() argument
97 return onGetStatus(extras); in getStatus()
104 public boolean sendExtraCommand(String command, Bundle extras) { in sendExtraCommand() argument
105 return onSendExtraCommand(command, extras); in sendExtraCommand()
186 public abstract int onGetStatus(Bundle extras); in onGetStatus() argument
209 public boolean onSendExtraCommand(String command, Bundle extras) { in onSendExtraCommand() argument
/frameworks/support/v4/java/android/support/v4/app/
DRemoteInput.java44 boolean allowFreeFormInput, Bundle extras) { in RemoteInput() argument
49 this.mExtras = extras; in RemoteInput()
155 public Builder addExtras(Bundle extras) { in addExtras() argument
156 if (extras != null) { in addExtras()
157 mExtras.putAll(extras); in addExtras()
267 Bundle extras) {
268 return new RemoteInput(resultKey, label, choices, allowFreeFormInput, extras);
/frameworks/base/media/java/android/media/session/
DMediaSession.java343 public void sendSessionEvent(@NonNull String event, @Nullable Bundle extras) { in sendSessionEvent() argument
348 mBinder.sendEvent(event, extras); in sendSessionEvent()
458 public void setExtras(@Nullable Bundle extras) { in setExtras() argument
460 mBinder.setExtras(extras); in setExtras()
488 private void dispatchPlayFromMediaId(String mediaId, Bundle extras) { in dispatchPlayFromMediaId() argument
489 postToCallback(CallbackMessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in dispatchPlayFromMediaId()
492 private void dispatchPlayFromSearch(String query, Bundle extras) { in dispatchPlayFromSearch() argument
493 postToCallback(CallbackMessageHandler.MSG_PLAY_SEARCH, query, extras); in dispatchPlayFromSearch()
553 private void postToCallback(int what, Object obj, Bundle extras) { in postToCallback() argument
556 mCallback.post(what, obj, extras); in postToCallback()
[all …]
/frameworks/base/core/java/android/nfc/tech/
DNfcF.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F); in NfcF() local
70 if (extras != null) { in NfcF()
71 mSystemCode = extras.getByteArray(EXTRA_SC); in NfcF()
72 mManufacturer = extras.getByteArray(EXTRA_PMM); in NfcF()
DIsoDep.java73 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP); in IsoDep() local
74 if (extras != null) { in IsoDep()
75 mHiLayerResponse = extras.getByteArray(EXTRA_HI_LAYER_RESP); in IsoDep()
76 mHistBytes = extras.getByteArray(EXTRA_HIST_BYTES); in IsoDep()
DNdef.java160 Bundle extras = tag.getTechExtras(TagTechnology.NDEF); in Ndef() local
161 if (extras != null) { in Ndef()
162 mMaxNdefSize = extras.getInt(EXTRA_NDEF_MAXLENGTH); in Ndef()
163 mCardState = extras.getInt(EXTRA_NDEF_CARDSTATE); in Ndef()
164 mNdefMsg = extras.getParcelable(EXTRA_NDEF_MSG); in Ndef()
165 mNdefType = extras.getInt(EXTRA_NDEF_TYPE); in Ndef()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java104 NfcAdapterExtras extras = sNfcExtras.get(adapter); in get() local
105 if (extras == null) { in get()
106 extras = new NfcAdapterExtras(adapter); in get()
107 sNfcExtras.put(adapter, extras); in get()
109 return extras; in get()
/frameworks/native/opengl/tests/hwc/
DAndroid.mk21 LOCAL_C_INCLUDES += system/extras/tests/include \
53 system/extras/tests/include \
85 system/extras/tests/include \
115 system/extras/tests/include \
145 system/extras/tests/include \

12345678910>>...12