Searched refs:parcel (Results 201 - 217 of 217) sorted by relevance

123456789

/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h295 inline QueueBufferInput(const Parcel& parcel);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp102 // Filter format in a parcel:
121 // @return true if the parcel starts with a valid filter.
201 // Audio attributes format in a parcel:
222 void unmarshallAudioAttributes(const Parcel& parcel, audio_attributes_t *attributes) argument
224 attributes->usage = (audio_usage_t) parcel.readInt32();
225 attributes->content_type = (audio_content_type_t) parcel.readInt32();
226 attributes->source = (audio_source_t) parcel.readInt32();
227 attributes->flags = (audio_flags_mask_t) parcel.readInt32();
228 const bool hasFlattenedTag = (parcel.readInt32() == kAudioAttributesMarshallTagFlattenTags);
231 String16 tags = parcel
1131 setAudioAttributes_l(const Parcel &parcel) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaBrowserCompat.java607 for (Parcel parcel : parcelList) {
608 parcel.setDataPosition(0);
609 items.add(MediaBrowserCompat.MediaItem.CREATOR.createFromParcel(parcel));
610 parcel.recycle();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java320 Parcelable parcel = presenterStates.get(id);
321 if (parcel != null) {
322 presenter.onRestoreInstanceState(parcel);
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp1200 void IPCThreadState::freeBuffer(Parcel* parcel, const uint8_t* data, argument
1205 //ALOGI("Freeing parcel %p", &parcel);
1210 if (parcel != NULL) parcel->closeFileDescriptors();
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuBuilder.java346 Parcelable parcel = presenterStates.get(id);
347 if (parcel != null) {
348 presenter.onRestoreInstanceState(parcel);
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java605 final Parcel parcel = Parcel.obtain();
607 writeToParcel(parcel, 0);
608 parcel.setDataPosition(0);
609 return new ZenModeConfig(parcel);
611 parcel.recycle();
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java523 Parcel parcel = Parcel.obtain();
524 rr.writeToParcel(parcel,0);
525 parcel.setDataPosition(0);
526 ResultReceiver receiverForSending = ResultReceiver.CREATOR.createFromParcel(parcel);
527 parcel.recycle();
/frameworks/base/core/java/android/widget/
H A DEditor.java305 Parcel parcel = state.getParcel();
306 mUndoManager.saveInstanceState(parcel);
307 mUndoInputFilter.saveInstanceState(parcel);
312 Parcel parcel = state.getParcel();
313 mUndoManager.restoreInstanceState(parcel, state.getClassLoader());
314 mUndoInputFilter.restoreInstanceState(parcel);
5717 public void saveInstanceState(Parcel parcel) { argument
5718 parcel.writeInt(mIsUserEdit ? 1 : 0);
5719 parcel.writeInt(mHasComposition ? 1 : 0);
5722 public void restoreInstanceState(Parcel parcel) { argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp2394 Parcel parcel; local
2404 (const uint8_t *)data, size, flag, timeUs / 1000, &parcel);
2407 if ((parcel.dataSize() > 0)) {
2408 notifyListener(MEDIA_TIMED_TEXT, 0, 0, &parcel);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryFragment.java303 final Parcel parcel = Parcel.obtain();
305 mSelection.writeToParcel(parcel, 0);
306 if (parcel.dataSize() <= 512 * 1024) {
310 parcel.recycle();
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportProgressService.java310 final Parcelable parcel = ((Intent) msg.obj).getParcelableExtra(EXTRA_ORIGINAL_INTENT);
311 Log.v(TAG, "handleMessage(): " + dumpIntent((Intent) parcel));
313 if (parcel instanceof Intent) {
315 intent = (Intent) parcel;
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp702 IGraphicBufferProducer::QueueBufferInput::QueueBufferInput(const Parcel& parcel) { argument
703 parcel.read(*this);
/frameworks/base/core/java/android/app/
H A DPendingIntent.java245 * Listener for observing when pending intents are written to a parcel.
251 * Called when a pending intent is written to a parcel.
254 * @param parcel The parcel to which it was written.
255 * @param flags The parcel flags when it was written.
257 void onMarshaled(PendingIntent intent, Parcel parcel, int flags); argument
264 * Registers an listener for pending intents being written to a parcel.
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1495 private static native long nativeReadFromParcel(long nativePtr, Parcel parcel); argument
1496 private static native void nativeWriteToParcel(long nativePtr, Parcel parcel); argument
/frameworks/base/core/java/android/os/
H A DParcel.java366 * Returns the total amount of data contained in the parcel.
374 * parcel. That is, {@link #dataSize}-{@link #dataPosition}.
381 * Returns the current position in the parcel data. Never
389 * Returns the total amount of space in the parcel. This is always
391 * amount of room left until the parcel needs to re-allocate its
399 * Change the amount of data in the parcel. Can be either smaller or
410 * Move the current read/write position in the parcel.
411 * @param pos New offset in the parcel; must be between 0 and
419 * Change the capacity (current available space) of the parcel.
421 * @param size The new capacity of the parcel, i
461 appendFrom(Parcel parcel, int offset, int length) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1066 * Constructs from a parcel.
2109 The history delta format uses flags to denote further data in subsequent ints in the parcel.
9207 final Parcel parcel = Parcel.obtain();
9208 writeSummaryToParcel(parcel, true);
9215 stream.write(parcel.marshall());
9225 parcel.recycle();

Completed in 6619 milliseconds

123456789