Searched refs:disabledReason (Results 1 – 2 of 2) sorted by relevance
140 PackageItemInfo packageItemInfo, String disabledReason) { in createDefaultAppInfo() argument141 return new WebViewAppInfo(context, pm, mUserId, packageItemInfo, disabledReason, in createDefaultAppInfo()142 TextUtils.isEmpty(disabledReason) /* enabled */); in createDefaultAppInfo()
159 String disabledReason = ""; in testEnabledPackageShownAsEnabled() local162 createApplicationInfo(PACKAGE_NAME), disabledReason); in testEnabledPackageShownAsEnabled()173 String disabledReason = "disabled"; in testDisabledPackageShowsDisabledReasonSummary() local176 createApplicationInfo(PACKAGE_NAME), disabledReason); in testDisabledPackageShowsDisabledReasonSummary()181 verify(preference, times(1)).setSummary(eq(disabledReason)); in testDisabledPackageShowsDisabledReasonSummary()