Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DStylusDeviceUpdaterTest.java151 mStylusDeviceUpdater.forceUpdate(); in click_usiPreference_launchUsiDetailsPage()
169 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_addsUsiPreference_validUsiDevice()
179 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_doesNotAddPreference_invalidUsiDevice()
189 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_removesUsiPreference_existingPreference_invalidUsiDevice()
192 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_removesUsiPreference_existingPreference_invalidUsiDevice()
202 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_doesNotAddUsiPreference_bluetoothStylusConnected()
211 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_addsUsiPreference_bluetoothStylusDisconnected()
214 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_addsUsiPreference_bluetoothStylusDisconnected()
223 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_removesUsiPreference_existingPreference_bluetoothStylusConnected()
226 mStylusDeviceUpdater.forceUpdate(); in forceUpdate_removesUsiPreference_existingPreference_bluetoothStylusConnected()
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/
DStylusDeviceUpdater.java87 forceUpdate(); in registerCallback()
115 forceUpdate(); in onInputDeviceAdded()
121 forceUpdate(); in onInputDeviceRemoved()
130 forceUpdate(); in onInputDeviceChanged()
140 forceUpdate(); in onBatteryStateChanged()
153 public void forceUpdate() { in forceUpdate() method in StylusDeviceUpdater
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountTypesHelperTest.java78 mHelper.forceUpdate(); in forceUpdate_authorizedAccountTypesShouldBeSet()
92 mHelper.forceUpdate(); in forceUpdate_hasAccountTypeFilter_shouldFilterAccounts()
105 mHelper.forceUpdate(); in forceUpdate_hasAccountExclusionFilter_shouldFilterAccounts()
124 mHelper.forceUpdate(); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized()
143 mHelper.forceUpdate(); in refreshUi_hasAuthoritiesInFilter_notAuthorized()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java131 forceUpdate(false); in setBackgroundColor()
141 forceUpdate(true); in setText()
154 forceUpdate(true); in setTextSize()
179 forceUpdate(true); in setStyle()
193 forceUpdate(true); in setTypeface()
197 private void forceUpdate(boolean needsLayout) { in forceUpdate() method in SubtitleView
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java86 forceUpdate();
119 forceUpdate();
199 public void forceUpdate() { in forceUpdate() method in AppEntryListManager
207 public void forceUpdate(ApplicationsState.AppEntry entry) { in forceUpdate() method in AppEntryListManager
DAppOpsPreferenceController.java77 mAppEntryListManager.forceUpdate(entry);
145 mAppEntryListManager.forceUpdate(); in setShowSystem()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java99 forceUpdate(); in registerCallback()
118 public void forceUpdate() { in forceUpdate() method in BluetoothDeviceUpdater
150 forceUpdate(); in onBluetoothStateChanged()
194 forceUpdate(); in onServiceConnected()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdaterTest.java221 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference()
239 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference()
254 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_notFindCachedBluetoothDevice_doNothing()
270 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
294 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_deviceNotContain_removePreference()
312 mBluetoothDeviceUpdater.forceUpdate(); in forceUpdate_deviceIsSubDevice_doesNothing()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationPresenter.java67 private void updateLocation(Location location, boolean forceUpdate) { in updateLocation() argument
69 if (forceUpdate || !Objects.equals(lastLocation, location)) { in updateLocation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDeviceVolumeGroupControllerTest.java292 verify(mDeviceUpdater, never()).forceUpdate(); in displayPreference_flagOff_doNothing()
300 verify(mDeviceUpdater).forceUpdate(); in displayPreference_flagOn_updateDeviceList()
467 verify(mDeviceUpdater, never()).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
475 verify(mDeviceUpdater).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
480 verify(mDeviceUpdater, times(2)).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
504 verify(mDeviceUpdater, never()).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_doNothing()
DAudioSharingDevicePreferenceControllerTest.java243 verify(mBluetoothDeviceUpdater, never()).forceUpdate(); in displayPreference_flagOff_doNothing()
253 verify(mBluetoothDeviceUpdater).forceUpdate(); in displayPreference_flagOn_updateDeviceList()
508 verify(mBluetoothDeviceUpdater, never()).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
519 verify(mBluetoothDeviceUpdater).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
526 verify(mBluetoothDeviceUpdater, times(2)).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_updateGroup()
550 verify(mBluetoothDeviceUpdater, never()).forceUpdate(); in testBluetoothLeBroadcastAssistantCallbacks_doNothing()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DConnectedDeviceGroupController.java132 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
141 mConnectedDockUpdater.forceUpdate(); in displayPreference()
146 mStylusDeviceUpdater.forceUpdate(); in displayPreference()
DAvailableMediaDeviceGroupController.java157 mBluetoothDeviceUpdater.forceUpdate();
173 mBluetoothDeviceUpdater.forceUpdate();
241 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
DSavedDeviceGroupController.java98 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
100 mSavedDockUpdater.forceUpdate(); in displayPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt71 forceUpdate: Boolean = false, in <lambda>()
84 if (forceUpdate && liveData is SmartUpdateMediatorLiveData<T>) { in <lambda>()
267 observeAndCheckForLifecycleState(uiInfoLiveData, forceUpdate = true) { uiInfo -> in <lambda>()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTimer.java172 private void updateToShortestDelay(boolean isAlarmRequired, boolean forceUpdate) { in updateToShortestDelay() argument
188 if (timerInfo.getTimerId() != mCurrentHandlerTimerId || forceUpdate) { in updateToShortestDelay()
195 if (timerInfo.getTimerId() != mCurrentAlarmTimerId || forceUpdate) { in updateToShortestDelay()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java112 private void updateBatteryStatus(Intent intent, boolean forceUpdate) { in updateBatteryStatus() argument
142 } else if (forceUpdate) { in updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java111 forceUpdate(); in initUsbPreference()
114 private void forceUpdate() { in forceUpdate() method in ConnectedUsbDeviceUpdater
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSmartUpdateMediatorLiveData.kt239 suspend fun getInitializedValue(staleOk: Boolean = false, forceUpdate: Boolean = false): T? { in <lambda>()
243 if (forceUpdate || (!staleOk && isStale)) { in <lambda>()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManagerTest.java125 mAppEntryListManager.forceUpdate(); in forceUpdate_loadsExtraInfo()
135 mAppEntryListManager.forceUpdate(entry); in forceUpdate_forEntry_loadsExtraInfo()
/packages/apps/Settings/src/com/android/settings/notification/syncacrossdevices/
DSyncAcrossDevicesFeatureUpdater.java30 default void forceUpdate() {} in forceUpdate() method
/packages/apps/Settings/src/com/android/settings/connecteddevice/fastpair/
DFastPairDeviceUpdater.java36 default void forceUpdate() {} in forceUpdate() method
/packages/apps/Settings/src/com/android/settings/connecteddevice/dock/
DDockUpdater.java43 default void forceUpdate() { in forceUpdate() method
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDeviceVolumeGroupController.java158 mBluetoothDeviceUpdater.forceUpdate();
174 mBluetoothDeviceUpdater.forceUpdate();
236 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()
DAudioSharingDevicePreferenceController.java139 mBluetoothDeviceUpdater.forceUpdate();
163 mBluetoothDeviceUpdater.forceUpdate();
272 mBluetoothDeviceUpdater.forceUpdate(); in displayPreference()

123