Home
last modified time | relevance | path

Searched refs:refresh (Results 1 – 25 of 212) sorted by relevance

123456789

/packages/apps/Settings/src/com/android/settings/connecteddevice/display/
DExternalDisplayPreferenceFragment.java252 private void addFooterPreference(Context context, PrefRefresh refresh, int title) { in addFooterPreference() argument
253 var pref = refresh.findUnusedPreference(PrefBasics.FOOTER.key); in addFooterPreference()
259 refresh.addPreference(pref); in addFooterPreference()
263 private ListPreference reuseRotationPreference(@NonNull Context context, PrefRefresh refresh, in reuseRotationPreference() argument
265 ListPreference pref = refresh.findUnusedPreference( in reuseRotationPreference()
271 refresh.addPreference(pref); in reuseRotationPreference()
276 private Preference reuseResolutionPreference(@NonNull Context context, PrefRefresh refresh, in reuseResolutionPreference() argument
278 var pref = refresh.findUnusedPreference( in reuseResolutionPreference()
284 refresh.addPreference(pref); in reuseResolutionPreference()
290 Context context, PrefRefresh refresh, int position) { in reuseUseDisplayPreference() argument
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEntryPreferenceTest.java171 mPref.refresh(); in titleChanged_refresh_shouldUpdateTitle()
181 mPref.refresh(); in summaryChanged_refresh_shouldUpdateSummary()
191 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
194 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
197 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
200 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
203 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
206 mPref.refresh(); in levelChanged_refresh_shouldUpdateLevelIcon()
219 mPref.refresh(); in levelChanged_showXWifiRefresh_shouldUpdateLevelIcon()
222 mPref.refresh(); in levelChanged_showXWifiRefresh_shouldUpdateLevelIcon()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java132 mClearDefaultsPreference.refresh(); in onResume()
135 mEnableDisablePreference.refresh(); in onResume()
173 mUninstallPreference.refresh(); in onActivityResult()
477 mClearDataPreference.refresh(); in clearData()
486 mClearDataPreference.refresh(); in dataCleared()
505 mClearCachePreference.refresh(); in clearCache()
514 mClearCachePreference.refresh(); in cacheCleared()
539 mForceStopPreference.refresh(); in onRunningStateChanged()
568 mAppStoragePreference.refresh(); in onPackageSizeChanged()
569 mClearCachePreference.refresh(); in onPackageSizeChanged()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble_addr.h62 std::function<bool(RawAddress* bd_addr, tBLE_ADDR_TYPE* p_addr_type, bool refresh)> body{
66 bool operator()(RawAddress* bd_addr, tBLE_ADDR_TYPE* p_addr_type, bool refresh) { in operator()
67 return body(bd_addr, p_addr_type, refresh); in operator()
75 std::function<bool(tBLE_BD_ADDR* address_with_type, bool refresh)> body{
77 bool operator()(tBLE_BD_ADDR* address_with_type, bool refresh) { in operator()
78 return body(address_with_type, refresh); in operator()
Dmock_stack_btm_ble_addr.cc65 bool refresh) { in btm_identity_addr_to_random_pseudo() argument
68 refresh); in btm_identity_addr_to_random_pseudo()
71 bool refresh) { in btm_identity_addr_to_random_pseudo_from_address_with_type() argument
74 address_with_type, refresh); in btm_identity_addr_to_random_pseudo_from_address_with_type()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/
DNotificationsPreferenceTest.java98 mNotificationsPreference.refresh(); in testNotificationsPreference_systemAppNotificationsEnabledInRes()
110 mNotificationsPreference.refresh(); in testNotificationsPreference_systemAppNotificationsEnabledNotInRes()
122 mNotificationsPreference.refresh(); in testNotificationsPreference_notSystemAppNotificationsEnabledInRes()
134 mNotificationsPreference.refresh(); in testNotificationsPreference_notSystemAppNotificationsEnabledNotInRes()
146 mNotificationsPreference.refresh(); in testNotificationsPreference_systemAppNotificationsDisabledNotInRes()
158 mNotificationsPreference.refresh(); in testNotificationsPreference_notSystemAppNotificationsEDisabledInRes()
170 mNotificationsPreference.refresh(); in testNotificationsPreference_notSystemAppNotificationsDisabledNotInRes()
182 mNotificationsPreference.refresh(); in testNotificationsPreference_systemAppNotificationsDisabledInRes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsAmbientVolumePreferenceControllerTest.java140 mController.refresh(); in refresh_notHearingDevice_verifyUiControllerNotRefresh()
142 verify(mUiController, never()).refresh(); in refresh_notHearingDevice_verifyUiControllerNotRefresh()
151 mController.refresh(); in refresh_notSupportVcp_verifyUiControllerNotRefresh()
153 verify(mUiController, never()).refresh(); in refresh_notSupportVcp_verifyUiControllerNotRefresh()
162 mController.refresh(); in refresh_noValidAmbientControl_verifyUiControllerNotRefresh()
164 verify(mUiController, never()).refresh(); in refresh_noValidAmbientControl_verifyUiControllerNotRefresh()
173 mController.refresh(); in refresh_isHearingDevice_supportVcp_validAmbientControl_verifyUiControllerRefresh()
175 verify(mUiController).refresh(); in refresh_isHearingDevice_supportVcp_validAmbientControl_verifyUiControllerRefresh()
DBluetoothDetailsSpatialAudioControllerTest.java148 mController.refresh(); in refresh_spatialAudioIsTurnedOn_checksSpatialAudioPreference()
159 mController.refresh(); in refresh_spatialAudioIsTurnedOff_unchecksSpatialAudioPreference()
172 mController.refresh(); in refresh_spatialAudioOnAndHeadTrackingIsAvailable_showsHeadTrackingPreference()
187 mController.refresh(); in refresh_spatialAudioOnHeadTrackingOff_recordMetrics()
210 mController.refresh(); in refresh_spatialAudioOff_recordMetrics()
233 mController.refresh(); in refresh_spatialAudioOnAndHeadTrackingIsNotAvailable_hidesHeadTrackingPreference()
246 mController.refresh(); in refresh_spatialAudioOff_hidesHeadTrackingPreference()
262 mController.refresh(); in refresh_headTrackingIsTurnedOn_checksHeadTrackingPreference()
283 mController.refresh(); in refresh_headTrackingIsTurnedOff_unchecksHeadTrackingPreference()
304 mController.refresh(); in refresh_leAudioProfileEnabledForHeadset_useLeAudioHeadsetAttributes()
[all …]
DBluetoothDetailsControllerEventsTest.java49 verify(controller, times(1)).refresh(); in pauseResumeEvents()
52 verify(controller, times(1)).refresh(); in pauseResumeEvents()
56 verify(controller, times(2)).refresh(); in pauseResumeEvents()
78 protected void refresh() {} in refresh() method in BluetoothDetailsControllerEventsTest.TestController
DBluetoothDetailsDataSyncControllerTest.java100 mController.refresh(); in refresh_noAssociations_checkPreferenceInvisible()
110 mController.refresh(); in refresh_permSyncNull_checkPreferenceInvisible()
118 mController.refresh(); in refresh_permSyncEnabled_checkPreferenceOn()
127 mController.refresh(); in refresh_permSyncDisabled_checkPreferenceOff()
DBluetoothDetailsHearingAidsPresetsControllerTest.java215 mController.refresh(); in refresh_emptyPresetInfo_preferenceDisabled()
228 mController.refresh(); in refresh_validPresetInfo_preferenceEnabled()
240 mController.refresh(); in refresh_invalidActivePresetIndex_summaryIsNull()
252 mController.refresh(); in refresh_validActivePresetIndex_summaryIsNotNull()
273 mController.refresh(); in loadAllPresetInfo_unavailablePreset_notAddedToEntries()
283 mController.refresh(); in loadAllPresetInfo_availablePreset_addedToEntries()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java72 refresh();
131 private void refresh() { in refresh() method in StorageSummaryFragment
188 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
228 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
259 private void refresh(Context context, StorageManager storageManager, in refresh() method in StorageSummaryFragment.VolPreference
320 refresh(); in onStorageStateChanged()
325 refresh(); in onVolumeStateChanged()
330 refresh(); in onVolumeRecordChanged()
335 refresh(); in onVolumeForgotten()
340 refresh(); in onDiskScanned()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleControllerTest.java110 mDetailsPowerRoleController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_sink_shouldUncheck()
123 mDetailsPowerRoleController.refresh(true, UsbManager.FUNCTION_NONE, in displayRefresh_source_shouldCheck()
135 mDetailsPowerRoleController.refresh(false, UsbManager.FUNCTION_NONE, in displayRefresh_disconnected_shouldDisable()
148 mDetailsPowerRoleController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_notSupported_shouldRemove()
196 mDetailsPowerRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_success_shouldClearSubtext()
198 mDetailsPowerRoleController.refresh(true /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_success_shouldClearSubtext()
215 mDetailsPowerRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_failed_shouldShowFailureText()
217 mDetailsPowerRoleController.refresh(true /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_failed_shouldShowFailureText()
237 mDetailsPowerRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDevice_timedOut_shouldShowFailureText()
DUsbDetailsFunctionsControllerTest.java122 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_allAllowed_shouldCreatePrefs()
136 mDetailsFunctionsController.refresh(false, UsbManager.FUNCTION_NONE, in displayRefresh_disconnected_shouldDisable()
148 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_onlyMidiAllowed_shouldCreateOnlyMidiPref()
160 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_MTP, POWER_ROLE_SINK, in displayRefresh_mtpEnabled_shouldCheckSwitches()
173 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_ACCESSORY, POWER_ROLE_SINK, in displayRefresh_accessoryEnabled_shouldCheckSwitches()
186 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_NCM, POWER_ROLE_SINK, in displayRefresh_ncmEnabled_checksSwitches()
199 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in onClickMtp_noneEnabled_shouldEnableMtp()
208 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_MTP, POWER_ROLE_SINK, in onClickMtp_noneEnabled_shouldEnableMtp()
217 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_PTP, POWER_ROLE_SINK, in onClickMtp_ptpEnabled_shouldEnableMtp()
226 mDetailsFunctionsController.refresh(true, UsbManager.FUNCTION_MTP, POWER_ROLE_SINK, in onClickMtp_ptpEnabled_shouldEnableMtp()
[all …]
DUsbDetailsDataRoleControllerTest.java108 mDetailsDataRoleController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_deviceRole_shouldCheckDevice()
119 mDetailsDataRoleController.refresh(true, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_hostRole_shouldCheckHost()
130 mDetailsDataRoleController.refresh(false, UsbManager.FUNCTION_NONE, POWER_ROLE_SINK, in displayRefresh_disconnected_shouldDisable()
171 mDetailsDataRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_success_shouldClearSubtext()
173 mDetailsDataRoleController.refresh(true /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_success_shouldClearSubtext()
188 mDetailsDataRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_failed_shouldShowFailureText()
190 mDetailsDataRoleController.refresh(true /* connected */, UsbManager.FUNCTION_NONE, in onClickDeviceAndRefresh_failed_shouldShowFailureText()
208 mDetailsDataRoleController.refresh(false /* connected */, UsbManager.FUNCTION_NONE, in onClickDevice_timedOut_shouldShowFailureText()
DUsbDetailsTranscodeMtpControllerTest.java100 mUnderTest.refresh(false /* connected */, UsbManager.FUNCTION_MTP, POWER_ROLE_NONE, in displayRefresh_noUsbConnection_shouldDisablePrefCategory()
110 mUnderTest.refresh(true /* connected */, UsbManager.FUNCTION_NONE, POWER_ROLE_NONE, in displayRefresh_noDataTransfer_shouldDisablePrefCategory()
120 mUnderTest.refresh(true /* connected */, UsbManager.FUNCTION_MTP, POWER_ROLE_NONE, in displayRefresh_noDataRole_shouldDisablePrefCategory()
131 mUnderTest.refresh(true /* connected */, UsbManager.FUNCTION_MTP, POWER_ROLE_NONE, in displayRefresh_fileTransfer_withAbsentProp_shouldCheck()
143 mUnderTest.refresh(true /* connected */, UsbManager.FUNCTION_MTP, POWER_ROLE_NONE, in displayRefresh_fileTransfer_withUnsetProp_shouldUncheck()
155 mUnderTest.refresh(true /* connected */, UsbManager.FUNCTION_MTP, POWER_ROLE_NONE, in displayRefresh_fileTransfer_withSetProp_shouldCheck()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DMissingStorageFragment.java68 refresh(); in onResume()
82 private void refresh() { in refresh() method in MissingStorageFragment
103 refresh(); in onVolumeForgotten()
110 refresh(); in onVolumeRecordChanged()
DClearCachedDataPreference.java101 public void refresh() { in refresh() method in ClearCachedDataPreference
147 refresh(); in onUpdateAppList()
223 refresh(); in setClearingCache()
253 refresh(); in clearCache()
260 refresh(); in clearCache()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DUtilsTest.java58 when(input.refresh()).thenReturn(true); in refreshNode_nodeRefreshed_returnsNode()
68 when(input.refresh()).thenReturn(false); in refreshNode_nodeNotRefreshed_returnsNull()
78 when(input.refresh()).thenReturn(false); in refreshNode_nodeNotRefreshed_recycleNode()
106 when(webView.refresh()).thenReturn(true); in findFocusWithRetry_WebViewIsFocused()
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/
DStylusUsiHeaderController.java76 refresh(); in displayPreference()
82 refresh(); in updateState()
85 private void refresh() { in refresh() method in StylusUsiHeaderController
130 refresh(); in onBatteryStateChanged()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsController.java157 protected void refresh() { in refresh() method in BluetoothDetailsHearingAidsPresetsController
200 mContext.getMainExecutor().execute(this::refresh); in onPresetSelected()
210 refresh(); in onPresetSelectionFailed()
239 mContext.getMainExecutor().execute(this::refresh); in onPresetInfoChanged()
249 refresh(); in onSetPresetNameFailed()
261 refresh(); in onSetPresetNameForGroupFailed()
332 refresh(); in onServiceConnected()
DBluetoothBroadcastSourcePreference.java117 refresh(); in updateMetadataAndRefreshUi()
128 refresh(); in updateReceiveStateAndRefreshUi()
138 private void refresh() { in refresh() method in BluetoothBroadcastSourcePreference
195 refresh(); in clearReceiveState()
DBluetoothDetailsController.java65 refresh(); in onResume()
75 refresh(); in onDeviceAttributesChanged()
95 protected abstract void refresh(); in refresh() method in BluetoothDetailsController
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java79 refresh(); in PaymentBackend()
88 refresh(); in onResume()
91 public void refresh() { in refresh() method in PaymentBackend
242 refresh(); in setDefaultPaymentApp()
255 refresh(); in register()
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java101 refresh(); in goodmorning()
128 refresh(); in onReceiveAsync()
154 refresh(); in onReceiveAsync()
158 private void refresh() { in refresh() method in ProtipWidget
167 refresh(); in setIcon()

123456789