Searched refs:userData (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java118 assertEquals("Test standard SMS", bearerData.userData.payloadStr);
125 assertEquals("bjjj", bearerData.userData.payloadStr);
132 assertEquals("SMS Rulz", bearerData.userData.payloadStr);
139 assertEquals("SMS Rulz", bearerData.userData.payloadStr);
148 UserData userData = new UserData();
149 userData.payloadStr = "Test standard SMS";
150 userData.msgEncoding = UserData.ENCODING_7BIT_ASCII;
151 userData.msgEncodingSet = true;
152 bearerData.userData = userData;
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davcapi_common.h178 /** In AVCDecControls structure, userData is a pointer to an object with the following
187 @param userData The same value of userData in AVCHandle object.
193 typedef int (*FunctionType_DPBAlloc)(void *userData, uint frame_size_in_mbs, uint num_buffers);
197 @param userData The same value of userData in AVCHandle object.
202 typedef int (*FunctionType_FrameBind)(void *userData, int indx, uint8 **yuv);
206 @param userData The same value of userData in AVCHandle object.
210 typedef void (*FuctionType_FrameUnbind)(void *userData, in
246 void *userData; member in struct:tagAVCHandle
[all...]
/frameworks/native/include/utils/
H A DAndroidThreads.h41 void *userData,
53 void *userData,
62 void *userData,
105 void *userData,
111 return androidCreateThreadEtc(entryFunction, userData, threadName,
104 createThreadEtc(thread_func_t entryFunction, void *userData, const char* threadName = Ó, int32_t threadPriority = PRIORITY_DEFAULT, size_t threadStackSize = 0, thread_id_t *threadId = 0) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp62 uint32 *userData = (uint32*) avcHandle->userData; local
73 avcHandle->AVCObject = (void*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncObject), DEFAULT_ATTR);
85 encvid->common = (AVCCommonObj*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCCommonObj), DEFAULT_ATTR);
94 encvid->bitstream = (AVCEncBitstream*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncBitstream), DEFAULT_ATTR);
102 video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR);
109 video->currPicParams = (AVCPicParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR);
116 video->sliceHdr = (AVCSliceHeader*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSliceHeader), DEFAULT_ATTR);
123 video->decPicBuf = (AVCDecPicBuffer*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCDecPicBuffer), DEFAULT_ATTR);
130 encvid->rateCtrl = (AVCRateControl*) avcHandle->CBAVC_Malloc(userData, sizeo
595 uint32 *userData = (uint32*) avcHandle->userData; local
[all...]
H A Dbitstream_io.cpp148 //DEBUG_LOG(userData,AVC_LOGTYPE_INFO,"BitstreamWriteBits",nBits,-1);
199 //DEBUG_LOG(userData,AVC_LOGTYPE_INFO,"BitstreamWrite1Bit",code,-1);
278 encvid->avcHandle->CBAVC_Free(encvid->avcHandle->userData,
283 encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData,
305 encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData,
317 encvid->avcHandle->CBAVC_Free(encvid->avcHandle->userData,
H A Drate_control.cpp178 rateCtrl->MADofMB = (double*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData,
188 rateCtrl->pMP = (MultiPass*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, sizeof(MultiPass), DEFAULT_ATTR);
196 rateCtrl->pMP->pRDSamples = (RDInfo **)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (30 * sizeof(RDInfo *)), DEFAULT_ATTR);
204 rateCtrl->pMP->pRDSamples[i] = (RDInfo *)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (32 * sizeof(RDInfo)), DEFAULT_ATTR);
301 avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->MADofMB);
312 avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->pMP->pRDSamples[i]);
315 avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->pMP->pRDSamples);
317 avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->pMP);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java72 Object userData; field in class:Connection
209 return userData;
217 this.userData = userdata;
249 userData = null;
H A DSmsMessageBase.java60 protected byte[] userData; field in class:SmsMessageBase
243 return userData;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java212 public UserData userData; field in class:BearerData
437 builder.append(", userData=" + userData);
685 * TODO(cleanup): Do we really need to set userData.payload as
689 encodeUserDataPayload(bData.userData);
690 bData.hasUserDataHeader = bData.userData.userDataHeader != null;
692 if (bData.userData.payload.length > SmsConstants.MAX_USER_DATA_BYTES) {
694 bData.userData.payload.length +
701 * userData.paddingBits = (userData
1084 decodeUserDataPayload(UserData userData, boolean hasUserDataHeader) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp26 void *userData = avcHandle->userData; local
51 avcHandle->CBAVC_Free(userData, (int)dpb->decoded_picture_buffer);
72 dpb->decoded_picture_buffer = (uint8*) avcHandle->CBAVC_Malloc(userData, dpb->dpb_size, 100/*DPB_MEM_ATTR*/);
83 dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*DEFAULT_ATTR*/);
110 void *userData = avcHandle->userData; local
138 avcHandle->CBAVC_DPBAlloc(avcHandle->userData,
143 avcHandle->CBAVC_DPBAlloc(avcHandle->userData, PicSizeInMapUnits, num_fs);
155 avcHandle->CBAVC_Free(userData, vide
209 void *userData = avcHandle->userData; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java283 byte[] userData;
286 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header,
290 userData = encodeUCS2(message, header);
302 userData = encodeUCS2(message, header);
313 if ((0xff & userData[0]) > MAX_USER_DATA_SEPTETS) {
315 Log.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)");
328 if ((0xff & userData[0]) > MAX_USER_DATA_BYTES) {
330 Log.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " bytes)");
339 bo.write(userData, 0, userData
503 byte[] userData; field in class:SmsMessage.PduParser
[all...]
/frameworks/native/include/binder/
H A DProcessState.h54 void* userData);
59 void* userData);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DCallbackFilter.java43 @GenerateFieldPort(name = "userData", hasDefault = true)
57 public CallbackRunnable(FilterContext.OnFrameReceivedListener listener, Filter filter, Frame frame, Object userData) { argument
61 mUserData = userData;
/frameworks/base/core/jni/android/graphics/
H A DHarfbuzzSkia.cpp53 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
72 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
97 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
121 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
145 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
167 SkPaint* paint = static_cast<SkPaint*>(hbFont->userData);
/frameworks/base/tools/aapt/
H A DXMLNode.h153 startNamespace(void *userData, const char *prefix, const char *uri);
155 startElement(void *userData, const char *name, const char **atts);
157 characterData(void *userData, const XML_Char *s, int len);
159 endElement(void *userData, const char *name);
161 endNamespace(void *userData, const char *prefix);
164 commentData(void *userData, const char *comment);
H A DXMLNode.cpp1112 XMLNode::startNamespace(void *userData, const char *prefix, const char *uri)
1115 ParseState* st = (ParseState*)userData;
1128 XMLNode::startElement(void *userData, const char *name, const char **atts)
1131 ParseState* st = (ParseState*)userData;
1154 XMLNode::characterData(void *userData, const XML_Char *s, int len)
1157 ParseState* st = (ParseState*)userData;
1181 XMLNode::endElement(void *userData, const char *name)
1184 ParseState* st = (ParseState*)userData;
1200 XMLNode::endNamespace(void *userData, const char *prefix)
1204 ParseState* st = (ParseState*)userData;
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp68 VO_CODEC_INIT_USERDATA userData; local
69 memset(&userData, 0, sizeof(userData));
70 userData.memflag = VO_IMF_USERMEMOPERATOR;
71 userData.memData = (VO_PTR) mMemOperator;
72 if (VO_ERR_NONE != mApiHandle->Init(&mEncoderHandle, VO_AUDIO_CodingAAC, &userData)) {
H A DSoftAACEncoder.cpp136 VO_CODEC_INIT_USERDATA userData; local
137 memset(&userData, 0, sizeof(userData));
138 userData.memflag = VO_IMF_USERMEMOPERATOR;
139 userData.memData = (VO_PTR) mMemOperator;
141 mApiHandle->Init(&mEncoderHandle, VO_AUDIO_CodingAAC, &userData)) {
/frameworks/native/libs/utils/
H A DThreads.cpp87 void* userData; member in struct:thread_data_t
95 void* u = t->userData;
137 void *userData,
160 t->userData = userData;
162 userData = t;
173 (android_pthread_entry)entryFunction, userData);
269 void *userData,
275 return doCreateThread( fn, userData, threadId);
304 void *userData,
136 androidCreateRawThreadEtc(android_thread_func_t entryFunction, void *userData, const char* threadName, int32_t threadPriority, size_t threadStackSize, android_thread_id_t *threadId) argument
303 androidCreateThreadEtc(android_thread_func_t entryFunction, void *userData, const char* threadName, int32_t threadPriority, size_t threadStackSize, android_thread_id_t *threadId) argument
[all...]
/frameworks/base/include/android_runtime/
H A DAndroidRuntime.h132 void* userData,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java357 * @param userData the data for the message
363 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, argument
365 return privateGetSubmitPdu(destAddr, statusReportRequested, userData);
414 (mBearerData.userData == null));
695 if (mBearerData.userData != null) {
696 userData = mBearerData.userData.payload;
697 userDataHeader = mBearerData.userData.userDataHeader;
698 messageBody = mBearerData.userData.payloadStr;
724 (userData
806 privateGetSubmitPdu(String destAddrStr, boolean statusReportRequested, UserData userData) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.cpp129 VO_CODEC_INIT_USERDATA userData; local
130 memset(&userData, 0, sizeof(userData));
131 userData.memflag = VO_IMF_USERMEMOPERATOR;
132 userData.memData = (VO_PTR) mMemOperator;
135 &mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) {
/frameworks/av/libvideoeditor/vss/inc/
H A DM4xVSS_Internal.h551 M4OSA_ERR M4xVSS_AlphaMagic( M4OSA_Void *userData, M4VIFI_ImagePlane PlaneIn1[3],
556 M4OSA_ERR M4xVSS_AlphaMagicBlending( M4OSA_Void *userData, M4VIFI_ImagePlane PlaneIn1[3],
561 M4OSA_ERR M4xVSS_SlideTransition( M4OSA_Void *userData, M4VIFI_ImagePlane PlaneIn1[3],
566 M4OSA_ERR M4xVSS_FadeBlackTransition(M4OSA_Void *userData, M4VIFI_ImagePlane PlaneIn1[3],
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterContext.java69 public void onFrameReceived(Filter filter, Frame frame, Object userData); argument
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp139 void *userData, int32_t size, int32_t attrs) {
146 static void FreeWrapper(void *userData, void* ptr) { argument
150 static int32_t DpbAllocWrapper(void *userData, argument
152 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData);
158 void *userData, int32_t index, uint8_t **yuv) {
159 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData);
164 static void UnbindFrameWrapper(void *userData, int32_t index) { argument
165 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData);
212 mHandle->userData = this;
138 MallocWrapper( void *userData, int32_t size, int32_t attrs) argument
157 BindFrameWrapper( void *userData, int32_t index, uint8_t **yuv) argument

Completed in 376 milliseconds

12