Home
last modified time | relevance | path

Searched refs:disabledReason (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java140 PackageItemInfo packageItemInfo, String disabledReason) { in createDefaultAppInfo() argument
141 return new WebViewAppInfo(context, pm, mUserId, packageItemInfo, disabledReason, in createDefaultAppInfo()
142 TextUtils.isEmpty(disabledReason) /* enabled */); in createDefaultAppInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java159 String disabledReason = ""; in testEnabledPackageShownAsEnabled() local
162 createApplicationInfo(PACKAGE_NAME), disabledReason); in testEnabledPackageShownAsEnabled()
173 String disabledReason = "disabled"; in testDisabledPackageShowsDisabledReasonSummary() local
176 createApplicationInfo(PACKAGE_NAME), disabledReason); in testDisabledPackageShowsDisabledReasonSummary()
181 verify(preference, times(1)).setSummary(eq(disabledReason)); in testDisabledPackageShowsDisabledReasonSummary()