Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DAppSettingsTest.java19 import static com.android.settings.vpn2.AppManagementFragment.isAlwaysOnSupportedByApp;
57 assertFalse(isAlwaysOnSupportedByApp(mockApp)); in testAlwaysOnVersionRestriction()
61 assertTrue(isAlwaysOnSupportedByApp(mockApp)); in testAlwaysOnVersionRestriction()
65 assertTrue(isAlwaysOnSupportedByApp(mockApp)); in testAlwaysOnVersionRestriction()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppManagementFragment.java227 static boolean isAlwaysOnSupportedByApp(@NonNull ApplicationInfo appInfo) { in isAlwaysOnSupportedByApp() method in AppManagementFragment
260 if (isAlwaysOnSupportedByApp(mPackageInfo.applicationInfo)) { in updateRestrictedViews()