Home
last modified time | relevance | path

Searched refs:userData (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java121 assertEquals("Test standard SMS", bearerData.userData.payloadStr); in testUserData7bitGsm()
128 assertEquals("bjjj", bearerData.userData.payloadStr); in testUserData7bitAscii()
135 assertEquals("SMS Rulz", bearerData.userData.payloadStr); in testUserData7bitAsciiTwo()
142 assertEquals("SMS Rulz", bearerData.userData.payloadStr); in testUserDataIa5()
151 UserData userData = new UserData(); in testUserData7bitAsciiFeedback() local
152 userData.payloadStr = "Test standard SMS"; in testUserData7bitAsciiFeedback()
153 userData.msgEncoding = UserData.ENCODING_7BIT_ASCII; in testUserData7bitAsciiFeedback()
154 userData.msgEncodingSet = true; in testUserData7bitAsciiFeedback()
155 bearerData.userData = userData; in testUserData7bitAsciiFeedback()
161 assertEquals(userData.msgEncoding, revBearerData.userData.msgEncoding); in testUserData7bitAsciiFeedback()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java216 public UserData userData; field in BearerData
441 builder.append(", userData=" + userData); in toString()
695 encodeUserDataPayload(bData.userData); in encodeUserData()
696 bData.hasUserDataHeader = bData.userData.userDataHeader != null; in encodeUserData()
698 if (bData.userData.payload.length > SmsConstants.MAX_USER_DATA_BYTES) { in encodeUserData()
700 bData.userData.payload.length + in encodeUserData()
711 int dataBits = (bData.userData.payload.length * 8) - bData.userData.paddingBits; in encodeUserData()
713 if ((bData.userData.msgEncoding == UserData.ENCODING_IS91_EXTENDED_PROTOCOL) || in encodeUserData()
714 (bData.userData.msgEncoding == UserData.ENCODING_GSM_DCS)) { in encodeUserData()
720 outStream.write(5, bData.userData.msgEncoding); in encodeUserData()
[all …]
DSmsMessage.java279 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
281 return privateGetSubmitPdu(destAddr, statusReportRequested, userData); in getSubmitPdu()
336 (mBearerData.userData == null)); in isMwiDontStore()
645 if (mBearerData.userData != null) { in parseSms()
646 mUserData = mBearerData.userData.payload; in parseSms()
647 mUserDataHeader = mBearerData.userData.userDataHeader; in parseSms()
648 mMessageBody = mBearerData.userData.payloadStr; in parseSms()
717 mEnvelope.serviceCategory, bData.getLanguage(), bData.userData.payloadStr, in parseBroadcastSms()
766 UserData userData) { in privateGetSubmitPdu() argument
796 bearerData.userData = userData; in privateGetSubmitPdu()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java540 final UserData userData = mUsers.get(userId); in setUserAccount() local
541 if (userData == null) { in setUserAccount()
545 String currentAccount = userData.account; in setUserAccount()
547 userData.account = accountName; in setUserAccount()
548 userToUpdate = userData; in setUserAccount()
1017 final UserData userData = mUsers.get(userId); in getUserInfoLU() local
1019 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserInfoLU()
1023 return userData != null ? userData.info : null; in getUserInfoLU()
1027 final UserData userData = mUsers.get(userId); in getUserDataLU() local
1029 if (userData != null && userData.info.partial && !mRemovingUserIds.get(userId)) { in getUserDataLU()
[all …]
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DIPresenceService.aidl72 StatusCode reenableService(int presenceServiceHdl, int userData); in reenableService() argument
84 StatusCode publishMyCap(int presenceServiceHdl, in PresCapInfo myCapInfo , int userData); in publishMyCap() argument
97 StatusCode getContactCap(int presenceServiceHdl , String remoteUri, int userData); in getContactCap() argument
110 StatusCode getContactListCap(int presenceServiceHdl, in String[] remoteUriList, int userData); in getContactListCap() argument
126 in PresServiceInfo serviceInfo, int userData); in setNewFeatureTag() argument
DPresCmdStatus.java61 public void setUserData(int userData) { in setUserData() argument
62 this.mUserData = userData; in setUserData()
/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.h69 AudioStreamBuilder* setDataCallbackUserData(void *userData) { in setDataCallbackUserData() argument
70 mDataCallbackUserData = userData; in setDataCallbackUserData()
83 AudioStreamBuilder* setErrorCallbackUserData(void *userData) { in setErrorCallbackUserData() argument
84 mErrorCallbackUserData = userData; in setErrorCallbackUserData()
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp83 …a, hb_codepoint_t unicode, hb_codepoint_t variationSelector, hb_codepoint_t* glyph, void* userData) in harfbuzzGetGlyph() argument
100 …zGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, void* userData) in harfbuzzGetGlyphHorizontalAdvance() argument
109 …* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, void* userData) in harfbuzzGetGlyphHorizontalOrigin() argument
116 …_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData) in harfbuzzGetGlyphExtents() argument
141 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData) in harfbuzzSkiaReferenceTable() argument
143 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable()
DHarfBuzzNGFaceSkia.h53 hb_blob_t* harfbuzzSkiaReferenceTable(hb_face_t* face, hb_tag_t tag, void* userData);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java286 byte[] userData; in getSubmitPdu()
289 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
293 userData = encodeUCS2(message, header); in getSubmitPdu()
305 userData = encodeUCS2(message, header); in getSubmitPdu()
316 if ((0xff & userData[0]) > MAX_USER_DATA_SEPTETS) { in getSubmitPdu()
318 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)"); in getSubmitPdu()
331 if ((0xff & userData[0]) > MAX_USER_DATA_BYTES) { in getSubmitPdu()
333 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " bytes)"); in getSubmitPdu()
342 bo.write(userData, 0, userData.length); in getSubmitPdu()
355 byte[] userData, textPart; in encodeUCS2()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.h161 startNamespace(void *userData, const char *prefix, const char *uri);
163 startElement(void *userData, const char *name, const char **atts);
165 characterData(void *userData, const XML_Char *s, int len);
167 endElement(void *userData, const char *name);
169 endNamespace(void *userData, const char *prefix);
172 commentData(void *userData, const char *comment);
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h257 void *userData, in SimplePlayerDataCallbackProc() argument
263 if (userData == nullptr) { in SimplePlayerDataCallbackProc()
267 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerDataCallbackProc()
336 void *userData __unused, in SimplePlayerErrorCallbackProc()
339 if (userData == nullptr) { in SimplePlayerErrorCallbackProc()
343 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerErrorCallbackProc()
DAAudioSimpleRecorder.h251 void *userData, in SimpleRecorderDataCallbackProc() argument
257 if (userData == nullptr) { in SimpleRecorderDataCallbackProc()
261 PeakTrackerData_t *data = (PeakTrackerData_t *) userData; in SimpleRecorderDataCallbackProc()
300 void *userData __unused, in SimpleRecorderErrorCallbackProc()
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp68 VO_CODEC_INIT_USERDATA userData; in initCheck() local
69 memset(&userData, 0, sizeof(userData)); in initCheck()
70 userData.memflag = VO_IMF_USERMEMOPERATOR; in initCheck()
71 userData.memData = (VO_PTR) mMemOperator; in initCheck()
72 if (VO_ERR_NONE != mApiHandle->Init(&mEncoderHandle, VO_AUDIO_CodingAAC, &userData)) { in initCheck()
DSoftAACEncoder.cpp135 VO_CODEC_INIT_USERDATA userData; in initEncoder() local
136 memset(&userData, 0, sizeof(userData)); in initEncoder()
137 userData.memflag = VO_IMF_USERMEMOPERATOR; in initEncoder()
138 userData.memData = (VO_PTR) mMemOperator; in initEncoder()
140 mApiHandle->Init(&mEncoderHandle, VO_AUDIO_CodingAAC, &userData)) { in initEncoder()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h364 void *userData,
392 void *userData);
430 void *userData,
455 void *userData);
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp129 VO_CODEC_INIT_USERDATA userData; in initEncoder() local
130 memset(&userData, 0, sizeof(userData)); in initEncoder()
131 userData.memflag = VO_IMF_USERMEMOPERATOR; in initEncoder()
132 userData.memData = (VO_PTR) mMemOperator; in initEncoder()
135 &mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) { in initEncoder()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java52 …able(FilterContext.OnFrameReceivedListener listener, Filter filter, Frame frame, Object userData) { in CallbackRunnable() argument
56 mUserData = userData; in CallbackRunnable()
/frameworks/base/telephony/java/com/android/ims/internal/uce/options/
DOptionsCmdStatus.java59 public void setUserData(int userData) { in setUserData() argument
60 this.mUserData = userData; in setUserData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java302 byte[] userData = new byte[pdu.length - index]; in processCdmaWapPdu()
303 System.arraycopy(pdu, index, userData, 0, pdu.length - index); in processCdmaWapPdu()
306 userData, timestamp, destinationPort, true, address, dispAddr, referenceNumber, in processCdmaWapPdu()
307 segment, totalSegments, true, HexDump.toHexString(userData)); in processCdmaWapPdu()
/frameworks/native/libs/binder/include/binder/
DProcessState.h57 void* userData);
62 void* userData);
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp46 void *userData, in MyDataCallbackProc() argument
51 (void) userData; in MyDataCallbackProc()
Dtest_timestamps.cpp60 void *userData, in timestampDataCallbackProc() argument
66 if (userData == nullptr) { in timestampDataCallbackProc()
70 TimestampCallbackData_t *timestampData = (TimestampCallbackData_t *) userData; in timestampDataCallbackProc()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp42 static void AudioStreamLegacy_callback(int event, void* userData, void *info) { in AudioStreamLegacy_callback() argument
43 AudioStreamLegacy *streamLegacy = (AudioStreamLegacy *) userData; in AudioStreamLegacy_callback()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp80 void *userData, in MyDataCallbackProc() argument
86 LoopbackData *myData = (LoopbackData *) userData; in MyDataCallbackProc()
150 void *userData __unused, in MyErrorCallbackProc()
154 LoopbackData *myData = (LoopbackData *) userData; in MyErrorCallbackProc()

12