Searched refs:ClockInfo (Results 1 – 5 of 5) sorted by relevance
53 ClockInfo info = ClockInfo.builder().setName(name).build(); in testGetName()60 ClockInfo info = ClockInfo.builder().setTitle(() -> title).build(); in testGetTitle()67 ClockInfo info = ClockInfo.builder().setId(id).build(); in testGetId()73 ClockInfo info = ClockInfo.builder().setThumbnail(mMockSupplier).build(); in testGetThumbnail()80 ClockInfo info = ClockInfo.builder().setPreview(mMockSupplier).build(); in testGetPreview()
60 private Supplier<List<ClockInfo>> mMockSupplier;61 private List<ClockInfo> mClocks;118 mClocks.add(ClockInfo.builder() in testQuery_listOptions()123 mClocks.add(ClockInfo.builder() in testQuery_listOptions()160 mClocks.add(ClockInfo.builder() in testOpenFile_preview()176 mClocks.add(ClockInfo.builder() in testOpenFile_thumbnail()
68 private final Supplier<List<ClockInfo>> mClocksSupplier;75 ClockOptionsProvider(Supplier<List<ClockInfo>> clocksSupplier) { in ClockOptionsProvider()102 List<ClockInfo> clocks = mClocksSupplier.get(); in query()104 ClockInfo clock = clocks.get(i); in query()141 ClockInfo clock = null; in openFile()142 List<ClockInfo> clocks = mClocksSupplier.get(); in openFile()156 private Uri createThumbnailUri(ClockInfo clock) { in createThumbnailUri()165 private Uri createPreviewUri(ClockInfo clock) { in createPreviewUri()
25 final class ClockInfo { class33 private ClockInfo(String name, Supplier<String> title, String id, in ClockInfo() method in ClockInfo88 public ClockInfo build() { in build()89 return new ClockInfo(mName, mTitle, mId, mThumbnail, mPreview); in build()
190 List<ClockInfo> getClockInfos() { in getClockInfos()281 private final List<ClockInfo> mClockInfo = new ArrayList<>();312 List<ClockInfo> getInfo() { in getInfo()324 mClockInfo.add(ClockInfo.builder() in addClockPlugin()