/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 465 // See CameraMetadata::writeToParcel for parcel data layout diagram and explanation. 550 * Below is the camera metadata parcel layout: 640 status_t CameraMetadata::readFromParcel(const Parcel *parcel) { argument 642 ALOGV("%s: parcel = %p", __FUNCTION__, parcel); 646 if (parcel == NULL) { 647 ALOGE("%s: parcel is null", __FUNCTION__); 658 res = CameraMetadata::readFromParcel(*parcel, &buffer); 661 ALOGE("%s: Failed to read from parcel. Metadata is unchanged.", 672 status_t CameraMetadata::writeToParcel(Parcel *parcel) cons [all...] |
/frameworks/av/include/media/ |
H A D | OMXBuffer.h | 87 status_t writeToParcel(Parcel *parcel) const; 88 status_t readFromParcel(const Parcel *parcel);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | OMXBuffer.h | 87 status_t writeToParcel(Parcel *parcel) const; 88 status_t readFromParcel(const Parcel *parcel);
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | IconTest.java | 249 final File originalfile = new File(dir, "parcel-original.png"); 263 final Parcel parcel = Parcel.obtain(); 265 parcel.writeInt(imgs.size()); 267 img.writeToParcel(parcel, 0); 268 L("used %d bytes parceling: %s", parcel.dataPosition() - pos, img); 269 pos = parcel.dataPosition(); 272 parcel.setDataPosition(0); // rewind 273 final int N = parcel.readInt(); 275 Icon img = Icon.CREATOR.createFromParcel(parcel); 276 L("test %d: read from parcel [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | CursorWindow.h | 85 static status_t createFromParcel(Parcel* parcel, CursorWindow** outCursorWindow); 87 status_t writeToParcel(Parcel* parcel);
|
/frameworks/native/libs/gui/ |
H A D | BitTube.cpp | 121 status_t BitTube::readFromParcel(const Parcel* parcel) { 122 mReceiveFd.reset(dup(parcel->readFileDescriptor()));
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.h | 87 static void retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperColors.java | 91 public WallpaperColors(Parcel parcel) { argument 93 final int count = parcel.readInt(); 95 final int colorInt = parcel.readInt(); 99 mColorHints = parcel.readInt();
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
H A D | PasspointConfigurationTest.java | 172 * Verify parcel write and read consistency for the given configuration. 178 Parcel parcel = Parcel.obtain(); 179 writeConfig.writeToParcel(parcel, 0); 181 parcel.setDataPosition(0); // Rewind data position back to the beginning for read. 183 PasspointConfiguration.CREATOR.createFromParcel(parcel); 188 * Verify parcel read/write for a default configuration. 198 * Verify parcel read/write for a configuration that contained the full configuration. 208 * Verify parcel read/write for a configuration that doesn't contain HomeSP. 220 * Verify parcel read/write for a configuration that doesn't contain Credential. 232 * Verify parcel rea [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/ |
H A D | CredentialTest.java | 117 Parcel parcel = Parcel.obtain(); 118 writeCred.writeToParcel(parcel, 0); 120 parcel.setDataPosition(0); // Rewind data position back to the beginning for read. 121 Credential readCred = Credential.CREATOR.createFromParcel(parcel); 126 * Verify parcel read/write for a default/empty credential. 136 * Verify parcel read/write for a certificate credential. 146 * Verify parcel read/write for a SIM credential. 156 * Verify parcel read/write for an user credential.
|
/frameworks/native/include/private/gui/ |
H A D | BitTube.h | 76 status_t readFromParcel(const Parcel* parcel);
|
/frameworks/native/libs/gui/include/private/gui/ |
H A D | BitTube.h | 76 status_t readFromParcel(const Parcel* parcel);
|
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 280 status_t writeToParcel(Parcel &parcel); 281 status_t updateFromParcel(const Parcel &parcel); 282 static sp<MetaData> createFromParcel(const Parcel &parcel);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | MetaData.h | 280 status_t writeToParcel(Parcel &parcel); 281 status_t updateFromParcel(const Parcel &parcel); 282 static sp<MetaData> createFromParcel(const Parcel &parcel);
|
/frameworks/native/cmds/service/ |
H A D | service.cpp | 31 void writeString16(Parcel& parcel, const char* string) argument 35 parcel.writeString16(String16(string)); 39 parcel.writeInt32(-1); 306 " i32: Write the 32-bit integer N into the send parcel.\n" 307 " i64: Write the 64-bit integer N into the send parcel.\n" 308 " f: Write the 32-bit single-precision number N into the send parcel.\n" 309 " d: Write the 64-bit double-precision number N into the send parcel.\n" 310 " s16: Write the UTF-16 string STR into the send parcel.\n"; 311 // " intent: Write and Intent int the send parcel. ARGS can be\n"
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 249 public NetworkStats(Parcel parcel) { argument 250 elapsedRealtime = parcel.readLong(); 251 size = parcel.readInt(); 252 capacity = parcel.readInt(); 253 iface = parcel.createStringArray(); 254 uid = parcel.createIntArray(); 255 set = parcel.createIntArray(); 256 tag = parcel.createIntArray(); 257 metered = parcel.createIntArray(); 258 roaming = parcel [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 655 static void checkParcel(IBinder obj, int code, Parcel parcel, String msg) { argument 656 if (CHECK_PARCEL_SIZE && parcel.dataSize() >= 800*1024) { 665 sb.append(parcel.dataSize()); 667 parcel.setDataPosition(0); 668 sb.append(parcel.readInt()); 670 sb.append(parcel.readInt()); 672 sb.append(parcel.readInt());
|
H A D | Bundle.java | 86 * Constructor from a parcel for when the length is known *and is not stored in the parcel.* 87 * The other constructor that takes a parcel assumes the length is in the parcel. 1226 * @param parcel The parcel to copy this bundle to. 1229 public void writeToParcel(Parcel parcel, int flags) { argument 1230 final boolean oldAllowFds = parcel.pushAllowFds((mFlags & FLAG_ALLOW_FDS) != 0); 1232 super.writeToParcelInner(parcel, flags); 1234 parcel 1243 readFromParcel(Parcel parcel) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | CursorAnchorInfoTest.java | 448 Parcel parcel = null; 450 parcel = Parcel.obtain(); 451 src.writeToParcel(parcel, 0); 452 parcel.setDataPosition(0); 453 return new CursorAnchorInfo(parcel); 455 if (parcel != null) { 456 parcel.recycle();
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 429 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 430 if (parcel == NULL) { 439 surfaceShim.readFromParcel(parcel, /*nameAlreadyRead*/true); 470 Parcel* parcel = parcelForJavaObject(env, parcelObj); local 471 if (parcel == NULL) { 482 surfaceShim.writeToParcel(parcel, /*nameAlreadyWritten*/true);
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 113 static void freeBuffer(Parcel* parcel,
|
/frameworks/native/include/gui/ |
H A D | SurfaceControl.h | 135 const sp<SurfaceControl>& control, Parcel* parcel);
|
/frameworks/native/include/input/ |
H A D | Input.h | 252 status_t readFromParcel(Parcel* parcel); 253 status_t writeToParcel(Parcel* parcel) const; 590 status_t readFromParcel(Parcel* parcel); 591 status_t writeToParcel(Parcel* parcel) const;
|
/frameworks/native/libs/binder/include/binder/ |
H A D | IPCThreadState.h | 113 static void freeBuffer(Parcel* parcel,
|
/frameworks/native/libs/gui/include/gui/ |
H A D | SurfaceControl.h | 135 const sp<SurfaceControl>& control, Parcel* parcel);
|