Searched defs:parcel (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSource.h44 // Returns subtitle parcel and its start time.
48 Parcel *parcel,
50 virtual status_t extractGlobalDescriptions(Parcel *parcel) { argument
H A DTimedTextPlayer.h60 Parcel parcel; member in struct:android::TimedTextPlayer::ParcelEvent
70 void postTextEvent(const sp<ParcelEvent>& parcel = NULL, int64_t timeUs = -1);
71 void postTextEventDelayUs(const sp<ParcelEvent>& parcel = NULL, int64_t delayUs = -1);
73 void notifyListener(const Parcel *parcel = NULL);
H A DTextDescriptions.cpp28 uint32_t flags, int timeMs, Parcel *parcel) {
29 parcel->freeData();
33 return extract3GPPGlobalDescriptions(data, size, parcel, 0);
35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0);
39 return extractSRTLocalDescriptions(data, size, timeMs, parcel);
50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) {
51 parcel->writeInt32(KEY_LOCAL_SETTING);
52 parcel->writeInt32(KEY_START_TIME);
53 parcel->writeInt32(timeMs);
55 parcel
26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument
49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument
70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel, int depth) argument
287 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel, int depth) argument
[all...]
H A DTimedText3GPPSource.cpp42 int64_t *startTimeUs, int64_t *endTimeUs, Parcel *parcel,
52 extractAndAppendLocalDescriptions(*startTimeUs, textBuffer, parcel);
66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) {
79 parcel->freeData();
82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
90 status_t TimedText3GPPSource::extractGlobalDescriptions(Parcel *parcel) { argument
110 (const uint8_t *)data, size, flag, 0, parcel);
41 read( int64_t *startTimeUs, int64_t *endTimeUs, Parcel *parcel, const MediaSource::ReadOptions *options) argument
65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
H A DTimedTextDriver.cpp223 void TimedTextDriver::getExternalTrackInfo(Parcel *parcel) { argument
233 parcel->writeInt32(2);
236 parcel->writeInt32(MEDIA_TRACK_TYPE_TIMEDTEXT);
241 parcel->writeString16(String16(lang));
H A DTimedTextPlayer.cpp118 notifyListener(&(parcelEvent->parcel));
138 Parcel parcel; local
139 err = mSource->extractGlobalDescriptions(&parcel);
144 notifyListener(&parcel);
161 &(parcelEvent->parcel), options);
187 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument
200 postTextEventDelayUs(parcel, delayUs);
204 void TimedTextPlayer::postTextEventDelayUs(const sp<ParcelEvent>& parcel, int64_t delayUs) { argument
209 if (parcel != NULL) {
210 msg->setObject("subtitle", parcel);
223 notifyListener(const Parcel *parcel) argument
[all...]
H A DTimedTextSRTSource.cpp69 Parcel *parcel,
78 extractAndAppendLocalDescriptions(*startTimeUs, text, parcel);
279 int64_t timeUs, const AString &text, Parcel *parcel) {
287 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
66 read( int64_t *startTimeUs, int64_t *endTimeUs, Parcel *parcel, const MediaSource::ReadOptions *options) argument
278 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
/frameworks/native/services/surfaceflinger/tests/surface/
H A Dsurface.cpp46 Parcel parcel; local
47 SurfaceControl::writeSurfaceToParcel(surfaceControl, &parcel);
48 parcel.setDataPosition(0);
49 sp<Surface> surface = Surface::readFromParcel(parcel);
/frameworks/base/core/java/android/accounts/
H A DAccountManagerResponse.java37 public AccountManagerResponse(Parcel parcel) { argument
39 IAccountManagerResponse.Stub.asInterface(parcel.readStrongBinder());
H A DAccountAuthenticatorResponse.java40 public AccountAuthenticatorResponse(Parcel parcel) { argument
42 IAccountAuthenticatorResponse.Stub.asInterface(parcel.readStrongBinder());
/frameworks/base/core/java/android/content/
H A DSyncInfo.java63 public void writeToParcel(Parcel parcel, int flags) { argument
64 parcel.writeInt(authorityId);
65 account.writeToParcel(parcel, 0);
66 parcel.writeString(authority);
67 parcel.writeLong(startTime);
71 SyncInfo(Parcel parcel) { argument
72 authorityId = parcel.readInt();
73 account = new Account(parcel);
74 authority = parcel.readString();
75 startTime = parcel
[all...]
H A DSyncResult.java138 private SyncResult(Parcel parcel) { argument
139 syncAlreadyInProgress = parcel.readInt() != 0;
140 tooManyDeletions = parcel.readInt() != 0;
141 tooManyRetries = parcel.readInt() != 0;
142 databaseError = parcel.readInt() != 0;
143 fullSyncRequested = parcel.readInt() != 0;
144 partialSyncUnavailable = parcel.readInt() != 0;
145 moreRecordsToGet = parcel.readInt() != 0;
146 delayUntil = parcel.readLong();
147 stats = new SyncStats(parcel);
237 writeToParcel(Parcel parcel, int flags) argument
[all...]
H A DContentValues.java479 public void writeToParcel(Parcel parcel, int flags) { argument
480 parcel.writeMap(mValues);
H A DSyncStatusInfo.java68 public void writeToParcel(Parcel parcel, int flags) { argument
69 parcel.writeInt(VERSION);
70 parcel.writeInt(authorityId);
71 parcel.writeLong(totalElapsedTime);
72 parcel.writeInt(numSyncs);
73 parcel.writeInt(numSourcePoll);
74 parcel.writeInt(numSourceServer);
75 parcel.writeInt(numSourceLocal);
76 parcel.writeInt(numSourceUser);
77 parcel
95 SyncStatusInfo(Parcel parcel) argument
[all...]
/frameworks/base/location/java/android/location/
H A DGeocoderParams.java88 public void writeToParcel(Parcel parcel, int flags) { argument
89 parcel.writeString(mLocale.getLanguage());
90 parcel.writeString(mLocale.getCountry());
91 parcel.writeString(mLocale.getVariant());
92 parcel.writeString(mPackageName);
H A DCountry.java150 public void writeToParcel(Parcel parcel, int flags) { argument
151 parcel.writeString(mCountryIso);
152 parcel.writeInt(mSource);
153 parcel.writeLong(mTimestamp);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java156 public void writeToParcel(Parcel parcel, int flags) { argument
157 parcel.writeInt(mAddress);
158 parcel.writeInt(mAttributes);
159 parcel.writeInt(mMaxPacketSize);
160 parcel.writeInt(mInterval);
H A DUsbInterface.java140 public void writeToParcel(Parcel parcel, int flags) { argument
141 parcel.writeInt(mId);
142 parcel.writeInt(mClass);
143 parcel.writeInt(mSubclass);
144 parcel.writeInt(mProtocol);
145 parcel.writeParcelableArray(mEndpoints, 0);
H A DUsbAccessory.java216 public void writeToParcel(Parcel parcel, int flags) { argument
217 parcel.writeString(mManufacturer);
218 parcel.writeString(mModel);
219 parcel.writeString(mDescription);
220 parcel.writeString(mVersion);
221 parcel.writeString(mUri);
222 parcel.writeString(mSerial);
/frameworks/native/libs/gui/
H A DISurfaceComposerClient.cpp119 status_t ISurfaceComposerClient::surface_data_t::readFromParcel(const Parcel& parcel) argument
121 token = parcel.readInt32();
122 identity = parcel.readInt32();
126 status_t ISurfaceComposerClient::surface_data_t::writeToParcel(Parcel* parcel) const
128 parcel->writeInt32(token);
129 parcel->writeInt32(identity);
/frameworks/base/cmds/service/
H A Dservice.cpp20 void writeString16(Parcel& parcel, const char* string) argument
24 parcel.writeString16(String16(string));
28 parcel.writeInt32(-1);
266 " i32: Write the integer INT into the send parcel.\n"
267 " s16: Write the UTF-16 string STR into the send parcel.\n";
268 // " intent: Write and Intent int the send parcel. ARGS can be\n"
/frameworks/base/core/java/android/view/
H A DInputChannel.java55 private native void nativeReadFromParcel(Parcel parcel); argument
56 private native void nativeWriteToParcel(Parcel parcel); argument
/frameworks/base/libs/androidfw/tests/
H A DInputEvent_test.cpp143 Parcel parcel; local
150 inCoords.writeToParcel(&parcel);
151 parcel.setDataPosition(0);
152 outCoords.readFromParcel(&parcel);
157 parcel.freeData();
161 inCoords.writeToParcel(&parcel);
162 parcel.setDataPosition(0);
163 outCoords.readFromParcel(&parcel);
508 Parcel parcel; local
515 inEvent.writeToParcel(&parcel);
[all...]
/frameworks/native/include/binder/
H A DParcel.h59 status_t appendFrom(const Parcel *parcel,
105 // Place a native_handle into the parcel (the native_handle's file-
111 // Place a file descriptor into the parcel. The given fd must remain
112 // valid for the lifetime of the parcel.
116 // Place a file descriptor into the parcel. A dup of the fd is made, which
117 // will be closed once the parcel is destroyed.
120 // Writes a blob to the parcel.
163 // Retrieve native_handle from the parcel. This returns a copy of the
164 // parcel's native_handle (the caller takes ownership). The caller
170 // Retrieve a file descriptor from the parcel
270 operator <<(TextOutput& to, const Parcel& parcel) argument
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityServiceInfo.java442 public void writeToParcel(Parcel parcel, int flagz) { argument
443 parcel.writeInt(eventTypes);
444 parcel.writeStringArray(packageNames);
445 parcel.writeInt(feedbackType);
446 parcel.writeLong(notificationTimeout);
447 parcel.writeInt(flags);
448 parcel.writeString(mId);
449 parcel.writeParcelable(mResolveInfo, 0);
450 parcel.writeString(mSettingsActivityName);
451 parcel
456 initFromParcel(Parcel parcel) argument
[all...]

Completed in 497 milliseconds

123