Searched refs:LENGTH (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 35 private static final long LENGTH = 100; field in AssetFileDescriptorTest 56 mAssetFileDes = new AssetFileDescriptor(mFd, START_OFFSET, LENGTH); in initAssetFileDescriptor() 78 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH); in testConstructor() 83 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH, extras); in testConstructor() 89 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH, extras); in testConstructor() 183 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseLongArrayTest.java | 38 private static final int LENGTH = VALUES.length; field in SparseLongArrayTest 67 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 70 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 129 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 132 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
D | SparseArrayTest.java | 37 private static final int LENGTH = VALUES.length; field in SparseArrayTest 66 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 69 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 132 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 135 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
D | LongSparseArrayTest.java | 40 private static final int LENGTH = VALUES.length; field in LongSparseArrayTest 69 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 72 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 135 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 138 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 302 final int LENGTH = 64; in checkPing() local 303 byte[] packet = new byte[LENGTH]; in checkPing() 331 byte[] reply = new byte[LENGTH]; in checkPing() 332 int read = Os.read(s, reply, 0, LENGTH); in checkPing() 333 assertEquals(LENGTH, read); in checkPing() 419 final int LENGTH = 32768; in checkTcpReflection() local 420 byte[] data = new byte[LENGTH]; in checkTcpReflection() 425 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection() 426 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection()
|