Home
last modified time | relevance | path

Searched refs:userdata (Results 1 – 13 of 13) 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.cpp47 void *userdata; member
61 AMediaDataSource_setUserdata(mDataSource, dataSource->userdata); in NdkDataSource()
81 if (mDataSource->readAt == NULL || mDataSource->userdata == NULL) { in readAt()
84 return mDataSource->readAt(mDataSource->userdata, offset, data, size); in readAt()
89 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize()
93 *size = mDataSource->getSize(mDataSource->userdata); in getSize()
107 if (mDataSource->close != NULL && mDataSource->userdata != NULL) { in close()
108 mDataSource->close(mDataSource->userdata); in close()
115 && mDataSource->userdata != NULL in getAvailableSize()
117 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);
428 void *userdata) { in AMediaCodec_setAsyncNotifyCallback() argument
429 if (mData->mAsyncNotify == NULL && userdata != NULL) { in AMediaCodec_setAsyncNotifyCallback()
440 mData->mAsyncCallbackUserData = userdata; in AMediaCodec_setAsyncNotifyCallback()
732 void *userdata) { in AMediaCodec_setNotificationCallback() argument
734 mData->mCallbackUserData = userdata; in AMediaCodec_setNotificationCallback()
/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);
102 typedef ssize_t (*AMediaDataSourceGetAvailableSize)(void *userdata, off64_t offset);
136 AMediaDataSource*, void *userdata) __INTRODUCED_IN(28);
DNdkMediaCodec.h81 void *userdata,
90 void *userdata,
99 void *userdata,
112 void *userdata,
389 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/av/media/libmedia/
DNdkWrapper.cpp807 void *userdata, in OnInputAvailableCB() argument
810 sp<AMessage> msg = sp<AMessage>((AMessage *)userdata)->dup(); in OnInputAvailableCB()
819 void *userdata, in OnOutputAvailableCB() argument
825 sp<AMessage> msg = sp<AMessage>((AMessage *)userdata)->dup(); in OnOutputAvailableCB()
838 void *userdata, in OnFormatChangedCB() argument
844 sp<AMessage> msg = sp<AMessage>((AMessage *)userdata)->dup(); in OnFormatChangedCB()
853 void *userdata, in OnErrorCB() argument
858 sp<AMessage> msg = sp<AMessage>((AMessage *)userdata)->dup(); in OnErrorCB()
/frameworks/wilhelm/src/desktop/
DSDL.cpp57 fmt.userdata = (void *) thisEngine; in SDL_open()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java624 public void setUserData(Object userdata) { in setUserData() argument
625 mUserData = userdata; in setUserData()
/frameworks/base/core/java/android/accounts/
DAccountManager.java880 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) {
883 return mService.addAccountExplicitly(account, password, userdata);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2753 field public static final java.lang.String KEY_USERDATA = "userdata";
/frameworks/base/api/
Dcurrent.txt3117 field public static final String KEY_USERDATA = "userdata";