/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/bluetooth/ |
D | BluetoothStateSwitchPreferenceControllerTest.java | 94 mPreferenceController.onCreate(mLifecycleOwner); in onStart_setsBluetoothManagerForegroundActivity() 102 mPreferenceController.onCreate(mLifecycleOwner); in onStop_clearsBluetoothManagerForegroundActivity() 111 mPreferenceController.onCreate(mLifecycleOwner); in onStart_initializesSwitchState() 120 mPreferenceController.onCreate(mLifecycleOwner); in switchClicked_disabled_checksAndDisablesSwitch() 135 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing() 145 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneWrite() 157 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneRead() 168 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing_zoneHidden() 178 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_disableSwitchPreference() 192 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 | 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/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/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 | 210 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted() 218 mPreferenceController.onCreate(mLifecycleOwner); in onServiceConnected_registersVolumeCallback() 227 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted_multipleCalls() 238 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_createdPreferenceHasMinMax() 249 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_noDynamicAudio_ringtonePlays() 263 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_dynamicAudio_playbackActive_ringtoneDoesNotPlay() 277 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_dynamicAudio_playbackNotActive_ringtonePlays() 287 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_audioManagerSet() 297 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_sameValue_doesNotUpdateVolumeSeekbar() 311 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_differentValue_updatesVolumeSeekbar() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
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 …]
|
D | PreferenceControllerTest.java | 94 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceRestricted() 106 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted() 125 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted() 182 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_unrestricted_disabled_preferenceUnrestricted() 199 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_preferenceShownAndEnabled() 212 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_availableForViewing_preferenceShownAndDisabled() 225 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_preferenceHidden() 236 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_updatesState() 249 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_doesNotUpdateState() 260 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_created_available_updatesState() [all …]
|
D | ExtraSettingsPreferenceControllerTest.java | 127 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceRestricted() 143 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_unrestricted_preferenceUnrestricted() 160 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted() 176 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_distractionOptimized_preferenceUnrestricted() 192 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicTitleData_placeholderAdded() 206 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicSummaryData_placeholderAdded() 220 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicIconData_placeholderAdded() 235 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicTitleData_TitleSet() 249 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicSummaryData_summarySet() 264 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasDynamicIconData_iconSet() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiNoInternetDialogTest.java | 99 mActivity.onCreate(new Bundle()); in setupPromptUnvalidated_shouldShowNoInternetAccessRemember() 110 mActivity.onCreate(new Bundle()); in setupPromptPartialConnectivity_shouldShowNoInternetAccessRemember() 121 mActivity.onCreate(new Bundle()); in setupPromptLostValidationAction_shouldShowLostInternetAccessPersist() 131 mActivity.onCreate(new Bundle()); in clickPositiveButton_whenPromptUnvalidated_shouldCallSetAcceptUnvalidated() 142 mActivity.onCreate(new Bundle()); in positiveButton_withPartialConnectivity_shouldCallSetAcceptPartialConnectivity() 154 mActivity.onCreate(new Bundle()); in positiveButton_withLostValidation_shouldCallSetAvoidUnvalidated() 166 mActivity.onCreate(new Bundle()); in destroyWithNoClick_inPartialConnectivity_shouldCallSetAcceptPartialConnectivity() 179 mActivity.onCreate(new Bundle()); in destroyWithNoClick_whenUnvalidated_shouldCallSetAcceptUnvalidated() 190 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldFinish() 203 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldNotFinishIfNetworkIsNotTheSame() [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/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 | 161 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.SecurityDashboardActivity 162 super.onCreate(savedState); in onCreate() 218 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.SecurityAdvancedSettings 219 super.onCreate(savedState); in onCreate() 255 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.PrivacyDashboardActivity 256 super.onCreate(savedState); in onCreate() 283 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.FactoryResetActivity 286 super.onCreate(savedState); in onCreate() 296 protected void onCreate(Bundle savedState) { in onCreate() method in Settings.FactoryResetConfirmActivity 299 super.onCreate(savedState); in onCreate() [all …]
|