Searched refs:appHasVpnPermission (Results 1 – 2 of 2) sorted by relevance
20 import static com.android.settings.vpn2.AppManagementFragment.appHasVpnPermission;80 assertTrue(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()85 assertTrue(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()90 assertFalse(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()95 assertFalse(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()
310 if (!appHasVpnPermission(getContext(), mPackageInfo.applicationInfo)) { in loadInfo()319 static boolean appHasVpnPermission(Context context, @NonNull ApplicationInfo application) { in appHasVpnPermission() method in AppManagementFragment