/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | VolumeOptionMenuControllerTest.java | 90 verify(mController.mFormat, atLeastOnce()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 91 verify(mController.mRename, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 92 verify(mController.mMount, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 93 verify(mController.mUnmount, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 94 verify(mController.mFormatAsPortable, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 95 verify(mController.mFormatAsInternal, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 96 verify(mController.mMigrate, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 97 verify(mController.mFree, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 98 verify(mController.mForget, never()).setVisible(true); in onPrepareOptionsMenu_unSupportedDiskInfo_formatIsVisible() 109 verify(mController.mForget, atLeastOnce()).setVisible(true); in onPrepareOptionsMenu_missingVolumeRecord_forgetIsVisible() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityFragment.java | 85 mUnknownSourcesPref.setVisible(false); in refresh() 87 mRestrictedProfileGroup.setVisible(true); in refresh() 88 mRestrictedProfileEnterPref.setVisible(false); in refresh() 89 mRestrictedProfileExitPref.setVisible(true); in refresh() 90 mRestrictedProfileAppsPref.setVisible(false); in refresh() 91 mRestrictedProfilePinPref.setVisible(false); in refresh() 92 mRestrictedProfileCreatePref.setVisible(false); in refresh() 93 mRestrictedProfileDeletePref.setVisible(false); in refresh() 96 mUnknownSourcesPref.setVisible(true); in refresh() 98 mRestrictedProfileGroup.setVisible(true); in refresh() [all …]
|
D | EnterRestrictedProfileFragment.java | 67 mRestrictedProfileAlreadyEnteredPerf.setVisible(true); in refresh() 68 mRestrictedProfileNotFoundPerf.setVisible(false); in refresh() 69 mRestrictedProfileEnterPref.setVisible(false); in refresh() 71 mRestrictedProfileAlreadyEnteredPerf.setVisible(false); in refresh() 72 mRestrictedProfileNotFoundPerf.setVisible(true); in refresh() 73 mRestrictedProfileEnterPref.setVisible(false); in refresh() 75 mRestrictedProfileAlreadyEnteredPerf.setVisible(false); in refresh() 76 mRestrictedProfileNotFoundPerf.setVisible(false); in refresh() 77 mRestrictedProfileEnterPref.setVisible(true); in refresh()
|
D | CreateRestrictedProfileFragment.java | 66 mRestrictedProfileAlreadyCreatedPref.setVisible(true); in refresh() 67 mRestrictedProfileCreatePref.setVisible(false); in refresh() 69 mRestrictedProfileAlreadyCreatedPref.setVisible(false); in refresh() 70 mRestrictedProfileCreatePref.setVisible(true); in refresh()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | VolumeOptionMenuController.java | 117 mRename.setVisible(false); in updateOptionsMenu() 118 mMount.setVisible(false); in updateOptionsMenu() 119 mUnmount.setVisible(false); in updateOptionsMenu() 120 mFormat.setVisible(false); in updateOptionsMenu() 121 mFormatAsPortable.setVisible(false); in updateOptionsMenu() 122 mFormatAsInternal.setVisible(false); in updateOptionsMenu() 123 mMigrate.setVisible(false); in updateOptionsMenu() 124 mFree.setVisible(false); in updateOptionsMenu() 125 mForget.setVisible(false); in updateOptionsMenu() 128 mFormat.setVisible(true); in updateOptionsMenu() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/inputmethod/ |
D | KeyboardFragmentTest.java | 106 verify(mKeyboardCategory, atLeastOnce()).setVisible(false); in testUpdateAutofillSettings_noCandiate() 107 verify(mKeyboardCategory, never()).setVisible(true); in testUpdateAutofillSettings_noCandiate() 109 verify(mAutofillCategory, atLeastOnce()).setVisible(false); in testUpdateAutofillSettings_noCandiate() 110 verify(mAutofillCategory, never()).setVisible(true); in testUpdateAutofillSettings_noCandiate() 126 verify(mKeyboardCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selected() 127 verify(mKeyboardCategory, never()).setVisible(false); in testUpdateAutofillSettings_selected() 129 verify(mAutofillCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selected() 130 verify(mAutofillCategory, never()).setVisible(false); in testUpdateAutofillSettings_selected() 148 verify(mKeyboardCategory, atLeastOnce()).setVisible(true); in testUpdateAutofillSettings_selectedNone() 149 verify(mKeyboardCategory, never()).setVisible(false); in testUpdateAutofillSettings_selectedNone() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 246 appPref.setVisible(false); in onCreatePreferences() 250 accountsPref.setVisible(false); in onCreatePreferences() 256 accessoryPreference.setVisible(false); in onCreatePreferences() 262 displaySoundPref.setVisible(true); in onCreatePreferences() 266 privacyPref.setVisible(true); in onCreatePreferences() 345 soundPref.setVisible(info != null); in updateSoundSettings() 448 connectedDevicesSlicePreference.setVisible(true); in updateAccessoryPref() 449 connectedDevicesPreference.setVisible(false); in updateAccessoryPref() 450 accessoryPreference.setVisible(false); in updateAccessoryPref() 460 connectedDevicesSlicePreference.setVisible(false); in updateAccessoryPref() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppsPreferenceController.java | 126 mAllAppsInfoPref.setVisible(false); in refreshUi() 127 mRecentAppsCategory.setVisible(true); in refreshUi() 128 mGeneralCategory.setVisible(true); in refreshUi() 129 mSeeAllPref.setVisible(true); in refreshUi() 131 mAllAppsInfoPref.setVisible(true); in refreshUi() 132 mRecentAppsCategory.setVisible(false); in refreshUi() 133 mGeneralCategory.setVisible(false); in refreshUi() 134 mSeeAllPref.setVisible(false); in refreshUi() 168 mRecentAppsCategory.setVisible(false); in initPreferences() 169 mGeneralCategory.setVisible(false); in initPreferences() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 701 verify(mMockTxLinkSpeedPref).setVisible(false); in linkSpeedPref_shouldNotShowIfSpeedStringIsEmpty() 712 verify(mMockTxLinkSpeedPref).setVisible(true); in linkSpeedPref_shouldBeVisibleIfSpeedStringIsNotEmpty() 724 verify(mMockRxLinkSpeedPref).setVisible(false); in rxLinkSpeedPref_shouldNotShowIfSpeedStringIsEmpty() 735 verify(mMockRxLinkSpeedPref).setVisible(true); in rxLinkSpeedPref_shouldBeVisibleIfSpeedStringIsNotEmpty() 750 verify(mMockSsidPref).setVisible(true); in ssidPref_isSubscription_show() 762 verify(mMockSsidPref).setVisible(false); in ssidPref_notSubscription_hide() 775 verify(mMockMacAddressPref).setVisible(true); in macAddressPref_shouldVisibleForConnectedNetwork() 790 verify(mMockMacAddressPref).setVisible(true); in macAddressPref_shouldVisibleAsRandomizedForConnectedNetwork() 805 verify(mMockMacAddressPref).setVisible(true); in macAddressPref_shouldVisibleAsRandomizedForDisconnectedNetwork() 820 verify(mMockMacAddressPref).setVisible(true); in macAddressPref_shouldVisibleAsFactoryForDisconnectedNetwork() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | DisplayWhiteBalancePreferenceControllerTest.java | 147 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled() 152 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled() 157 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled() 162 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled() 169 verify(mPreference).setVisible(false); in visibility_configuredAvailableAccessibilityToggled() 174 verify(mPreference).setVisible(true); in visibility_configuredAvailableAccessibilityToggled() 187 verify(mPreference).setVisible(true); in visibility_configuredAvailableColorModeChanged() 192 verify(mPreference).setVisible(false); in visibility_configuredAvailableColorModeChanged() 198 verify(mPreference).setVisible(true); in visibility_configuredAvailableColorModeChanged()
|
D | SmartAutoRotatePreferenceFragmentTest.java | 148 verify(mRotateMainSwitchPreference, never()).setVisible(false); in createHeader_faceDetectionSupported_switchBarIsEnabled() 149 verify(mRotateSwitchPreference, times(1)).setVisible(false); in createHeader_faceDetectionSupported_switchBarIsEnabled() 159 verify(mRotateMainSwitchPreference, times(1)).setVisible(false); in createHeader_deviceStateRotationSupported_switchBarIsDisabled() 160 verify(mRotateSwitchPreference, never()).setVisible(false); in createHeader_deviceStateRotationSupported_switchBarIsDisabled() 169 verify(mRotateMainSwitchPreference, times(1)).setVisible(false); in createHeader_faceDetectionUnSupported_switchBarIsDisabled() 170 verify(mRotateSwitchPreference, never()).setVisible(false); in createHeader_faceDetectionUnSupported_switchBarIsDisabled() 180 verify(mRotateMainSwitchPreference, times(1)).setVisible(false); in createHeader_faceDetectionNotEnabledByConfig_switchBarIsDisabled() 181 verify(mRotateSwitchPreference, never()).setVisible(false); in createHeader_faceDetectionNotEnabledByConfig_switchBarIsDisabled()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 569 mSignalStrengthPref.setVisible(false); in refreshRssiViews() 586 mSignalStrengthPref.setVisible(true); in refreshRssiViews() 618 mFrequencyPref.setVisible(false); in refreshFrequency() 622 mFrequencyPref.setVisible(true); in refreshFrequency() 632 mTxLinkSpeedPref.setVisible(false); in refreshTxSpeed() 635 mTxLinkSpeedPref.setVisible(true); in refreshTxSpeed() 642 mRxLinkSpeedPref.setVisible(false); in refreshRxSpeed() 645 mRxLinkSpeedPref.setVisible(true); in refreshRxSpeed() 651 mSsidPref.setVisible(true); in refreshSsid() 654 mSsidPref.setVisible(false); in refreshSsid() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | ActionButtonsPreferenceTest.java | 132 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 133 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 134 mPref.getButton(ActionButtons.BUTTON3).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 135 mPref.getButton(ActionButtons.BUTTON4).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 151 mPref.getButton(ActionButtons.BUTTON1).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() 152 mPref.getButton(ActionButtons.BUTTON2).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() 153 mPref.getButton(ActionButtons.BUTTON3).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() 154 mPref.getButton(ActionButtons.BUTTON4).setIcon(R.drawable.ic_lock).setVisible(false); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() 170 mPref.getButton(ActionButtons.BUTTON1).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility() 171 mPref.getButton(ActionButtons.BUTTON2).setText(R.string.settings_label).setVisible(false); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | MultiSelectActionModeCallback.java | 177 mAddContactMenuItem.setVisible(!conversation.isGroup && !isInContacts); in updateActionIconsVisiblity() 180 mBlockMenuItem.setVisible(otherParticipant != null in updateActionIconsVisiblity() 183 mBlockMenuItem.setVisible(false); in updateActionIconsVisiblity() 184 mAddContactMenuItem.setVisible(false); in updateActionIconsVisiblity() 213 mNotificationOffMenuItem.setVisible(hasCurrentlyOnNotification); in updateActionIconsVisiblity() 214 mNotificationOnMenuItem.setVisible(hasCurrentlyOffNotification); in updateActionIconsVisiblity() 216 mArchiveMenuItem.setVisible(hasCurrentlyUnarchived); in updateActionIconsVisiblity() 217 mUnarchiveMenuItem.setVisible(hasCurrentlyArchived); in updateActionIconsVisiblity()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryTipsController.java | 94 mCardPreference.setVisible(false); in acceptTipsCard() 108 mCardPreference.setVisible(false); in handleBatteryTipsCardUpdated() 116 mCardPreference.setVisible(false); in handleBatteryTipsCardUpdated() 123 mCardPreference.setVisible(false); in handleBatteryTipsCardUpdated() 138 mCardPreference.setVisible(false); in handleBatteryTipsCardUpdated() 156 mCardPreference.setVisible(true); in handleBatteryTipsCardUpdated()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | WirelessDebuggingFragment.java | 243 mAdbWirelessSelectionOption.setVisible(false); in showBlankPreferences() 246 mCodePairingPreference.setVisible(false); in showBlankPreferences() 249 mDeviceNamePreference.setVisible(false); in showBlankPreferences() 252 mIpAddrPreference.setVisible(false); in showBlankPreferences() 255 mPairedDevicesCategory.setVisible(false); in showBlankPreferences() 262 mAdbWirelessSelectionOption.setVisible(true); in showOffMessage() 265 mCodePairingPreference.setVisible(false); in showOffMessage() 268 mDeviceNamePreference.setVisible(false); in showOffMessage() 271 mIpAddrPreference.setVisible(false); in showOffMessage() 274 mPairedDevicesCategory.setVisible(false); in showOffMessage() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragment.java | 351 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode() 352 confirmParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode() 376 addMoreParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode() 377 confirmParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode() 391 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode() 392 confirmParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode() 400 addMoreParticipantsItem.setVisible(false); in updateVisualsForContactPickingMode() 401 confirmParticipantsItem.setVisible(true); in updateVisualsForContactPickingMode() 422 deleteTextItem.setVisible(false); in updateTextInputButtonsVisibility() 423 keypadToggleItem.setVisible(true); in updateTextInputButtonsVisibility() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/ |
D | HdrFormatSelectionState.java | 287 mSupportedFormatsCategory.setVisible(true); in showFormatInfoOnManual() 288 mUnsupportedFormatsCategory.setVisible(true); in showFormatInfoOnManual() 291 mFormatsInfoCategory.setVisible(false); in showFormatInfoOnManual() 296 mSupportedFormatsCategory.setVisible(false); in hideFormatInfoOnManual() 297 mUnsupportedFormatsCategory.setVisible(false); in hideFormatInfoOnManual() 300 mFormatsInfoCategory.setVisible(true); in hideFormatInfoOnManual() 305 mEnabledFormatsCategory.setVisible(true); in showFormatInfo() 306 mDisabledFormatsCategory.setVisible(true); in showFormatInfo() 311 mEnabledFormatsCategory.setVisible(false); in hideFormatInfo() 312 mDisabledFormatsCategory.setVisible(false); in hideFormatInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 203 mEnableWifiPref.setVisible(false); in onCreatePreferences() 209 networkDiagnosticsPref.setVisible(true); in onCreatePreferences() 212 networkDiagnosticsPref.setVisible(false); in onCreatePreferences() 310 mWifiNetworksCategory.setVisible(wifiEnabled && !ethernetConnected); in updateConnectivity() 311 mCollapsePref.setVisible(wifiEnabled && mWifiNetworksCategory.shouldShowCollapsePref()); in updateConnectivity() 312 mAddPref.setVisible(wifiEnabled && !ethernetConnected); in updateConnectivity() 314 mAddEasyConnectPref.setVisible(isEasyConnectEnabled() && !ethernetConnected); in updateConnectivity() 337 mEthernetCategory.setVisible(ethernetAvailable); in updateConnectivity() 338 mEthernetStatusPref.setVisible(ethernetAvailable); in updateConnectivity() 339 mEthernetProxyPref.setVisible(ethernetAvailable); in updateConnectivity() [all …]
|
D | WifiDetailsFragment.java | 159 mIpAddressPref.setVisible(active); in update() 160 mSignalStrengthPref.setVisible(active); in update() 170 mMacAddressPref.setVisible(true); in update() 174 mMacAddressPref.setVisible(false); in update() 175 mRandomMacPref.setVisible(false); in update() 197 mProxySettingsPref.setVisible(wifiConfiguration != null); in update() 203 mIpSettingsPref.setVisible(wifiConfiguration != null); in update() 209 mForgetNetworkPref.setVisible(wifiConfiguration != null); in update() 263 mRandomMacPref.setVisible(mConnectivityListener.isMacAddressRandomizationSupported()); in updateRandomMacPref()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | NetworkState.java | 117 mNetworkDiagnosticsPref.setVisible(true); in onCreate() 120 mNetworkDiagnosticsPref.setVisible(false); in onCreate() 149 mDataSaverSlicePref.setVisible(isConnected()); in updateVisibilityForDataSaver() 150 mDataAlertSlicePref.setVisible(isConnected()); in updateVisibilityForDataSaver() 240 mWifiNetworkCategoryPref.setVisible(wifiEnabled); in updateConnectivity() 243 mAddPref.setVisible(wifiEnabled); in updateConnectivity() 264 mEthernetCategory.setVisible(ethernetAvailable); in updateConnectivity() 265 mEthernetStatusPref.setVisible(ethernetAvailable); in updateConnectivity() 266 mEthernetProxyPref.setVisible(ethernetAvailable); in updateConnectivity()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 274 mPublicStoragePreference.setVisible( in setVolume() 312 mImagesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 313 mVideosPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 314 mAudioPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 315 mAppsPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 316 mGamesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 317 mSystemPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 318 mTemporaryFilesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 319 mCategorySplitterPreferenceCategory.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 320 mTrashPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageFragment.java | 171 mMigratePref.setVisible(showMigrate); in refresh() 180 mEjectPref.setVisible(!privateInternal); in refresh() 183 mErasePref.setVisible(!privateInternal); in refresh() 194 mAppsUsagePref.setVisible(isPrivate); in refresh() 197 mDcimUsagePref.setVisible(isPrivate); in refresh() 198 mMusicUsagePref.setVisible(isPrivate); in refresh() 199 mDownloadsUsagePref.setVisible(isPrivate); in refresh() 200 mCacheUsagePref.setVisible(isPrivate); in refresh()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | ScreenOnTimeControllerTest.java | 81 verify(mRootPreference).setVisible(false); in handleScreenOnTimeUpdated_nullScreenOnTime_hideAllPreference() 82 verify(mScreenOnTimeTextPreference).setVisible(false); in handleScreenOnTimeUpdated_nullScreenOnTime_hideAllPreference() 90 verify(mRootPreference).setVisible(true); in showCategoryTitle_null_sinceLastFullCharge() 106 verify(mRootPreference).setVisible(true); in showCategoryTitle_notNull_slotTimestamp() 122 verify(mScreenOnTimeTextPreference).setVisible(true); in showScreenOnTimeText_returnExpectedResult()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetResetHelper.java | 133 mWifiTogglePreferences.setVisible(false); in suspendPreferences() 137 pref.setVisible(false); in suspendPreferences() 140 mResettingPreference.setVisible(true); in suspendPreferences() 152 mWifiTogglePreferences.setVisible(true); in resumePreferences() 154 pref.setVisible(true); in resumePreferences() 161 mResettingPreference.setVisible(false); in resumePreferences()
|