Home
last modified time | relevance | path

Searched refs:serialNumber (Results 1 – 15 of 15) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java392 private static SmsCbMessage createFromPdu(byte[] pdu, int serialNumber, int category) { in createFromPdu() argument
395 return createFromPdus(pdus, serialNumber, category); in createFromPdu()
398 private static SmsCbMessage createFromPdus(byte[][] pdus, int serialNumber, int category) { in createFromPdus() argument
403 Log.d(TAG, "setting GSM serial number to " + serialNumber); in createFromPdus()
404 pdu[0] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
405 pdu[1] = (byte) (serialNumber & 0xff); in createFromPdus()
413 Log.d(TAG, "setting UMTS serial number to " + serialNumber); in createFromPdus()
414 pdu[3] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
415 pdu[4] = (byte) (serialNumber & 0xff); in createFromPdus()
429 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatV17.java52 public UserHandleCompat getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument
55 return mUsers.get(serialNumber); in getUserForSerialNumber()
58 return UserHandleCompat.fromUser(mUserManager.getUserForSerialNumber(serialNumber)); in getUserForSerialNumber()
DUserManagerCompatV16.java33 public UserHandleCompat getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument
DUserManagerCompat.java56 public abstract UserHandleCompat getUserForSerialNumber(long serialNumber); in getUserForSerialNumber() argument
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
DDialogSmsDisplayTests.java84 byte[] encodeCellBroadcast(int serialNumber, int messageId, int dcs, String message) { in encodeCellBroadcast() argument
86 pdu[0] = (byte) ((serialNumber >> 8) & 0xff); in encodeCellBroadcast()
87 pdu[1] = (byte) (serialNumber & 0xff); in encodeCellBroadcast()
/packages/apps/Launcher3/src/com/android/launcher3/
DItemInfo.java168 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in onAddToDatabase() local
169 values.put(LauncherSettings.Favorites.PROFILE_ID, serialNumber); in onAddToDatabase()
DAppInfo.java158 long serialNumber = UserManagerCompat.getInstance(context).getSerialNumberForUser(user); in makeLaunchIntent() local
163 .putExtra(EXTRA_PROFILE, serialNumber); in makeLaunchIntent()
DLauncherModel.java1825 long serialNumber; in loadWorkspace() local
1842 serialNumber = c.getInt(profileIdIndex); in loadWorkspace()
1843 user = allUsers.get(serialNumber); in loadWorkspace()
1871 if (quietMode.get(serialNumber)) { in loadWorkspace()
2043 info.intent.putExtra(ItemInfo.EXTRA_PROFILE, serialNumber); in loadWorkspace()
2045 … info.promisedIntent.putExtra(ItemInfo.EXTRA_PROFILE, serialNumber); in loadWorkspace()
2132 serialNumber = c.getLong(profileIdIndex); in loadWorkspace()
2135 user = allUsers.get(serialNumber); in loadWorkspace()
DLauncher.java2933 long serialNumber = intent.getLongExtra(AppInfo.EXTRA_PROFILE, -1); in startActivity() local
2934 user = userManager.getUserForSerialNumber(serialNumber); in startActivity()
/packages/apps/Launcher2/src/com/android/launcher2/
DItemInfo.java175 long serialNumber = ((UserManager) context.getSystemService(Context.USER_SERVICE)) in onAddToDatabase() local
177 values.put(LauncherSettings.Favorites.PROFILE_ID, serialNumber); in onAddToDatabase()
DLauncherModel.java547 int serialNumber = c.getInt(profileIdIndex); in getItemsInLocalCoordinates() local
548 item.user = um.getUserForSerialNumber(serialNumber); in getItemsInLocalCoordinates()
1347 int serialNumber = c.getInt(profileIdIndex); in loadWorkspace() local
1348 user = mUserManager.getUserForSerialNumber(serialNumber); in loadWorkspace()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1353 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle);
1354 if (serialNumber != -1) {
1356 writeLong(USER_SERIAL_NUMBER, serialNumber, serializer);
1387 long serialNumber = Long.parseLong(userSerialNumberString);
1389 .getUserForSerialNumber(serialNumber);
1673 long serialNumber = Long.parseLong(userSerialNumberString);
1674 userHandle = userManager.getUserForSerialNumber(serialNumber);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastDatabaseHelper.java179 int serialNumber = ((geographicalScope & 0x03) << 14) in upgradeMessageV1ToV2() local
184 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, serialNumber); in upgradeMessageV1ToV2()
DCellBroadcastAlertService.java76 MessageServiceCategoryAndScope(int serviceCategory, int serialNumber, in MessageServiceCategoryAndScope() argument
79 mSerialNumber = serialNumber; in MessageServiceCategoryAndScope()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java678 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in addUserNow()
681 MESSAGE_CONFIG_USER, user.id, user.serialNumber)); in addUserNow()
941 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in onPreferenceClick()