Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java184 integer.byteValue())); in toBytes()
187 integer.byteValue())); in toBytes()
192 integer -> configParamsBuilder.putByte(STS_CONFIG, integer.byteValue())); in toBytes()
195 integer -> configParamsBuilder.putByte(MULTI_NODE_MODE, integer.byteValue())); in toBytes()
201 integer -> configParamsBuilder.putByte(SCHEDULED_MODE, integer.byteValue())); in toBytes()
212 mChannel.ifPresent(integer -> configParamsBuilder.putByte(CHANNEL, integer.byteValue())); in toBytes()
215 integer.byteValue())); in toBytes()
218 cccLen -> configParamsBuilder.putByte(CC_CONSTRAINT_LENGTH, cccLen.byteValue())); in toBytes()
220 mPrfMode.ifPresent(integer -> configParamsBuilder.putByte(PRF_MODE, integer.byteValue())); in toBytes()
223 integer.byteValue())); in toBytes()
[all …]
DUwbCapability.java329 aByte -> uwbCapabilityBuilder.putByte(EXTENDED_MAC_ADDRESS, aByte.byteValue())); in toBytes()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java104 public static CharSequence bytesToIecUnits(Context context, long byteValue) { in bytesToIecUnits() argument
105 Formatter.BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in bytesToIecUnits()
115 public static CharSequence formatDataUsageInCycle(Context context, long byteValue, in formatDataUsageInCycle() argument
117 CharSequence usage = bytesToIecUnits(context, byteValue); in formatDataUsageInCycle()
/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/modules/Wifi/framework/tests/src/android/net/wifi/util/
DHexEncodingTest.java49 String actualUpper = encodeToString(toEncode.byteValue(), true /* upperCase */); in testEncodeByte()
52 String actualLower = encodeToString(toEncode.byteValue(), false /* upperCase */); in testEncodeByte()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DFiraProfileSupportInfo.java133 byte b = (byte) (byteList.get(nth_byte).byteValue() | (0x1 << nth_bit)); in toBytes()
140 data[i] = byteList.get(byteList.size() - i - 1).byteValue(); in toBytes()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManager.java393 int byteValue; in bytesToString() local
395 byteValue = bytes[offset + j] & 0xFF; in bytesToString()
396 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
397 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()
DHostEmulationManager.java1231 int byteValue; in bytesToString() local
1233 byteValue = bytes[offset + j] & 0xFF; in bytesToString()
1234 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
1235 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/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java63 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() argument
64 final BytesResult res = Formatter.formatBytes(context.getResources(), byteValue, in formatDataUsage()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DSignalsScriptEngine.java177 result[i] = byteValue(hexString.charAt(2 * i), hexString.charAt(2 * i + 1)); in decodeHexString()
182 private byte byteValue(char highNibble, char lowNibble) { in byteValue() method in SignalsScriptEngine
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DOnDevicePersonalizationFlatbufferUtils.java157 data.put(kv.key(), kv.byteValue()); in getContentValuesFromKeyValueList()
221 KeyValue.addByteValue(builder, ((Byte) value).byteValue()); in createKeyValueEntry()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DRoamingConsortiumElementTest.java57 stream.write(oi.first.byteValue()); in appendOI()
/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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java254 (byte) indexReasonPair.first.byteValue(), in verifySetValue()
255 indexReasonPair.second.byteValue() in verifySetValue()
270 new byte[] {(byte) indexStrPair.first.byteValue()}, in verifySetValue()
286 new byte[] {(byte) indexNamePair.first.byteValue()}, in verifySetValue()
/packages/apps/SecureElement/src/com/android/se/
DTerminal.java351 result[i++] = b.byteValue(); in arrayListToByteArray()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImplTest.java2674 classifierParams.protocolNextHdr = protocol.byteValue(); in createQosPolicyData()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...