Searched refs:isLinkHandlingAllowed (Results 1 – 7 of 7) sorted by relevance
70 return getContext().getText(isLinkHandlingAllowed(packageName) in getDomainsSummary()74 private boolean isLinkHandlingAllowed(String packageName) { in isLinkHandlingAllowed() method in DomainAppPreference78 return userState == null ? false : userState.isLinkHandlingAllowed(); in isLinkHandlingAllowed()
85 return mContext.getText(isLinkHandlingAllowed() in getSubtext()90 boolean isLinkHandlingAllowed() { in isLinkHandlingAllowed() method in AppOpenByDefaultPreferenceController94 return userState == null ? false : userState.isLinkHandlingAllowed(); in isLinkHandlingAllowed()
75 isLinkHandlingAllowed() -> R.string.app_link_open_always in getSummary()80 private fun isLinkHandlingAllowed(): Boolean { in isLinkHandlingAllowed() method84 return userState?.isLinkHandlingAllowed ?: false in isLinkHandlingAllowed()
203 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()
81 whenever(allowedUserState.isLinkHandlingAllowed).thenReturn(true) in setUp()82 whenever(notAllowedUserState.isLinkHandlingAllowed).thenReturn(false) in setUp()
243 IntentPickerUtils.logd("isLinkHandlingAllowed() : " + userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()244 mMainSwitchPreference.updateStatus(userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()246 mMainPreferenceCategory.setVisible(userState.isLinkHandlingAllowed()); in canUpdateMainSwitchAndCategories()
71 doReturn(true).when(domainVerificationUserState).isLinkHandlingAllowed(); in getLayoutResource_shouldUseAppPreferenceLayout()