HomeSort by relevance Sort by last modified time
    Searched refs:SystemIdInfo (Results 1 - 6 of 6) sorted by null

  /frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
AlarmsTest.java 34 import androidx.work.impl.model.SystemIdInfo;
67 SystemIdInfo systemIdInfo = mDatabase.systemIdInfoDao().getSystemIdInfo(workSpecId);
68 assertThat(systemIdInfo, is(notNullValue()));
77 SystemIdInfo systemIdInfo = new SystemIdInfo(workSpecId, 1);
78 mDatabase.systemIdInfoDao().insertSystemIdInfo(systemIdInfo);
81 SystemIdInfo updatedSystemIdInfo = mDatabase.systemIdInfoDao().getSystemIdInfo(workSpecId);
83 assertThat(updatedSystemIdInfo.systemId, is(systemIdInfo.systemId))
    [all...]
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
SystemIdInfoDao.java 28 * A Data Access Object for {@link SystemIdInfo}.
33 * Inserts a {@link SystemIdInfo} into the database.
35 * @param systemIdInfo The {@link SystemIdInfo} to be inserted into the database.
38 void insertSystemIdInfo(@NonNull SystemIdInfo systemIdInfo);
42 * @return The instance of {@link SystemIdInfo} if exists.
45 @Query("SELECT * FROM SystemIdInfo WHERE work_spec_id=:workSpecId")
46 SystemIdInfo getSystemIdInfo(@NonNull String workSpecId);
49 * Removes {@link SystemIdInfo} corresponding to the {@link WorkSpec} identifier
    [all...]
SystemIdInfo.java 39 public class SystemIdInfo {
48 public SystemIdInfo(@NonNull String workSpecId, int systemId) {
58 SystemIdInfo that = (SystemIdInfo) o;
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
Alarms.java 32 import androidx.work.impl.model.SystemIdInfo;
62 SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpecId);
63 if (systemIdInfo != null) {
64 cancelExactAlarm(context, workSpecId, systemIdInfo.systemId);
65 setExactAlarm(context, workSpecId, systemIdInfo.systemId, triggerAtMillis);
69 SystemIdInfo newSystemIdInfo = new SystemIdInfo(workSpecId, alarmId);
76 * Cancels an existing alarm and removes the {@link SystemIdInfo}.
89 SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpecId)
    [all...]
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
SystemJobScheduler.java 32 import androidx.work.impl.model.SystemIdInfo;
81 SystemIdInfo info = workDatabase.systemIdInfoDao()
89 SystemIdInfo newSystemIdInfo = new SystemIdInfo(workSpec.id, jobId);
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
WorkDatabase.java 35 import androidx.work.impl.model.SystemIdInfo;
57 SystemIdInfo.class,
149 * @return The Data Access Object for {@link SystemIdInfo}s.

Completed in 8325 milliseconds