Home
last modified time | relevance | path

Searched refs:STATE (Results 1 – 25 of 26) 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.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.java60 Voicemails.STATE,
DContactsProvider2Test.java6772 syncStateValues.put(MetadataSyncState.STATE, "syncState"); in testMetadataSyncCleanedUpOnAccountRemoval()
6788 syncStateValues2.put(MetadataSyncState.STATE, "syncState2"); in testMetadataSyncCleanedUpOnAccountRemoval()
6801 final String[] projection = new String[]{MetadataSyncState.STATE}; in testMetadataSyncCleanedUpOnAccountRemoval()
/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/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/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaEventReader.java49 STATE, enumConstant
81 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.java1643 MetadataSyncState.STATE + " BLOB);"); in onCreate()
2262 MetadataSyncState.STATE + in createContactsViews()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java300 return new PowerState(state[VehicleApPowerStateReqIndex.STATE], in getCurrentPowerState()
389 int state = v.value.int32Values.get(VehicleApPowerStateReqIndex.STATE); in dispatchEvents()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPowerManagementTest.java329 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()
/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()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2949 .add(UIProvider.AttachmentColumns.STATE, AttachmentColumns.UI_STATE) in getAttachmentMap()
5145 Integer stateValue = uiValues.getAsInteger(UIProvider.AttachmentColumns.STATE); in uiUpdateAttachment()

12