Home
last modified time | relevance | path

Searched refs:STATE (Results 1 – 24 of 24) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerDAO.kt33 private const val STATE = "timer_state_" constant
68 val stateValue: Int = prefs.getInt(STATE + id, Timer.State.RESET.value) in getTimers()
106 editor.putInt(STATE + id, timer.state.value) in addTimer()
132 editor.putInt(STATE + id, timer.state.value) in updateTimer()
163 editor.remove(STATE + id) in removeTimer()
DTimerDAO.java44 private static final String STATE = "timer_state_"; field in TimerDAO
80 final int stateValue = prefs.getInt(STATE + id, RESET.getValue()); in getTimers()
118 editor.putInt(STATE + id, timer.getState().getValue()); in addTimer()
143 editor.putInt(STATE + id, timer.getState().getValue()); in updateTimer()
174 editor.remove(STATE + id); in removeTimer()
DStopwatchDAO.kt27 private const val STATE = "sw_state" constant
48 val stateIndex: Int = prefs.getInt(STATE, Stopwatch.State.RESET.ordinal) in getStopwatch()
70 editor.remove(STATE) in setStopwatch()
75 editor.putInt(STATE, stopwatch.state.ordinal) in setStopwatch()
DStopwatchDAO.java36 private static final String STATE = "sw_state"; field in StopwatchDAO
59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); in getStopwatch()
81 editor.remove(STATE) in setStopwatch()
86 editor.putInt(STATE, stopwatch.getState().ordinal()) in setStopwatch()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DDismissAlarmsService.java46 CalendarAlerts.STATE,
79 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + in onHandleIntent()
89 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; in onHandleIntent()
118 selection.append(CalendarAlerts.STATE); in buildMultipleEventsQuery()
DAlertService.java65 CalendarAlerts.STATE, // 2
90 private static final String ACTIVE_ALERTS_SELECTION = "(" + CalendarAlerts.STATE + "=? OR "
91 + CalendarAlerts.STATE + "=?) AND " + CalendarAlerts.ALARM_TIME + "<=";
101 + CalendarAlerts.STATE + "=?";
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java460 final String[] projection = new String[]{MetadataSyncState.STATE}; in testQueryMetadataSyncState()
475 final String[] projection = new String[] {MetadataSyncState.STATE}; in testUpdateMetadataSyncState()
495 final String[] projection = new String[] {MetadataSyncState.STATE}; in testUpdateMetadataSyncState_NonExisting()
509 final String[] projection = new String[]{MetadataSyncState.STATE}; in testDeleteMetadataSyncState()
583 values.put(MetadataSyncState.STATE, state); in getSyncStateValues()
DVoicemailProviderTest.java128 Voicemails.SOURCE_DATA, Voicemails.STATE, in testInsertReadMessageIsNotNew()
181 values.put(Voicemails.STATE, 2); in testUpdate()
899 values.put(Voicemails.STATE, Voicemails.STATE_INBOX); in getTestVoicemailValues()
DContactsDatabaseHelperUpgradeTest.java477 new TableColumn(Voicemails.STATE, INTEGER, false, null),
549 new TableColumn(MetadataSyncState.STATE, BLOB, false, null),
DCallLogProviderTest.java58 Voicemails.STATE,
DContactsProvider2Test.java6798 syncStateValues.put(MetadataSyncState.STATE, "syncState"); in testMetadataSyncCleanedUpOnAccountRemoval()
6814 syncStateValues2.put(MetadataSyncState.STATE, "syncState2"); in testMetadataSyncCleanedUpOnAccountRemoval()
6827 final String[] projection = new String[]{MetadataSyncState.STATE}; in testMetadataSyncCleanedUpOnAccountRemoval()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaEventReader.java52 STATE, enumConstant
88 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java163 Voicemails.STATE + " INTEGER," + in onCreate()
380 Voicemails.STATE + " INTEGER," + in upgradetoVersion8()
431 Voicemails.STATE + ", " + in upgradetoVersion8()
DVoicemailContentTable.java70 .add(Voicemails.STATE)
112 .add(Voicemails.STATE) in VoicemailContentTable()
DContactMetadataProvider.java87 .add(MetadataSyncState.STATE)
DContactsDatabaseHelper.java1647 MetadataSyncState.STATE + " BLOB);"); in onCreate()
2266 MetadataSyncState.STATE + in createContactsViews()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java304 return new PowerState(state[VehicleApPowerStateReqIndex.STATE], in getCurrentPowerState()
393 int state = v.value.int32Values.get(VehicleApPowerStateReqIndex.STATE); in dispatchEvents()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpInfo.java37 STATE(Byte.BYTES), enumConstant
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpInfoTest.java180 info.put(TcpInfo.Field.STATE, (byte) 0x01); in makeShortTestTcpInfoHash()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPowerManagementTest.java349 v.get(VehicleApPowerStateReqIndex.STATE), in onPropertySet()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java477 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()
DCalendarDatabaseHelper.java473 CalendarContract.CalendarAlerts.STATE + " INTEGER NOT NULL," + in bootstrapDB()
DCalendarProvider2.java5206 sCalendarAlertsProjectionMap.put(CalendarAlerts.STATE, "state"); in sCalendarAlertsProjectionMap.put() argument
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2084 CalendarContract.CalendarAlerts.STATE, // 10 in testCalendarAlerts()
2424 alert.put(CalendarContract.CalendarAlerts.STATE, in internalTestDirty()
2474 alert.put(CalendarContract.CalendarAlerts.STATE, in internalTestDirty()