Home
last modified time | relevance | path

Searched refs:userData (Results 1 – 25 of 68) 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.java915 final UserData userData = mUsers.get(userId); in setUserAccount() local
916 if (userData == null) { in setUserAccount()
920 String currentAccount = userData.account; in setUserAccount()
922 userData.account = accountName; in setUserAccount()
923 userToUpdate = userData; in setUserAccount()
991 final UserData userData = mUsers.get(mBootUser); in getBootUserUnchecked() local
992 if (userData != null && userData.info.supportsSwitchToByUser()) { in getBootUserUnchecked()
1013 final UserData userData = mUsers.valueAt(i); in getBootUserUnchecked() local
1014 if (userData.info.supportsSwitchToByUser()) { in getBootUserUnchecked()
1015 int firstSwitchable = userData.info.id; in getBootUserUnchecked()
[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
/frameworks/av/media/module/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.java385 byte[] userData; in getSubmitPdu()
388 userData = GsmAlphabet.stringToGsm7BitPackedWithHeader(message, header, in getSubmitPdu()
392 userData = encodeUCS2(message, header); in getSubmitPdu()
408 userData = encodeUCS2(message, header); in getSubmitPdu()
421 if ((0xff & userData[0]) > MAX_USER_DATA_SEPTETS) { in getSubmitPdu()
423 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)"); in getSubmitPdu()
436 if ((0xff & userData[0]) > MAX_USER_DATA_BYTES) { in getSubmitPdu()
438 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " bytes)"); in getSubmitPdu()
451 bo.write(userData, 0, userData.length); in getSubmitPdu()
466 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()
/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/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java458 TestUserData userData = new TestUserData(userId); in addUser() local
459 userData.info.flags = UserInfo.FLAG_FULL; in addUser()
460 addUserData(userData); in addUser()
483 private void addUserData(TestUserData userData) { in addUserData() argument
484 Log.d(TAG, "Adding " + userData); in addUserData()
485 mUsers.put(userData.info.id, userData); in addUserData()
501 UserData userData = mUsers.get(userId); in setLastForegroundTime() local
502 userData.mLastEnteredForegroundTimeMillis = timeMillis; in setLastForegroundTime()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseActivityTest.java169 String userData = "userData"; in testStartWebView() local
170 byte[] userDataBytes = userData.getBytes(); in testStartWebView()
171 SlicePurchaseActivity.startWebView(mWebView, URL, 1 /* CONTENTS_TYPE_JSON */, userData); in testStartWebView()
176 userData = "encodedValue=" + new String(encodedUserData); in testStartWebView()
177 SlicePurchaseActivity.startWebView(mWebView, URL, 1 /* CONTENTS_TYPE_JSON */, userData); in testStartWebView()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h175 static inline void onDestroy(void* userData);
279 void* userData = AIBinder_getUserData(binder); in defineClass() local
280 if (userData == nullptr) return nullptr; in defineClass()
282 return static_cast<ICInterfaceData*>(userData)->interface; in defineClass()
291 void ICInterface::ICInterfaceData::onDestroy(void* userData) { in defineClass()
292 delete static_cast<ICInterfaceData*>(userData); in defineClass()
/frameworks/av/media/libaaudio/examples/utils/
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()
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()
/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