Home
last modified time | relevance | path

Searched refs:total (Results 1 – 23 of 23) sorted by relevance

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DStorageDeviceInfo.java36 int total = 0; in collectDeviceInfo() local
37 total = Math.max(total, getContext().getExternalCacheDirs().length); in collectDeviceInfo()
38 total = Math.max(total, getContext().getExternalFilesDirs(null).length); in collectDeviceInfo()
39 total = Math.max( in collectDeviceInfo()
40 total, getContext().getExternalFilesDirs(Environment.DIRECTORY_PICTURES).length); in collectDeviceInfo()
41 total = Math.max(total, getContext().getObbDirs().length); in collectDeviceInfo()
46 if (total == 1) { in collectDeviceInfo()
50 physical = total - 1; in collectDeviceInfo()
53 physical = total; in collectDeviceInfo()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsWifiTransferTests.java46 int total = 0; in download() local
49 total += count; in download()
51 Log.i(TAG, String.format("request %s d=%d", requestCode, total)); in download()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTestTest.java185 int total = 0;
191 total += ((JarHostTest)shard1).countTestCases();
198 total += ((JarHostTest)shard2).countTestCases();
205 total += ((JarHostTest)shard3).countTestCases();
212 total += ((JarHostTest)shard4).countTestCases();
219 total += ((JarHostTest)shard5).countTestCases();
221 assertEquals(238, total);
/cts/common/util/src/com/android/compatibility/common/util/
DCaseResult.java98 int total = 0; in countResults() local
101 total++; in countResults()
104 return total; in countResults()
DInvocationResult.java59 int total = 0; in countResults() local
61 total += m.countResults(result); in countResults()
63 return total; in countResults()
DModuleResult.java242 int total = 0; in countResults() local
244 total += result.countResults(status); in countResults()
246 return total; in countResults()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java63 int total = 0; in getTotalMethods() local
65 total += apiClass.getTotalMethods(); in getTotalMethods()
67 return total; in getTotalMethods()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java145 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/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java118 long total = runtime.totalMemory(); in printMemory() local
120 long used = total - free; in printMemory()
122 Log.d(TAG, "Total memory : " + total); in printMemory()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java198 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/
DUtils.java209 int total = 0; in copy() local
213 total += c; in copy()
216 return total; in copy()
DStorageTest.java66 final long total = dataDir.getTotalSpace(); in testFullDisk() local
68 final long required = ((total * 9) / 10) + MB_IN_BYTES; in testFullDisk()
70 fail("Skipping full disk test; only found " + free + " free out of " + total); in testFullDisk()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java237 long total = 0; in sum() local
247 total += func.apply(bucket); in sum()
250 return total; in sum()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java699 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/
DDatabaseCursorTest.java286 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/
DCommonExternalStorageTest.java479 int total = 0; in copy() local
483 total += c; in copy()
486 return total; in copy()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsMessageTest.java157 private boolean checkRemaining(int total, int messageLength, int remaining) { in checkRemaining() argument
158 return total - messageLength == remaining; in checkRemaining()
/cts/tools/vm-tests-tf/lib/
Djunit.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/
DWebSettingsTest.java712 long estimatedSize, long total, WebStorage.QuotaUpdater updater) {
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile71 # respectively contain the number of errors / warnings messages and the total
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses.out.dex151999 private long total