Searched refs:IdGenerator (Results 1 – 7 of 7) sorted by relevance
29 public class IdGenerator { class46 public IdGenerator(Context context) { in IdGenerator() method in IdGenerator54 synchronized (IdGenerator.class) { in nextJobSchedulerIdWithRange()69 synchronized (IdGenerator.class) { in nextFirebaseAlarmId()78 synchronized (IdGenerator.class) { in nextAlarmManagerId()
19 import static androidx.work.impl.utils.IdGenerator.INITIAL_ID;49 private IdGenerator mIdGenerator;57 eq(IdGenerator.PREFERENCE_FILE_KEY), anyInt())) in setUp()59 mIdGenerator = new IdGenerator(mMockContext); in setUp()122 when(mockSharedPreferences.getInt(eq(IdGenerator.NEXT_JOB_SCHEDULER_ID_KEY), anyInt())) in createMockSharedPreferences()135 when(mockEditor.putInt(eq(IdGenerator.NEXT_JOB_SCHEDULER_ID_KEY), anyInt())).thenAnswer( in createMockSharedPreferencesEditor()
30 import androidx.work.impl.utils.IdGenerator;52 private IdGenerator mIdGenerator;96 mIdGenerator = new IdGenerator(mAppContext); in scheduleLater()
34 import androidx.work.impl.utils.IdGenerator;67 IdGenerator idGenerator = new IdGenerator(context); in setAlarm()
34 import androidx.work.impl.utils.IdGenerator;51 private final IdGenerator mIdGenerator;69 mIdGenerator = new IdGenerator(context); in SystemJobScheduler()
25 import androidx.work.impl.utils.IdGenerator;117 int mMinJobSchedulerId = IdGenerator.INITIAL_ID;
62 private final IdGenerator mIdGen = new IdGenerator();203 public SliceWrapper(SliceItem item, IdGenerator idGen, int mode) { in SliceWrapper()284 private static class IdGenerator { class in LargeSliceAdapter