Home
last modified time | relevance | path

Searched refs:onCreate (Results 1 – 25 of 1970) sorted by relevance

12345678910>>...79

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java158 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabled_showDisableButton()
169 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_disabled_showEnableButton()
183 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabled_disableUntilUsed_showsEnableButton()
205 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_homePackage_disablesDisableButton()
216 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_systemPackage_disablesDisableButton()
237 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
247 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_notSystemApp_showUninstallButton()
260 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_packageHasActiveAdmins_doesNotDisableUninstallButton()
275 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_deviceProvisioningPackage_disablesUninstallButton()
287 mPreferenceController.onCreate(mLifecycleOwner); in onStart_uninstallQueued_disablesUninstallButton()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceControllerTest.java93 mPreferenceController.onCreate(mLifecycleOwner); in onStart_setsBluetoothManagerForegroundActivity()
101 mPreferenceController.onCreate(mLifecycleOwner); in onStop_clearsBluetoothManagerForegroundActivity()
110 mPreferenceController.onCreate(mLifecycleOwner); in onStart_initializesSwitchState()
119 mPreferenceController.onCreate(mLifecycleOwner); in switchClicked_disabled_checksAndDisablesSwitch()
134 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_availabilityIsAvailableForViewing()
143 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_disableSwitchPreference()
157 mPreferenceController.onCreate(mLifecycleOwner); in restrictedByDpm_showsDisabledByAdminDialog()
172 mPreferenceController.onCreate(mLifecycleOwner); in switchClicked_enabled_unchecksAndDisablesSwitch()
185 mPreferenceController.onCreate(mLifecycleOwner); in stateChanged_turningOn_setsSwitchChecked()
194 mPreferenceController.onCreate(mLifecycleOwner); in stateChanged_turningOn_setsSwitchDisabled()
[all …]
DBluetoothScanningDevicesGroupPreferenceControllerTest.java160 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 …]
DBluetoothDeviceActionButtonsPreferenceControllerTest.java89 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()
DBluetoothBondedDevicesPreferenceControllerTest.java168 mPreferenceController.onCreate(mLifecycleOwner); in showsOnlyBondedDevices()
178 mPreferenceController.onCreate(mLifecycleOwner); in onDeviceBondStateChanged_refreshesUi()
196 mPreferenceController.onCreate(mLifecycleOwner); in onDeviceClicked_connected_launchesDeviceDetailsFragment()
210 mPreferenceController.onCreate(mLifecycleOwner); in bluetoothButtonClicked_connected_disconnectsFromDevice()
227 mPreferenceController.onCreate(mLifecycleOwner); in bluetoothButtonClicked_notConnected_connectsToDevice()
244 mPreferenceController.onCreate(mLifecycleOwner); in phoneButtonClicked_phoneProfile_enabled()
262 mPreferenceController.onCreate(mLifecycleOwner); in mediaButtonClicked_mediaProfile_enabled()
280 mPreferenceController.onCreate(mLifecycleOwner); in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
299 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
321 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restrictionToggled_actionButtonsEnabled()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceControllerTest.java115 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_nonAdminUser_disabledForUser()
124 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_unrestricted_available()
134 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_baseRestricted_notDpmRestricted_disabledForUser()
145 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_baseRestricted_dpmRestricted_disabledForUser()
155 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_adminUser_notBaseRestricted_dpmRestricted_disabledForUser()
164 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoMode_demoUser_available()
174 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoMode_demoUser_baseRestricted_disabledForUser()
184 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoMode_demoUser_dpmRestricted_disabledForUser()
194 mPreferenceController.onCreate(mLifecycleOwner); in performClick_showsBlockedToast_nonAdminUser()
205 mPreferenceController.onCreate(mLifecycleOwner); in performClick_triggersAction_adminUser_unrestricted()
[all …]
DResetNetworkItemsPreferenceControllerTest.java76 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_containsDefaultDescription()
85 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_noWifi_doesNotContainWifiText()
94 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_noTelephony_doesNotContainTelephonyText()
103 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_noBluetooth_doesNotContainBluetoothText()
112 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasWifi_containsWifiText()
121 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasTelephony_containsTelephonyText()
130 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_hasBluetooth_containsBluetoothText()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DSettingsFragmentTestCase.java82 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 …]
DPreferenceControllerTest.java93 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceRestricted()
105 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted()
124 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
181 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_unrestricted_disabled_preferenceUnrestricted()
198 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_preferenceShownAndEnabled()
211 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_availableForViewing_preferenceShownAndDisabled()
224 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_preferenceHidden()
235 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_available_updatesState()
248 mPreferenceController.onCreate(mLifecycleOwner); in refreshUi_created_notAvailable_doesNotUpdateState()
259 mPreferenceController.onCreate(mLifecycleOwner); in onUxRestrictionsChanged_created_available_updatesState()
[all …]
DExtraSettingsPreferenceControllerTest.java127 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/
DWifiNoInternetDialogTest.java96 mActivity.onCreate(new Bundle()); in setupPromptUnvalidated_shouldShowNoInternetAccessRemember()
107 mActivity.onCreate(new Bundle()); in setupPromptPartialConnectivity_shouldShowNoInternetAccessRemember()
118 mActivity.onCreate(new Bundle()); in setupPromptLostValidationAction_shouldShowLostInternetAccessPersist()
128 mActivity.onCreate(new Bundle()); in clickPositiveButton_whenPromptUnvalidated_shouldCallSetAcceptUnvalidated()
139 mActivity.onCreate(new Bundle()); in positiveButton_withPartialConnectivity_shouldCallSetAcceptPartialConnectivity()
151 mActivity.onCreate(new Bundle()); in positiveButton_withLostValidation_shouldCallSetAvoidUnvalidated()
163 mActivity.onCreate(new Bundle()); in destroyWithNoClick_inPartialConnectivity_shouldCallSetAcceptPartialConnectivity()
176 mActivity.onCreate(new Bundle()); in destroyWithNoClick_whenUnvalidated_shouldCallSetAcceptUnvalidated()
187 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldFinish()
200 mActivity.onCreate(new Bundle()); in networkCallbackOnLost_shouldNotFinishIfNetworkIsNotTheSame()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java156 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted()
163 mPreferenceController.onCreate(mLifecycleOwner); in onServiceConnected_registersVolumeCallback()
172 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_serviceStarted_multipleCalls()
182 mPreferenceController.onCreate(mLifecycleOwner); in testRefreshUi_createdPreferenceHasMinMax()
192 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_ringtonePlays()
201 mPreferenceController.onCreate(mLifecycleOwner); in testOnPreferenceChange_audioManagerSet()
210 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_sameValue_doesNotUpdateVolumeSeekbar()
221 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_differentValue_updatesVolumeSeekbar()
234 mPreferenceController.onCreate(mLifecycleOwner); in onGroupVolumeChanged_invalidZoneId_doesNotUpdateVolumeSeekbar()
248 mPreferenceController.onCreate(mLifecycleOwner); in onGroupMuteChanged_sameValue_doesNotUpdateIsMuted()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java112 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/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAddAccountPreferenceControllerTest.java112 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_restrictedByDpm_addAccountButtonShouldBeAvailableForViewing()
121 mController.onCreate(mLifecycleOwner); in newUserDisclaimerUnackowledged_addAccountButtonShouldBeAvailableForViewing()
131 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_restrictedByUm_addAccountButtonShouldBeDisabled()
142 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_demoOrGuestAndRestricedByDpm_addAccountButtonShouldBeDisabled()
151 mController.onCreate(mLifecycleOwner); in cannotModifyUsers_demoOrGuestUser_addAccountButtonShouldBeDisabled()
160 mController.onCreate(mLifecycleOwner); in canModifyUsers_addAccountButtonShouldBeAvailable()
171 mController.onCreate(mLifecycleOwner); in clickAddAccountButton_shouldOpenChooseAccountFragment()
184 mController.onCreate(mLifecycleOwner); in clickAddAccountButton_shouldNotOpenChooseAccountFragmentWhenOneTypeAndUnmanaged()
206 mController.onCreate(mLifecycleOwner); in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenOneTypeAndManaged()
221 mController.onCreate(mLifecycleOwner); in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenTwoTypes()
[all …]
DAccountListPreferenceControllerTest.java136 mController.onCreate(mLifecycleOwner); in onCreate_preferenceCategoryTitleShouldBeSet()
144 mController.onCreate(mLifecycleOwner); in onCreate_hasNoAccounts_shouldDisplayNoAccountPref()
158 mController.onCreate(mLifecycleOwner); in onCreate_hasAccounts_shouldDisplayAccounts()
179 mController.onCreate(mLifecycleOwner); in onCreate_hasUnauthenticatedAccount_shouldNotDisplayAccount()
199 mController.onCreate(mLifecycleOwner); in onAccountsUpdate_isThisUser_shouldForceUpdate()
219 mController.onCreate(mLifecycleOwner); in onAccountsUpdate_updatedUserIsNotCurrentUser_shouldNotForceUpdate()
235 mController.onCreate(mLifecycleOwner); in onUsersUpdate_shouldForceUpdate()
255 mController.onCreate(mLifecycleOwner); in onAccountPreferenceClicked_shouldLaunchAccountDetailsFragment()
281 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_demoOrGuest_notAvailable()
291 mController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_notAvailable()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DChooseLockTypePreferenceControllerTest.java105 mPreferenceController.onCreate(mLifecycleOwner); in preferenceClicked_screenLockActivityLaunched()
119 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultNotOk_fragmentNotLaunched()
129 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_fragmentLaunched()
139 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_currentScreenLockSet()
154 mPreferenceController.onCreate(mLifecycleOwner); in activityResult_resultOk_passwordQualitySet()
168 mPreferenceController.onCreate(mLifecycleOwner); in isNotGuestUser_isAvailable()
176 mPreferenceController.onCreate(mLifecycleOwner); in isGuestUser_isNotAvailable()
183 mPreferenceController.onCreate(mLifecycleOwner); in lockTypeNone_setsSummary()
193 mPreferenceController.onCreate(mLifecycleOwner); in lockTypePattern_setsSummary()
202 mPreferenceController.onCreate(mLifecycleOwner); in lockTypePin_setsSummary()
[all …]
DCredentialsResetPreferenceControllerTest.java87 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled()
90 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByUm_disabled()
99 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByDpm_viewing()
107 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByBothUmDpm_disabled()
111 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_restrictedByBothUmDpm_disabled()
118 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_unrestricted_available()
122 mPreferenceController.onCreate(mLifecycleOwner); in getAvailabilityStatus_unrestricted_available()
132 mPreferenceController.onCreate(mLifecycleOwner); in testDisabledClick_restrictedByDpm_showDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java145 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_startsCheckVoiceData()
161 mPreferenceController.onCreate(mLifecycleOwner); in voiceDataCheck_processActivityResult_dataIsNull_defaultSynthRemainsUnchanged()
175 mPreferenceController.onCreate(mLifecycleOwner); in voiceDataCheck_processActivityResult_dataIsNotNull_updatesDefaultSynth()
190 mPreferenceController.onCreate(mLifecycleOwner); in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference()
251 mPreferenceController.onCreate(mLifecycleOwner); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault()
275 mPreferenceController.onCreate(mLifecycleOwner); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale()
299 mPreferenceController.onCreate(mLifecycleOwner); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary()
323 mPreferenceController.onCreate(mLifecycleOwner); in speechRate_handlePreferenceChanged_updatesSecureSettings()
337 mPreferenceController.onCreate(mLifecycleOwner); in speechRate_handlePreferenceChanged_updatesTts()
350 mPreferenceController.onCreate(mLifecycleOwner); in speechRate_handlePreferenceChanged_speaksSampleText()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java109 mPreferenceController.onCreate(mLifecycleOwner); in handlePreferenceClicked_locationDisabled_launchFragment()
121 mPreferenceController.onCreate(mLifecycleOwner); in handlePreferenceClicked_wifiWakeupEnabled_disablesWifiWakeup()
136 mPreferenceController.onCreate(mLifecycleOwner); in handlePreferenceClicked_wifiScanningDisabled_showsDialog()
150 mPreferenceController.onCreate(mLifecycleOwner); in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup()
166 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationEnabled_isChecked()
178 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_wifiWakeupDisabled_wifiScanningEnabled_locationEnabled_isNotChecked()
190 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_wifiWakeupEnabled_wifiScanningDisabled_locationEnabled_isNotChecked()
202 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_wifiWakeupEnabled_wifiScanningEnabled_locationDisabled_isNotChecked()
216 mPreferenceController.onCreate(mLifecycleOwner); in onConfirmWifiScanning_setsWifiScanningOn()
233 mPreferenceController.onCreate(mLifecycleOwner); in onConfirmWifiScanning_showsToast()
[all …]
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPluginServiceTest.java44 mPluginService.onCreate(mContext, mContext, mWalletClient); in onCreate_serviceAvailable_enablesFeatureInSettings()
57 mPluginService.onCreate(mContext, mContext, mWalletClient); in onCreate_serviceUnavailable_disablesFeatureInSettings()
71 mPluginService.onCreate(mContext, mContext, mWalletClient); in onCreate_doesNotOverridePanelEnabledSettingIfOff()
80 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings()
99 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_wasAvailable_nowUnavailable_updatesFeatureAvailabilityInSettings()
119 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_returnsControllerIfFeatureAvailable()
131 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_performsGetWalletCardsRequest()
142 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_returnsNullIfFeatureUnavailable()
154 mPluginService.onCreate(mContext, mContext, mWalletClient); in onPanelShown_returnsNullIfServiceUnavailable()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java163 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_defaultStatus_shouldShowCacheButtons()
173 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_defaultStatus_shouldShowClearStorageButtons()
183 mPreferenceController.onCreate(mLifecycleOwner); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
207 mPreferenceController.onCreate(mLifecycleOwner); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
231 mPreferenceController.onCreate(mLifecycleOwner); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear()
253 mPreferenceController.onCreate(mLifecycleOwner); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
280 mPreferenceController.onCreate(mLifecycleOwner); in handleClearDataClick_hasValidManageSpaceActivity_shouldNotShowDialogToClear()
309 mPreferenceController.onCreate(mLifecycleOwner); in handleClearDataClick_hasInvalidManageSpaceActivity_shouldShowDialogToClear()
334 mPreferenceController.onCreate(mLifecycleOwner); in onDataLoaded_noResult_buttonsShouldBeDisabled()
346 mPreferenceController.onCreate(mLifecycleOwner); in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetheringHandlerTest.java86 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_tetherStateOn_shouldReturnSwitchStateOn()
94 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_tetherStateOff_shouldReturnSwitchStateOff()
101 mPreferenceController.onCreate(mLifecycleOwner); in onSwitchOn_shouldAttemptTetherOn()
113 mPreferenceController.onCreate(mLifecycleOwner); in onSwitchOff_shouldAttemptTetherOff()
123 mPreferenceController.onCreate(mLifecycleOwner); in onTetherEnabling_shouldReturnSwitchStateDisabled()
134 mPreferenceController.onCreate(mLifecycleOwner); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
146 mPreferenceController.onCreate(mLifecycleOwner); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
158 mPreferenceController.onCreate(mLifecycleOwner); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
DWifiTetherPreferenceControllerTest.java92 mController.onCreate(mLifecycleOwner); in onStart_isAvailableForViewing()
101 mController.onCreate(mLifecycleOwner); in onStart_registersTetheringEventCallback()
110 mController.onCreate(mLifecycleOwner); in onStop_unregistersTetheringEventCallback()
120 mController.onCreate(mLifecycleOwner); in onTetheringSupported_false_isUnsupportedOnDevice()
131 mController.onCreate(mLifecycleOwner); in onTetheringSupported_true_isAvailable()
142 mController.onCreate(mLifecycleOwner); in onTetheringOff_subtitleOff()
160 mController.onCreate(mLifecycleOwner); in onTetheringOn_showsSSIDAndPassword()
173 mController.onCreate(mLifecycleOwner); in onDeviceConnected_showsDeviceConnectedSubtitle()
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java99 service.onCreate(); in testInitHealthCheckersWhileNoResolveInfo()
110 service.onCreate(); in testInitHealthCheckersWhileApplicationInfoFlagNotSystem()
121 service.onCreate(); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()
133 service.onCreate(); in testOnRequestHealthCheck()
147 service.onCreate(); in testOnCancelHealthCheck()
160 service.onCreate(); in testOnGetSupportedPackages()
173 service.onCreate(); in testOnGetRequestedPackagesWhileNoRequest()
185 service.onCreate(); in testOnGetRequestedPackagesWhileHasRequest()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceControllerTest.java195 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_noSubscriptions_disabled()
207 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_oneSim_enabled()
219 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_dataEnabled_oneSim_summaryIsDisplayName()
232 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_dataDisabled_summaryIsOff()
247 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_multiSim_enabled()
261 mPreferenceController.onCreate(mLifecycleOwner); in onCreate_multiSim_summaryShowsCount()
270 mPreferenceController.onCreate(mLifecycleOwner); in performClick_noSim_noFragmentStarted()
286 mPreferenceController.onCreate(mLifecycleOwner); in performClick_oneSim_startsMobileNetworkFragment()
307 mPreferenceController.onCreate(mLifecycleOwner); in performClick_multiSim_startsMobileNetworkListFragment()
322 mPreferenceController.onCreate(mLifecycleOwner); in performToggle_disabled_setsDataEnabled()
[all …]

12345678910>>...79