Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 31) sorted by relevance

12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceReportLog.java72 ResultUnit unit) { in addValue() argument
73 super.addValue(source, message, value, type, unit); in addValue()
85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument
86 super.addValue(message, value, type, unit); in addValue()
99 ResultUnit unit) { in addValues() argument
100 super.addValues(source, message, values, type, unit); in addValues()
112 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument
113 super.addValues(message, values, type, unit); in addValues()
125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument
137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument
[all …]
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DDeviceReportLog.java72 ResultUnit unit) { in addValue() argument
73 super.addValue(source, message, value, type, unit); in addValue()
85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument
86 super.addValue(message, value, type, unit); in addValue()
99 ResultUnit unit) { in addValues() argument
100 super.addValues(source, message, values, type, unit); in addValues()
112 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument
113 super.addValues(message, values, type, unit); in addValues()
125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument
137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument
[all …]
/cts/tests/tests/assist/common/src/android/assist/common/
DAutoResetLatch.java47 public boolean await(long timeout, TimeUnit unit) throws InterruptedException { in await() argument
49 return mLatch.await(timeout, unit); in await()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionTestReceiver.java36 public static void waitSessionStarted(long timeout, TimeUnit unit) throws InterruptedException { in waitSessionStarted() argument
37 if (!sServiceStartedLatch.await(timeout, unit)) { in waitSessionStarted()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackBroadcastReceiver.java61 public Intent poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument
62 return mRollbackBroadcasts.poll(timeout, unit); in poll()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DBlockingBroadcastReceiver.java47 public String getParam(long timeout, TimeUnit unit) throws InterruptedException { in getParam() argument
48 latch.await(timeout, unit); in getParam()
/cts/tests/providerui/src/android/providerui/cts/
DGetResultActivity.java77 public Result getResult(long timeout, TimeUnit unit) { in getResult() argument
79 return sResult.poll(timeout, unit); in getResult()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DGetResultActivity.java79 public Result getResult(long timeout, TimeUnit unit) { in getResult() argument
81 return sResult.poll(timeout, unit); in getResult()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java140 public static <TValue extends Number> double getFrequency(TValue period, TimeUnit unit) { in getFrequency() argument
141 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * period.doubleValue()); in getFrequency()
147 public static <TValue extends Number> double getPeriod(TValue frequency, TimeUnit unit) { in getPeriod() argument
148 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java96 public void waitForFirstDrawCompleted(int timeout, TimeUnit unit) { in waitForFirstDrawCompleted() argument
98 if (!mFence.await(timeout, unit)) { in waitForFirstDrawCompleted()
DPixelCopyViewProducerActivity.java112 public void waitForFirstDrawCompleted(int timeout, TimeUnit unit) { in waitForFirstDrawCompleted() argument
114 if (!mFence.await(timeout, unit)) { in waitForFirstDrawCompleted()
DSystemGestureExclusionRectsTest.java271 public boolean await(long time, TimeUnit unit) throws InterruptedException { in await() argument
272 return mLatch.await(time, unit); in await()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConference.java183 public boolean acquireLock(long time, TimeUnit unit) { in acquireLock() argument
185 mLock.get(time, unit); in acquireLock()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java61 TimeUnit unit) in runDeviceTests() argument
69 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DContentCaptureConditionTest.java16 package android.contentcaptureservice.cts.unit;
DContentCaptureContextTest.java17 package android.contentcaptureservice.cts.unit;
DDataRemovalRequestTest.java16 package android.contentcaptureservice.cts.unit;
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto139 // Result unit of PTS values defined in:
299 // Smallest test unit, which ideally tests only one feature or function.
328 optional ResultUnit unit = 3; field
341 optional ResultUnit unit = 4; field
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java79 TimeUnit unit) in runDeviceTests() argument
87 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
/cts/tests/tests/media/libimagereaderjni/
DAndroid.bp15 // Build the unit tests.
/cts/tools/release-parser/tests/
DAndroid.bp15 // cts release-parser java unit test library
/cts/tests/tests/net/native/qtaguid/
DAndroid.bp15 // Build the unit tests.
/cts/tests/tests/content/
DAndroid.bp48 // Resource unit tests use a private locale and some densities
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java297 float unit=0.02f; in asymmetricalCircleGrid() local
303 (2 * (j / cn) + i % 2) * (float) unit; in asymmetricalCircleGrid()
305 i * unit; in asymmetricalCircleGrid()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java684 public int get(long timeout, TimeUnit unit) throws Exception { in get() argument
685 return future.get(timeout, unit); in get()

12