Home
last modified time | relevance | path

Searched refs:isLinkHandlingAllowed (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/
DDomainAppPreference.java70 return getContext().getText(isLinkHandlingAllowed(packageName) in getDomainsSummary()
74 private boolean isLinkHandlingAllowed(String packageName) { in isLinkHandlingAllowed() method in DomainAppPreference
78 return userState == null ? false : userState.isLinkHandlingAllowed(); in isLinkHandlingAllowed()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceController.java85 return mContext.getText(isLinkHandlingAllowed() in getSubtext()
90 boolean isLinkHandlingAllowed() { in isLinkHandlingAllowed() method in AppOpenByDefaultPreferenceController
94 return userState == null ? false : userState.isLinkHandlingAllowed(); in isLinkHandlingAllowed()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppOpenByDefaultPreference.kt75 isLinkHandlingAllowed() -> R.string.app_link_open_always in getSummary()
80 private fun isLinkHandlingAllowed(): Boolean { in isLinkHandlingAllowed() method
84 return userState?.isLinkHandlingAllowed ?: false in isLinkHandlingAllowed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppOpenByDefaultPreferenceControllerTest.java203 doReturn(true).when(mController).isLinkHandlingAllowed(); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary()
214 doReturn(true).when(mController).isLinkHandlingAllowed(); in getSubtext_allowedLinkHandling_returnAllowedString()
222 doReturn(false).when(mController).isLinkHandlingAllowed(); in getSubtext_notAllowedLinkHandling_returnNotAllowedString()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppOpenByDefaultPreferenceTest.kt81 whenever(allowedUserState.isLinkHandlingAllowed).thenReturn(true) in setUp()
82 whenever(notAllowedUserState.isLinkHandlingAllowed).thenReturn(false) in setUp()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DAppLaunchSettings.java243 IntentPickerUtils.logd("isLinkHandlingAllowed() : " + userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()
244 mMainSwitchPreference.updateStatus(userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()
246 mMainPreferenceCategory.setVisible(userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java71 doReturn(true).when(domainVerificationUserState).isLinkHandlingAllowed(); in getLayoutResource_shouldUseAppPreferenceLayout()