Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 132) sorted by relevance

123456

/frameworks/base/config/
Ddirty-image-objects321 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.126:Ljava/lang/Byte; 13
323 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.41:Ljava/lang/Byte; 13
326 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.56:Ljava/lang/Byte; 13
327 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.65:Ljava/lang/Byte; 13
330 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.51:Ljava/lang/Byte; 13
331 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.52:Ljava/lang/Byte; 13
337 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.131:Ljava/lang/Byte; 13
338 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.120:Ljava/lang/Byte; 13
341 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.121:Ljava/lang/Byte; 13
342 Ljava/lang/Byte$ByteCache;.archivedCache:[Ljava/lang/Byte;.16:Ljava/lang/Byte; 13
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAnswerToReset.java63 private Byte mCheckByte;
148 private static String byteToStringHex(Byte b) { in byteToStringHex()
247 Byte newTD = interfaceByte.getTD(); in parseInterfaceBytes()
349 private Byte mTA;
350 private Byte mTB;
351 private Byte mTC;
352 private Byte mTD;
355 public Byte getTA() { in getTA()
360 public Byte getTB() { in getTB()
365 public Byte getTC() { in getTC()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockWeaverService.java24 private Pair<ArrayList<Byte>, ArrayList<Byte>>[] slots = new Pair[MAX_SLOTS];
35 public int write(int slotId, ArrayList<Byte> key, ArrayList<Byte> value) in write()
40 slots[slotId] = Pair.create((ArrayList<Byte>) key.clone(), (ArrayList<Byte>) value.clone()); in write()
45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { in read()
/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshalHelpers.java36 public static final int SIZEOF_INT32 = Integer.SIZE / Byte.SIZE;
37 public static final int SIZEOF_INT64 = Long.SIZE / Byte.SIZE;
38 public static final int SIZEOF_FLOAT = Float.SIZE / Byte.SIZE;
39 public static final int SIZEOF_DOUBLE = Double.SIZE / Byte.SIZE;
156 if (klass == byte.class || klass == Byte.class) { in isPrimitiveClass()
189 return (Class<T>)Byte.class; in wrapClassIfPrimitive()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupCodec.kt36 const val NO_OP: Byte = 0
38 const val ZIP: Byte = 1
45 val id: @BackupCodecId Byte
58 fun fromId(id: @BackupCodecId Byte): BackupCodec = in encode()
/frameworks/base/services/core/java/com/android/server/oemlock/
DVendorLockHidl.java88 ArrayList<Byte> signatureBytes = toByteArrayList(signature); in setOemUnlockAllowedByCarrier()
190 private ArrayList<Byte> toByteArrayList(byte[] data) { in toByteArrayList()
192 return new ArrayList<Byte>(); in toByteArrayList()
194 ArrayList<Byte> result = new ArrayList<Byte>(data.length); in toByteArrayList()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java139 sizeInBits = Byte.SIZE; in toByteArray()
167 ByteBuffer byteBuffer = ByteBuffer.allocate(numbers.length * (Double.SIZE / Byte.SIZE)) in toByteArray()
186 } else if (klass == Byte.class) { in toByteArray()
187 byteBuffer.put((Byte)value); in toByteArray()
221 int sizeOfT = sizeOfTBits / Byte.SIZE; in toByteArray()
/frameworks/base/core/java/android/os/
DHidlMemoryUtil.java99 HidlMemory byteListToHidlMemory(@NonNull List<Byte> input) { in byteListToHidlMemory()
114 HidlMemory byteListToHidlMemory(@NonNull List<Byte> input, @Nullable String name) { in byteListToHidlMemory()
123 for (Byte b : input) { in byteListToHidlMemory()
167 ArrayList<Byte> hidlMemoryToByteList(@NonNull HidlMemory mem) { in hidlMemoryToByteList()
180 ArrayList<Byte> result = new ArrayList<>(buffer.remaining()); in hidlMemoryToByteList()
DHwBlob.java375 public static Byte[] wrapArray(@NonNull byte[] array) { in wrapArray()
377 Byte[] wrappedArray = new Byte[n]; in wrapArray()
DHwParcel.java222 public final void writeInt8Vector(ArrayList<Byte> val) { in writeInt8Vector()
505 public final ArrayList<Byte> readInt8Vector() { in readInt8Vector()
506 Byte[] array = HwBlob.wrapArray(readInt8VectorAsArray()); in readInt8Vector()
508 return new ArrayList<Byte>(Arrays.asList(array)); in readInt8Vector()
/frameworks/base/services/core/java/com/android/server/locksettings/
DWeaverHidlAdapter.java122 private static ArrayList<Byte> toByteArrayList(byte[] data) { in toByteArrayList()
123 ArrayList<Byte> result = new ArrayList<Byte>(data.length); in toByteArrayList()
130 private static byte[] fromByteArrayList(ArrayList<Byte> data) { in fromByteArrayList()
/frameworks/base/core/java/android/content/
DContentValues.java139 public void put(String key, Byte value) { in put()
228 } else if (value instanceof Byte) { in putObject()
229 put(key, (Byte) value); in putObject()
397 public Byte getAsByte(String key) { in getAsByte()
404 return Byte.valueOf(value.toString()); in getAsByte()
593 } else if (value instanceof Byte) { in isSupportedValue()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DRtpTransport.java131 private static final BiMap<Integer, Byte> CALL_STATE_MSG_TYPE_TO_RTP_BITS = new BiMap<>();
132 private static final BiMap<Integer, Byte> DEVICE_STATE_MSG_TYPE_TO_RTP_BITS = new BiMap<>();
170 private static final BiMap<Integer, Byte> RAT_VALUE_TO_RTP_BITS = new BiMap<>();
192 private static final BiMap<Integer, Byte> CODEC_VALUE_TO_RTP_BITS = new BiMap<>();
210 private static final BiMap<Integer, Byte> BATTERY_STATE_VALUE_TO_RTP_BITS = new BiMap<>();
227 private static final BiMap<Integer, Byte> NETWORK_COVERAGE_VALUE_TO_RTP_BITS = new BiMap<>();
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DTestHal.java78 public int enroll(ArrayList<Byte> hat, int timeoutSec, ArrayList<Integer> disabledFeatures) { in enroll()
89 public int setFeature(int feature, boolean enabled, ArrayList<Byte> hat, int faceId) { in setFeature()
161 public int resetLockout(ArrayList<Byte> hat) { in resetLockout()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DAnswerToResetTest.java93 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestNoHistoricalByte()
110 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestNoInterfaceByte()
140 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestSuccess()
221 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccSupported()
255 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccSupportedWithLowerCaseString()
309 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccNotSupportedDueToIncorrectT()
343 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccNotSupportedDueToIncorrectTB()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java94 } else if (value instanceof Byte) { in marshal()
96 final byte val = (Byte) value; in marshal()
167 if (klass == byte.class || klass == Byte.class) { in isTypeMappingSupported()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DRadioModuleHidlTest.java72 when(mBroadcastRadioMock.getImage(anyInt())).thenReturn(new ArrayList<Byte>(0)); in setup()
120 ArrayList<Byte> enabledListExpected = new ArrayList<Byte>(Arrays.asList( in addAnnouncementListener_listenerRegistered()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DUsbStrings.java32 private static HashMap<Byte, String> sDescriptorNames;
33 private static HashMap<Byte, String> sACControlInterfaceNames;
34 private static HashMap<Byte, String> sACStreamingInterfaceNames;
46 sDescriptorNames = new HashMap<Byte, String>(); in initDescriptorNames()
70 sACControlInterfaceNames = new HashMap<Byte, String>(); in initACControlInterfaceNames()
88 sACStreamingInterfaceNames = new HashMap<Byte, String>(); in initACStreamingInterfaceNames()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java268 if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) { in parseValue()
271 return Byte.valueOf((byte) value); in parseValue()
459 if (value instanceof Byte) { in getByte()
460 return ((Byte)value).byteValue(); in getByte()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp49 template <typename Byte = uint8_t>
50 static std::vector<Byte> toStdVec(const Vector<uint8_t> &vector) { in toStdVec()
51 auto v = reinterpret_cast<const Byte *>(vector.array()); in toStdVec()
52 std::vector<Byte> vec(v, v + vector.size()); in toStdVec()
/frameworks/base/core/java/android/hardware/location/
DContextHubInfo.java183 return (Byte.toUnsignedInt(mChreApiMajorVersion) << 24) in getStaticSwVersion()
184 | (Byte.toUnsignedInt(mChreApiMinorVersion) << 16) in getStaticSwVersion()
305 + Byte.toUnsignedInt(mChreApiMajorVersion) + "." + Byte.toUnsignedInt( in toString()
/frameworks/base/media/java/android/media/
DMediaCas.java470 public void onEvent(int event, int arg, @Nullable ArrayList<Byte> data)
481 @NonNull ArrayList<Byte> sessionId,
484 @Nullable ArrayList<Byte> data)
564 private ArrayList<Byte> toByteArray(@NonNull byte[] data, int offset, int length) { in toByteArray()
565 ArrayList<Byte> byteArray = new ArrayList<Byte>(length); in toByteArray()
567 byteArray.add(Byte.valueOf(data[offset + i])); in toByteArray()
572 private ArrayList<Byte> toByteArray(@Nullable byte[] data) { in toByteArray()
574 return new ArrayList<Byte>(); in toByteArray()
579 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes()
1110 public void onValues(int status, ArrayList<Byte> sessionId) { in onValues()
[all …]
DMediaDescrambler.java161 ArrayList<Byte> byteArray = new ArrayList<>(); in setMediaCasSession()
165 byteArray = new ArrayList<Byte>(length); in setMediaCasSession()
167 byteArray.add(Byte.valueOf(sessionId[i])); in setMediaCasSession()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationConsumer.java28 ArrayList<Byte> hardwareAuthToken); in onAuthenticated()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifTag.java478 } else if (obj instanceof Byte) { in setValue()
479 return setValue(((Byte) obj).byteValue()); in setValue()
504 } else if (obj instanceof Byte[]) { in setValue()
506 Byte[] arr = (Byte[]) obj; in setValue()

123456