/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsProvider2_AccountRemovalTest.java | 175 ArrayList<ContactIdPair> remaining = new ArrayList<ContactIdPair>(idList.size()); in assertContactsInDeleteLogEventually() local 176 remaining.addAll(idList); in assertContactsInDeleteLogEventually() 177 while (!remaining.isEmpty()) { in assertContactsInDeleteLogEventually() 180 assertWithinTimeoutLimit(start, "Contacts " + Arrays.toString(remaining.toArray()) + in assertContactsInDeleteLogEventually() 185 for (ContactIdPair ids : remaining) { in assertContactsInDeleteLogEventually() 194 remaining.removeAll(toBeRemoved); in assertContactsInDeleteLogEventually() 206 ArrayList<ContactIdPair> remaining = new ArrayList<ContactIdPair>(idList.size()); in assertContactsDeletedEventually() local 207 remaining.addAll(idList); in assertContactsDeletedEventually() 208 while (!remaining.isEmpty()) { in assertContactsDeletedEventually() 215 for (ContactIdPair ids : remaining) { in assertContactsDeletedEventually() [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Object.java | 137 if (valueLen != buf.remaining()) { in decodeBer() 138 throw new IllegalArgumentException("Length mismatch: expected=" + buf.remaining() in decodeBer() 148 if (innerValueLen != buf.remaining()) { in decodeBer() 149 throw new IllegalArgumentException("Length mismatch: expected=" + buf.remaining() in decodeBer() 181 byte[] bytes = new byte[buf.remaining()]; in getRemaining()
|
D | Asn1Null.java | 48 if (buf.remaining() != 0) { in decodeBerValue() 49 throw new IllegalArgumentException("Invalid remaining bytes: " + buf.remaining()); in decodeBerValue()
|
D | Asn1Boolean.java | 51 if (buf.remaining() != 1) { in decodeBerValue() 52 throw new IllegalArgumentException("Invalid remaining bytes: " + buf.remaining()); in decodeBerValue()
|
D | Asn1Choice.java | 168 if (valueLen != buf.remaining()) { in decodeBerValue() 169 throw new IllegalArgumentException("Length mismatch: expected=" + buf.remaining() in decodeBerValue()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | BusyWaitUtils.java | 72 for (long remaining = timeout; remaining > 0; remaining -= POLLING_INTERVAL) { in waitFor()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ByteBufferLineSpliterator.java | 40 if (mBuffer.remaining() < 10 * mLineLengthEstimate) { in trySplit() 45 mBuffer.position(curPos + mBuffer.remaining() / 2); in trySplit() 56 mBuffer.position(curPos).limit(curPos + mBuffer.remaining() / 2 + nextNewLine); in trySplit() 63 return mBuffer.remaining() / mLineLengthEstimate; in estimateSize()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 33 remaining = re.sub( 39 remaining = re.sub(r'#.+?$', r'', remaining, flags = re.M) 43 remaining,
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsMessageTest.java | 159 private void assertRemaining(int messageLength, int remaining, int maxChars) { in assertRemaining() argument 161 assertTrue(checkRemaining(SEPTETS_SKT, messageLength, remaining) in assertRemaining() 162 || checkRemaining(maxChars, messageLength, remaining)); in assertRemaining() 164 assertTrue(checkRemaining(SEPTETS_KT, messageLength, remaining) in assertRemaining() 165 || checkRemaining(maxChars, messageLength, remaining)); in assertRemaining() 167 assertTrue(checkRemaining(maxChars, messageLength, remaining)); in assertRemaining() 171 private boolean checkRemaining(int total, int messageLength, int remaining) { in checkRemaining() argument 172 return total - messageLength == remaining; in checkRemaining()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 307 int remaining = buf.length; in readFully() local 308 while (remaining > 0) { in readFully() 309 int chunkSize = in.read(buf, offset, remaining); in readFully() 311 throw new EOFException("Premature EOF. Remaining: " + remaining); in readFully() 314 remaining -= chunkSize; in readFully()
|
D | HexEncoding.java | 57 return encode(buf.array(), buf.arrayOffset() + buf.position(), buf.remaining()); in encode()
|
D | BlockCipherTestBase.java | 711 assertEquals(0, inputBuffer.remaining()); in assertKatOneShotTransformUsingDoFinal() 1486 int inputLen = input.remaining(); in update()
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | IkeTunUtils.java | 237 if (buffer.remaining() < ikeOffset) return false; in hasNonEspMarker() 241 if (buffer.remaining() < NON_ESP_MARKER_LEN) return false; in hasNonEspMarker()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPlaybackCaptureTest.java | 192 assertNotSame(buffer.remaining() + "/" + bufferSize + "remaining", 0, retry--); in readToBuffer() 193 int written = audioRecord.read(buffer, buffer.remaining()); in readToBuffer()
|
D | NdkMediaCodec.java | 116 csdBufCopy = ByteBuffer.allocateDirect(csdBufOld.remaining()); in configure()
|
D | MediaExtractorTest.java | 543 final int tocopy = Math.min(size, bb.remaining()); in readAt()
|
D | DecodeEditEncodeTest.java | 849 byte[] data = new byte[buf.remaining()]; in addChunk()
|
D | VideoDecoderPerfTest.java | 252 int sampleSize = sample.first.remaining(); in doDecode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 272 if (buffer.remaining() < readSize) { in getDataFromImage() 273 readSize = buffer.remaining(); in getDataFromImage()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | FastBasicsTest.java | 127 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1044 data = new byte[buffer.remaining()]; in getDataFromImage() 2027 int remainingBytes = srcBuffer.remaining(); in imageCopy() 2044 int remainingBytes = srcBuffer.remaining(); in imageCopy() 2048 remainingBytes = dstBuffer.remaining(); in imageCopy() 2170 rowSizeL = lhsBuffer.remaining(); in isImageStronglyEqual() 2171 rowSizeR = rhsBuffer.remaining(); in isImageStronglyEqual()
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 220 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReader()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureSurfaceView.java | 331 mCompressedTexture.getData().remaining(), in onSurfaceCreated()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareRendererTests.kt | 92 val channels = ByteArray(buffer.remaining()) in <lambda>()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 574 /* We are creating a matrix that scales first then does the remaining operation. 639 /* We are creating a matrix that translates first then does the remaining operation.
|