/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestMessages.java | 392 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 …]
|
D | SendGsmCmasMessages.java | 67 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 …]
|
D | SendCdmaCmasMessages.java | 63 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/ |
D | UsbDeviceSettings.java | 35 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()
|
D | UsbSettingsStorage.java | 112 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()
|
D | UsbDeviceFilter.java | 95 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/ |
D | UserManagerCompatVNMr1.java | 82 public UserHandle getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument 85 return mUsers.get(serialNumber); in getUserForSerialNumber() 88 return mUserManager.getUserForSerialNumber(serialNumber); in getUserForSerialNumber()
|
D | UserManagerCompat.java | 53 public abstract UserHandle getUserForSerialNumber(long serialNumber); in getUserForSerialNumber() argument
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertServiceTest.java | 50 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/ |
D | LoaderCursor.java | 91 public long serialNumber; field in LoaderCursor 130 serialNumber = getInt(profileIdIndex); in moveToNext() 131 user = allUsers.get(serialNumber); in moveToNext()
|
D | LoaderTask.java | 361 int disabledState = quietMode.get(c.serialNumber) ? in loadWorkspace() 475 if (unlockedUsers.get(c.serialNumber)) { in loadWorkspace()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 1681 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/ |
D | CellBroadcastDatabaseHelper.java | 179 int serialNumber = ((geographicalScope & 0x03) << 14) in upgradeMessageV1ToV2() local 184 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, serialNumber); in upgradeMessageV1ToV2()
|
D | CellBroadcastAlertService.java | 133 MessageServiceCategoryAndScope(int serviceCategory, int serialNumber, in MessageServiceCategoryAndScope() argument 136 mSerialNumber = serialNumber; in MessageServiceCategoryAndScope()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 772 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/ |
D | UserSettings.java | 768 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()
|