Home
last modified time | relevance | path

Searched refs:userdata (Results 1 – 16 of 16) 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.cpp45 void *userdata; member
59 AMediaDataSource_setUserdata(mDataSource, dataSource->userdata); in NdkDataSource()
79 if (mDataSource->readAt == NULL || mDataSource->userdata == NULL) { in readAt()
82 return mDataSource->readAt(mDataSource->userdata, offset, data, size); in readAt()
87 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize()
91 *size = mDataSource->getSize(mDataSource->userdata); in getSize()
105 if (mDataSource->close != NULL && mDataSource->userdata != NULL) { in close()
106 mDataSource->close(mDataSource->userdata); in close()
113 && mDataSource->userdata != NULL in getAvailableSize()
115 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.cpp81 typedef void (*OnCodecEvent)(AMediaCodec *codec, void *userdata);
434 void *userdata) { in AMediaCodec_setAsyncNotifyCallback() argument
435 if (mData->mAsyncNotify == NULL && userdata != NULL) { in AMediaCodec_setAsyncNotifyCallback()
446 mData->mAsyncCallbackUserData = userdata; in AMediaCodec_setAsyncNotifyCallback()
738 void *userdata) { in AMediaCodec_setNotificationCallback() argument
740 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.h62 void *userdata, off64_t offset, void * buffer, size_t size);
69 typedef ssize_t (*AMediaDataSourceGetSize)(void *userdata);
86 typedef void (*AMediaDataSourceClose)(void *userdata);
104 typedef ssize_t (*AMediaDataSourceGetAvailableSize)(void *userdata, off64_t offset);
143 AMediaDataSource*, void *userdata) __INTRODUCED_IN(28);
DNdkMediaCodec.h81 void *userdata,
90 void *userdata,
99 void *userdata,
112 void *userdata,
449 void *userdata) __INTRODUCED_IN(28);
/frameworks/av/media/libmedia/include/media/
DNdkWrapper.h204 void *userdata,
207 void *userdata,
211 void *userdata,
214 void *userdata,
/frameworks/wilhelm/src/desktop/
DSDL.cpp57 fmt.userdata = (void *) thisEngine; in SDL_open()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java662 public void setUserData(Object userdata) { in setUserData() argument
663 mUserData = userdata; in setUserData()
/frameworks/base/core/java/android/accounts/
DAccountManager.java911 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
914 return mService.addAccountExplicitly(account, password, userdata);
/frameworks/base/cmds/statsd/src/
Datoms.proto7732 // Remounting userdata into checkpointing mode failed.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2753 field public static final java.lang.String KEY_USERDATA = "userdata";
/frameworks/base/non-updatable-api/
Dcurrent.txt3119 field public static final String KEY_USERDATA = "userdata";
/frameworks/base/api/
Dcurrent.txt3119 field public static final String KEY_USERDATA = "userdata";