Searched refs:LENGTH (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseLongArrayTest.java | 29 private static final int LENGTH = VALUES.length; field in SparseLongArrayTest 57 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 60 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 118 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 121 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
D | LongSparseArrayTest.java | 29 private static final int LENGTH = VALUES.length; field in LongSparseArrayTest 57 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 60 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 122 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 125 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
D | SparseArrayTest.java | 25 private static final int LENGTH = VALUES.length; field in SparseArrayTest 53 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 56 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity() 118 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity() 121 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 269 final int LENGTH = 64; in checkPing() local 270 byte[] packet = new byte[LENGTH]; in checkPing() 298 byte[] reply = new byte[LENGTH]; in checkPing() 299 int read = Os.read(s, reply, 0, LENGTH); in checkPing() 300 assertEquals(LENGTH, read); in checkPing() 385 final int LENGTH = 32768; in checkTcpReflection() local 386 byte[] data = new byte[LENGTH]; in checkTcpReflection() 391 server.setReceiveBufferSize(LENGTH * 2); in checkTcpReflection() 392 client.setSendBufferSize(LENGTH * 2); in checkTcpReflection()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 33 private static final long LENGTH = 100; field in AssetFileDescriptorTest 54 mAssetFileDes = new AssetFileDescriptor(mFd, START_OFFSET, LENGTH); in initAssetFileDescriptor() 155 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
|