/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 …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
D | UsbSettingsStorage.java | 54 public UsbDeviceSettings getSettings(String serialNumber, int vid, int pid) { in getSettings() argument 60 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}, in getSettings() argument 65 throw new RuntimeException("Quering for serial number: " + serialNumber in getSettings() 70 Log.w(TAG, "Usb setting missing for device serial: " + serialNumber in getSettings() 97 public void deleteSettings(String serialNumber, int vid, int pid) { in deleteSettings() argument 103 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}); in deleteSettings() 105 Log.w(TAG, "No settings with serialNumber: " + serialNumber in deleteSettings() 110 + serialNumber + " vid: " + vid + " pid: " + pid); in deleteSettings()
|
D | UsbDeviceSettings.java | 36 UsbDeviceSettings(String serialNumber, int vid, int pid) { in UsbDeviceSettings() argument 37 Preconditions.checkNotNull(serialNumber); in UsbDeviceSettings() 39 mSerialNumber = serialNumber; in UsbDeviceSettings() 121 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid, in constructSettings() argument 123 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid); in constructSettings()
|
D | UsbDeviceHandlerResolver.java | 181 String serialNumber = null; in read() local 201 serialNumber = value; in read() 246 manufacturerName, productName, serialNumber, aoapManufacturer, in read()
|
/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 | 113 public void deleteSettings(String serialNumber, int vid, int pid) { in deleteSettings() argument 119 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}); in deleteSettings() 121 Log.w(TAG, "No settings with serialNumber: " + serialNumber in deleteSettings() 126 + serialNumber + " vid: " + vid + " pid: " + pid); in deleteSettings()
|
D | UsbDeviceHandlerResolver.java | 191 String serialNumber = null; in read() local 211 serialNumber = value; in read() 256 manufacturerName, productName, serialNumber, aoapManufacturer, in read()
|
/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/compat/ |
D | UserManagerCompatVL.java | 61 public UserHandle getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument 64 return mUsers.get(serialNumber); in getUserForSerialNumber() 67 return mUserManager.getUserForSerialNumber(serialNumber); in getUserForSerialNumber()
|
D | UserManagerCompat.java | 57 public abstract UserHandle getUserForSerialNumber(long serialNumber); in getUserForSerialNumber() argument
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/ |
D | DialogSmsDisplayTests.java | 91 byte[] encodeCellBroadcast(int serialNumber, int messageId, int dcs, String message) { in encodeCellBroadcast() argument 93 pdu[0] = (byte) ((serialNumber >> 8) & 0xff); in encodeCellBroadcast() 94 pdu[1] = (byte) (serialNumber & 0xff); in encodeCellBroadcast()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | SerialNumberPreferenceController.java | 41 SerialNumberPreferenceController(Context context, String serialNumber) { in SerialNumberPreferenceController() argument 43 mSerialNumber = serialNumber; in SerialNumberPreferenceController()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 1566 final long serialNumber = userManager.getSerialNumberForUser(o.userHandle); 1567 if (serialNumber != -1) { 1569 writeLong(USER_SERIAL_NUMBER, serialNumber, serializer); 1606 long serialNumber = Long.parseLong(userSerialNumberString); 1608 .getUserForSerialNumber(serialNumber); 1906 long serialNumber = Long.parseLong(userSerialNumberString); 1907 userHandle = userManager.getUserForSerialNumber(serialNumber);
|
/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 | 336 int disabledState = quietMode.get(c.serialNumber) ? in loadWorkspace() 458 if (unlockedUsers.get(c.serialNumber)) { in loadWorkspace()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ItemInfo.java | 175 long serialNumber = ((UserManager) context.getSystemService(Context.USER_SERVICE)) in onAddToDatabase() local 177 values.put(LauncherSettings.Favorites.PROFILE_ID, serialNumber); in onAddToDatabase()
|
D | LauncherModel.java | 547 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/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 | 118 MessageServiceCategoryAndScope(int serviceCategory, int serialNumber, in MessageServiceCategoryAndScope() argument 121 mSerialNumber = serialNumber; in MessageServiceCategoryAndScope()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 690 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in addUserNow() 693 MESSAGE_CONFIG_USER, user.id, user.serialNumber)); in addUserNow() 956 MESSAGE_SETUP_USER, user.id, user.serialNumber)); in onPreferenceClick()
|