/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/ |
D | CredentialsResetPreferenceControllerTest.java | 88 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled() 91 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled() 98 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneWrite() 101 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneWrite() 110 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneRead() 113 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneRead() 122 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneHidden() 125 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled_zoneHidden() 136 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByDpm_viewing() 146 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByDpm_viewing_zoneWrite() [all …]
|
D | ChooseLockTypePreferenceControllerTest.java | 107 mPreferenceController.onCreate(mLifecycleOwner); in preferenceClicked_screenLockActivityLaunched() 121 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultNotOk_fragmentNotLaunched() 131 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_fragmentLaunched() 141 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_currentScreenLockSet() 156 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_passwordQualitySet() 170 mPreferenceController.onCreate(mLifecycleOwner); in isNotGuestUser_isAvailable() 177 mPreferenceController.onCreate(mLifecycleOwner); in isNotGuestUser_isAvailable_zoneWrite() 186 mPreferenceController.onCreate(mLifecycleOwner); in isNotGuestUser_isAvailable_zoneRead() 195 mPreferenceController.onCreate(mLifecycleOwner); in isNotGuestUser_isAvailable_zoneHidden() 205 mPreferenceController.onCreate(mLifecycleOwner); in isGuestUser_isNotAvailable() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | FactoryResetEntryPreferenceControllerTest.java | 116 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser() 125 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite() 136 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead() 147 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden() 157 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_unrestricted_available() 166 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_unrestricted_available_zoneWrite() 177 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_unrestricted_available_zoneRead() 188 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_unrestricted_available_zoneHidden() 199 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_baseRestricted_notDpmRestricted_disabledForUser() 209 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_notDpmRestricted_disabledForUser_zoneWrite() [all …]
|
D | ResetNetworkEntryPreferenceControllerTest.java | 88 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser() 98 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneWrite() 109 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneRead() 120 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser_zoneHidden() 131 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser() 142 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneWrite() 154 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneRead() 166 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByUm_disabledForUser_zoneHidden() 177 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser() 189 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_restrictedByDpm_disabledForUser_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/ |
D | AddAccountPreferenceControllerTest.java | 113 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_restrictedByDpm_addAccountButtonShouldBeAvailableForViewing() 123 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneWrite() 135 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneRead() 147 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_addAccountButtonShouldBeAvailableForViewing_zoneHidden() 158 mController.onCreate(mLifecycleOwner); in newUserDisclaimerUnackowledged_addAccountButtonShouldBeAvailableForViewing() 167 mController.onCreate(mLifecycleOwner); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneWrite() 178 mController.onCreate(mLifecycleOwner); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneRead() 189 mController.onCreate(mLifecycleOwner); in newUserDisclaimerUnackowledged_addAccountButtonBeAvailableForViewing_zoneHidden() 201 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled() 211 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled_zoneWrite() [all …]
|
D | AccountListPreferenceControllerTest.java | 135 mController.onCreate(mLifecycleOwner); in onCreate_preferenceCategoryTitleShouldBeSet() 143 mController.onCreate(mLifecycleOwner); in onCreate_hasNoAccounts_shouldDisplayNoAccountPref() 157 mController.onCreate(mLifecycleOwner); in onCreate_hasAccounts_shouldDisplayAccounts() 178 mController.onCreate(mLifecycleOwner); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount() 198 mController.onCreate(mLifecycleOwner); in onAccountsUpdate_isThisUser_shouldForceUpdate() 218 mController.onCreate(mLifecycleOwner); in onAccountsUpdate_updatedUserIsNotCurrentUser_shouldNotForceUpdate() 234 mController.onCreate(mLifecycleOwner); in onUsersUpdate_shouldForceUpdate() 254 mController.onCreate(mLifecycleOwner); in onAccountPreferenceClicked_shouldLaunchAccountDetailsFragment() 280 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoOrGuest_notAvailable() 289 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoOrGuest_notAvailable_zoneWrite() [all …]
|
D | AccountGroupPreferenceControllerTest.java | 97 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_noRestriction_available() 111 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_noRestriction_available_zoneWrite() 126 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_noRestriction_available_zoneRead() 141 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_noRestriction_available_zoneHidden() 154 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_notCurrentUser_notAvailable() 167 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneWrite() 181 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneRead() 195 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneHidden() 209 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable() 223 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | ApplicationActionButtonsPreferenceControllerTest.java | 161 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabled_showDisableButton() 172 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_disabled_showEnableButton() 186 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabled_disableUntilUsed_showsEnableButton() 208 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_homePackage_disablesDisableButton() 219 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_systemPackage_disablesDisableButton() 240 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton() 250 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_notSystemApp_showUninstallButton() 263 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_packageHasActiveAdmins_doesNotDisableUninstallButton() 278 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_deviceProvisioningPackage_disablesUninstallButton() 290 mPreferenceController.onCreate(mLifecycleOwner); in onStart_uninstallQueued_disablesUninstallButton() [all …]
|
D | AllAppsPreferenceControllerTest.java | 80 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isUnavailableByDefault() 88 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isUnavailableByDefault_zoneWrite() 97 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isUnavailableByDefault_zoneRead() 106 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isUnavailableByDefault_zoneHidden() 116 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isAvailable() 126 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isAvailable_zoneWrite() 137 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isAvailable_zoneRead() 148 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isAvailable_zoneHidden() 160 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_notEmpty_isUnavailable() 171 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_notEmpty_isUnavailable_zoneWrite() [all …]
|
D | RecentAppsGroupPreferenceControllerTest.java | 79 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isAvailableByDefault() 87 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isAvailableByDefault_zoneWrite() 96 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isAvailableByDefault_zoneRead() 105 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_isAvailableByDefault_zoneHidden() 115 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isUnavailable() 125 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isUnavailable_zoneWrite() 136 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isUnavailable_zoneRead() 147 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_empty_isUnavailable_zoneHidden() 159 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_notEmpty_isUnavailable() 170 mPreferenceController.onCreate(mLifecycleOwner); in onRecentAppsCallback_notEmpty_isUnavailable_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothStateSwitchPreferenceControllerTest.java | 104 mPreferenceController.onCreate(mLifecycleOwner); in onStart_setsBluetoothManagerForegroundActivity() 112 mPreferenceController.onCreate(mLifecycleOwner); in onStop_clearsBluetoothManagerForegroundActivity() 121 mPreferenceController.onCreate(mLifecycleOwner); in onStart_initializesSwitchState() 130 mPreferenceController.onCreate(mLifecycleOwner); in switchClicked_disabled_checksAndDisablesSwitch() 165 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing() 175 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneWrite() 187 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneRead() 198 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneHidden() 208 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_disableSwitchPreference() 222 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_showsDisabledByAdminDialog() [all …]
|
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 160 mController.onCreate(mLifecycleOwner); in disallowConfigBluetooth_doesNotStartScanning() 170 mController.onCreate(mLifecycleOwner); in onScanningStateChanged_scanningEnabled_receiveStopped_restartsScanning() 183 mController.onCreate(mLifecycleOwner); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing() 198 mController.onCreate(mLifecycleOwner); in onDeviceBondStateChanged_refreshesUi() 212 mController.onCreate(mLifecycleOwner); in onDeviceClicked_callsInternal() 225 mController.onCreate(mLifecycleOwner); in onDeviceClicked_cancelsScanning() 238 mController.onCreate(mLifecycleOwner); in refreshUi_noDeviceBonding_startsScanning() 248 mController.onCreate(mLifecycleOwner); in refreshUi_noDeviceBonding_enablesGroup() 258 mController.onCreate(mLifecycleOwner); in refreshUi_noDeviceBonding_setsScanModeConnectableDiscoverable() 269 mController.onCreate(mLifecycleOwner); in refreshUi_notValidCallingPackage_doesNotSetScanMode() [all …]
|
D | BluetoothDeviceActionButtonsPreferenceControllerTest.java | 89 mPreferenceController.onCreate(mLifecycleOwner); in forgetButtonClicked_unpairsDevice() 98 mPreferenceController.onCreate(mLifecycleOwner); in forgetButtonClicked_goesBack() 108 mPreferenceController.onCreate(mLifecycleOwner); in connectionButtonClicked_deviceConnected_disconnectsDevice() 118 mPreferenceController.onCreate(mLifecycleOwner); in connectionButtonClicked_deviceNotConnected_connectsDevice() 128 mPreferenceController.onCreate(mLifecycleOwner); in deviceConnected_connectionButtonShowsDisconnect() 137 mPreferenceController.onCreate(mLifecycleOwner); in deviceNotConnected_connectionButtonShowsConnect() 146 mPreferenceController.onCreate(mLifecycleOwner); in deviceBusy_connectionButtonDisabled() 154 mPreferenceController.onCreate(mLifecycleOwner); in deviceNotBusy_connectionButtonEnabled() 164 mPreferenceController.onCreate(mLifecycleOwner); in deviceAttributesChanged_updatesConnectionButtonState()
|
D | BluetoothDeviceProfilesPreferenceControllerMockTest.java | 139 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser() 149 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneWrite() 161 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneRead() 173 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneHidden() 185 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser() 198 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneWrite() 213 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneRead() 228 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneHidden() 243 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_notRestricted_available() 256 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_notRestricted_available_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | PreferenceControllerTest.java | 99 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceRestricted() 111 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted() 130 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted() 187 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_unrestricted_disabled_preferenceUnrestricted() 204 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_preferenceShownAndEnabled() 217 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_availableForViewing_preferenceShownAndDisabled() 230 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_preferenceHidden() 241 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_updatesState() 254 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_doesNotUpdateState() 265 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_created_available_updatesState() [all …]
|
D | SettingsFragmentTestCase.java | 82 mFragment.onCreate(null); in use_returnsController() 91 mFragment.onCreate(null); in onAttach_registersLifecycleObservers() 105 mFragment.onCreate(null); in onUxRestrictionsChanged_propagatesToControllers() 123 mFragment.onCreate(null); in onUxRestrictedPreferenceTapped_showToast() 138 mFragment.onCreate(null); in onDisplayPreferenceDialog_unknownPreferenceType_throwsIllegalArgumentException() 147 mFragment.onCreate(null); in launchFragment_dialogFragment_throwsError() 156 mFragment.onCreate(null); in showDialog_noTag_launchesDialogFragment() 165 mFragment.onCreate(null); in showDialog_withTag_launchesDialogFragment() 175 mFragment.onCreate(null); in findDialogByTag_retrieveOriginalDialog_returnsDialog() 185 mFragment.onCreate(null); in findDialogByTag_notDialogFragment_returnsNull() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiTetherPreferenceControllerTest.java | 93 mController.onCreate(mLifecycleOwner); in onStart_isAvailableForViewing() 102 mController.onCreate(mLifecycleOwner); in onStart_isAvailableForViewing_zoneWrite() 112 mController.onCreate(mLifecycleOwner); in onStart_isAvailableForViewing_zoneRead() 122 mController.onCreate(mLifecycleOwner); in onStart_isAvailableForViewing_zoneHidden() 132 mController.onCreate(mLifecycleOwner); in onStart_registersTetheringEventCallback() 141 mController.onCreate(mLifecycleOwner); in onStop_unregistersTetheringEventCallback() 151 mController.onCreate(mLifecycleOwner); in onTetheringSupported_false_isUnsupportedOnDevice() 162 mController.onCreate(mLifecycleOwner); in onTetheringSupported_false_isUnsupportedOnDevice_zoneWrite() 174 mController.onCreate(mLifecycleOwner); in onTetheringSupported_false_isUnsupportedOnDevice_zoneRead() 186 mController.onCreate(mLifecycleOwner); in onTetheringSupported_false_isUnsupportedOnDevice_zoneHidden() [all …]
|
D | WifiEntryGroupPreferenceControllerTest.java | 92 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available() 102 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneWrite() 114 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneRead() 126 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneHidden() 140 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing() 152 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneWrite() 166 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneRead() 180 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByUm_viewing_zoneHidden() 194 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing() 206 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneWrite() [all …]
|
D | WifiStateSwitchPreferenceControllerTest.java | 146 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available() 155 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneWrite() 166 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneRead() 177 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_notRestricted_available_zoneHidden() 190 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing() 201 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneWrite() 214 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneRead() 227 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiAvailable_restrictedByDpm_viewing_zoneHidden() 238 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiNotAvailable_unsupportedOnDevice() 247 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_wifiNotAvailable_unsupportedOnDevice_zoneWrite() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceControllerTest.java | 251 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted() 259 mPreferenceController.onCreate(mLifecycleOwner); in onServiceConnected_registersVolumeCallback() 268 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted_multipleCalls() 279 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_createdPreferenceHasMinMax() 290 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_noDynamicAudio_ringtonePlays() 305 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_dynamicAudio_playbackActive_ringtoneDoesNotPlay() 320 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_dynamicAudio_playbackNotActive_ringtonePlays() 330 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_audioManagerSet() 341 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_sameValue_doesNotUpdateVolumeSeekbar() 355 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_differentValue_updatesVolumeSeekbar() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceControllerMockTest.java | 112 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser() 122 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneWrite() 134 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneRead() 146 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByUm_disabledForUser_zoneHidden() 158 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser() 168 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneWrite() 180 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneRead() 192 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_restrictedByDpm_disabledForUser_zoneHidden() 204 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_notRestricted_available() 214 mPreferenceController.onCreate(mLifecycleOwner); in testGetAvailabilityStatus_notRestricted_available_zoneWrite() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiNoInternetDialogTest.java | 98 mActivity.onCreate(new Bundle()); in setupPromptUnvalidated_shouldShowNoInternetAccessRemember() 109 mActivity.onCreate(new Bundle()); in setupPromptPartialConnectivity_shouldShowNoInternetAccessRemember() 120 mActivity.onCreate(new Bundle()); in setupPromptLostValidationAction_shouldShowLostInternetAccessPersist() 130 mActivity.onCreate(new Bundle()); in clickPositiveButton_whenPromptUnvalidated_shouldCallSetAcceptUnvalidated() 141 mActivity.onCreate(new Bundle()); in positiveButton_withPartialConnectivity_shouldCallSetAcceptPartialConnectivity() 153 mActivity.onCreate(new Bundle()); in positiveButton_withLostValidation_shouldCallSetAvoidUnvalidated() 165 mActivity.onCreate(new Bundle()); in destroyWithNoClick_inPartialConnectivity_shouldCallSetAcceptPartialConnectivity() 178 mActivity.onCreate(new Bundle()); in destroyWithNoClick_whenUnvalidated_shouldCallSetAcceptUnvalidated() 189 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldFinish() 202 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldNotFinishIfNetworkIsNotTheSame() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | AddProfilePreferenceControllerTest.java | 94 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userInDemoMode_showsExitRetailModeButton() 106 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userCanAddNewProfile_showsAddProfileButton() 120 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneWrite() 135 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneRead() 150 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userCanAddNewProfile_showsAddProfileButton_zoneHidden() 164 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userRestrictedByDpmFromAddingNewProfileAndNotInDemo_availableForViewing() 177 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_addingNewProfileAndNotInDemo_availableForViewing_zoneWrite() 191 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_addingNewProfileAndNotInDemo_availableForViewing_zoneRead() 205 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_addingNewProfileAndNotInDemo_availableForViewing_zoneHidden() 217 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_userRestrictedByUmFromAddingNewProfileAndNotInDemo_buttonDisabled() [all …]
|
D | ProfileDetailsActionButtonsPreferenceControllerTest.java | 112 mPreferenceController.onCreate(mLifecycleOwner); in onStart_userIsViewingSelf_renameButtonShown() 124 mPreferenceController.onCreate(mLifecycleOwner); in onStart_userIsNotViewingSelf_renameButtonHidden() 137 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isAdminViewingNonAdmin_makeAdminButtonShown() 151 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isAdminViewingAdmin_makeAdminButtonHidden() 169 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isAdminViewingSelf_manageOtherProfilesButtonShown() 188 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isAdminViewingOther_manageOtherProfilesButtonHidden() 205 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isNonAdmin_addAProfileButtonShown() 223 mPreferenceController.onCreate(mLifecycleOwner); in onStart_isAdmin_isOnlyProfile_makeAddAProfileButtonShown() 238 mPreferenceController.onCreate(mLifecycleOwner); in onStart_profileIsRemovable_deleteButtonShown() 254 mPreferenceController.onCreate(mLifecycleOwner); in onStart_profileIsNotRemovable_deleteButtonHidden() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | Settings.java | 129 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.SecurityDashboardActivity 130 super.onCreate(savedState); in onCreate() 187 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.SecurityAdvancedSettings 188 super.onCreate(savedState); in onCreate() 224 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.PrivacyDashboardActivity 225 super.onCreate(savedState); in onCreate() 253 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.FactoryResetActivity 256 super.onCreate(savedState); in onCreate() 266 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.FactoryResetConfirmActivity 269 super.onCreate(savedState); in onCreate() [all …]
|