Home
last modified time | relevance | path

Searched refs:UserData (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/inputmethod/
DUserDataRepository.java34 private final SparseArray<UserData> mUserData = new SparseArray<>();
40 UserData getOrCreate(@UserIdInt int userId) { in getOrCreate()
41 UserData userData = mUserData.get(userId); in getOrCreate()
43 userData = new UserData(userId, mBindingControllerFactory.apply(userId)); in getOrCreate()
50 void forAllUserData(Consumer<UserData> consumer) { in forAllUserData()
84 static final class UserData { class in UserDataRepository
94 private UserData(@UserIdInt int userId, in UserData() method in UserDataRepository.UserData
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java229 public UserData userData;
536 if (UserData.charToAscii.get(msg.charAt(i), -1) == -1) { in countAsciiSeptets()
591 int charCode = UserData.charToAscii.get(msg.charAt(i), -1); in encode7bitAscii()
594 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); in encode7bitAscii()
654 private static void encode7bitEms(UserData uData, byte[] udhData, boolean force) in encode7bitEms()
660 uData.msgEncoding = UserData.ENCODING_GSM_7BIT_ALPHABET; in encode7bitEms()
668 private static void encode16bitEms(UserData uData, byte[] udhData) in encode16bitEms()
675 uData.msgEncoding = UserData.ENCODING_UNICODE_16; in encode16bitEms()
684 private static void encode7bitAsciiEms(UserData uData, byte[] udhData, boolean force) in encode7bitAsciiEms()
699 int charCode = UserData.charToAscii.get(msg.charAt(i), -1); in encode7bitAsciiEms()
[all …]
DCdmaSmsAddress.java234 origBytes = UserData.stringToAscii(filteredAddr); in parse()
/frameworks/base/core/java/android/service/autofill/
DCompositeUserData.java41 private final UserData mGenericUserData;
42 private final UserData mPackageUserData;
47 public CompositeUserData(@Nullable UserData genericUserData, in CompositeUserData()
48 @NonNull UserData packageUserData) { in CompositeUserData()
200 …final UserData genericUserData = parcel.readParcelable(null, android.service.autofill.UserData.cla…
201 …final UserData packageUserData = parcel.readParcelable(null, android.service.autofill.UserData.cla…
DUserData.java52 public final class UserData implements FieldClassificationUserData, Parcelable { class
71 private UserData(Builder builder) { in UserData() method in UserData
394 public UserData build() {
397 return new UserData(this);
443 public static final @android.annotation.NonNull Parcelable.Creator<UserData> CREATOR =
444 new Parcelable.Creator<UserData>() {
446 public UserData createFromParcel(Parcel parcel) {
480 public UserData[] newArray(int size) {
481 return new UserData[size];
DUserData.aidl19 parcelable UserData;
DFillResponse.java119 private final @Nullable UserData mUserData;
172 AutofillId[] fieldClassificationIds, int flags, int requestId, UserData userData, in FillResponse()
324 public @Nullable UserData getUserData() { in getUserData()
406 private UserData mUserData;
826 UserData.getMaxFieldClassificationIdsSize(), "ids length"); in setFieldClassificationIds()
1037 public Builder setUserData(@NonNull UserData userData) { in setUserData()
1339 … final UserData userData = parcel.readParcelable(null, android.service.autofill.UserData.class);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java33 import com.android.internal.telephony.cdma.sms.UserData;
172 bos.write(5, UserData.ENCODING_OCTET); in createCmasSmsMessage()
214 if (encoding == UserData.ENCODING_7BIT_ASCII || encoding == UserData.ENCODING_IA5) { in encodeBody()
236 } else if (encoding == UserData.ENCODING_GSM_7BIT_ALPHABET in encodeBody()
237 || encoding == UserData.ENCODING_GSM_DCS) { in encodeBody()
248 if (encoding == UserData.ENCODING_GSM_DCS) { in encodeBody()
256 if (!isCmasRecord && encoding == UserData.ENCODING_GSM_DCS) { in encodeBody()
266 } else if (encoding == UserData.ENCODING_IS91_EXTENDED_PROTOCOL) { in encodeBody()
276 bos.write(8, UserData.IS91_MSG_TYPE_SHORT_MESSAGE); in encodeBody()
287 case UserData.ENCODING_UNICODE_16: in encodeBody()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java77 private final SparseArray<UserData> mUsers = new SparseArray<>();
87 private class UserData { class in AppTimeLimitController
98 private UserData(@UserIdInt int userId) { in UserData() method in AppTimeLimitController.UserData
260 protected WeakReference<UserData> mUserRef;
264 UsageGroup(UserData user, ObserverAppData observerApp, int observerId, String[] observed, in UsageGroup()
282 UserData user = mUserRef.get(); in remove()
318 final UserData user = mUserRef.get(); in noteUsageStart()
345 final UserData user = mUserRef.get(); in noteUsageStop()
357 final UserData user = mUserRef.get(); in checkTimeout()
393 UserData user = mUserRef.get(); in onLimitReached()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java162 UserData userData = new UserData(); in testUserData7bitAsciiFeedback()
164 userData.msgEncoding = UserData.ENCODING_7BIT_ASCII; in testUserData7bitAsciiFeedback()
192 UserData userData = new UserData(); in testUserData7bitGsmFeedback()
194 userData.msgEncoding = UserData.ENCODING_GSM_7BIT_ALPHABET; in testUserData7bitGsmFeedback()
246 UserData userData = new UserData(); in testUserDataUtf16Feedback()
248 userData.msgEncoding = UserData.ENCODING_UNICODE_16; in testUserDataUtf16Feedback()
259 userData.msgEncoding = UserData.ENCODING_OCTET; in testUserDataUtf16Feedback()
282 UserData userData = new UserData(); in testUserData7BitAsciiFeedback()
284 userData.msgEncoding = UserData.ENCODING_7BIT_ASCII; in testUserData7BitAsciiFeedback()
356 assertEquals(bearerData.userData.msgEncoding, UserData.ENCODING_7BIT_ASCII); in testMonolithicOne()
[all …]
DCdmaSmsAddressTest.java58 assertArrayEquals(UserData.stringToAscii("10068"), cdmaAddress.origBytes); in testInternationalAddress()
69 assertArrayEquals(UserData.stringToAscii(address), cdmaAddress.origBytes); in testEmailAddress()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java122 private final SparseArray<UserData> mUserDataArray = new SparseArray<>();
174 UserData userData = mUserDataArray.get(userId); in onUserUnlocked()
176 userData = new UserData(userId, mScheduledExecutor); in onUserUnlocked()
187 UserData userData = mUserDataArray.get(userId); in onUserStopping()
202 UserData userData = getUnlockedUserData(userInfo.id); in forPackagesInProfile()
212 UserData userData = getUnlockedUserData(userId); in getPackage()
245 UserData userData = getUnlockedUserData(userId); in getConversation()
258 UserData userData = getUnlockedUserData(userId); in getConversationInfo()
502 UserData userData = getUnlockedUserData(appTarget.getUser().getIdentifier()); in reportShareTargetEvent()
558 UserData userData = getUnlockedUserData(userId); in pruneDataForUser()
[all …]
DUserData.java39 class UserData { class
41 private static final String TAG = UserData.class.getSimpleName();
61 UserData(@UserIdInt int userId, @NonNull ScheduledExecutorService scheduledExecutorService) { in UserData() method in UserData
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java62 import com.android.server.pm.UserManagerService.UserData;
112 UserData data = new UserData(); in testWriteReadUserInfo()
120 UserData read = mUserManagerService.readUserLP( in testWriteReadUserInfo()
132 UserData data = new UserData(); in testWriteReadDevicePolicyUserRestrictions()
149 UserData systemUserData = new UserData(); in testWriteReadDevicePolicyUserRestrictions()
326 UserData data = new UserData(); in testUserRestrictionsUpgradeFromV9()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java38 import com.android.internal.telephony.cdma.sms.UserData;
249 UserData uData = new UserData(); in getSubmitPdu()
285 UserData uData = new UserData(); in getSubmitPdu()
287 uData.msgEncoding = UserData.ENCODING_OCTET; in getSubmitPdu()
304 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu()
320 public static SubmitPdu getSubmitPdu(String destAddr, UserData userData, in getSubmitPdu()
733 if (mBearerData.userData.msgEncoding != UserData.ENCODING_OCTET) { in preprocessCdmaFdeaWap()
940 UserData userData) {
949 UserData userData, int priority) {
993 && userData.msgEncoding != UserData.ENCODING_7BIT_ASCII)
[all …]
DUserData.java25 public class UserData { class
107 public UserData() { in UserData() method in UserData
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java380 static class UserData { class in UserManagerService
453 private final SparseArray<UserData> mUsers;
979 final UserData user = mUms.getUserDataLU(targetUser.getUserIdentifier()); in onUserStarting()
993 final UserData user = mUms.getUserDataLU(targetUser.getUserIdentifier()); in onUserUnlocking()
1007 final UserData user = mUms.getUserDataLU(to.getUserIdentifier()); in onUserSwitching()
1017 final UserData user = mUms.getUserDataLU(targetUser.getUserIdentifier()); in onUserStopping()
1047 SparseArray<UserData> users) { in UserManagerService()
1231 UserData userToUpdate = null; in setUserAccount()
1234 final UserData userData = mUsers.get(userId); in setUserAccount()
1322 final UserData userData = mUsers.get(mBootUser); in getBootUserUnchecked()
[all …]
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManager.aidl27 import android.service.autofill.UserData;
63 void setUserData(in UserData userData); in setUserData()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DUserDataRepositoryTest.java146 private List<UserDataRepository.UserData> collectUserData(UserDataRepository repository) { in collectUserData()
147 final var collected = new ArrayList<UserDataRepository.UserData>(); in collectUserData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java36 import com.android.internal.telephony.cdma.sms.UserData;
303 case UserData.ENCODING_OCTET: in onRecordLoaded()
304 case UserData.ENCODING_LATIN: in onRecordLoaded()
307 case UserData.ENCODING_IA5: in onRecordLoaded()
308 case UserData.ENCODING_GSM_7BIT_ALPHABET: in onRecordLoaded()
312 case UserData.ENCODING_7BIT_ASCII: in onRecordLoaded()
328 case UserData.ENCODING_UNICODE_16: in onRecordLoaded()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java25 import com.android.internal.telephony.cdma.sms.UserData;
148 return GsmAlphabet.isGsmSeptets(c) && UserData.charToAscii.get(c, -1) != -1; in noTranslationNeeded()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java42 import com.android.internal.telephony.cdma.sms.UserData;
755 UserData uData = new UserData(); in getSubmitPduEncodedMessage()
759 uData.msgEncoding = UserData.ENCODING_GSM_7BIT_ALPHABET; in getSubmitPduEncodedMessage()
761 uData.msgEncoding = UserData.ENCODING_UNICODE_16; in getSubmitPduEncodedMessage()
/frameworks/compile/slang/
Dllvm-rs-cc.cpp208 static void LLVMErrorHandler(void *UserData, const std::string &Message, in LLVMErrorHandler() argument
211 static_cast<clang::DiagnosticsEngine *>(UserData); in LLVMErrorHandler()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java78 import com.android.server.pm.UserManagerService.UserData;
150 private final SparseArray<UserData> mUsers = new SparseArray<>();
556 UserData userData = mUsers.valueAt(i); in testMainUser_hasNoCallsOrSMSRestrictionsByDefault()
1007 UserData systemUser = mUsers.get(UserHandle.USER_SYSTEM); in setSystemUserHeadless()
1019 UserData userData = mUsers.get(userId); in setLastForegroundTime()
1035 private static final class TestUserData extends UserData {
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java67 import android.service.autofill.UserData;
139 private UserData mUserData;
1084 UserData getUserData() { in getUserData()
1091 UserData getUserData(int callingUid) { in getUserData()
1101 void setUserData(int callingUid, UserData userData) { in setUserData()

12