/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AnswerToReset.java | 61 private Byte mCheckByte; 146 private static String byteToStringHex(Byte b) { in byteToStringHex() 239 Byte newTD = interfaceByte.getTD(); in parseInterfaceBytes() 341 private Byte mTA; 342 private Byte mTB; 343 private Byte mTC; 344 private Byte mTD; 347 public Byte getTA() { in getTA() 352 public Byte getTB() { in getTB() 357 public Byte getTC() { in getTC() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 24 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/ |
D | MarshalHelpers.java | 36 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/obex/javax/obex/ |
D | HeaderSet.java | 227 private Byte[] mByteUserDefined; // 1 byte 233 private Byte mSingleResponseMode; // byte to indicate enable/disable/support for SRM 235 private Byte mSrmParam; // byte representing the SRM parameters - only "wait" 255 mByteUserDefined = new Byte[16]; in HeaderSet() 420 if (!(headerValue instanceof Byte)) { in setHeader() 424 mSingleResponseMode = (Byte)headerValue; in setHeader() 432 if (!(headerValue instanceof Byte)) { in setHeader() 436 mSrmParam = (Byte)headerValue; in setHeader() 470 if ((headerValue != null) && (!(headerValue instanceof Byte))) { in setHeader() 473 mByteUserDefined[headerID - 0xB0] = (Byte)headerValue; in setHeader()
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | PacketFilter.kt | 45 class OffsetFilter(val offset: Int, vararg val bytes: Byte) : Predicate<ByteArray> { 90 class DhcpOptionFilter(val option: Byte, vararg val bytes: Byte) : Predicate<ByteArray> { 100 fun findDhcpOption(packet: ByteArray, option: Byte): ByteArray? = in findDhcpOption() 106 private tailrec fun findOptionOffset(packet: ByteArray, option: Byte, searchOffset: Int): Int? { in findOptionOffset()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | VendorLock.java | 89 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/java/android/media/ |
D | MediaCas.java | 341 toBytes((ArrayList<Byte>) msg.obj)); in handleMessage() 344 ArrayList<Byte> sessionId = toByteArray(bundle.getByteArray(SESSION_KEY)); in handleMessage() 362 public void onEvent(int event, int arg, @Nullable ArrayList<Byte> data) 370 public void onSessionEvent(@NonNull ArrayList<Byte> sessionId, 371 int event, int arg, @Nullable ArrayList<Byte> data) 445 private ArrayList<Byte> toByteArray(@NonNull byte[] data, int offset, int length) { in toByteArray() 446 ArrayList<Byte> byteArray = new ArrayList<Byte>(length); in toByteArray() 448 byteArray.add(Byte.valueOf(data[offset + i])); in toByteArray() 453 private ArrayList<Byte> toByteArray(@Nullable byte[] data) { in toByteArray() 455 return new ArrayList<Byte>(); in toByteArray() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ByteArrayHelpers.java | 139 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/ |
D | HidlMemoryUtil.java | 99 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()
|
D | HwBlob.java | 375 public static Byte[] wrapArray(@NonNull byte[] array) { in wrapArray() 377 Byte[] wrappedArray = new Byte[n]; in wrapArray()
|
D | HwParcel.java | 222 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/tests/uiservicestests/src/com/android/server/notification/ |
D | WrappedSysUiStatsEvent.java | 34 private HashMap<Integer, HashMap<Byte, Object>> mAnnotations; 116 mAnnotations.get(key).put(Byte.valueOf(annotation), value); in addAnnotation() 120 return ((Boolean) mAnnotations.get(Integer.valueOf(i)).get(Byte.valueOf(a))) in getBooleanAnnotation()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 55 template <typename Byte = uint8_t> 56 static std::vector<Byte> toStdVec(const Vector<uint8_t> &vector) { in toStdVec() 57 auto v = reinterpret_cast<const Byte *>(vector.array()); in toStdVec() 58 std::vector<Byte> vec(v, v + vector.size()); in toStdVec()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/testing/ |
D | RandomInputStream.java | 64 for (int rnd = mRandom.nextInt(), n = Math.min(end - i, Integer.SIZE / Byte.SIZE); in read() 66 rnd >>= Byte.SIZE) { in read()
|
/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 138 public void put(String key, Byte value) { in put() 227 } else if (value instanceof Byte) { in putObject() 228 put(key, (Byte) value); in putObject() 396 public Byte getAsByte(String key) { in getAsByte() 403 return Byte.valueOf(value.toString()); in getAsByte() 592 } else if (value instanceof Byte) { in isSupportedValue()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/ |
D | RtpTransport.java | 131 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/ |
D | TestHal.java | 78 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/ |
D | AnswerToResetTest.java | 94 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestNoHistoricalByte() 111 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestNoInterfaceByte() 141 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestSuccess() 222 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccSupported() 256 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccSupportedWithLowerCaseString() 290 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccNotSupportedDueToIncorrectT() 324 assertEquals(atr.getCheckByte(), Byte.valueOf((byte) 0x97)); in testAnswerToRestEuiccNotSupportedDueToIncorrectTB()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
D | UsbStrings.java | 32 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/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 94 } 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/java/com/android/internal/util/ |
D | TypedProperties.java | 268 if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) { in parseValue() 271 return new Byte((byte)value); in parseValue() 459 if (value instanceof Byte) { in getByte() 460 return ((Byte)value).byteValue(); in getByte()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | DiffScriptBackupWriterTest.java | 45 @Captor private ArgumentCaptor<Byte> mBytesCaptor; 53 mBytesCaptor = ArgumentCaptor.forClass(Byte.class); in setUp()
|
/frameworks/libs/net/common/framework/com/android/net/module/util/ |
D | DnsPacket.java | 161 int b = Byte.toUnsignedInt(label[i]); in labelToString() 185 final int len = Byte.toUnsignedInt(buf.get()); in parseName() 193 final int offset = ((len & ~NAME_COMPRESSION) << 8) + Byte.toUnsignedInt(buf.get()); in parseName()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | AuthenticationConsumer.java | 28 ArrayList<Byte> hardwareAuthToken); in onAuthenticated()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 478 } 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()
|