/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | StorageDeviceInfo.java | 37 int total = 0; in collectDeviceInfo() local 38 total = Math.max(total, getContext().getExternalCacheDirs().length); in collectDeviceInfo() 39 total = Math.max(total, getContext().getExternalFilesDirs(null).length); in collectDeviceInfo() 40 total = Math.max( in collectDeviceInfo() 41 total, getContext().getExternalFilesDirs(Environment.DIRECTORY_PICTURES).length); in collectDeviceInfo() 42 total = Math.max(total, getContext().getObbDirs().length); in collectDeviceInfo() 47 if (total == 1) { in collectDeviceInfo() 51 physical = total - 1; in collectDeviceInfo() 54 physical = total; in collectDeviceInfo()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiPackage.java | 63 int total = 0; in getTotalMethods() local 65 total += apiClass.getTotalMethods(); in getTotalMethods() 67 return total; in getTotalMethods()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | MssimCalculator.java | 164 double total = 0; in getMean() local 167 total += pixelBuffer[get1dIndex(x, y, stride, bufferIndexOffset)] & 0xFF; in getMean() 170 return total / (windowWidth * windowHeight); in getMean()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 145 int total = 0; in run() local 147 while (streamIn.available() > 0 || total == 0) { in run() 148 if (total < BUFFER_SIZE) { in run() 149 int bytesRead = streamIn.read(buffer, total, in run() 150 (BUFFER_SIZE - total)); in run() 152 total += bytesRead; in run() 159 clientRequest = clientRequest.substring(0, total); in run()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | XmlWriter.java | 230 Element total = mDoc.createElement("total"); in createApiTotalElement() local 231 total.setAttribute("numCovered", String.valueOf(totalCoveredMethods)); in createApiTotalElement() 232 total.setAttribute("numTotal", String.valueOf(totalMethods)); in createApiTotalElement() 233 total.setAttribute("coveragePercentage", String.valueOf( in createApiTotalElement() 235 return total; in createApiTotalElement()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 198 double total = 0.0; in dotProduct() local 200 total += vector1[i] * vector2[i]; in dotProduct() 202 return total; in dotProduct()
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 200 int total = 0; in copy() local 204 total += c; in copy() 207 return total; in copy()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsReport.java | 214 (total, current) -> { in getTestResultHistories() argument 215 prefixes.add(total); in getTestResultHistories() 216 return total + ":" + current; in getTestResultHistories()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnectionService.java | 287 private static final Semaphore[] initializeSemaphore(int total) { in initializeSemaphore() argument 288 Semaphore[] locks = new Semaphore[total]; in initializeSemaphore() 289 for (int i = 0; i < total; i++) { in initializeSemaphore()
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 699 int total; in fillBuffer() local 700 while ((total = in.read(buffer, limit, buffer.length - limit)) != -1) { in fillBuffer() 701 limit += total; in fillBuffer()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 286 int total; field in DatabaseCursorTest.TestObserver 292 total = total_; in TestObserver() 298 if (total == count) { in onChanged()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 488 int total = 0; in copy() local 492 total += c; in copy() 495 return total; in copy()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 207 int total = 0; in getTotalBytes() local 211 total += bytesRead; in getTotalBytes() 213 return total; in getTotalBytes()
|
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 463 total = 0 465 total += 1 468 total += 1 470 logging.debug('Found %d matching points out of %d', matching, total) 471 return matching / total
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | ArchiveTest.java | 318 long total = 0; in writeFullStream() local 322 total += length; in writeFullStream() 325 assertThat(total).isEqualTo(expected); in writeFullStream()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsMessageTest.java | 187 private boolean checkRemaining(int total, int messageLength, int remaining) { in checkRemaining() argument 188 return total - messageLength == remaining; in checkRemaining()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | HeifWriterTest.java | 333 int total = 0; in copy() local 337 total += c; in copy() 340 return total; in copy()
|
D | MediaMetadataRetrieverTest.java | 1421 int total = 0; in copy() local 1425 total += c; in copy() 1428 return total; in copy()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 1345 long total = 0; in writeFullStream() local 1347 while ((length = inputStream.read(buffer)) != -1 && (expected < 0 || total < expected)) { in writeFullStream() 1349 total += length; in writeFullStream() 1352 assertEquals(expected, total); in writeFullStream()
|
D | ChecksumsTest.java | 1533 long total = 0; in writeFullStream() local 1537 total += length; in writeFullStream() 1540 Assert.assertEquals(expected, total); in writeFullStream()
|
D | PackageManagerShellCommandInstallTest.java | 285 long total = 0; in writeFullStream() local 289 total += length; in writeFullStream() 292 assertEquals(expected, total); in writeFullStream()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CipherTest.java | 597 int total = 0; in testEncryptsAndDecryptsUsingCipherStreams() local 599 while((count = cipherInputStream.read(actualPlaintext, total, in testEncryptsAndDecryptsUsingCipherStreams() 600 actualPlaintext.length - total)) != -1) { in testEncryptsAndDecryptsUsingCipherStreams() 601 total += count; in testEncryptsAndDecryptsUsingCipherStreams() 603 actualPlaintext = Arrays.copyOf(actualPlaintext, total); in testEncryptsAndDecryptsUsingCipherStreams()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | ... w
int h
public void start (int)
int total
public void step (boolean)
boolean successful
int x ... |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebSettingsTest.java | 773 long estimatedSize, long total, WebStorage.QuotaUpdater updater) { in testDatabaseDisabled()
|
/cts/tests/mediapc/requirements/ |
D | requirements.txtpb | 531 …her with 1 instance of secure hardware video decoder session (4 instances total) (AVC, HEVC, VP9, … 538 …her with 1 instance of secure hardware video decoder session (4 instances total) (AVC, HEVC, VP9, … 545 …her with 1 instance of secure hardware video decoder session (4 instances total) (AVC, HEVC, VP9, …
|