Home
last modified time | relevance | path

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

123

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/
DCarToastUITest.java60 private static final int DURATION = 1000; field in CarToastUITest
112 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
125 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled()
137 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled()
150 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled()
162 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKey_createToastNotCalled()
179 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
191 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled()
203 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled()
215 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
/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/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()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsCursorLoader.java43 AnnotatedCallLog.DURATION,
54 private static final int DURATION = 4; field in CallDetailsCursorLoader
143 .setDuration(cursor.getLong(DURATION)) in toCallDetailsEntry()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DVoicemailCursorLoader.java42 AnnotatedCallLog.DURATION,
59 private static final int DURATION = 4; field in VoicemailCursorLoader
108 .setDuration(cursor.getLong(DURATION)) in toVoicemailEntry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java146 values.put(Calls.DURATION, 40); in testUpdate()
215 values.put(Calls.DURATION, 40); in testAddCall()
454 values.put(Calls.DURATION, 30); in getDefaultValues()
497 values.put(Calls.DURATION, 100); in getTestCallLogValues()
509 values.put(Calls.DURATION, 200); in getTestCallLogValues()
521 values.put(Calls.DURATION, 50); in getTestCallLogValues()
DVoicemailProviderTest.java125 String[] projection = {Voicemails.NUMBER, Voicemails.DATE, Voicemails.DURATION, in testInsertReadMessageIsNotNew()
179 values.put(Voicemails.DURATION, 40); in testUpdate()
893 values.put(Voicemails.DURATION, 30); in getTestVoicemailValues()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DScheduledProgramReaperTest.java53 private static final long DURATION = TimeUnit.HOURS.toMillis(1); field in ScheduledProgramReaperTest
115 mFakeClock.increment(TimeUnit.MILLISECONDS, DURATION); in testRun_oneRecordingsExpired()
130 INPUT_ID, CHANNEL_ID, startTime, startTime + DURATION); in addNewScheduledRecordingForTomorrow()
DRecordingTaskTest.java62 private static final long DURATION = TimeUnit.MINUTES.toMillis(30); field in RecordingTaskTest
136 long endTime = startTime + DURATION; in createRecording()
/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.java37 private static final String DURATION = "duration"; field in ProcessStatsBase
78 ? icicle.getLong(DURATION, sDurations[0]) : sDurations[0]); in onCreate()
84 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DCallLogQuery.java35 public static final int DURATION = 3; field in CallLogQuery
67 Calls.DURATION, // 3
/packages/providers/MediaProvider/apex/framework/api/
Dremoved.txt8 field public static final String DURATION = "duration";
37 field public static final String DURATION = "duration";
/packages/providers/CalendarProvider/
Dmaketests.py37 DURATION = re.compile("DURATION:(.*)") variable
96 re_duration = DURATION.match(s)
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java104 assertEquals(1_045L, (long) values.getAsLong(FileColumns.DURATION)); in testForwardLock_Audio()
114 assertEquals(40_000L, (long) values.getAsLong(FileColumns.DURATION)); in testForwardLock_Video()
218 DatabaseUtils.copyFromCursorToContentValues(FileColumns.DURATION, c, values); in doForwardLock()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java127 Calls.DURATION + " INTEGER," + in onCreate()
357 Calls.DURATION + " INTEGER," + in upgradetoVersion8()
408 Calls.DURATION + ", " + in upgradetoVersion8()
DVoicemailContentTable.java65 .add(Voicemails.DURATION)
107 .add(Voicemails.DURATION) in VoicemailContentTable()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java179 Events.DURATION
416 ALLOWED_IN_EXCEPTION.add(Events.DURATION);
1720 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1761 modValues.put(Events.DURATION, duration); in fixAllDayTime()
2051 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
2080 values.remove(Events.DURATION); in handleInsertException()
2728 bob.append("\ndur: ").append(values.getAsString(Events.DURATION)); in dumpEventNoPII()
2754 boolean hasDuration = !TextUtils.isEmpty(values.getAsString(Events.DURATION)); in scrubEventData()
2800 values.remove(Events.DURATION); in scrubEventData()
2802 modValues.putNull(Events.DURATION); in scrubEventData()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java270 int durationsColumn = cursor.getColumnIndexOrThrow(Calls.DURATION); in handleInsertsAndUpdates()
348 contentValues.put(AnnotatedCallLog.DURATION, duration); in handleInsertsAndUpdates()
402 Calls.DURATION,
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java230 MediaStore.Video.Media.DURATION, in loadData()
242 int durationColumn = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DURATION); in loadData()
/packages/apps/Camera2/src/com/android/camera/data/
DVideoDataQuery.java53 MediaStore.Video.VideoColumns.DURATION // 11 long
/packages/apps/Dialer/java/com/android/dialer/calllog/database/contract/
DAnnotatedCallLogContract.java168 public static final String DURATION = "duration"; field in AnnotatedCallLogContract.AnnotatedCallLog
/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/voicemail/model/
Dvoicemail_entry.proto29 // Value in column AnnotatedCallLog.DURATION
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java125 CallLog.Calls.DURATION,
398 call.duration = cursor.getLong(cursor.getColumnIndex(CallLog.Calls.DURATION)); in readCallFromCursor()

123