Searched refs:appHasVpnPermission (Results 1 – 2 of 2) sorted by relevance
19 import static com.android.settings.vpn2.AppManagementFragment.appHasVpnPermission;63 assertTrue(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()68 assertTrue(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()73 assertFalse(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()78 assertFalse(appHasVpnPermission(mContext, mockApp)); in testAppOpsRequiredToOpenFragment()
296 if (!appHasVpnPermission(getContext(), mPackageInfo.applicationInfo)) { in loadInfo()305 static boolean appHasVpnPermission(Context context, @NonNull ApplicationInfo application) { in appHasVpnPermission() method in AppManagementFragment