Searched refs:getAlwaysOnVpnPackage (Results 1 – 5 of 5) sorted by relevance
68 doReturn(DIFFERENT_PACKAGE_NAME).when(mDevicePolicyManager).getAlwaysOnVpnPackage(); in getPackageName_returnsAccuratePackageName()76 doReturn(DIFFERENT_PACKAGE_NAME).when(mDevicePolicyManager).getAlwaysOnVpnPackage(); in disableIfConfiguredByAdmin_packageNameNotEqualsAlwaysOn_shouldEnable()
263 if (mPackageName.equals(mDevicePolicyManager.getAlwaysOnVpnPackage())) { in updateRestrictedViews()293 private String getAlwaysOnVpnPackage() { in getAlwaysOnVpnPackage() method in AppManagementFragment298 return mPackageName.equals(getAlwaysOnVpnPackage()); in isVpnAlwaysOn()
94 if (mPackageName.equals(dpm.getAlwaysOnVpnPackage())) { in disableIfConfiguredByAdmin()
174 return mPackageInfo.packageName.equals(mDevicePolicyManager.getAlwaysOnVpnPackage()); in isUiRestricted()
182 Landroid/net/IConnectivityManager$Stub$Proxy;->getAlwaysOnVpnPackage(I)Ljava/lang/String;329 Landroid/net/IConnectivityManager;->getAlwaysOnVpnPackage(I)Ljava/lang/String;