Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/os/
DBatteryManagerInternal.java90 public abstract void setChargerAcOnline(boolean online, boolean forceUpdate); in setChargerAcOnline() argument
95 public abstract void setBatteryLevel(int level, boolean forceUpdate); in setBatteryLevel() argument
100 public abstract void unplugBattery(boolean forceUpdate); in unplugBattery() argument
105 public abstract void resetBattery(boolean forceUpdate); in resetBattery() argument
DBatteryStatsManager.java496 public void setChargerAcOnline(boolean online, boolean forceUpdate) { in setChargerAcOnline() argument
498 mBatteryStats.setChargerAcOnline(online, forceUpdate); in setChargerAcOnline()
510 public void setBatteryLevel(int level, boolean forceUpdate) { in setBatteryLevel() argument
512 mBatteryStats.setBatteryLevel(level, forceUpdate); in setBatteryLevel()
524 public void unplugBattery(boolean forceUpdate) { in unplugBattery() argument
526 mBatteryStats.unplugBattery(forceUpdate); in unplugBattery()
538 public void resetBattery(boolean forceUpdate) { in resetBattery() argument
540 mBatteryStats.resetBattery(forceUpdate); in resetBattery()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl171 void setChargerAcOnline(boolean online, boolean forceUpdate); in setChargerAcOnline() argument
173 void setBatteryLevel(int level, boolean forceUpdate); in setBatteryLevel() argument
175 void unplugBattery(boolean forceUpdate); in unplugBattery() argument
177 void resetBattery(boolean forceUpdate); in resetBattery() argument
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1009 private void setChargerAcOnline(boolean online, boolean forceUpdate) { in setChargerAcOnline() argument
1015 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate)); in setChargerAcOnline()
1018 private void setBatteryLevel(int level, boolean forceUpdate) { in setBatteryLevel() argument
1024 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate)); in setBatteryLevel()
1027 private void unplugBattery(boolean forceUpdate, PrintWriter pw) { in unplugBattery() argument
1035 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate, pw)); in unplugBattery()
1038 private void resetBattery(boolean forceUpdate, @Nullable PrintWriter pw) { in resetBattery() argument
1042 Binder.withCleanCallingIdentity(() -> processValuesLocked(forceUpdate, pw)); in resetBattery()
1059 private void processValuesLocked(boolean forceUpdate, @Nullable PrintWriter pw) { in processValuesLocked() argument
1060 processValuesLocked(forceUpdate); in processValuesLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsManagerInternal.java37 public abstract void forceUpdate(); in forceUpdate() method in NetworkStatsManagerInternal
DNetworkStatsService.java1003 public void forceUpdate() {
1704 public void forceUpdate() {
1705 NetworkStatsService.this.forceUpdate();
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java373 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation() argument
374 if (newOrientation == mLastOrientation && !forceUpdate) { in updateOrientation()
384 return updateRotationUnchecked(forceUpdate); in updateOrientation()
415 boolean updateRotationUnchecked(boolean forceUpdate) { in updateRotationUnchecked() argument
420 if (!forceUpdate && !useShellTransitions) { in updateRotationUnchecked()
529 if (shouldRotateSeamlessly(oldRotation, rotation, forceUpdate)) { in updateRotationUnchecked()
662 boolean shouldRotateSeamlessly(int oldRotation, int newRotation, boolean forceUpdate) { in shouldRotateSeamlessly() argument
711 if (!forceUpdate && mDisplayContent.getWindow(win -> win.mSeamlesslyRotated) != null) { in shouldRotateSeamlessly()
DDisplayContent.java1453 WindowContainer freezeDisplayWindow, boolean forceUpdate) { in updateOrientation() argument
1459 if (updateOrientation(forceUpdate)) { in updateOrientation()
1493 private boolean updateOrientation(boolean forceUpdate) { in updateOrientation() argument
1512 return mDisplayRotation.updateOrientation(orientation, forceUpdate); in updateOrientation()
4718 boolean forceUpdate) { in assignRelativeLayer() argument
4722 super.assignRelativeLayer(t, relativeTo, layer, forceUpdate); in assignRelativeLayer()
4822 private void assignRelativeLayerForIme(SurfaceControl.Transaction t, boolean forceUpdate) { in assignRelativeLayerForIme() argument
4849 1, forceUpdate); in assignRelativeLayerForIme()
4854 mImeWindowsContainer.assignRelativeLayer(t, mInputMethodSurfaceParent, 1, forceUpdate); in assignRelativeLayerForIme()
DWindowContainer.java2253 boolean forceUpdate) { in assignRelativeLayer() argument
2255 if (mSurfaceControl != null && (changed || forceUpdate)) { in assignRelativeLayer()
DTask.java5103 boolean updateTaskOrganizerState(boolean forceUpdate) {
5104 return updateTaskOrganizerState(forceUpdate, false /* skipTaskAppeared */);
5117 boolean updateTaskOrganizerState(boolean forceUpdate, boolean skipTaskAppeared) {
5130 if (!forceUpdate && mTaskOrganizer == organizer) {
/frameworks/base/core/java/android/net/
DINetworkStatsService.aidl76 void forceUpdate(); in forceUpdate() method
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java108 private Searchables getSearchables(int userId, boolean forceUpdate) { in getSearchables() argument
127 } else if (forceUpdate) { in getSearchables()
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java77 mStatsService.forceUpdate(); in fetchStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java222 private void updateView(boolean forceUpdate) { in updateView() argument
223 if (!updateCurrentUser() && !forceUpdate) { in updateView()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java737 public ParcelFileDescriptor getStatisticsStream(boolean forceUpdate) { in getStatisticsStream() argument
743 if (forceUpdate) { in getStatisticsStream()
2842 public void setChargerAcOnline(boolean online, boolean forceUpdate) { in setChargerAcOnline() argument
2843 mBatteryManagerInternal.setChargerAcOnline(online, forceUpdate); in setChargerAcOnline()
2850 public void setBatteryLevel(int level, boolean forceUpdate) { in setBatteryLevel() argument
2851 mBatteryManagerInternal.setBatteryLevel(level, forceUpdate); in setBatteryLevel()
2858 public void unplugBattery(boolean forceUpdate) { in unplugBattery() argument
2859 mBatteryManagerInternal.unplugBattery(forceUpdate); in unplugBattery()
2866 public void resetBattery(boolean forceUpdate) { in resetBattery() argument
2867 mBatteryManagerInternal.resetBattery(forceUpdate); in resetBattery()
DAppProfiler.java534 boolean forceUpdate) { in updateNextPssTimeLPf() argument
535 if (!forceUpdate) { in updateNextPssTimeLPf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataFilter.kt229 mediaDataManager.setTimedOut(it, timedOut = true, forceUpdate = true) in <lambda>()
DMediaDataManager.kt417 internal fun setTimedOut(token: String, timedOut: Boolean, forceUpdate: Boolean = false) { in setTimedOut()
419 if (it.active == !timedOut && !forceUpdate) { in setTimedOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaController.java677 private void updateAodIconsVisibility(boolean animate, boolean forceUpdate) { in updateAodIconsVisibility() argument
695 if (mAodIconsVisible != visible || forceUpdate) { in updateAodIconsVisibility()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubService.java1065 private void sendWifiSettingUpdate(boolean forceUpdate) {
1069 if (forceUpdate || mIsWifiAvailable != enabled) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java328 forceUpdate(); in onStart()
362 void forceUpdate() { in forceUpdate() method in WifiTracker
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java995 tracker.forceUpdate(); in onStart_updateScanResults_evictOldScanResult()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2124 private void sendEnabledSurroundFormats(ContentResolver cr, boolean forceUpdate) { in sendEnabledSurroundFormats() argument
2136 if (!forceUpdate && TextUtils.equals(enabledSurroundFormats, mEnabledSurroundFormats)) { in sendEnabledSurroundFormats()
2173 private void updateAssistantUId(boolean forceUpdate) { in updateAssistantUId() argument
2220 if (assistantUid != mAssistantUid || forceUpdate) { in updateAssistantUId()
/frameworks/base/core/java/android/widget/
DTextView.java6656 boolean forceUpdate = false; in setInputType()
6663 forceUpdate = true; in setInputType()
6673 forceUpdate = true; in setInputType()
6681 if (mSingleLine != singleLine || forceUpdate) { in setInputType()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3041 private void invalidateOwnerNameIfNecessary(@NonNull Resources res, boolean forceUpdate) { in invalidateOwnerNameIfNecessary() argument
3043 if (forceUpdate || (configChanges & mOwnerNameTypedValue.changingConfigurations) != 0) { in invalidateOwnerNameIfNecessary()

12