Searched refs:allowedServices (Results 1 – 3 of 3) sorted by relevance
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxRestrictionsUnitTest.java | 355 ArrayMap<Integer, List<ArrayMap<String, String>>> allowedServices = new ArrayMap<>(); in testServiceRestriction_noFieldsSet() local 356 allowedServices.put(Build.VERSION_CODES.UPSIDE_DOWN_CAKE, Arrays.asList()); in testServiceRestriction_noFieldsSet() 357 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_noFieldsSet() 406 ArrayMap<Integer, List<ArrayMap<String, String>>> allowedServices = new ArrayMap<>(); in testServiceRestriction_oneFieldSet() local 432 allowedServices.put(Build.VERSION_CODES.UPSIDE_DOWN_CAKE, services); in testServiceRestriction_oneFieldSet() 433 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_oneFieldSet() 493 ArrayMap<Integer, List<ArrayMap<String, String>>> allowedServices = new ArrayMap<>(); in testServiceRestriction_twoFieldsSet() local 513 allowedServices.put(Build.VERSION_CODES.UPSIDE_DOWN_CAKE, services); in testServiceRestriction_twoFieldsSet() 514 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_twoFieldsSet() 589 ArrayMap<Integer, List<ArrayMap<String, String>>> allowedServices = new ArrayMap<>(); in testServiceRestriction_threeFieldsSet() local [all …]
|
D | SdkSandboxSettingsListenerUnitTest.java | 149 Services.AllowedServices allowedServices = in testServiceAllowlist_DeviceConfigAllowlistApplied() local 152 assertThat(allowedServices).isNotNull(); in testServiceAllowlist_DeviceConfigAllowlistApplied() 155 allowedServices.getAllowedServices(0), in testServiceAllowlist_DeviceConfigAllowlistApplied() 161 allowedServices = in testServiceAllowlist_DeviceConfigAllowlistApplied() 164 assertThat(allowedServices).isNotNull(); in testServiceAllowlist_DeviceConfigAllowlistApplied() 167 allowedServices.getAllowedServices(0), in testServiceAllowlist_DeviceConfigAllowlistApplied()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxManagerService.java | 2240 AllowedServices allowedServices = 2246 if (Objects.isNull(allowedServices)) { 2250 for (int i = 0; i < allowedServices.getAllowedServicesCount(); i++) { 2251 AllowedService allowedService = allowedServices.getAllowedServices(i);
|