Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java131 assertEquals("Test standard SMS", bearerData.userData.payloadStr); in testUserData7bitGsm()
138 assertEquals("bjjj", bearerData.userData.payloadStr); in testUserData7bitAscii()
145 assertEquals("SMS Rulz", bearerData.userData.payloadStr); in testUserData7bitAsciiTwo()
152 assertEquals("SMS Rulz", bearerData.userData.payloadStr); in testUserDataIa5()
161 UserData userData = new UserData(); in testUserData7bitAsciiFeedback() local
162 userData.payloadStr = "Test standard SMS"; in testUserData7bitAsciiFeedback()
163 userData.msgEncoding = UserData.ENCODING_7BIT_ASCII; in testUserData7bitAsciiFeedback()
164 userData.msgEncodingSet = true; in testUserData7bitAsciiFeedback()
165 bearerData.userData = userData; in testUserData7bitAsciiFeedback()
171 assertEquals(userData.msgEncoding, revBearerData.userData.msgEncoding); in testUserData7bitAsciiFeedback()
[all …]
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java174 UserData userData = mUserDataArray.get(userId); in onUserUnlocked() local
175 if (userData == null) { in onUserUnlocked()
176 userData = new UserData(userId, mScheduledExecutor); in onUserUnlocked()
177 mUserDataArray.put(userId, userData); in onUserUnlocked()
179 userData.setUserUnlocked(); in onUserUnlocked()
187 UserData userData = mUserDataArray.get(userId); in onUserStopping() local
188 if (userData != null) { in onUserStopping()
189 userData.setUserStopped(); in onUserStopping()
202 UserData userData = getUnlockedUserData(userInfo.id); in forPackagesInProfile() local
203 if (userData != null) { in forPackagesInProfile()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java229 public UserData userData; field in BearerData
515 builder.append(", userData=" + userData); in toString()
821 encodeUserDataPayload(bData.userData); in encodeUserData()
822 bData.hasUserDataHeader = bData.userData.userDataHeader != null; in encodeUserData()
824 if (bData.userData.payload.length > SmsConstants.MAX_USER_DATA_BYTES) { in encodeUserData()
826 bData.userData.payload.length + in encodeUserData()
830 if (bData.userData.msgEncoding == UserData.ENCODING_7BIT_ASCII) { in encodeUserData()
831 bData.userData.paddingBits = in encodeUserData()
832 (bData.userData.payload.length * 8) - (bData.userData.numFields * 7); in encodeUserData()
834 bData.userData.paddingBits = 0; in encodeUserData()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java838 final UserData userData = mUsers.get(userId); in setUserAccount() local
839 if (userData == null) { in setUserAccount()
843 String currentAccount = userData.account; in setUserAccount()
845 userData.account = accountName; in setUserAccount()
846 userToUpdate = userData; in setUserAccount()
1264 UserData userData; in logQuietModeEnabled() local
1266 userData = getUserDataLU(userId); in logQuietModeEnabled()
1268 if (userData == null) { in logQuietModeEnabled()
1272 final long period = (userData.getLastRequestQuietModeEnabledMillis() != 0L in logQuietModeEnabled()
1273 ? now - userData.getLastRequestQuietModeEnabledMillis() in logQuietModeEnabled()
[all …]
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DIPresenceService.aidl76 StatusCode reenableService(int presenceServiceHdl, int userData); in reenableService() argument
89 StatusCode publishMyCap(int presenceServiceHdl, in PresCapInfo myCapInfo , int userData); in publishMyCap() argument
103 StatusCode getContactCap(int presenceServiceHdl , String remoteUri, int userData); in getContactCap() argument
117 StatusCode getContactListCap(int presenceServiceHdl, in String[] remoteUriList, int userData); in getContactListCap() argument
134 in PresServiceInfo serviceInfo, int userData); in setNewFeatureTag() argument
DPresCmdStatus.java65 public void setUserData(int userData) { in setUserData() argument
66 this.mUserData = userData; in setUserData()
/frameworks/av/media/codecs/amrwb/enc/fuzzer/
Damrwb_enc_fuzzer.cpp66 VO_CODEC_INIT_USERDATA userData; in initEncoder() local
67 memset(&userData, 0, sizeof(userData)); in initEncoder()
68 userData.memflag = VO_IMF_USERMEMOPERATOR; in initEncoder()
69 userData.memData = (VO_PTR)mMemOperator; in initEncoder()
79 if (VO_ERR_NONE != mApiHandle->Init(&mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) { in initEncoder()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java360 byte[] userData; in getSubmitPdu()
363 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
367 userData = encodeUCS2(message, header); in getSubmitPdu()
383 userData = encodeUCS2(message, header); in getSubmitPdu()
396 if ((0xff & userData[0]) > MAX_USER_DATA_SEPTETS) { in getSubmitPdu()
398 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)"); in getSubmitPdu()
411 if ((0xff & userData[0]) > MAX_USER_DATA_BYTES) { in getSubmitPdu()
413 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " bytes)"); in getSubmitPdu()
426 bo.write(userData, 0, userData.length); in getSubmitPdu()
441 byte[] userData, textPart; in encodeUCS2()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java304 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
306 return privateGetSubmitPdu(destAddr, statusReportRequested, userData); in getSubmitPdu()
320 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu() argument
322 return privateGetSubmitPdu(destAddr, statusReportRequested, userData, priority); in getSubmitPdu()
377 (mBearerData.userData == null)); in isMwiDontStore()
731 mBearerData.userData.msgEncoding = inStream.read(5); in preprocessCdmaFdeaWap()
733 if (mBearerData.userData.msgEncoding != UserData.ENCODING_OCTET) { in preprocessCdmaFdeaWap()
739 mBearerData.userData.numFields = inStream.read(8); in preprocessCdmaFdeaWap()
743 int dataBits = mBearerData.userData.numFields * 8; in preprocessCdmaFdeaWap()
745 mBearerData.userData.payload = inStream.readByteArray(dataBits); in preprocessCdmaFdeaWap()
[all …]
/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/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp44 void *userData,
50 void *userData,
235 void *userData, in AAudioMonkeyDataCallback() argument
240 if (userData == nullptr) { in AAudioMonkeyDataCallback()
244 AAudioMonkey *monkey = (AAudioMonkey *) userData; in AAudioMonkeyDataCallback()
250 void *userData, in AAudioMonkeyErrorCallbackProc() argument
252 AAudioMonkey *monkey = (AAudioMonkey *) userData; in AAudioMonkeyErrorCallbackProc()
Dtest_bad_disconnect.cpp33 void *userData,
48 void *userData, in s_myDataCallbackProc() argument
52 (void) userData; in s_myDataCallbackProc()
128 void *userData __unused, in s_myErrorCallbackProc()
Dtest_steal_exclusive.cpp82 void *userData,
88 void *userData,
309 void *userData, in s_myDataCallbackProc() argument
313 AudioEngine *engine = (AudioEngine *)userData; in s_myDataCallbackProc()
317 static void s_myRestartStreamProc(void *userData) { in s_myRestartStreamProc() argument
320 AudioEngine *engine = (AudioEngine *) userData; in s_myRestartStreamProc()
326 void *userData, in s_myErrorCallbackProc() argument
331 std::thread t(s_myRestartStreamProc, userData); in s_myErrorCallbackProc()
Dtest_callback_race.cpp118 void *userData, in s_myDataCallbackProc() argument
122 AudioEngine* engine = (AudioEngine*) userData; in s_myDataCallbackProc()
134 void *userData, in s_myErrorCallbackProc() argument
136 AudioEngine *engine = (AudioEngine *)userData; in s_myErrorCallbackProc()
Dtest_interference.cpp34 void *userData, in MyDataCallbackProc() argument
37 (void) userData; in MyDataCallbackProc()
Dtest_return_stop.cpp36 void *userData,
65 void *userData, in s_myDataCallbackProc() argument
71 AudioEngine *engine = (struct AudioEngine *)userData; in s_myDataCallbackProc()
138 void *userData __unused, in s_myErrorCallbackProc()
Dtest_open_params.cpp31 void *userData, in MyDataCallbackProc() argument
36 (void) userData; in MyDataCallbackProc()
/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/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h173 static inline void onDestroy(void* userData);
273 void* userData = AIBinder_getUserData(binder); in defineClass() local
274 if (userData == nullptr) return nullptr; in defineClass()
276 return static_cast<ICInterfaceData*>(userData)->interface; in defineClass()
285 void ICInterface::ICInterfaceData::onDestroy(void* userData) { in defineClass()
286 delete static_cast<ICInterfaceData*>(userData); in defineClass()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h345 void *userData, in SimplePlayerDataCallbackProc() argument
351 if (userData == nullptr) { in SimplePlayerDataCallbackProc()
355 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerDataCallbackProc()
449 void *userData __unused, in SimplePlayerErrorCallbackProc()
452 if (userData == nullptr) { in SimplePlayerErrorCallbackProc()
456 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerErrorCallbackProc()
DAAudioSimpleRecorder.h253 void *userData, in SimpleRecorderDataCallbackProc() argument
259 if (userData == nullptr) { in SimpleRecorderDataCallbackProc()
263 PeakTrackerData_t *data = (PeakTrackerData_t *) userData; in SimpleRecorderDataCallbackProc()
302 void *userData __unused, in SimpleRecorderErrorCallbackProc()
/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/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrWbEnc.cpp204 VO_CODEC_INIT_USERDATA userData; in initEncoder() local
205 memset(&userData, 0, sizeof(userData)); in initEncoder()
206 userData.memflag = VO_IMF_USERMEMOPERATOR; in initEncoder()
207 userData.memData = (VO_PTR) mMemOperator; in initEncoder()
210 &mEncoderHandle, VO_AUDIO_CodingAMRWB, &userData)) { in initEncoder()
/frameworks/base/media/jni/soundpool/
DSoundManager.h73 void setCallback(SoundPool *soundPool, SoundPoolCallback* callback, void* userData) in setCallback() argument
78 mUserData = userData; in setCallback()

123