Home
last modified time | relevance | path

Searched refs:ProtoUtil (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionsUnitTest.java29 import android.app.sdksandbox.testutils.ProtoUtil;
212 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
255 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
269 ProtoUtil.encodeActivityAllowlist(nextAllowedActivities); in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
302 String encodedAllowedActivities = ProtoUtil.encodeActivityAllowlist(allowedActivities); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
357 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_noFieldsSet()
433 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_oneFieldSet()
514 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_twoFieldsSet()
616 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_threeFieldsSet()
691 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServices); in testServiceRestriction_multipleEntriesAllowlist()
[all …]
DSdkSandboxSettingsListenerUnitTest.java22 import android.app.sdksandbox.testutils.ProtoUtil;
145 String encodedServiceAllowlist = ProtoUtil.encodeServiceAllowlist(allowedServicesMap); in testServiceAllowlist_DeviceConfigAllowlistApplied()
/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DContentProviderRestrictionsTest.java30 import android.app.sdksandbox.testutils.ProtoUtil;
193 String encodedAllowlist = ProtoUtil.encodeContentProviderAllowlist(allowedAuthorities); in testGetContentProvider_DeviceConfigAllowlistApplied()
215 ProtoUtil.encodeContentProviderAllowlist(nextAllowedAuthorities); in testGetContentProvider_DeviceConfigNextAllowlistApplied()
224 String encodedAllowlist = ProtoUtil.encodeContentProviderAllowlist(allowedAuthorities); in testGetContentProvider_DeviceConfigNextAllowlistApplied()
243 String encodedAllowlist = ProtoUtil.encodeContentProviderAllowlist(allowedAuthorities); in testGetContentProvider_DeviceConfigWildcardAllowlistApplied()
260 String encodedAllowlist = ProtoUtil.encodeContentProviderAllowlist(allowedAuthorities); in testGetContentProvider_DeviceConfigAllowlistWithWildcardApplied()
336 String encodedAllowlist = ProtoUtil.encodeContentProviderAllowlist(allowedAuthorities); in testGetContentProvider_nextAllowlistApplied_currentAllowlistPresent_appliesCurrentAllowlist_allowlistForTargetSdkVersion()
DBroadcastRestrictionsTest.java30 import android.app.sdksandbox.testutils.ProtoUtil;
252 ProtoUtil.encodeBroadcastReceiverAllowlist(allowedBroadcastReceivers); in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied()
285 ProtoUtil.encodeBroadcastReceiverAllowlist( in testRegisterBroadcastReceiver_DeviceConfigNextAllowlistApplied()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DProtoUtil.java36 public class ProtoUtil { class