Home
last modified time | relevance | path

Searched refs:ts1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java177 final long[] ts1 = startKillAndRestart(am, ACTION_START | ACTION_KILL | ACTION_WAIT, in testDisableServiceRestartBackoff() local
180 assertTrue("app1 restart should be before app2", ts1[1] < ts1[2]); in testDisableServiceRestartBackoff()
181 assertTrue("app2 restart should be before app3", ts1[2] < ts1[3]); in testDisableServiceRestartBackoff()
244 final long[] ts1 = 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()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp233 nsecs_t ts1 = 0; in TEST_F() local
236 EXPECT_CALL(*mLayer1FE, onPreComposition(_)).WillOnce(DoAll(SaveArg<0>(&ts1), Return(false))); in TEST_F()
246 EXPECT_EQ(ts1, mEngine.getLastFrameRefreshTimestamp()); in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java954 private void compareTimestampsSubjectToIoLatency(String error, long ts1, long ts2) { in compareTimestampsSubjectToIoLatency() argument
956 assertTrue(error, Math.abs(ts1 - ts2) < DELTA_MILLIS); in compareTimestampsSubjectToIoLatency()