Home
last modified time | relevance | path

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

12

/packages/apps/DeskClock/src/com/android/deskclock/data/
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.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.java68 CalendarAlerts.STATE, // 2
93 private static final String ACTIVE_ALERTS_SELECTION = "(" + CalendarAlerts.STATE + "=? OR "
94 + CalendarAlerts.STATE + "=?) AND " + CalendarAlerts.ALARM_TIME + "<=";
104 + CalendarAlerts.STATE + "=?";
259 vals.put(CalendarAlerts.STATE, CalendarAlerts.STATE_DISMISSED); in dismissOldAlerts()
731 values.put(CalendarAlerts.STATE, newState); in processQuery()
1022 CalendarContract.CalendarAlerts.STATE
DAlertActivity.java67 CalendarAlerts.STATE, // 10
84 private static final String SELECTION = CalendarAlerts.STATE + "=?";
99 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; in dismissFiredAlarms()
DSnoozeAlarmsService.java35 CalendarAlerts.STATE,
72 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + in onHandleIntent()
DGlobalDismissManager.java500 String selection = "(" + CalendarAlerts.STATE + "=" + in syncReceiverDismissCache()
502 CalendarAlerts.STATE + "=" + in syncReceiverDismissCache()
506 values.put(CalendarAlerts.STATE, CalendarAlerts.STATE_DISMISSED); in syncReceiverDismissCache()
DAlertUtils.java213 values.put(CalendarAlerts.STATE, CalendarAlerts.STATE_SCHEDULED);
/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.java102 Voicemails.SOURCE_DATA, Voicemails.STATE, in testInsertReadMessageIsNotNew()
147 values.put(Voicemails.STATE, 2); in testUpdate()
770 values.put(Voicemails.STATE, Voicemails.STATE_INBOX); in getTestVoicemailValues()
DContactsDatabaseHelperUpgradeTest.java484 new TableColumn(Voicemails.STATE, INTEGER, false, null),
556 new TableColumn(MetadataSyncState.STATE, BLOB, false, null),
DCallLogProviderTest.java60 Voicemails.STATE,
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java209 state = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.STATE)); in Attachment()
231 state = srcJson.optInt(AttachmentColumns.STATE); in Attachment()
311 state = values.getAsInteger(AttachmentColumns.STATE); in Attachment()
337 values.put(AttachmentColumns.STATE, state); in toContentValues()
380 result.put(AttachmentColumns.STATE, state); in toJSON()
DUIProvider.java1951 AttachmentColumns.STATE,
2098 public static final String STATE = "state"; field in UIProvider.AttachmentColumns
DEmlAttachmentProvider.java284 final Integer newState = values.getAsInteger(UIProvider.AttachmentColumns.STATE); in copyAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java127 params.put(AttachmentColumns.STATE, AttachmentState.DOWNLOADING); in startDownloadingAttachment()
138 params.put(AttachmentColumns.STATE, AttachmentState.NOT_SAVED); in cancelAttachment()
145 params.put(AttachmentColumns.STATE, AttachmentState.REDOWNLOADING); in startRedownloadingAttachment()
DAttachmentProgressDialogFragment.java96 params.put(AttachmentColumns.STATE, AttachmentState.NOT_SAVED); in cancelAttachment()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java220 return new PowerState(state[VehicleApPowerStateIndex.STATE], in getCurrentPowerState()
306 int state = v.value.int32Values.get(VehicleApPowerStateIndex.STATE); in dispatchEvents()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentTable.java68 .add(Voicemails.STATE)
107 .add(Voicemails.STATE) in VoicemailContentTable()
DCallLogDatabaseHelper.java159 Voicemails.STATE + " INTEGER," + in onCreate()
DContactMetadataProvider.java87 .add(MetadataSyncState.STATE)
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarPowerManagementTest.java124 v.get(VehicleApPowerStateIndex.STATE), in onPropertySet()
DCarVolumeServiceTest.java332 int state = v.get(VehicleAudioVolumeIndex.STATE); in onPropertySet()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java261 int state = v.get(VehicleAudioVolumeIndex.STATE); in onPropertySet()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java499 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "=" in removeScheduledAlarmsLocked()

12