Searched refs:CLOCK_ID (Results 1 – 3 of 3) sorted by relevance
45 private static final String CLOCK_ID = "id"; field in ClockManagerTest65 Clockface clock = new Clockface.Builder().setId(CLOCK_ID).build(); in testApply()82 assertEquals(CLOCK_ID, json.getString(CLOCK_FIELD)); in testApply()99 JSONObject json = new JSONObject().put(CLOCK_FIELD, CLOCK_ID); in testGetCurrentClock_returnsClockId()103 assertEquals(CLOCK_ID, mManager.getCurrentClock()); in testGetCurrentClock_returnsClockId()
50 static const clockid_t CLOCK_ID = CLOCK_BOOTTIME; variable229 if (clock_gettime(CLOCK_ID, &ts) == -1) { in now_ms()
113 static const clockid_t CLOCK_ID = CLOCK_BOOTTIME; variable323 if (!timer_create_internal(CLOCK_ID, &timer)) goto error; in lazy_initialize()392 if (clock_gettime(CLOCK_ID, &ts) == -1) { in now_ms()