Home
last modified time | relevance | path

Searched refs:updateTime (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsStopwatchTimerTest.java45 timer.startRunningLocked(updateTime(clocks, 100)); // start in testCount()
48 timer.startRunningLocked(updateTime(clocks, 110)); // start in testCount()
50 timer.stopRunningLocked(updateTime(clocks, 120)); // stop in testCount()
52 timer.stopRunningLocked(updateTime(clocks, 130)); // stop in testCount()
56 timer.startRunningLocked(updateTime(clocks, 200)); // start in testCount()
57 timer.stopRunningLocked(updateTime(clocks, 200)); // stop in testCount()
61 timer.startRunningLocked(updateTime(clocks, 300)); // start in testCount()
62 updateTime(clocks, 310); in testCount()
67 timer.stopRunningLocked(updateTime(clocks, 350)); // stop in testCount()
72 timer.startRunningLocked(updateTime(clocks, 400)); // start in testCount()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java379 final long updateTime = SystemClock.uptimeMillis(); in handleMonitorTimeout() local
380 monitor.onTimeout(updateTime); in handleMonitorTimeout()
411 final long updateTime = SystemClock.uptimeMillis(); in getBatteryState() local
415 return queryBatteryStateFromNative(deviceId, updateTime, hasBattery(deviceId)); in getBatteryState()
418 monitor.onPoll(updateTime); in getBatteryState()
524 private State queryBatteryStateFromNative(int deviceId, long updateTime, boolean isPresent) { in queryBatteryStateFromNative() argument
527 updateTime, in queryBatteryStateFromNative()
1041 State(int deviceId, long updateTime, boolean isPresent, int status, float capacity) { in State() argument
1042 initialize(deviceId, updateTime, isPresent, status, capacity); in State()
1058 initialize(s.deviceId, s.updateTime, s.isPresent, s.status, s.capacity); in copyFrom()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRilWakelockInfo.java81 updateTime(responseTime); in setResponseTime()
87 updateTime(time); in updateConcurrentRequests()
91 synchronized void updateTime(long time) { in updateTime() method in RilWakelockInfo
DClientWakelockAccountant.java96 wlInfo.updateTime(uptime); in updatePendingRequestWakelockTime()
/frameworks/base/core/java/android/hardware/input/
DIInputDeviceBatteryState.aidl29 long updateTime;
DInputManagerGlobal.java625 mListener.onBatteryStateChanged(state.deviceId, state.updateTime, in notifyBatteryStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/model/
DMediaSortKeyModel.kt31 val updateTime: Long = 0, constant in com.android.systemui.media.controls.data.model.MediaSortKeyModel
/frameworks/base/media/java/android/media/session/
DPlaybackState.java321 private PlaybackState(int state, long position, long updateTime, float speed, in PlaybackState() argument
328 mUpdateTime = updateTime; in PlaybackState()
838 long updateTime) { in setState() argument
841 mUpdateTime = updateTime; in setState()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DTimeVariables.java28 public void updateTime(RemoteContext context) { in updateTime() method in TimeVariables
DCoreDocument.java370 mTimeVariables.updateTime(context); in initializeContext()
524 mTimeVariables.updateTime(context); in paint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModel.kt64 val updateTime = this.getLastPositionUpdateTime() in computePosition() constant
66 if (updateTime > 0) { in computePosition()
68 (this.playbackSpeed * (currentTime - updateTime)).toLong() + this.getPosition() in computePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.kt604 val updateTime = mEntriesUpdateTimes[entry.key] ?: return false in <lambda>() constant
605 return (mSystemClock.currentTimeMillis() - updateTime) <= MAX_RANKING_UPDATE_DELAY_MS in <lambda>()
626 for ((key, updateTime) in mEntriesUpdateTimes) { in <lambda>() constant
627 if (updateTime == null || timeThreshold > updateTime) { in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java182 long updateTime = c.getLong(indexLastUpdate); in updateIconsPerUser() local
186 && updateTime == cachingLogic.getLastUpdatedTime(app, info) in updateIconsPerUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java203 boolean installed, Signature[] signatures, long updateTime) { in createPackageInfo() argument
206 p.lastUpdateTime = updateTime; in createPackageInfo()
211 boolean installed, Signature[] signatures, long updateTime, boolean hidden) { in createPackageInfo() argument
213 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime); in createPackageInfo()
223 boolean installed, Signature[] signatures, long updateTime, boolean hidden, in createPackageInfo() argument
226 updateTime, hidden); in createPackageInfo()
/frameworks/base/core/java/android/app/
DTimePickerDialog.java190 public void updateTime(int hourOfDay, int minuteOfHour) { in updateTime() method in TimePickerDialog
/frameworks/native/libs/input/
DVelocityTracker.cpp794 state.updateTime = eventTime; in initState()
807 if (eventTime <= state.updateTime + MIN_TIME_DELTA) { in updateState()
811 float dt = (eventTime - state.updateTime) * 0.000000001f; in updateState()
812 state.updateTime = eventTime; in updateState()
/frameworks/native/include/input/
DVelocityTracker.h252 nsecs_t updateTime; member
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceBatteryListenerTest.kt130 this.updateTime = eventTime in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt107 .thenByDescending { it.updateTime } in <lambda>()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java1038 long updateTime = state.getLastPositionUpdateTime();
1040 if (updateTime > 0) {
1042 * (currentTime - updateTime)) + state.getPosition();
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt1633 val updateTime: Long = 0, constant in MediaPlayerData.MediaSortKey
1650 .thenByDescending { it.updateTime } in <lambda>()
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt126 batteryStateMatchers.add(memberMatcher("updateTime", { it.updateTime }, equalTo(eventTime))) in matchesState()
/frameworks/base/location/java/android/location/
DLocationManager.java2246 @NonNull String provider, int status, @Nullable Bundle extras, long updateTime) {} in setTestProviderStatus() argument
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp308 std::filesystem::file_time_type updateTime = std::filesystem::last_write_time(path, error); in fileNewerThan() local
312 return duration > (Clock::now() - updateTime); in fileNewerThan()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12