Home
last modified time | relevance | path

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

/cts/tests/tests/car/src/android/car/cts/
DCarUxRestrictionsManagerTest.java63 CarUxRestrictions restrictions = builder.build(); in testCarUxRestrictionsBuilder() local
65 assertTrue(restrictions.toString(), in testCarUxRestrictionsBuilder()
66 restrictions.isRequiresDistractionOptimization()); in testCarUxRestrictionsBuilder()
67 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
68 restrictions.getActiveRestrictions(), in testCarUxRestrictionsBuilder()
70 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
71 restrictions.getMaxContentDepth(), maxContentDepth); in testCarUxRestrictionsBuilder()
72 assertEquals(restrictions.toString(), in testCarUxRestrictionsBuilder()
73 restrictions.getMaxCumulativeContentItems(), maxCumulativeContentItems); in testCarUxRestrictionsBuilder()
74 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 testVpnLockdownUpdateAllowlist() local
119 restrictions.putBoolean(RESTRICTION_DONT_ESTABLISH, true); in testVpnLockdownUpdateAllowlist()
121 ADMIN_RECEIVER_COMPONENT, VPN_PACKAGE, restrictions); in testVpnLockdownUpdateAllowlist()
159 final Bundle restrictions = new Bundle(); in testVpnLockdownAllowlistVpnComesUp() local
[all …]
DOrgOwnedProfileOwnerParentTest.java124 Bundle restrictions = mParentDevicePolicyManager.getUserRestrictions( in testAddGetAndClearUserRestriction_onParent() local
126 assertThat(restrictions.get(restriction)).isNotNull(); in testAddGetAndClearUserRestriction_onParent()
130 restrictions = mParentDevicePolicyManager.getUserRestrictions(ADMIN_RECEIVER_COMPONENT); in testAddGetAndClearUserRestriction_onParent()
131 assertThat(restrictions.get(restriction)).isNull(); in testAddGetAndClearUserRestriction_onParent()
/cts/hostsidetests/devicepolicy/app/AppRestrictionsTargetApp/src/com/android/cts/apprestrictions/targetapp/
DApplicationRestrictionsActivity.java60 Bundle restrictions = mUserManager.getApplicationRestrictions(getPackageName()); in handleIntent() local
62 + restrictions); in handleIntent()
65 .putExtra("value", restrictions)); in handleIntent()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java111 final Bundle restrictions = um.getApplicationRestrictions(getPackageName()); in start() local
117 if (restrictions.getBoolean(RESTRICTION_DONT_ESTABLISH)) { in start()
146 String[] addressArray = restrictions.getStringArray(RESTRICTION_ADDRESSES); in start()
163 String[] routeArray = restrictions.getStringArray(RESTRICTION_ROUTES); in start()
179 String[] allowedArray = restrictions.getStringArray(RESTRICTION_ALLOWED); in start()
194 String[] disallowedArray = restrictions.getStringArray(RESTRICTION_DISALLOWED); in start()
/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java549 Bundle restrictions = mDevicePolicyManager.getUserRestrictions(mAdminReceiverComponent); in isRestrictionSet() local
552 return restrictions.getBoolean(restriction, false); in isRestrictionSet()
/cts/apps/CtsVerifier/
DNOTICE.txt273 redistribute it freely, subject to the following restrictions:
521 To protect your rights, we need to make restrictions that forbid
523 These restrictions translate to certain responsibilities for you if you
686 restrictions on the recipients' exercise of the rights granted herein.
868 To protect your rights, we need to make restrictions that forbid
870 rights. These restrictions translate to certain responsibilities for
1161 restrictions of other proprietary libraries that do not normally
1203 restrictions on the recipients' exercise of the rights granted herein.
1372 To protect your rights, we need to make restrictions that forbid
1374 rights. These restrictions translate to certain responsibilities for
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java4176 @NonNull List<CoexUnsafeChannel> unsafeChannels, int restrictions) { in onCoexUnsafeChannelsChanged() argument
4179 mCoexRestrictions = restrictions; in onCoexUnsafeChannelsChanged()