/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerDAO.kt | 33 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()
|
D | TimerDAO.java | 44 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()
|
D | StopwatchDAO.kt | 27 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()
|
D | StopwatchDAO.java | 36 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/ |
D | DismissAlarmsService.java | 46 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()
|
D | AlertService.java | 65 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/ |
D | ContactMetadataProviderTest.java | 460 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()
|
D | VoicemailProviderTest.java | 128 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()
|
D | ContactsDatabaseHelperUpgradeTest.java | 477 new TableColumn(Voicemails.STATE, INTEGER, false, null), 549 new TableColumn(MetadataSyncState.STATE, BLOB, false, null),
|
D | CallLogProviderTest.java | 58 Voicemails.STATE,
|
D | ContactsProvider2Test.java | 6798 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/ |
D | TmaMediaEventReader.java | 52 STATE, enumConstant 88 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallLogDatabaseHelper.java | 163 Voicemails.STATE + " INTEGER," + in onCreate() 380 Voicemails.STATE + " INTEGER," + in upgradetoVersion8() 431 Voicemails.STATE + ", " + in upgradetoVersion8()
|
D | VoicemailContentTable.java | 70 .add(Voicemails.STATE) 112 .add(Voicemails.STATE) in VoicemailContentTable()
|
D | ContactMetadataProvider.java | 87 .add(MetadataSyncState.STATE)
|
D | ContactsDatabaseHelper.java | 1647 MetadataSyncState.STATE + " BLOB);"); in onCreate() 2266 MetadataSyncState.STATE + in createContactsViews()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 304 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/ |
D | TcpInfo.java | 37 STATE(Byte.BYTES), enumConstant
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpInfoTest.java | 180 info.put(TcpInfo.Field.STATE, (byte) 0x01); in makeShortTestTcpInfoHash()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarPowerManagementTest.java | 349 v.get(VehicleApPowerStateReqIndex.STATE), in onPropertySet()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 477 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()
|
D | CalendarDatabaseHelper.java | 473 CalendarContract.CalendarAlerts.STATE + " INTEGER NOT NULL," + in bootstrapDB()
|
D | CalendarProvider2.java | 5206 sCalendarAlertsProjectionMap.put(CalendarAlerts.STATE, "state"); in sCalendarAlertsProjectionMap.put() argument
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 2084 CalendarContract.CalendarAlerts.STATE, // 10 in testCalendarAlerts() 2424 alert.put(CalendarContract.CalendarAlerts.STATE, in internalTestDirty() 2474 alert.put(CalendarContract.CalendarAlerts.STATE, in internalTestDirty()
|