/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | StorageDeviceInfo.java | 36 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/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiPackage.java | 64 int total = 0; in getTotalMethods() local 66 total += apiClass.getTotalMethods(); in getTotalMethods() 68 return total; in getTotalMethods()
|
/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/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 189 int total = 0; in copy() local 193 total += c; in copy() 196 return total; in copy()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 118 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/ |
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/tests/core/runner/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 118 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/ |
D | TestResultsReport.java | 154 (total, current) -> { prefixes.add(total); in generateResult() argument 155 return total + ":" + current; in generateResult()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 664 public final long total; field in NetworkUsageStatsTest.QueryResult 669 total = getTotalAndAssertNotEmpty(stats, tag, state); in QueryResult() 674 tagToString(tag), stateToString(state), total); in toString() 694 long total = 0; in assertAlmostNoUnexpectedTraffic() local 698 total += bucket.getRxBytes() + bucket.getTxBytes(); in assertAlmostNoUnexpectedTraffic() 700 if (total <= maxUnexpected) return; in assertAlmostNoUnexpectedTraffic() 746 long firstTotal = resultsWithTraffic.get(0).total; in testUidTagStateDetails() 748 assertWithinPercentage(queryResult + "", firstTotal, queryResult.total, 10); in testUidTagStateDetails()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnectionService.java | 267 private static final Semaphore[] initializeSemaphore(int total) { in initializeSemaphore() argument 268 Semaphore[] locks = new Semaphore[total]; in initializeSemaphore() 269 for (int i = 0; i < total; i++) { in initializeSemaphore()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NetstatsIncidentTest.java | 238 long total = 0; in sum() local 248 total += func.apply(bucket); in sum() 251 return total; in sum()
|
D | BatteryStatsIncidentTest.java | 318 long total = bf.getTotalDurationMs(); in testByFrequency() local 321 assertTrue(screenOff <= total); in testByFrequency()
|
/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/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 187 int total = 0; in getTotalBytes() local 191 total += bytesRead; in getTotalBytes() 193 return total; in getTotalBytes()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 493 int total = 0; in copy() local 497 total += c; in copy() 500 return total; in copy()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | HeifWriterTest.java | 285 int total = 0; in copy() local 289 total += c; in copy() 292 return total; in copy()
|
D | .goutputstream-9KZYJZ | 690 // There are a total of 19 metadata access units in the test stream; every one of them
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsMessageTest.java | 171 private boolean checkRemaining(int total, int messageLength, int remaining) { in checkRemaining() argument 172 return total - messageLength == remaining; in checkRemaining()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 74 # respectively contain the number of errors / warnings messages and the total
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebSettingsTest.java | 799 long estimatedSize, long total, WebStorage.QuotaUpdater updater) { in testDatabaseDisabled()
|