Home
last modified time | relevance | path

Searched refs:restrictions (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarUxRestrictionsManagerTest.java60 CarUxRestrictions restrictions = builder.build(); in testCarUxRestrictionsBuilder() local
62 assertTrue(restrictions.toString(), in testCarUxRestrictionsBuilder()
63 restrictions.isRequiresDistractionOptimization()); in testCarUxRestrictionsBuilder()
64 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
65 restrictions.getActiveRestrictions(), in testCarUxRestrictionsBuilder()
67 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
68 restrictions.getMaxContentDepth(), maxContentDepth); in testCarUxRestrictionsBuilder()
69 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
70 restrictions.getMaxCumulativeContentItems(), maxCumulativeContentItems); in testCarUxRestrictionsBuilder()
71 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java94 final Bundle restrictions = new Bundle(); in testAllowedApps() local
95 restrictions.putStringArray(RESTRICTION_ALLOWED, new String[] {mPackageName}); in testAllowedApps()
97 restrictions); in testAllowedApps()
104 final Bundle restrictions = new Bundle(); in testDisallowedApps() local
105 restrictions.putStringArray(RESTRICTION_DISALLOWED, new String[] {mPackageName}); in testDisallowedApps()
107 restrictions); in testDisallowedApps()
118 final Bundle restrictions = new Bundle(); in testVpnLockdownUpdateWhitelist() local
119 restrictions.putBoolean(RESTRICTION_DONT_ESTABLISH, true); in testVpnLockdownUpdateWhitelist()
121 ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, restrictions); in testVpnLockdownUpdateWhitelist()
155 final Bundle restrictions = new Bundle(); in testVpnLockdownWhitelistVpnComesUp() local
[all …]
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java103 final Bundle restrictions = um.getApplicationRestrictions(getPackageName()); in start() local
109 if (restrictions.getBoolean(RESTRICTION_DONT_ESTABLISH)) { in start()
138 String[] addressArray = restrictions.getStringArray(RESTRICTION_ADDRESSES); in start()
155 String[] routeArray = restrictions.getStringArray(RESTRICTION_ROUTES); in start()
171 String[] allowedArray = restrictions.getStringArray(RESTRICTION_ALLOWED); in start()
186 String[] disallowedArray = restrictions.getStringArray(RESTRICTION_DISALLOWED); in start()
/cts/hostsidetests/devicepolicy/app/AppRestrictionsTargetApp/src/com/android/cts/apprestrictions/targetapp/
DApplicationRestrictionsActivity.java52 Bundle restrictions = mUserManager.getApplicationRestrictions(getPackageName()); in handleIntent() local
55 .putExtra("value", restrictions)); in handleIntent()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT50 This file will describe the copyrights, license, and restrictions which apply
60 licenses, and/or restrictions:
DRationale36 restrictions. In the past, the C versions distributed by Rick
/cts/tests/tests/net/
DAndroid.bp62 // version, and are subject to all the restrictions appropriate to that version. Before SDK
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java531 Bundle restrictions = mDevicePolicyManager.getUserRestrictions(mAdminReceiverComponent); in isRestrictionSet() local
534 return restrictions.getBoolean(restriction, false); in isRestrictionSet()