Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java392 private static SmsCbMessage createFromPdu(Context context, byte[] pdu, int serialNumber, in createFromPdu() argument
396 return createFromPdus(context, pdus, serialNumber, category); in createFromPdu()
399 private static SmsCbMessage createFromPdus(Context context, byte[][] pdus, int serialNumber, in createFromPdus() argument
405 Log.d(TAG, "setting GSM serial number to " + serialNumber); in createFromPdus()
406 pdu[0] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
407 pdu[1] = (byte) (serialNumber & 0xff); in createFromPdus()
415 Log.d(TAG, "setting UMTS serial number to " + serialNumber); in createFromPdus()
416 pdu[3] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
417 pdu[4] = (byte) (serialNumber & 0xff); in createFromPdus()
432 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast() argument
[all …]
DSendGsmCmasMessages.java67 public static void testSendCmasPresAlert(Activity activity, int serialNumber) { in testSendCmasPresAlert() argument
69 SmsCbConstants.MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL, serialNumber, "en", in testSendCmasPresAlert()
77 public static void testSendCmasExtremeAlert(Activity activity, int serialNumber) { in testSendCmasExtremeAlert() argument
79 SmsCbConstants.MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_OBSERVED, serialNumber, "en", in testSendCmasExtremeAlert()
87 public static void testSendCmasSevereAlert(Activity activity, int serialNumber) { in testSendCmasSevereAlert() argument
89 SmsCbConstants.MESSAGE_ID_CMAS_ALERT_SEVERE_EXPECTED_OBSERVED, serialNumber, "en", in testSendCmasSevereAlert()
97 public static void testSendCmasAmberAlert(Activity activity, int serialNumber) { in testSendCmasAmberAlert() argument
99 SmsCbConstants.MESSAGE_ID_CMAS_ALERT_CHILD_ABDUCTION_EMERGENCY, serialNumber, "en", in testSendCmasAmberAlert()
107 public static void testSendCmasMonthlyTest(Activity activity, int serialNumber) { in testSendCmasMonthlyTest() argument
109 SmsCbConstants.MESSAGE_ID_CMAS_ALERT_REQUIRED_MONTHLY_TEST, serialNumber, "en", in testSendCmasMonthlyTest()
[all …]
DSendCdmaCmasMessages.java63 public static void testSendCmasPresAlert(Activity activity, int serialNumber) { in testSendCmasPresAlert() argument
65 SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, serialNumber, "en", in testSendCmasPresAlert()
73 public static void testSendCmasExtremeAlert(Activity activity, int serialNumber) { in testSendCmasExtremeAlert() argument
75 SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, serialNumber, "en", in testSendCmasExtremeAlert()
83 public static void testSendCmasSevereAlert(Activity activity, int serialNumber) { in testSendCmasSevereAlert() argument
85 SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, serialNumber, "en", in testSendCmasSevereAlert()
93 public static void testSendCmasAmberAlert(Activity activity, int serialNumber) { in testSendCmasAmberAlert() argument
95 SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY, serialNumber, "en", in testSendCmasAmberAlert()
103 public static void testSendCmasMonthlyTest(Activity activity, int serialNumber) { in testSendCmasMonthlyTest() argument
105 SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE, serialNumber, "en", in testSendCmasMonthlyTest()
[all …]
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceSettings.java35 UsbDeviceSettings(String serialNumber, int vid, int pid) { in UsbDeviceSettings() argument
36 mSerialNumber = serialNumber; in UsbDeviceSettings()
132 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid, in constructSettings() argument
134 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid); in constructSettings()
DUsbSettingsStorage.java112 public void deleteSettings(String serialNumber, int vid, int pid) { in deleteSettings() argument
118 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}); in deleteSettings()
120 Log.w(TAG, "No settings with serialNumber: " + serialNumber in deleteSettings()
125 + serialNumber + " vid: " + vid + " pid: " + pid); in deleteSettings()
DUsbDeviceFilter.java95 String serialNumber = null; in read() local
115 serialNumber = value; in read()
160 manufacturerName, productName, serialNumber, aoapManufacturer, in read()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatVNMr1.java82 public UserHandle getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument
85 return mUsers.get(serialNumber); in getUserForSerialNumber()
88 return mUserManager.getUserForSerialNumber(serialNumber); in getUserForSerialNumber()
DUserManagerCompat.java53 public abstract UserHandle getUserForSerialNumber(long serialNumber); in getUserForSerialNumber() argument
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java50 static SmsCbMessage createMessage(int serialNumber) { in createMessage() argument
51 return new SmsCbMessage(1, 2, serialNumber, new SmsCbLocation(), in createMessage()
98 private void sendMessage(int serialNumber) { in sendMessage() argument
102 SmsCbMessage m = createMessage(serialNumber); in sendMessage()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java91 public long serialNumber; field in LoaderCursor
130 serialNumber = getInt(profileIdIndex); in moveToNext()
131 user = allUsers.get(serialNumber); in moveToNext()
DLoaderTask.java361 int disabledState = quietMode.get(c.serialNumber) ? in loadWorkspace()
475 if (unlockedUsers.get(c.serialNumber)) { in loadWorkspace()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1681 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle);
1682 if (serialNumber != -1) {
1684 writeLong(USER_SERIAL_NUMBER, serialNumber, serializer);
1721 long serialNumber = Long.parseLong(userSerialNumberString);
1723 .getUserForSerialNumber(serialNumber);
2021 long serialNumber = Long.parseLong(userSerialNumberString);
2022 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.java133 MessageServiceCategoryAndScope(int serviceCategory, int serialNumber, in MessageServiceCategoryAndScope() argument
136 mSerialNumber = serialNumber; in MessageServiceCategoryAndScope()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java772 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in addUserNow()
776 MESSAGE_CONFIG_USER, user.id, user.serialNumber)); in addUserNow()
1066 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in onPreferenceClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java768 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in addUserNow()
772 MESSAGE_CONFIG_USER, user.id, user.serialNumber)); in addUserNow()
1062 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in onPreferenceClick()