Home
last modified time | relevance | path

Searched refs:DURATION (Results 1 – 25 of 47) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java138 values.put(Calls.DURATION, 40); in testUpdate()
204 values.put(Calls.DURATION, 40); in testAddCall()
443 values.put(Calls.DURATION, 30); in getDefaultValues()
486 values.put(Calls.DURATION, 100); in getTestCallLogValues()
497 values.put(Calls.DURATION, 200); in getTestCallLogValues()
508 values.put(Calls.DURATION, 50); in getTestCallLogValues()
DVoicemailProviderTest.java100 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testInsertReadMessageIsNotNew()
145 values.put(Voicemails.DURATION, 40); in testUpdate()
765 values.put(Voicemails.DURATION, 30); in getTestVoicemailValues()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DFadeTexture.java28 public static final int DURATION = 180; field in FadeTexture
66 if (now() - mStartTime >= DURATION) { in isAnimating()
74 float r = (float)(now() - mStartTime) / DURATION; in getRatio()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledProgramReaperTest.java37 private static final long DURATION = TimeUnit.HOURS.toMillis(1); field in ScheduledProgramReaperTest
95 mFakeClock.increment(TimeUnit.MILLISECONDS, DURATION); in testRun_oneRecordingsExpired()
109 CHANNEL_ID, startTime, startTime + DURATION); in addNewScheduledRecordingForTomorrow()
DRecordingTaskTest.java58 private static final long DURATION = TimeUnit.MINUTES.toMillis(30); field in RecordingTaskTest
118 long endTime = startTime + DURATION; in createRecording()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DRecurrenceSetTest.java109 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
125 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
138 values.put(CalendarContract.Events.DURATION, "P3600S"); in testRRULEfolding()
DCalendarProvider2Test.java1193 m.remove(Events.DURATION); in eventInfoToContentValues()
1198 m.put(Events.DURATION, event.mDuration); in eventInfoToContentValues()
1261 Events.DURATION, in updateMatchingEvents()
1276 || values.containsKey(Events.DURATION) || values.containsKey(Events.ALL_DAY) in updateMatchingEvents()
1295 if (!values.containsKey(Events.DURATION) && duration != null) { in updateMatchingEvents()
1296 values.put(Events.DURATION, duration); in updateMatchingEvents()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTiledScreenNail.java39 private static final int DURATION = 180; field in TiledScreenNail
195 if (AnimationTime.get() - mAnimationStartTime >= DURATION) { in isAnimating()
203 float r = (float) (AnimationTime.get() - mAnimationStartTime) / DURATION; in getRatio()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsBase.java35 private static final String DURATION = "duration"; field in ProcessStatsBase
76 ? icicle.getLong(DURATION, sDurations[0]) : sDurations[0]); in onCreate()
82 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherViewPropertyAnimator.java37 DURATION, enumConstant
160 mPropertiesToSet.add(Properties.DURATION); in setDuration()
220 if (mPropertiesToSet.contains(Properties.DURATION)) { in start()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java164 Events.DURATION
398 ALLOWED_IN_EXCEPTION.add(Events.DURATION);
1517 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1558 modValues.put(Events.DURATION, duration); in fixAllDayTime()
1844 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
1873 values.remove(Events.DURATION); in handleInsertException()
2453 bob.append("\ndur: ").append(values.getAsString(Events.DURATION)); in dumpEventNoPII()
2479 boolean hasDuration = !TextUtils.isEmpty(values.getAsString(Events.DURATION)); in scrubEventData()
2525 values.remove(Events.DURATION); in scrubEventData()
2527 modValues.putNull(Events.DURATION); in scrubEventData()
[all …]
DCalendarInstancesHelper.java117 Events.DURATION,
172 int durationColumn = entries.getColumnIndex(Events.DURATION); in performInstanceExpansion()
/packages/apps/Dialer/java/com/android/dialer/backup/
DDialerBackupUtils.java137 case Voicemails.DURATION: in convertVoicemailCursorRowToProto()
219 contentValues.put(Voicemails.DURATION, voicemailInfo.getDuration()); in convertVoicemailProtoFileToContentValueAndAudioBytes()
311 Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION), in isDuplicate() argument
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DCallLogQuery.java35 public static final int DURATION = 3; field in CallLogQuery
68 Calls.DURATION, // 3
/packages/providers/CalendarProvider/
Dmaketests.py37 DURATION = re.compile("DURATION:(.*)") variable
96 re_duration = DURATION.match(s)
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1017 mExpectedValues.remove(Events.DURATION); in testCheckTimeDependentFieldsChanges()
1243 mExpectedValues.put(Events.DURATION, "P60S"); in testAddRecurrenceRule()
1254 mExpectedValues.put(Events.DURATION, "P1D"); in testAddRecurrenceRule()
1380 mExpectedValues.put(Events.DURATION, (String) null); in testGetContentValuesFromModel()
1583 values.put(Events.DURATION, "P3652421990D"); in buildTestValues()
1598 values.put(Events.DURATION, (String)null); in buildNonRecurringTestValues()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java84 Calls.DURATION,
128 sCallsProjectionMap.put(Calls.DURATION, Calls.DURATION); in sCallsProjectionMap.put() argument
DVoicemailContentTable.java64 .add(Voicemails.DURATION)
103 .add(Voicemails.DURATION) in VoicemailContentTable()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java78 Events.DURATION, // 9
647 values.remove(Events.DURATION); in checkTimeDependentFields()
938 values.put(Events.DURATION, duration); in addRecurrenceRule()
1268 values.put(Events.DURATION, (String) null); in getContentValuesFromModel()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java122 CallLog.Calls.DURATION,
377 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor()
/packages/apps/Music/src/com/android/music/
DMusicPicker.java93 MediaStore.Audio.Media.DURATION, MediaStore.Audio.Media.TRACK};
298 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION); in changeCursor()
DTrackBrowserActivity.java137 MediaStore.Audio.Media.DURATION}; in onCreate()
141 MediaStore.Audio.Media.ARTIST_ID, MediaStore.Audio.Media.DURATION, in onCreate()
1386 mDurationIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DURATION);
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataQuery.java53 MediaStore.Video.VideoColumns.DURATION // 11 long
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DVoicemailDatabaseUtil.java65 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorVoicemail.java130 values.put(Voicemails.DURATION, getDurationSeconds()); in getAsContentValues()

12