Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp353 void LayerSnapshot::merge(const RequestedLayerState& requested, bool forceUpdate, in merge() argument
363 if (forceUpdate || requested.what & layer_state_t::eTransparentRegionChanged) { in merge()
366 if (forceUpdate || requested.what & layer_state_t::eFlagsChanged) { in merge()
370 if (forceUpdate || requested.what & layer_state_t::eBufferTransformChanged) { in merge()
373 if (forceUpdate || requested.what & layer_state_t::eTransformToDisplayInverseChanged) { in merge()
376 if (forceUpdate || requested.what & layer_state_t::eDataspaceChanged) { in merge()
379 if (forceUpdate || requested.what & layer_state_t::eExtendedRangeBrightnessChanged) { in merge()
383 if (forceUpdate || requested.what & layer_state_t::eDesiredHdrHeadroomChanged) { in merge()
386 if (forceUpdate || requested.what & layer_state_t::eCachingHintChanged) { in merge()
389 if (forceUpdate || requested.what & layer_state_t::eHdrMetadataChanged) { in merge()
[all …]
DLayerSnapshotBuilder.cpp376 args.forceUpdate = ForceUpdateFlags::ALL; in LayerSnapshotBuilder()
381 const bool forceUpdate = args.forceUpdate != ForceUpdateFlags::NONE; in tryFastUpdate() local
383 if (args.layerLifecycleManager.getGlobalChanges().get() == 0 && !forceUpdate && in tryFastUpdate()
393 if (forceUpdate || args.displayChanges) { in tryFastUpdate()
398 snapshot->merge(*requested, forceUpdate, args.displayChanges, args.forceFullDamage, in tryFastUpdate()
408 it->second->merge(*requested, forceUpdate, args.displayChanges, args.forceFullDamage, in tryFastUpdate()
428 } else if (args.forceUpdate == ForceUpdateFlags::ALL || args.displayChanges) { in updateSnapshots()
435 if (args.forceUpdate == ForceUpdateFlags::HIERARCHY) { in updateSnapshots()
595 if (!mResortSnapshots && args.forceUpdate == ForceUpdateFlags::NONE && in sortSnapshotsByZ()
668 if (args.forceUpdate == ForceUpdateFlags::NONE && in updateFrameRateFromChildSnapshot()
[all …]
DLayerSnapshot.h152 void merge(const RequestedLayerState& requested, bool forceUpdate, bool displayChanges,
DLayerSnapshotBuilder.h48 ForceUpdateFlags forceUpdate = ForceUpdateFlags::NONE; member
/frameworks/base/core/java/android/os/
DBatteryManagerInternal.java120 public abstract void setChargerAcOnline(boolean online, boolean forceUpdate); in setChargerAcOnline() argument
125 public abstract void setBatteryLevel(int level, boolean forceUpdate); in setBatteryLevel() argument
130 public abstract void unplugBattery(boolean forceUpdate); in unplugBattery() argument
135 public abstract void resetBattery(boolean forceUpdate); in resetBattery() argument
DBatteryStatsManager.java614 public void setChargerAcOnline(boolean online, boolean forceUpdate) { in setChargerAcOnline() argument
616 mBatteryStats.setChargerAcOnline(online, forceUpdate); in setChargerAcOnline()
628 public void setBatteryLevel(int level, boolean forceUpdate) { in setBatteryLevel() argument
630 mBatteryStats.setBatteryLevel(level, forceUpdate); in setBatteryLevel()
642 public void unplugBattery(boolean forceUpdate) { in unplugBattery() argument
644 mBatteryStats.unplugBattery(forceUpdate); in unplugBattery()
656 public void resetBattery(boolean forceUpdate) { in resetBattery() argument
658 mBatteryStats.resetBattery(forceUpdate); in resetBattery()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1175 private void setChargerAcOnline(boolean online, boolean forceUpdate) { in setChargerAcOnline() argument
1181 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate)); in setChargerAcOnline()
1184 private void setBatteryLevel(int level, boolean forceUpdate) { in setBatteryLevel() argument
1190 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate)); in setBatteryLevel()
1193 private void unplugBattery(boolean forceUpdate, PrintWriter pw) { in unplugBattery() argument
1202 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate, pw)); in unplugBattery()
1205 private void resetBattery(boolean forceUpdate, @Nullable PrintWriter pw) { in resetBattery() argument
1209 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate, pw)); in resetBattery()
1226 private void processValuesLocked(boolean forceUpdate, @Nullable PrintWriter pw) { in processValuesLocked() argument
1227 processValuesLocked(forceUpdate); in processValuesLocked()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl279 void setChargerAcOnline(boolean online, boolean forceUpdate); in setChargerAcOnline() argument
282 void setBatteryLevel(int level, boolean forceUpdate); in setBatteryLevel() argument
285 void unplugBattery(boolean forceUpdate); in unplugBattery() argument
288 void resetBattery(boolean forceUpdate); in resetBattery() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DReachabilityEduWindowManager.java176 void forceUpdate(boolean forceUpdate) { in forceUpdate() argument
177 mForceUpdate = forceUpdate; in forceUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModel.kt52 fun forceUpdate() method
DStubQSTileViewModel.kt36 override fun forceUpdate() = error("Don't call stubs") method
DQSTileViewModelAdapter.kt110 qsTileViewModel.forceUpdate() in <lambda>()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java380 BlurRegion[] blurRegionsForFrame, boolean forceUpdate) { in getBlurRegionsForFrameLocked() argument
381 if (!forceUpdate && (mFrameRtUpdates.size() == 0 in getBlurRegionsForFrameLocked()
418 boolean forceUpdate) { in handleDispatchBlurTransactionLocked() argument
420 getBlurRegionsForFrameLocked(frameNumber, blurRegions, forceUpdate); in handleDispatchBlurTransactionLocked()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubService.java1652 private void sendWifiSettingUpdate(boolean forceUpdate) {
1658 if (forceUpdate || mIsWifiAvailable != wifiAvailable) {
1662 if (forceUpdate || mIsWifiScanningEnabled != wifiScanEnabled) {
1666 if (forceUpdate || mIsWifiMainEnabled != wifiEnabled) {
1679 private void sendBtSettingUpdate(boolean forceUpdate) {
1685 if (forceUpdate || mIsBtScanningEnabled != btScanEnabled) {
1689 if (forceUpdate || mIsBtMainEnabled != btEnabled) {
1699 if (forceUpdate || mIsBtMainEnabled != btEnabled) {
1703 if (forceUpdate || mIsBtScanningEnabled != btScanEnabled) {
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java489 private void handleDisplayEvent(int displayId, @DisplayEvent int event, boolean forceUpdate) { in handleDisplayEvent() argument
520 listener.sendDisplayEvent(displayId, event, info, forceUpdate); in handleDisplayEvent()
1245 boolean forceUpdate) { in sendDisplayEvent() argument
1253 handleDisplayEventInner(displayId, event, info, forceUpdate); in sendDisplayEvent()
1267 @Nullable DisplayInfo info, boolean forceUpdate) { in handleDisplayEventInner() argument
1291 if (info != null && (forceUpdate || !info.equals(mDisplayInfo))) { in handleDisplayEventInner()
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java79 mStatsManager.forceUpdate(); in fetchStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataManager.kt41 fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean = false) in setInactive()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java629 private void onProxyChanged(int deviceId, boolean forceUpdate) { in onProxyChanged() argument
647 scheduleUpdateProxyClientsIfNeededLocked(deviceId, forceUpdate); in onProxyChanged()
666 private void scheduleUpdateProxyClientsIfNeededLocked(int deviceId, boolean forceUpdate) { in scheduleUpdateProxyClientsIfNeededLocked() argument
672 Slog.v(LOG_TAG, "force update: " + forceUpdate); in scheduleUpdateProxyClientsIfNeededLocked()
675 || (Flags.proxyUseAppsOnVirtualDeviceListener() && forceUpdate)) { in scheduleUpdateProxyClientsIfNeededLocked()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/di/
DNewQSTileFactoryKosmos.kt60 override fun forceUpdate() {} in <lambda>() method
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java164 static void forceUpdate() { in forceUpdate() method in RotationHelper
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java480 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation() argument
481 if (newOrientation == mLastOrientation && !forceUpdate) { in updateOrientation()
491 return updateRotationUnchecked(forceUpdate); in updateOrientation()
522 boolean updateRotationUnchecked(boolean forceUpdate) { in updateRotationUnchecked() argument
524 if (!forceUpdate) { in updateRotationUnchecked()
658 if (shouldRotateSeamlessly(oldRotation, rotation, forceUpdate)) { in updateRotationUnchecked()
748 boolean shouldRotateSeamlessly(int oldRotation, int newRotation, boolean forceUpdate) { in shouldRotateSeamlessly() argument
787 if (!forceUpdate && mDisplayContent.getWindow(win -> win.mSeamlesslyRotated) != null) { in shouldRotateSeamlessly()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileViewModelTest.kt141 underTest.forceUpdate() in forceUpdateTriggersData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt147 override fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean) = unsupported in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImpl.kt119 override fun forceUpdate() { in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLegacyNotificationIconAreaControllerImpl.java617 private void updateAodIconsVisibility(boolean animate, boolean forceUpdate) { in updateAodIconsVisibility() argument
635 if (mAodIconsVisible != visible || forceUpdate) { in updateAodIconsVisibility()

12