Home
last modified time | relevance | path

Searched refs:userdata (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaDataSourceCallbacks.cpp26 ssize_t DataSource_getSize(void *userdata) { in DataSource_getSize() argument
27 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_getSize()
33 ssize_t DataSource_readAt(void *userdata, off64_t offset, void * buf, size_t size) { in DataSource_readAt() argument
34 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_readAt()
38 void DataSource_close(void *userdata) { in DataSource_close() argument
39 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_close()
43 ssize_t DataSource_getAvailableSize(void *userdata, off64_t offset) { in DataSource_getAvailableSize() argument
45 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_getAvailableSize()
DNdkMediaDataSource.cpp46 void *userdata; member
60 AMediaDataSource_setUserdata(mDataSource, dataSource->userdata); in NdkDataSource()
80 if (mDataSource->readAt == NULL || mDataSource->userdata == NULL) { in readAt()
83 return mDataSource->readAt(mDataSource->userdata, offset, data, size); in readAt()
88 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize()
92 *size = mDataSource->getSize(mDataSource->userdata); in getSize()
106 if (mDataSource->close != NULL && mDataSource->userdata != NULL) { in close()
107 mDataSource->close(mDataSource->userdata); in close()
114 && mDataSource->userdata != NULL in getAvailableSize()
116 size = mDataSource->getAvailableSize(mDataSource->userdata, offset); in getAvailableSize()
[all …]
DNdkMediaDataSourceCallbacksPriv.h28 ssize_t DataSource_getSize(void *userdata);
30 ssize_t DataSource_readAt(void *userdata, off64_t offset, void * buf, size_t size);
32 void DataSource_close(void *userdata);
34 ssize_t DataSource_getAvailableSize(void *userdata, off64_t offset);
DNdkMediaCodec.cpp106 typedef void (*OnCodecEvent)(AMediaCodec *codec, void *userdata);
567 void *userdata) { in AMediaCodec_setAsyncNotifyCallback() argument
578 mData->mAsyncCallbackUserData = userdata; in AMediaCodec_setAsyncNotifyCallback()
601 void *userdata) { in AMediaCodec_setOnFrameRenderedCallback() argument
613 mData->mFrameRenderedCallbackUserData = userdata; in AMediaCodec_setOnFrameRenderedCallback()
904 void *userdata) { in AMediaCodec_setNotificationCallback() argument
906 mData->mCallbackUserData = userdata; in AMediaCodec_setNotificationCallback()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.cpp31 void OnInputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index) { in OnInputAvailableCB() argument
33 CallBackHandle *self = (CallBackHandle *)userdata; in OnInputAvailableCB()
38 void OnOutputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index, in OnOutputAvailableCB() argument
42 CallBackHandle *self = (CallBackHandle *)userdata; in OnOutputAvailableCB()
51 void OnFormatChangedCB(AMediaCodec *codec, void *userdata, AMediaFormat *format) { in OnFormatChangedCB() argument
53 CallBackHandle *self = (CallBackHandle *)userdata; in OnFormatChangedCB()
57 void OnErrorCB(AMediaCodec *codec, void *userdata, media_status_t err, int32_t actionCode, in OnErrorCB() argument
61 CallBackHandle *self = (CallBackHandle *)userdata; in OnErrorCB()
DBenchmarkCommon.h121 void OnInputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index);
123 void OnOutputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index,
126 void OnFormatChangedCB(AMediaCodec *codec, void *userdata, AMediaFormat *format);
/frameworks/av/media/ndk/include/media/
DNdkMediaDataSource.h68 void *userdata, off64_t offset, void * buffer, size_t size);
75 typedef ssize_t (*AMediaDataSourceGetSize)(void *userdata);
92 typedef void (*AMediaDataSourceClose)(void *userdata);
108 typedef ssize_t (*AMediaDataSourceGetAvailableSize)(void *userdata, off64_t offset);
145 AMediaDataSource*, void *userdata) __INTRODUCED_IN(28);
DNdkMediaCodec.h113 void *userdata,
122 void *userdata,
131 void *userdata,
144 void *userdata,
171 void *userdata,
502 void *userdata) __INTRODUCED_IN(28);
535 void *userdata) __INTRODUCED_IN(__ANDROID_API_T__);
/frameworks/av/media/ndk/fuzzer/
Dndk_async_codec_fuzzer.cpp99 static void onAsyncInputAvailable(AMediaCodec* codec, void* userdata, int32_t index) { in onAsyncInputAvailable() argument
100 CallBackHandle* self = (CallBackHandle*)userdata; in onAsyncInputAvailable()
104 static void onAsyncOutputAvailable(AMediaCodec* codec, void* userdata, int32_t index, in onAsyncOutputAvailable() argument
106 CallBackHandle* self = (CallBackHandle*)userdata; in onAsyncOutputAvailable()
114 static void onAsyncFormatChanged(AMediaCodec* codec, void* userdata, AMediaFormat* format) { in onAsyncFormatChanged() argument
116 (void)userdata; in onAsyncFormatChanged()
120 static void onAsyncError(AMediaCodec* codec, void* userdata, media_status_t err, int32_t actionCode, in onAsyncError() argument
122 CallBackHandle* self = (CallBackHandle*)userdata; in onAsyncError()
150 static void codecOnFrameRendered(AMediaCodec* codec, void* userdata, int64_t mediaTimeUs, in codecOnFrameRendered() argument
153 (void)userdata; in codecOnFrameRendered()
Dndk_sync_codec_fuzzer.cpp28 static void CodecOnFrameRendered(AMediaCodec* codec, void* userdata, int64_t mediaTimeUs, in CodecOnFrameRendered() argument
31 (void)userdata; in CodecOnFrameRendered()
/frameworks/libs/native_bridge_support/android_api/libmediandk/proxy/
Dmedia_trampolines.cc129 userdata] = GuestParamsValues<PFN_callback>(state); in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback()
142 ret = AMediaCodec_setAsyncNotifyCallback(codec, host_cb, userdata); in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback()
149 auto [codec, cb, userdata] = in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback()
167 ret = AMediaCodec_setAsyncNotifyCallback(codec, host_cb, userdata); in DoCustomTrampoline_AMediaCodec_setAsyncNotifyCallback()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DVideoTrackTranscoder.cpp119 static void onAsyncInputAvailable(AMediaCodec* codec, void* userdata, int32_t index) { in onAsyncInputAvailable()
121 static_cast<VideoTrackTranscoder::CodecWrapper*>(userdata); in onAsyncInputAvailable()
130 static void onAsyncOutputAvailable(AMediaCodec* codec, void* userdata, int32_t index, in onAsyncOutputAvailable()
133 static_cast<VideoTrackTranscoder::CodecWrapper*>(userdata); in onAsyncOutputAvailable()
146 static void onAsyncFormatChanged(AMediaCodec* codec, void* userdata, AMediaFormat* format) { in onAsyncFormatChanged()
148 static_cast<VideoTrackTranscoder::CodecWrapper*>(userdata); in onAsyncFormatChanged()
159 static void onAsyncError(AMediaCodec* codec, void* userdata, media_status_t error, in onAsyncError()
161 LOG(ERROR) << "Error from codec " << codec << ", userdata " << userdata << ", error " in onAsyncError()
164 static_cast<VideoTrackTranscoder::CodecWrapper*>(userdata); in onAsyncError()
/frameworks/av/media/libmedia/include/media/
DNdkWrapper.h204 void *userdata,
207 void *userdata,
211 void *userdata,
214 void *userdata,
/frameworks/native/libs/binder/rust/src/
Dnative.rs438 let userdata = unsafe { sys::AIBinder_getUserData(ibinder.as_native_mut()) }; in try_from() localVariable
439 if userdata.is_null() { in try_from()
445 Ok(Binder { ibinder: ibinder.as_native_mut(), rust_object: userdata as *mut B }) in try_from()
/frameworks/wilhelm/src/desktop/
DSDL.cpp57 fmt.userdata = (void *) thisEngine; in SDL_open()
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md26 * A backup copy of the userdata for the package com.example.foo is made and
40 * The userdata for com.example.foo is replaced by the backed-up copy of the user
154 * Insufficient space for apk or userdata backups.
182 available rollback is expired, the backed up apk and userdata associated with
293 backup copies of the apk and userdata for a package. If the time limit is
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java820 public void setUserData(Object userdata) { in setUserData() argument
821 mUserData = userdata; in setUserData()
/frameworks/base/core/java/android/accounts/
DAccountManager.java1016 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
1020 account, password, userdata, mContext.getOpPackageName());
/frameworks/proto_logging/stats/
Datoms.proto14856 // Remounting userdata into checkpointing mode failed.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2753 field public static final java.lang.String KEY_USERDATA = "userdata";
/frameworks/base/core/api/
Dcurrent.txt3849 field public static final String KEY_USERDATA = "userdata";