Searched refs:pkgsToRestrict (Results 1 – 1 of 1) sorted by relevance
2841 final ArrayList<String> pkgsToRestrict = new ArrayList<>(); in testSetGetMeteredDataDisabledPackages() local2844 pkgsToRestrict.add(package1); in testSetGetMeteredDataDisabledPackages()2845 pkgsToRestrict.add(package2); in testSetGetMeteredDataDisabledPackages()2848 List<String> excludedPkgs = dpm.setMeteredDataDisabledPackages(admin1, pkgsToRestrict); in testSetGetMeteredDataDisabledPackages()2852 assertThat(dpm.getMeteredDataDisabledPackages(admin1)).isEqualTo(pkgsToRestrict); in testSetGetMeteredDataDisabledPackages()2854 MockUtils.checkApps(pkgsToRestrict.toArray(new String[0])), in testSetGetMeteredDataDisabledPackages()2858 pkgsToRestrict.remove(package1); in testSetGetMeteredDataDisabledPackages()2859 excludedPkgs = dpm.setMeteredDataDisabledPackages(admin1, pkgsToRestrict); in testSetGetMeteredDataDisabledPackages()2863 assertThat(dpm.getMeteredDataDisabledPackages(admin1)).isEqualTo(pkgsToRestrict); in testSetGetMeteredDataDisabledPackages()2865 MockUtils.checkApps(pkgsToRestrict.toArray(new String[0])), in testSetGetMeteredDataDisabledPackages()[all …]