Home
last modified time | relevance | path

Searched refs:allowedActivities (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxSettingsListener.java496 ArrayMap<Integer, ArraySet<String>> allowedActivities = new ArrayMap<>(); in getActivityDeviceConfigAllowlist() local
502 allowedActivities.put( in getActivityDeviceConfigAllowlist()
505 return allowedActivities; in getActivityDeviceConfigAllowlist()
510 AllowedActivities allowedActivities = in getNextActivityDeviceConfigAllowlist() local
513 if (allowedActivities == null) { in getNextActivityDeviceConfigAllowlist()
516 return new ArraySet<>(allowedActivities.getActionsList()); in getNextActivityDeviceConfigAllowlist()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionsUnitTest.java208 ArrayMap<Integer, List<String>> allowedActivities = new ArrayMap<>(); in testEnforceAllowedToStartActivity_deviceConfigAllowlist() local
209 allowedActivities.put( in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
212 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
251 ArrayMap<Integer, List<String>> allowedActivities = new ArrayMap<>(); in testEnforceAllowedToStartActivity_nextRestrictionsApplied() local
252 allowedActivities.put( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
255 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
298 ArrayMap<Integer, List<String>> allowedActivities = new ArrayMap<>(); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet() local
299 allowedActivities.put( in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
302 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()