Searched refs:restrictions (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/car/src/android/car/cts/ |
D | CarUxRestrictionsManagerTest.java | 63 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/ |
D | AlwaysOnVpnTest.java | 94 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 …]
|
D | OrgOwnedProfileOwnerParentTest.java | 124 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/ |
D | ApplicationRestrictionsActivity.java | 63 Bundle restrictions = mUserManager.getApplicationRestrictions(getPackageName()); in handleIntent() local 65 + restrictions); in handleIntent() 68 .putExtra("value", restrictions)); in handleIntent()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 111 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/ |
D | LICENSE.TXT | 50 This file will describe the copyrights, license, and restrictions which apply 60 licenses, and/or restrictions:
|
D | Rationale | 36 restrictions. In the past, the C versions distributed by Rick
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 549 Bundle restrictions = mDevicePolicyManager.getUserRestrictions(mAdminReceiverComponent); in isRestrictionSet() local 552 return restrictions.getBoolean(restriction, false); in isRestrictionSet()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 4163 @NonNull List<CoexUnsafeChannel> unsafeChannels, int restrictions) { in onCoexUnsafeChannelsChanged() argument 4166 mCoexRestrictions = restrictions; in onCoexUnsafeChannelsChanged()
|