Home
last modified time | relevance | path

Searched refs:allowedBroadcastReceivers (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxSettingsListener.java459 ArrayMap<Integer, ArraySet<String>> allowedBroadcastReceivers = new ArrayMap<>(); in getBroadcastReceiverDeviceConfigAllowlist() local
465 allowedBroadcastReceivers.put( in getBroadcastReceiverDeviceConfigAllowlist()
468 return allowedBroadcastReceivers; in getBroadcastReceiverDeviceConfigAllowlist()
474 AllowedBroadcastReceivers allowedBroadcastReceivers = in getNextBroadcastReceiverDeviceConfigAllowlist() local
479 if (allowedBroadcastReceivers == null) { in getNextBroadcastReceiverDeviceConfigAllowlist()
482 return new ArraySet<>(allowedBroadcastReceivers.getIntentActionsList()); in getNextBroadcastReceiverDeviceConfigAllowlist()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DProtoUtil.java107 AllowedBroadcastReceivers allowedBroadcastReceivers = in encodeBroadcastReceiverAllowlist()
113 x.getKey(), allowedBroadcastReceivers); in encodeBroadcastReceiverAllowlist()
123 AllowedBroadcastReceivers allowedBroadcastReceivers = in encodeBroadcastReceiverAllowlist() local
126 allowedBroadcastReceivers.toByteArray(), Base64.NO_PADDING | Base64.NO_WRAP); in encodeBroadcastReceiverAllowlist()
/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DBroadcastRestrictionsTest.java247 ArrayMap<Integer, List<String>> allowedBroadcastReceivers = new ArrayMap<>(); in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied() local
248 allowedBroadcastReceivers.put( in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied()
252 ProtoUtil.encodeBroadcastReceiverAllowlist(allowedBroadcastReceivers); in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied()