/external/python/cpython2/Tools/pybench/ |
D | clockres.py | 12 TEST_TIME = 1.0 variable 18 stop = wallclock() + TEST_TIME 28 min_diff = TEST_TIME
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/ |
D | LongGaugeImplTest.java | 61 private static final Timestamp TEST_TIME = Timestamp.create(1234, 123); field in LongGaugeImplTest 62 private final TestClock testClock = TestClock.create(TEST_TIME); 113 LABEL_VALUES, Point.create(Value.longValue(500), TEST_TIME), null))); in getOrCreateTimeSeries() 131 .isEqualTo(TEST_TIME); in getOrCreateTimeSeries_WithNegativePointValues() 151 DEFAULT_LABEL_VALUES, Point.create(Value.longValue(400), TEST_TIME), null))); in getDefaultTimeSeries() 163 LABEL_VALUES, Point.create(Value.longValue(0), TEST_TIME), null))); in removeTimeSeries() 231 LABEL_VALUES, Point.create(Value.longValue(3), TEST_TIME), null)); in multipleMetrics_GetMetric() 234 DEFAULT_LABEL_VALUES, Point.create(Value.longValue(100), TEST_TIME), null)); in multipleMetrics_GetMetric() 237 LABEL_VALUES1, Point.create(Value.longValue(-120), TEST_TIME), null)); in multipleMetrics_GetMetric()
|
D | DoubleGaugeImplTest.java | 61 private static final Timestamp TEST_TIME = Timestamp.create(1234, 123); field in DoubleGaugeImplTest 62 private final TestClock testClock = TestClock.create(TEST_TIME); 114 LABEL_VALUES, Point.create(Value.doubleValue(500), TEST_TIME), null)))); in getOrCreateTimeSeries() 132 .isEqualTo(TEST_TIME); in getOrCreateTimeSeries_WithNegativePointValues() 154 Point.create(Value.doubleValue(400), TEST_TIME), in getDefaultTimeSeries() 168 LABEL_VALUES, Point.create(Value.doubleValue(0), TEST_TIME), null)))); in removeTimeSeries() 236 LABEL_VALUES, Point.create(Value.doubleValue(3), TEST_TIME), null)); in multipleMetrics_GetMetric() 239 DEFAULT_LABEL_VALUES, Point.create(Value.doubleValue(100), TEST_TIME), null)); in multipleMetrics_GetMetric() 242 LABEL_VALUES1, Point.create(Value.doubleValue(-120), TEST_TIME), null)); in multipleMetrics_GetMetric()
|
D | MetricRegistryImplTest.java | 64 private static final Timestamp TEST_TIME = Timestamp.create(1234, 123); field in MetricRegistryImplTest 65 private final TestClock testClock = TestClock.create(TEST_TIME); 248 LABEL_VALUES, Point.create(Value.longValue(0), TEST_TIME), null))); in addLongGauge_GetMetrics() 262 LABEL_VALUES, Point.create(Value.doubleValue(0.0), TEST_TIME), null))); in addDoubleGauge_GetMetrics() 277 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null))); in addDerivedLongGauge_GetMetrics() 292 LABEL_VALUES, Point.create(Value.doubleValue(5.0), TEST_TIME), null))); in addDerivedDoubleGauge_GetMetrics() 334 LABEL_VALUES, Point.create(Value.longValue(200), TEST_TIME), null)), in getMetrics() 338 LABEL_VALUES, Point.create(Value.doubleValue(-300.13), TEST_TIME), null)), in getMetrics() 342 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null)), in getMetrics() 346 LABEL_VALUES, Point.create(Value.doubleValue(5.0), TEST_TIME), null))); in getMetrics()
|
D | DerivedLongGaugeImplTest.java | 57 private static final Timestamp TEST_TIME = Timestamp.create(1234, 123); field in DerivedLongGaugeImplTest 58 private final TestClock testClock = TestClock.create(TEST_TIME); 144 LABEL_VALUES, Point.create(Value.longValue(2), TEST_TIME), null))); in createTimeSeries_WithObjFunction() 158 LABEL_VALUES, Point.create(Value.longValue(-200), TEST_TIME), null))); in addTimeSeries_WithNullObj() 188 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null)); in multipleMetrics_GetMetric() 191 LABEL_VALUES_1, Point.create(Value.longValue(2), TEST_TIME), null)); in multipleMetrics_GetMetric()
|
D | DerivedDoubleGaugeImplTest.java | 56 private static final Timestamp TEST_TIME = Timestamp.create(1234, 123); field in DerivedDoubleGaugeImplTest 57 private final TestClock testClock = TestClock.create(TEST_TIME); 139 LABEL_VALUES, Point.create(Value.doubleValue(2.5), TEST_TIME), null))); in createTimeSeries_WithObjFunction() 160 LABEL_VALUES, Point.create(Value.doubleValue(-200.5), TEST_TIME), null))); in addTimeSeries_WithNullObj() 188 LABEL_VALUES, Point.create(Value.doubleValue(5.5), TEST_TIME), null)); in multipleMetrics_GetMetric() 191 LABEL_VALUES_1, Point.create(Value.doubleValue(2.5), TEST_TIME), null)); in multipleMetrics_GetMetric()
|
/external/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 28 TEST_TIME = 1200609642081230 variable 59 when=TEST_TIME) 68 mock.call.update(_helpers._to_bytes(str(TEST_TIME))), 73 _helpers._to_bytes(str(TEST_TIME))) 229 when=TEST_TIME) 236 current_time=TEST_TIME)) 239 later15mins = TEST_TIME + 15 * 60 247 later2hours = TEST_TIME + 2 * 60 * 60
|
/external/autotest/client/common_lib/ |
D | control_data.py | 72 TEST_TIME = autotest_enum.AutotestEnum(*TEST_TIME_LIST, variable in ControlData 82 return ControlData.TEST_TIME.get_value(time.lower())
|