Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java175 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/
DAsn1Object.java137 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()
DAsn1Null.java48 if (buf.remaining() != 0) { in decodeBerValue()
49 throw new IllegalArgumentException("Invalid remaining bytes: " + buf.remaining()); in decodeBerValue()
DAsn1Boolean.java51 if (buf.remaining() != 1) { in decodeBerValue()
52 throw new IllegalArgumentException("Invalid remaining bytes: " + buf.remaining()); in decodeBerValue()
DAsn1Choice.java168 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/
DBusyWaitUtils.java72 for (long remaining = timeout; remaining > 0; remaining -= POLLING_INTERVAL) { in waitFor()
/cts/tests/signature/lib/common/src/android/signature/cts/
DByteBufferLineSpliterator.java40 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/
DSELinuxNeverallowTestGen.py33 remaining = re.sub(
39 remaining = re.sub(r'#.+?$', r'', remaining, flags = re.M)
43 remaining,
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java159 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/
DAESCipherNistCavpKatTest.java307 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()
DHexEncoding.java57 return encode(buf.array(), buf.arrayOffset() + buf.position(), buf.remaining()); in encode()
DBlockCipherTestBase.java711 assertEquals(0, inputBuffer.remaining()); in assertKatOneShotTransformUsingDoFinal()
1486 int inputLen = input.remaining(); in update()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DIkeTunUtils.java237 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/
DAudioPlaybackCaptureTest.java192 assertNotSame(buffer.remaining() + "/" + bufferSize + "remaining", 0, retry--); in readToBuffer()
193 int written = audioRecord.read(buffer, buffer.remaining()); in readToBuffer()
DNdkMediaCodec.java116 csdBufCopy = ByteBuffer.allocateDirect(csdBufOld.remaining()); in configure()
DMediaExtractorTest.java543 final int tocopy = Math.min(size, bb.remaining()); in readAt()
DDecodeEditEncodeTest.java849 byte[] data = new byte[buf.remaining()]; in addChunk()
DVideoDecoderPerfTest.java252 int sampleSize = sample.first.remaining(); in doDecode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java272 if (buffer.remaining() < readSize) { in getDataFromImage()
273 readSize = buffer.remaining(); in getDataFromImage()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java127 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1044 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/
DInstallDexMetadataHostTest.java220 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReader()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureSurfaceView.java331 mCompressedTexture.getData().remaining(), in onSurfaceCreated()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareRendererTests.kt92 val channels = ByteArray(buffer.remaining()) in <lambda>()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rscript574 /* 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.

12