/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.cpp | 28 uint32_t flags, int timeMs, Parcel *parcel) { in getParcelOfDescriptions() argument 29 parcel->freeData(); in getParcelOfDescriptions() 33 return extract3GPPGlobalDescriptions(data, size, parcel, 0); in getParcelOfDescriptions() 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0); in getParcelOfDescriptions() 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); in getParcelOfDescriptions() 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { in extractSRTLocalDescriptions() argument 51 parcel->writeInt32(KEY_LOCAL_SETTING); in extractSRTLocalDescriptions() 52 parcel->writeInt32(KEY_START_TIME); in extractSRTLocalDescriptions() 53 parcel->writeInt32(timeMs); in extractSRTLocalDescriptions() 55 parcel->writeInt32(KEY_STRUCT_TEXT); in extractSRTLocalDescriptions() [all …]
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 358 public TimedText(Parcel parcel) { in TimedText() argument 359 if (!parseParcel(parcel)) { in TimedText() 393 private boolean parseParcel(Parcel parcel) { in parseParcel() argument 394 parcel.setDataPosition(0); in parseParcel() 395 if (parcel.dataAvail() == 0) { in parseParcel() 399 int type = parcel.readInt(); in parseParcel() 401 type = parcel.readInt(); in parseParcel() 405 int mStartTimeMs = parcel.readInt(); in parseParcel() 408 type = parcel.readInt(); in parseParcel() 413 int textLen = parcel.readInt(); in parseParcel() [all …]
|
D | SubtitleData.java | 51 public SubtitleData(Parcel parcel) { in SubtitleData() argument 52 if (!parseParcel(parcel)) { in SubtitleData() 73 private boolean parseParcel(Parcel parcel) { in parseParcel() argument 74 parcel.setDataPosition(0); in parseParcel() 75 if (parcel.dataAvail() == 0) { in parseParcel() 79 mTrackIndex = parcel.readInt(); in parseParcel() 80 mStartTimeUs = parcel.readLong(); in parseParcel() 81 mDurationUs = parcel.readLong(); in parseParcel() 82 mData = new byte[parcel.readInt()]; in parseParcel() 83 parcel.readByteArray(mData); in parseParcel()
|
D | Metadata.java | 292 private boolean scanAllRecords(Parcel parcel, int bytesLeft) { in scanAllRecords() argument 298 final int start = parcel.dataPosition(); in scanAllRecords() 300 final int size = parcel.readInt(); in scanAllRecords() 309 final int metadataId = parcel.readInt(); in scanAllRecords() 324 mKeyToPosMap.put(metadataId, parcel.dataPosition()); in scanAllRecords() 327 final int metadataType = parcel.readInt(); in scanAllRecords() 335 parcel.setDataPosition(start + size); in scanAllRecords() 377 public boolean parse(Parcel parcel) { in parse() argument 378 if (parcel.dataAvail() < kMetaHeaderSize) { in parse() 379 Log.e(TAG, "Not enough data " + parcel.dataAvail()); in parse() [all …]
|
/frameworks/av/camera/ |
D | CaptureResult.cpp | 29 status_t CaptureResultExtras::readFromParcel(Parcel *parcel) { in readFromParcel() argument 30 if (parcel == NULL) { in readFromParcel() 35 parcel->readInt32(&requestId); in readFromParcel() 36 parcel->readInt32(&burstId); in readFromParcel() 37 parcel->readInt32(&afTriggerId); in readFromParcel() 38 parcel->readInt32(&precaptureTriggerId); in readFromParcel() 39 parcel->readInt64(&frameNumber); in readFromParcel() 40 parcel->readInt32(&partialResultCount); in readFromParcel() 45 status_t CaptureResultExtras::writeToParcel(Parcel *parcel) const { in writeToParcel() 46 if (parcel == NULL) { in writeToParcel() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncStatusInfo.java | 70 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 71 parcel.writeInt(VERSION); in writeToParcel() 72 parcel.writeInt(authorityId); in writeToParcel() 73 parcel.writeLong(totalElapsedTime); in writeToParcel() 74 parcel.writeInt(numSyncs); in writeToParcel() 75 parcel.writeInt(numSourcePoll); in writeToParcel() 76 parcel.writeInt(numSourceServer); in writeToParcel() 77 parcel.writeInt(numSourceLocal); in writeToParcel() 78 parcel.writeInt(numSourceUser); in writeToParcel() 79 parcel.writeLong(lastSuccessTime); in writeToParcel() [all …]
|
D | SyncResult.java | 138 private SyncResult(Parcel parcel) { in SyncResult() argument 139 syncAlreadyInProgress = parcel.readInt() != 0; in SyncResult() 140 tooManyDeletions = parcel.readInt() != 0; in SyncResult() 141 tooManyRetries = parcel.readInt() != 0; in SyncResult() 142 databaseError = parcel.readInt() != 0; in SyncResult() 143 fullSyncRequested = parcel.readInt() != 0; in SyncResult() 144 partialSyncUnavailable = parcel.readInt() != 0; in SyncResult() 145 moreRecordsToGet = parcel.readInt() != 0; in SyncResult() 146 delayUntil = parcel.readLong(); in SyncResult() 147 stats = new SyncStats(parcel); in SyncResult() [all …]
|
D | SyncInfo.java | 69 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 70 parcel.writeInt(authorityId); in writeToParcel() 71 parcel.writeParcelable(account, flags); in writeToParcel() 72 parcel.writeString(authority); in writeToParcel() 73 parcel.writeLong(startTime); in writeToParcel() 77 SyncInfo(Parcel parcel) { in SyncInfo() argument 78 authorityId = parcel.readInt(); in SyncInfo() 79 account = parcel.readParcelable(Account.class.getClassLoader()); in SyncInfo() 80 authority = parcel.readString(); in SyncInfo() 81 startTime = parcel.readLong(); in SyncInfo()
|
/frameworks/base/core/jni/ |
D | android_os_Parcel.cpp | 93 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataSize() local 94 return parcel ? parcel->dataSize() : 0; in android_os_Parcel_dataSize() 99 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataAvail() local 100 return parcel ? parcel->dataAvail() : 0; in android_os_Parcel_dataAvail() 105 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataPosition() local 106 return parcel ? parcel->dataPosition() : 0; in android_os_Parcel_dataPosition() 111 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_dataCapacity() local 112 return parcel ? parcel->dataCapacity() : 0; in android_os_Parcel_dataCapacity() 117 Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); in android_os_Parcel_setDataSize() local 118 if (parcel != NULL) { in android_os_Parcel_setDataSize() [all …]
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 44 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_noUsers() local 45 keyphrase.writeToParcel(parcel, 0); in testKeyphraseParcelUnparcel_noUsers() 48 parcel.setDataPosition(0); in testKeyphraseParcelUnparcel_noUsers() 49 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_noUsers() 63 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_zeroUsers() local 64 keyphrase.writeToParcel(parcel, 0); in testKeyphraseParcelUnparcel_zeroUsers() 67 parcel.setDataPosition(0); in testKeyphraseParcelUnparcel_zeroUsers() 68 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_zeroUsers() 82 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_pos() local 83 keyphrase.writeToParcel(parcel, 0); in testKeyphraseParcelUnparcel_pos() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 42 Parcel parcel = Parcel.obtain(); in testEmptyData() local 44 data.writeToParcel(parcel, 0); in testEmptyData() 45 parcel.setDataPosition(0); in testEmptyData() 47 AdvertiseData.CREATOR.createFromParcel(parcel); in testEmptyData() 53 Parcel parcel = Parcel.obtain(); in testEmptyServiceUuid() local 55 data.writeToParcel(parcel, 0); in testEmptyServiceUuid() 56 parcel.setDataPosition(0); in testEmptyServiceUuid() 58 AdvertiseData.CREATOR.createFromParcel(parcel); in testEmptyServiceUuid() 64 Parcel parcel = Parcel.obtain(); in testEmptyManufacturerData() local 70 data.writeToParcel(parcel, 0); in testEmptyManufacturerData() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 1063 public void initFromParcel(Parcel parcel) { in initFromParcel() argument 1064 mSealed = (parcel.readInt() == 1); in initFromParcel() 1065 mEventType = parcel.readInt(); in initFromParcel() 1066 mMovementGranularity = parcel.readInt(); in initFromParcel() 1067 mAction = parcel.readInt(); in initFromParcel() 1068 mContentChangeTypes = parcel.readInt(); in initFromParcel() 1069 mPackageName = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); in initFromParcel() 1070 mEventTime = parcel.readLong(); in initFromParcel() 1071 mConnectionId = parcel.readInt(); in initFromParcel() 1072 readAccessibilityRecordFromParcel(this, parcel); in initFromParcel() [all …]
|
D | AccessibilityNodeInfo.java | 2449 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 2450 parcel.writeInt(isSealed() ? 1 : 0); in writeToParcel() 2451 parcel.writeLong(mSourceNodeId); in writeToParcel() 2452 parcel.writeInt(mWindowId); in writeToParcel() 2453 parcel.writeLong(mParentNodeId); in writeToParcel() 2454 parcel.writeLong(mLabelForId); in writeToParcel() 2455 parcel.writeLong(mLabeledById); in writeToParcel() 2456 parcel.writeInt(mConnectionId); in writeToParcel() 2460 parcel.writeInt(0); in writeToParcel() 2463 parcel.writeInt(childIdsSize); in writeToParcel() [all …]
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | TimedTextSRTSource_test.cpp | 91 void CheckStartTimeMs(const Parcel& parcel, int32_t timeMs) { in CheckStartTimeMs() argument 93 parcel.setDataPosition(8); in CheckStartTimeMs() 94 parcel.readInt32(&intval); in CheckStartTimeMs() 98 void CheckDataEquals(const Parcel& parcel, const char* content) { in CheckDataEquals() argument 100 parcel.setDataPosition(16); in CheckDataEquals() 101 parcel.readInt32(&intval); in CheckDataEquals() 102 parcel.setDataPosition(24); in CheckDataEquals() 103 const char* data = (const char*) parcel.readInplace(intval); in CheckDataEquals() 113 Parcel parcel; member in android::test::TimedTextSRTSourceTest 120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); in TEST_F() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequestParcelable.java | 140 public GeofenceHardwareRequestParcelable createFromParcel(Parcel parcel) { 141 int geofenceType = parcel.readInt(); 150 parcel.readDouble(), 151 parcel.readDouble(), 152 parcel.readDouble()); 153 request.setLastTransition(parcel.readInt()); 154 request.setMonitorTransitions(parcel.readInt()); 155 request.setUnknownTimer(parcel.readInt()); 156 request.setNotificationResponsiveness(parcel.readInt()); 157 request.setSourceTechnologies(parcel.readInt()); [all …]
|
/frameworks/base/location/java/android/location/ |
D | GpsMeasurement.java | 1140 public GpsMeasurement createFromParcel(Parcel parcel) { 1143 gpsMeasurement.mFlags = parcel.readInt(); 1144 gpsMeasurement.mPrn = parcel.readByte(); 1145 gpsMeasurement.mTimeOffsetInNs = parcel.readDouble(); 1146 gpsMeasurement.mState = (short) parcel.readInt(); 1147 gpsMeasurement.mReceivedGpsTowInNs = parcel.readLong(); 1148 gpsMeasurement.mReceivedGpsTowUncertaintyInNs = parcel.readLong(); 1149 gpsMeasurement.mCn0InDbHz = parcel.readDouble(); 1150 gpsMeasurement.mPseudorangeRateInMetersPerSec = parcel.readDouble(); 1151 gpsMeasurement.mPseudorangeRateUncertaintyInMetersPerSec = parcel.readDouble(); [all …]
|
D | GpsClock.java | 409 public GpsClock createFromParcel(Parcel parcel) { 412 gpsClock.mFlags = (short) parcel.readInt(); 413 gpsClock.mLeapSecond = (short) parcel.readInt(); 414 gpsClock.mType = parcel.readByte(); 415 gpsClock.mTimeInNs = parcel.readLong(); 416 gpsClock.mTimeUncertaintyInNs = parcel.readDouble(); 417 gpsClock.mFullBiasInNs = parcel.readLong(); 418 gpsClock.mBiasInNs = parcel.readDouble(); 419 gpsClock.mBiasUncertaintyInNs = parcel.readDouble(); 420 gpsClock.mDriftInNsPerSec = parcel.readDouble(); [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrintJobInfo.java | 194 private PrintJobInfo(Parcel parcel) { in PrintJobInfo() argument 195 mId = parcel.readParcelable(null); in PrintJobInfo() 196 mLabel = parcel.readString(); in PrintJobInfo() 197 mPrinterId = parcel.readParcelable(null); in PrintJobInfo() 198 mPrinterName = parcel.readString(); in PrintJobInfo() 199 mState = parcel.readInt(); in PrintJobInfo() 200 mAppId = parcel.readInt(); in PrintJobInfo() 201 mTag = parcel.readString(); in PrintJobInfo() 202 mCreationTime = parcel.readLong(); in PrintJobInfo() 203 mCopies = parcel.readInt(); in PrintJobInfo() [all …]
|
D | PrinterCapabilitiesInfo.java | 184 private PrinterCapabilitiesInfo(Parcel parcel) { in PrinterCapabilitiesInfo() argument 185 mMinMargins = readMargins(parcel); in PrinterCapabilitiesInfo() 186 readMediaSizes(parcel); in PrinterCapabilitiesInfo() 187 readResolutions(parcel); in PrinterCapabilitiesInfo() 189 mColorModes = parcel.readInt(); in PrinterCapabilitiesInfo() 191 readDefaults(parcel); in PrinterCapabilitiesInfo() 200 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 201 writeMargins(mMinMargins, parcel); in writeToParcel() 202 writeMediaSizes(parcel); in writeToParcel() 203 writeResolutions(parcel); in writeToParcel() [all …]
|
/frameworks/base/tools/aidl/ |
D | Type.cpp | 230 Type::WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, int flags) in WriteToParcel() argument 239 Type::CreateFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, Variable**) in CreateFromParcel() argument 248 Type::ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, Variable**) in ReadFromParcel() argument 257 Type::WriteArrayToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, int flags) in WriteArrayToParcel() argument 267 Variable* parcel, Variable**) in CreateArrayFromParcel() argument 276 Type::ReadArrayFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, Variable**) in ReadArrayFromParcel() argument 345 BasicType::WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, int flags) in WriteToParcel() argument 347 addTo->Add(new MethodCall(parcel, m_marshallParcel, 1, v)); in WriteToParcel() 351 BasicType::CreateFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, Variable**) in CreateFromParcel() argument 353 addTo->Add(new Assignment(v, new MethodCall(parcel, m_unmarshallParcel))); in CreateFromParcel() [all …]
|
D | Type.h | 49 Variable* parcel, int flags); 51 Variable* parcel, Variable** cl); 53 Variable* parcel, Variable** cl); 58 Variable* parcel, int flags); 60 Variable* parcel, Variable** cl); 62 Variable* parcel, Variable** cl); 104 Variable* parcel, int flags); 106 Variable* parcel, Variable** cl); 111 Variable* parcel, int flags); 113 Variable* parcel, Variable** cl); [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowInfo.java | 91 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 92 parcel.writeInt(type); in writeToParcel() 93 parcel.writeInt(layer); in writeToParcel() 94 parcel.writeStrongBinder(token); in writeToParcel() 95 parcel.writeStrongBinder(parentToken); in writeToParcel() 96 parcel.writeInt(focused ? 1 : 0); in writeToParcel() 97 boundsInScreen.writeToParcel(parcel, flags); in writeToParcel() 100 parcel.writeInt(1); in writeToParcel() 101 parcel.writeBinderList(childTokens); in writeToParcel() 103 parcel.writeInt(0); in writeToParcel() [all …]
|
D | WindowContentFrameStats.java | 71 private WindowContentFrameStats(Parcel parcel) { in WindowContentFrameStats() argument 72 mRefreshPeriodNano = parcel.readLong(); in WindowContentFrameStats() 73 mFramesPostedTimeNano = parcel.createLongArray(); in WindowContentFrameStats() 74 mFramesPresentedTimeNano = parcel.createLongArray(); in WindowContentFrameStats() 75 mFramesReadyTimeNano = parcel.createLongArray(); in WindowContentFrameStats() 122 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 123 parcel.writeLong(mRefreshPeriodNano); in writeToParcel() 124 parcel.writeLongArray(mFramesPostedTimeNano); in writeToParcel() 125 parcel.writeLongArray(mFramesPresentedTimeNano); in writeToParcel() 126 parcel.writeLongArray(mFramesReadyTimeNano); in writeToParcel() [all …]
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 60 const Parcel &parcel) { in FromParcel() argument 62 size_t size = static_cast<size_t>(parcel.readInt32()); in FromParcel() 65 profileLevel.mProfile = static_cast<uint32_t>(parcel.readInt32()); in FromParcel() 66 profileLevel.mLevel = static_cast<uint32_t>(parcel.readInt32()); in FromParcel() 71 size = static_cast<size_t>(parcel.readInt32()); in FromParcel() 73 uint32_t color = static_cast<uint32_t>(parcel.readInt32()); in FromParcel() 78 uint32_t flags = static_cast<uint32_t>(parcel.readInt32()); in FromParcel() 79 sp<AMessage> details = AMessage::FromParcel(parcel); in FromParcel() 87 status_t MediaCodecInfo::Capabilities::writeToParcel(Parcel *parcel) const { in writeToParcel() 89 parcel->writeInt32(mProfileLevels.size()); in writeToParcel() [all …]
|
/frameworks/av/camera/camera2/ |
D | CaptureRequest.cpp | 29 status_t CaptureRequest::readFromParcel(Parcel* parcel) { in readFromParcel() argument 30 if (parcel == NULL) { in readFromParcel() 40 if ((err = mMetadata.readFromParcel(parcel)) != OK) { in readFromParcel() 47 if ((err = parcel->readInt32(&size)) != OK) { in readFromParcel() 57 const char16_t* className = parcel->readString16Inplace(&len); in readFromParcel() 66 String16 name = parcel->readString16(); in readFromParcel() 69 sp<IBinder> binder(parcel->readStrongBinder()); in readFromParcel() 87 status_t CaptureRequest::writeToParcel(Parcel* parcel) const { in writeToParcel() 88 if (parcel == NULL) { in writeToParcel() 95 if ((err = mMetadata.writeToParcel(parcel)) != OK) { in writeToParcel() [all …]
|