Searched refs:ts2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ServiceRestarterTest.java | 186 final long[] ts2 = startKillAndRestart(am, ACTION_KILL | ACTION_WAIT | ACTION_STOPPKG, in testDisableServiceRestartBackoff() local 189 assertTrue("app2 restart should be before app1", ts2[2] < ts2[1]); in testDisableServiceRestartBackoff() 190 assertTrue("app1 restart should be before app3", ts2[1] < ts2[3]); in testDisableServiceRestartBackoff() 191 assertTrue("app2 should be restart in a very short moment", ts2[2] - ts2[0] < WAIT_MS); in testDisableServiceRestartBackoff() 250 final long[] ts2 = startKillAndRestart(am, ACTION_ALL, uid1Listener1, uid1Listener2, in testExtraDelaysInServiceRestartOnLowMem() local 254 (ts2[1] - ts2[0]) > (ts1[1] - ts1[0])); in testExtraDelaysInServiceRestartOnLowMem() 256 (ts2[2] - ts2[0]) > (ts1[2] - ts1[0])); in testExtraDelaysInServiceRestartOnLowMem() 258 (ts2[3] - ts2[0]) > (ts1[3] - ts1[0])); in testExtraDelaysInServiceRestartOnLowMem() 267 (ts3[1] - ts3[0]) > (ts2[1] - ts2[0])); in testExtraDelaysInServiceRestartOnLowMem() 269 (ts3[2] - ts3[0]) > (ts2[2] - ts2[0])); in testExtraDelaysInServiceRestartOnLowMem() [all …]
|
/frameworks/libs/binary_translation/base/ |
D | raw_syscall_tests.cc | 44 struct timespec ts2; in TEST() local 46 __NR_clock_gettime, static_cast<long>(CLOCK_REALTIME), reinterpret_cast<long>(&ts2)); in TEST() 48 EXPECT_LE(ts2.tv_sec - ts2.tv_sec, 1) in TEST()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CompositionEngineTest.cpp | 234 nsecs_t ts2 = 0; in TEST_F() local 237 EXPECT_CALL(*mLayer2FE, onPreComposition(_)).WillOnce(DoAll(SaveArg<0>(&ts2), Return(false))); in TEST_F() 247 EXPECT_EQ(ts2, mEngine.getLastFrameRefreshTimestamp()); in TEST_F()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 954 private void compareTimestampsSubjectToIoLatency(String error, long ts1, long ts2) { in compareTimestampsSubjectToIoLatency() argument 956 assertTrue(error, Math.abs(ts1 - ts2) < DELTA_MILLIS); in compareTimestampsSubjectToIoLatency()
|