Home
last modified time | relevance | path

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

/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/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java300 private static final int LENGTH = LENGTH_SCALING; field in EapSimAkaAttribute.AtSelectedVersion
308 super(EAP_AT_SELECTED_VERSION, LENGTH); in AtSelectedVersion()
311 if (lengthInBytes != LENGTH) { in AtSelectedVersion()
318 super(EAP_AT_SELECTED_VERSION, LENGTH); in AtSelectedVersion()
335 return new AtSelectedVersion(LENGTH, SUPPORTED_VERSION); in getSelectedVersion()
349 private static final int LENGTH = 5 * LENGTH_SCALING; field in EapSimAkaAttribute.AtNonceMt
357 super(EAP_AT_NONCE_MT, LENGTH, byteBuffer); in AtNonceMt()
358 if (lengthInBytes != LENGTH) { in AtNonceMt()
367 super(EAP_AT_NONCE_MT, LENGTH); in AtNonceMt()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNdOptPref64.java49 public static final byte LENGTH = 2; field in StructNdOptPref64
95 super((byte) TYPE, LENGTH); in StructNdOptPref64() local
113 if (length != LENGTH) throw new IllegalArgumentException("Invalid length " + length); in StructNdOptPref64()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java348 final int LENGTH = 64; in checkPing() local
349 byte[] packet = new byte[LENGTH]; in checkPing()
377 byte[] reply = new byte[LENGTH]; in checkPing()
378 int read = Os.read(s, reply, 0, LENGTH); in checkPing()
379 assertEquals(LENGTH, read); in checkPing()
465 final int LENGTH = 32768; in checkTcpReflection() local
466 byte[] data = new byte[LENGTH]; in checkTcpReflection()
471 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection()
472 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection()
/packages/apps/SecureElement/src/com/android/se/security/
DApduFilter.java43 public static final int LENGTH = 8; field in ApduFilter
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequest.java122 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipRequest.java100 mHeaderSet.setHeader(HeaderSet.LENGTH, Long.valueOf(body.length)); in executePut()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java265 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()
DBluetoothOppObexServerSession.java214 length = (Long) request.getHeader(HeaderSet.LENGTH); in onPut()
DBluetoothOppObexClientSession.java405 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); in sendFile()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DStructNdOptPref64Test.java76 .put((byte) StructNdOptPref64.LENGTH) in makeNdOptPref64()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java313 replyHeaders.setHeader(HeaderSet.LENGTH, null); // Section 4.5.8, Required, null is fine in handleGetImage()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java1444 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH)); in logHeader()