Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNdOptPio.java58 public static final byte LENGTH = 4; // Length in 8-byte units field in StructNdOptPio
67 super((byte) TYPE, LENGTH); in StructNdOptPio() local
82 if (buf == null || buf.remaining() < LENGTH * 8) return null; in parse()
88 if (pio.length != LENGTH) { in parse()
DStructNdOptPref64.java50 public static final byte LENGTH = 2; field in StructNdOptPref64
96 super((byte) TYPE, LENGTH); in StructNdOptPref64() local
115 if (length != LENGTH) throw new IllegalArgumentException("Invalid length " + length); in StructNdOptPref64()
/packages/modules/Bluetooth/system/gd/common/
Dbyte_array.h33 template <std::size_t LENGTH>
34 class ByteArray : public packet::CustomFieldFixedSizeInterface<ByteArray<LENGTH>>,
35 public storage::Serializable<ByteArray<LENGTH>> {
37 static constexpr size_t kLength = LENGTH;
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerDAO.kt36 private const val LENGTH = "timer_setup_timet_" constant
74 val length: Long = prefs.getLong(LENGTH + id, Long.MIN_VALUE) in getTimers()
107 editor.putLong(LENGTH + id, timer.length) in addTimer()
133 editor.putLong(LENGTH + id, timer.length) in updateTimer()
164 editor.remove(LENGTH + id) in removeTimer()
/packages/modules/Virtualization/pvmfw/
Dimage.ld19 image : ORIGIN = 0x7fc00000, LENGTH = 2M
20 writable_data : ORIGIN = 0x7fe00000, LENGTH = 2M
21 dtb_region : ORIGIN = 0x80000000, LENGTH = 2M
/packages/modules/Virtualization/rialto/
Dimage.ld19 dtb_region : ORIGIN = 0x80000000, LENGTH = 2M
20 image : ORIGIN = 0x80200000, LENGTH = 2M
21 writable_data : ORIGIN = 0x80400000, LENGTH = 2M
/packages/modules/Virtualization/vmbase/example/
Dimage.ld19 dtb_region : ORIGIN = 0x80000000, LENGTH = 2M
20 image : ORIGIN = 0x80200000, LENGTH = 2M
21 writable_data : ORIGIN = 0x80400000, LENGTH = 2M
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSessionTest.java187 headerSet.setHeader(HeaderSet.LENGTH, length); in onPut_withZeroLengthInHeader_returnsLengthRequired()
201 headerSet.setHeader(HeaderSet.LENGTH, length); in onPut_withZeroLengthNameInHeader_returnsHttpBadRequest()
214 headerSet.setHeader(HeaderSet.LENGTH, length); in onPut_withNoMimeTypeInHeader_returnsHttpBadRequest()
226 headerSet.setHeader(HeaderSet.LENGTH, length); in onPut_withUnsupportedMimeTypeInHeader_returnsHttpBadRequest()
279 headerSet.setHeader(HeaderSet.LENGTH, length); in onPut_returnsObexHttpOk()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java313 private static final int LENGTH = LENGTH_SCALING; field in EapSimAkaAttribute.AtSelectedVersion
321 super(EAP_AT_SELECTED_VERSION, LENGTH); in AtSelectedVersion()
324 if (lengthInBytes != LENGTH) { in AtSelectedVersion()
331 super(EAP_AT_SELECTED_VERSION, LENGTH); in AtSelectedVersion()
348 return new AtSelectedVersion(LENGTH, SUPPORTED_VERSION); in getSelectedVersion()
362 private static final int LENGTH = 5 * LENGTH_SCALING; field in EapSimAkaAttribute.AtNonceMt
370 super(EAP_AT_NONCE_MT, LENGTH, byteBuffer); in AtNonceMt()
371 if (lengthInBytes != LENGTH) { in AtNonceMt()
380 super(EAP_AT_NONCE_MT, LENGTH); in AtNonceMt()
/packages/modules/Virtualization/vmbase/
Dsections.ld34 . += LENGTH(dtb_region);
103 init_stack_pointer = ORIGIN(writable_data) + LENGTH(writable_data);
DREADME.md122 image : ORIGIN = 0x80200000, LENGTH = 2M
123 writable_data : ORIGIN = 0x80400000, LENGTH = 2M
/packages/apps/SecureElement/src/com/android/se/security/
DApduFilter.java43 public static final int LENGTH = 8; field in ApduFilter
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DIaPdOption.java50 public static final int LENGTH = 12; // option length excluding IA_PD options field in IaPdOption
DIaAddressOption.java53 public static final int LENGTH = 24; // option length excluding IAaddr-options field in IaAddressOption
DIaPrefixOption.java63 public static final int LENGTH = 25; // option length excluding IAprefix-options field in IaPrefixOption
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java508 final int LENGTH = 64; in checkPing() local
509 byte[] packet = new byte[LENGTH]; in checkPing()
537 byte[] reply = new byte[LENGTH]; in checkPing()
538 int read = Os.read(s, reply, 0, LENGTH); in checkPing()
539 assertEquals(LENGTH, read); in checkPing()
625 final int LENGTH = 32768; in checkTcpReflection() local
626 byte[] data = new byte[LENGTH]; in checkTcpReflection()
631 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection()
632 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipRequest.java95 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequest.java126 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DConstants.java282 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()
DBluetoothOppObexClientSession.java416 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); in sendFile()
DBluetoothOppObexServerSession.java212 length = (Long) request.getHeader(HeaderSet.LENGTH); in onPut()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DStructNdOptPref64Test.java77 .put((byte) StructNdOptPref64.LENGTH) in makeNdOptPref64()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java303 replyHeaders.setHeader(HeaderSet.LENGTH, null); // Section 4.5.8, Required, null is fine in handleGetImage()
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Packet.java305 final ByteBuffer iapd = ByteBuffer.allocate(IaPdOption.LENGTH in build()
DDhcp6Client.java540 final IaPrefixOption hintOption = new IaPrefixOption((short) IaPrefixOption.LENGTH, in sendPacket()

12