Home
last modified time | relevance | path

Searched defs:length (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/
DArrayUtils.java66 int length = b.length; in append() local
86 int length = a.length; in append() local
96 int length = hex.length(); in stringToBytes() local
111 int length = bytes.length; in bytesToStringUppercase() local
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNdOption.java32 public final int length; field in NdOption
35 NdOption(byte type, int length) { in NdOption()
60 int length = Byte.toUnsignedInt(buf.get(buf.position() + 1)); in parse() local
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_ringbuffer.cc55 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
67 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
72 size_t length) { in ringbuffer_peek()
76 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DFixedLengthInputStream.java28 private final int length; field in FixedLengthInputStream
31 public FixedLengthInputStream(InputStream in, int length) { in FixedLengthInputStream()
52 public int read(byte[] b, int offset, int length) throws IOException { in read()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DIaPrefixOption.java68 public final short length; field in IaPrefixOption
82 protected IaPrefixOption(final short code, final short length, final long preferred, in IaPrefixOption()
102 public IaPrefixOption(final short length, final long preferred, final long valid, in IaPrefixOption()
146 public static ByteBuffer build(final short length, final long preferred, final long valid, in build()
DIaPdOption.java55 public final short length; field in IaPdOption
63 IaPdOption(final short code, final short length, final long id, final long t1, in IaPdOption()
75 public static ByteBuffer build(final short length, final long id, final long t1, in build()
DIaAddressOption.java58 public final short length; field in IaAddressOption
66 IaAddressOption(final short code, final short length, final Inet6Address address, in IaAddressOption()
78 public static ByteBuffer build(final short length, final long id, final Inet6Address address, in build()
DUdpHeader.java42 public final int length; field in UdpHeader
46 public UdpHeader(final int srcPort, final int dstPort, final int length, in UdpHeader()
DLlaOption.java41 public final byte length; // Length in 8-byte units field in LlaOption
48 LlaOption(final byte type, final byte length, final MacAddress linkLayerAddress) { in LlaOption()
DMtuOption.java43 public final byte length; // Length in 8-byte units field in MtuOption
49 MtuOption(final byte type, final byte length, final short reserved, in MtuOption()
/packages/apps/Nfc/nci/jni/
DHciEventManager.cpp112 size_t length = berTlv[1]; in getDataFromBerTlv() local
117 size_t length = ((berTlv[1] << 8) | berTlv[2]); in getDataFromBerTlv() local
122 size_t length = (berTlv[1] << 16) | (berTlv[2] << 8) | berTlv[3]; in getDataFromBerTlv() local
127 size_t length = in getDataFromBerTlv() local
/packages/modules/Bluetooth/system/osi/src/
Dringbuffer.cc62 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
77 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
90 size_t length) { in ringbuffer_peek()
110 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java86 String fileName, String type, long length, FileInputStream inputStream, int status) { in BluetoothOppSendFileInfo()
96 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { in BluetoothOppSendFileInfo()
111 long length = 0; in generateFileInfo() local
357 long length = 0; in getStreamSize() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DObexAppParametersTest.java41 final int length = 4; in constructorWithByteArrays_withOneInvalidElement() local
57 final int length = 4; in constructorWithByteArrays_withTwoInvalidElements() local
72 final int length = 4; in fromHeaderSet() local
87 final int length = 4; in addToHeaderSet() local
/packages/modules/adb/client/
Dfastdeploycallbacks.cpp30 static void appendBuffer(std::vector<char>* buffer, const char* input, int length) { in appendBuffer()
61 bool DeployAgentBufferCallback::OnStdout(const char* buffer, size_t length) { in OnStdout()
66 bool DeployAgentBufferCallback::OnStderr(const char* buffer, size_t length) { in OnStderr()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DHexDump.java49 public static String dumpHexString(@Nullable byte[] array, int offset, int length) { in dumpHexString()
138 public static String toHexString(byte[] array, int offset, int length) { in toHexString()
150 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) { in toHexString()
214 int length = hexString.length(); in hexStringToByteArray() local
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothUtils.java56 private static byte[] extractBytes(byte[] rawBytes, int start, int length) { in extractBytes()
97 int length = rawBytes[currentPos] & 0xFF; in parseLengthTypeValueBytes() local
144 int length = 0; in serializeTypeValue() local
/packages/apps/TV/src/com/android/tv/license/
DLicenses.java84 int length = license.getLicenseLength(); in getLicenseText() local
89 Context context, @RawRes int resourcesIdentifier, long offset, int length) { in getTextFromResource()
95 private static String getTextFromInputStream(InputStream stream, long offset, int length) { in getTextFromInputStream()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbConfigStatusData.java22 public final int length; field in UwbConfigStatusData
25 public UwbConfigStatusData(int status, int length, byte[] cgfStatus) { in UwbConfigStatusData()
DUwbTlvData.java22 public final int length; field in UwbTlvData
25 public UwbTlvData(int status, int length, byte[] tlvs) { in UwbTlvData()
/packages/apps/Dialer/java/com/android/dialer/about/
DLicenses.java66 int length = license.getLicenseLength(); in getLicenseText() local
71 Context context, String filename, long offset, int length) { in getTextFromResource()
82 private static String getTextFromInputStream(InputStream stream, long offset, int length) { in getTextFromInputStream()
/packages/modules/GeoTZ/tzs2storage/tools/src/java/com/android/storage/tools/block/dump/
DDumpUtils.java83 public static String zeroPadHex(int length, int value) { in zeroPadHex()
95 public static String zeroPadBinary(int length, int value) { in zeroPadBinary()
104 private static String zeroPad(int length, String unpaddedValue) { in zeroPad()
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/storage/tools/block/dump/
DDumpUtils.java83 public static String zeroPadHex(int length, int value) { in zeroPadHex()
95 public static String zeroPadBinary(int length, int value) { in zeroPadBinary()
104 private static String zeroPad(int length, String unpaddedValue) { in zeroPad()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DCompressor.java43 int length; in compress() local
67 int length; in decompress() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DAssetFileAddress.java32 public AssetFileAddress(final String filename, final long offset, final long length) { in AssetFileAddress()
60 final long offset, final long length) { in makeFromFileNameAndOffset()

12345678910>>...23