/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/ |
H A D | CarToastUITest.java | 59 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() 181 carToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled() 193 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemNotPrivilegedIsPlatformKey_createToastCalled() 205 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedNotPlatformKey_createToastCalled() 217 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_isSystemIsPrivilegedIsPlatformKey_createToastCalled()
|
/aosp12/system/extras/tests/mmc_tracepoints/ |
H A D | mmc_trace_reduce | 8 typeset -i STARTTIME ENDTIME DURATION START_SEC START_USEC DUR_SEC DUR_USEC 140 DURATION=ENDTIME-STARTTIME 141 DUR_SEC=DURATION/1000000 142 DUR_USEC=DURATION%1000000
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
H A D | RecentLocationAppsTest.java | 40 private static final int DURATION = 10; field in RecentLocationAppsTest 93 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldFilterRecentApps() 95 assertThat(requests.get(1).requestFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO + DURATION); in testGetAppList_shouldFilterRecentApps() 107 DURATION); in testGetAppList_shouldNotShowAndroidOS() 122 assertThat(requests.get(0).requestFinishTime).isEqualTo(ONE_MIN_AGO + DURATION); in testGetAppList_shouldNotShowAndroidOS() 124 assertThat(requests.get(1).requestFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO + DURATION); in testGetAppList_shouldNotShowAndroidOS() 145 DURATION); in createTestPackageOpsList()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | FadeTexture.java | 28 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()
|
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | RevealActivity.java | 37 private static final int DURATION = 800; field in RevealActivity 90 animator.setDuration(DURATION); in onClick() 95 set.setDuration(DURATION); in onClick() 111 Thread.sleep(DURATION);
|
H A D | RippleActivity.java | 50 static final int DURATION = 1000; field in RippleActivity.RippleView 149 mNoisePhase, DURATION)); in performClick() 160 anim.setDuration(DURATION); in performClick() 176 Thread.sleep(DURATION); in performClick()
|
/aosp12/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | RecurrenceSetTest.java | 109 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()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
H A D | CallDetailsCursorLoader.java | 43 AnnotatedCallLog.DURATION, 54 private static final int DURATION = 4; field in CallDetailsCursorLoader 143 .setDuration(cursor.getLong(DURATION)) in toCallDetailsEntry()
|
/aosp12/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
H A D | MainActivity.java | 22 static final int DURATION = 400; field in MainActivity 60 lv.getChildAt(i).animate().translationY(0).setDuration(DURATION); in onResume() 76 animator.setDuration(DURATION); in onItemClick()
|
H A D | SubActivity.java | 48 child.animate().translationX(0).setDuration(MainActivity.DURATION); in onResume() 52 bg.animate().alpha(1f).setDuration(MainActivity.DURATION); in onResume()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
H A D | VoicemailCursorLoader.java | 42 AnnotatedCallLog.DURATION, 59 private static final int DURATION = 4; field in VoicemailCursorLoader 108 .setDuration(cursor.getLong(DURATION)) in toVoicemailEntry()
|
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
H A D | ScheduledProgramReaperTest.java | 53 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ProcessStatsBase.java | 37 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()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | TiledScreenNail.java | 39 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 56 static final int DURATION = 500; field in DessertCaseView 205 fillFreeList(DURATION * 4); in start() 276 fillFreeList(DURATION); in fillFreeList() 295 … postDelayed(new Runnable() { public void run() { fillFreeList(); } }, DURATION/2); in fillFreeList() 400 .setDuration(DURATION) 433 set1.setDuration(DURATION); 442 set2.setDuration(DURATION);
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaMetadataTest.java | 40 YEAR, DURATION, NUM_TRACKS, WRITER enumConstant 119 …Log.v(TAG, "Expected = " + meta_data_file[fileIndex][meta.DURATION.ordinal()] + "reult = " + value… in validateMetatData() 123 meta_data_file[fileIndex][meta.DURATION.ordinal()]) in validateMetatData()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 255 writeIntRecord(Metadata.DURATION, 5); in testWrongType() 260 mMetadata.getString(Metadata.DURATION); in testWrongType() 296 writeLongRecord(Metadata.DURATION, 1L); in testGetLong() 300 assertEquals(1L, mMetadata.getLong(Metadata.DURATION)); in testGetLong()
|
/aosp12/frameworks/base/core/java/android/provider/ |
H A D | VoicemailContract.java | 191 public static final String DURATION = Calls.DURATION; field in VoicemailContract.Voicemails 455 contentValues.put(Voicemails.DURATION, String.valueOf(voicemail.getDuration())); in getContentValues()
|
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | Event.java | 157 protoOutputStream.write(PeopleEventProto.DURATION, mDurationSeconds); in writeToProto() 172 case (int) PeopleEventProto.DURATION: in readFromProto() 173 builder.setDurationSeconds(protoInputStream.readInt(PeopleEventProto.DURATION)); in readFromProto()
|
H A D | CallLogQueryHelper.java | 63 Calls.CACHED_NORMALIZED_NUMBER, Calls.DATE, Calls.DURATION, Calls.TYPE }; in querySince() 84 int durationIndex = cursor.getColumnIndex(Calls.DURATION); in querySince()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
H A D | CallLogQuery.java | 35 public static final int DURATION = 3; field in CallLogQuery 67 Calls.DURATION, // 3
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
H A D | WirelessChargingAnimation.java | 40 public static final long DURATION = 1500; field in WirelessChargingAnimation 93 mCurrentWirelessChargingView.hide(delay + DURATION); in show() 191 mParams.hideTimeoutMilliseconds = DURATION; in handleShow()
|
/aosp12/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
H A D | PowerMetrics.java | 32 DURATION, enumConstant 76 addMetric(getDurationMetricName(component), MetricKind.DURATION, in PowerMetrics()
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | CallLogProviderTest.java | 146 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()
|
/aosp12/packages/providers/MediaProvider/apex/framework/api/ |
H A D | removed.txt | 8 field public static final String DURATION = "duration"; 37 field public static final String DURATION = "duration";
|