Home
last modified time | relevance | path

Searched refs:byteValue (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java76 final String byteValue = getString(key, null); in getBytes() local
77 return byteValue == null ? null : Base64.decode(byteValue, Base64.DEFAULT); in getBytes()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManager.java340 int byteValue; in bytesToString() local
342 byteValue = bytes[offset + j] & 0xFF; in bytesToString()
343 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
344 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()
DHostEmulationManager.java536 int byteValue; in bytesToString() local
538 byteValue = bytes[offset + j] & 0xFF; in bytesToString()
539 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
540 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java292 byte[] byteValue = new byte[MAX_BYTES]; in writeCharacteristic()
295 byteValue[i] = (byte) value; in writeCharacteristic()
298 characteristic.setValue(byteValue); in writeCharacteristic()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java76 public static CharSequence bytesToIecUnits(Context context, long byteValue) { in bytesToIecUnits() argument
77 Formatter.BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in bytesToIecUnits()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java54 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() argument
55 final BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in formatDataUsage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageUtils.java54 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() argument
55 final BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in formatDataUsage()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java479 return setValue(((Byte) obj).byteValue()); in setValue()
509 fin[i] = (arr[i] == null) ? 0 : arr[i].byteValue(); in setValue()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java479 return setValue(((Byte) obj).byteValue()); in setValue()
509 fin[i] = (arr[i] == null) ? 0 : arr[i].byteValue(); in setValue()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java479 return setValue(((Byte) obj).byteValue()); in setValue()
509 fin[i] = (arr[i] == null) ? 0 : arr[i].byteValue(); in setValue()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java547 mDisplaySpinner.getSelectedItemPosition()).byteValue(); in createDisplayAudioPlayer()
568 mDisplaySpinner.getSelectedItemPosition()).byteValue(); in startDisplayAudio()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java242 writer.name(JSON_NAME_PHYSICAL_PORT).value((int) mPhysicalPort.byteValue()); in writeJson()
665 dest.writeByte(nullPhysicalPort ? ((byte) 0) : mPhysicalPort.byteValue()); in writeToParcel()
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java285 result[i++] = b.byteValue(); in arrayListToByteArray()