/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CountingSecureRandom.java | 39 public byte[] generateSeed(int numBytes) { in generateSeed() argument 40 if (numBytes > 0) { in generateSeed() 41 mOutputSizeBytes.addAndGet(numBytes); in generateSeed() 43 return mDelegate.generateSeed(numBytes); in generateSeed()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | StreamRecorder.java | 60 int numBytes = 0; in calcNumBufferBytes() local 62 numBytes = AudioRecord.getMinBufferSize(sampleRate, AudioFormat.CHANNEL_IN_STEREO, in calcNumBufferBytes() 64 numBytes *= 2; in calcNumBufferBytes() 66 numBytes = AudioRecord.getMinBufferSize(sampleRate, in calcNumBufferBytes() 70 return numBytes; in calcNumBufferBytes()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | ApacheHttpClientTest.java | 82 int numBytes = 0; in assertDownloadResponse() local 88 numBytes += bytesRead; in assertDownloadResponse() 91 assertEquals(message, expectedNumBytes, numBytes); in assertDownloadResponse()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PackageSignatureTest.java | 135 int numBytes = 0; in getSignature() local 136 while ((numBytes = input.read(buffer)) != -1) { in getSignature() 137 output.write(buffer, 0, numBytes); in getSignature()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 135 public static void createFile(File file, int numBytes) throws IOException { in createFile() argument 140 byte[] buffer = new byte[numBytes]; in createFile()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Video_MediaTest.java | 78 int numBytes = 1337; in testStoreVideoMediaExternal() local 80 FileUtils.createFile(videoFile, numBytes); in testStoreVideoMediaExternal() 100 values.put(Media.SIZE, numBytes); in testStoreVideoMediaExternal() 136 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreVideoMediaExternal()
|
D | MediaStore_Images_MediaTest.java | 226 int numBytes = 1337; in testStoreImagesMediaExternal() local 227 FileUtils.createFile(new File(externalPath), numBytes); in testStoreImagesMediaExternal() 242 values.put(Media.SIZE, numBytes); in testStoreImagesMediaExternal() 273 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreImagesMediaExternal()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 443 public String getTestDownloadUrl(String downloadId, int numBytes) { in getTestDownloadUrl() argument 448 .appendQueryParameter(NUM_BYTES_PARAMETER, Integer.toString(numBytes)) in getTestDownloadUrl() 815 int numBytes = uri.getQueryParameter(NUM_BYTES_PARAMETER) != null in createTestDownloadResponse() local 819 response.setHeader("Content-Length", Integer.toString(numBytes)); in createTestDownloadResponse() 820 response.setEntity(createFileEntity(downloadId, numBytes)); in createTestDownloadResponse() 824 private static FileEntity createFileEntity(String downloadId, int numBytes) throws IOException { in createFileEntity() argument 835 for (int i = 0; i < numBytes / data.length; i++) { in createFileEntity() 838 stream.write(data, 0, numBytes % data.length); in createFileEntity()
|
/cts/tests/tests/drm/lib/ |
D | TestPlugin.h | 93 void* buffer, ssize_t numBytes, off64_t offset);
|
D | TestPlugin.cpp | 179 void* buffer, ssize_t numBytes, off64_t offset) { in onPread() argument
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 508 protected int writeBlock(int numBytes) { in writeBlock() argument 510 int bytesToWrite = numBytes; in writeBlock()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 17421 private int numBytes 19990 private int numBytes
|