Home
last modified time | relevance | path

Searched defs:restrictions (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/aosp_15_r20/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/scaffold/
H A DRestrictedMenuItemTest.kt53 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
62 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
71 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
81 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
91 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
102 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
112 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
123 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
133 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
145 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/preference/
H A DRestrictedSwitchPreferenceTest.kt61 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
71 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
81 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
92 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
103 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
114 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
125 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
137 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
149 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
160 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
[all …]
H A DRestrictedTwoTargetSwitchPreferenceTest.kt62 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
72 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
82 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
93 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
104 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
115 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
126 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
138 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
149 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
160 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
[all …]
H A DRestrictedPreferenceTest.kt56 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
65 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
75 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
85 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
96 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
106 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
117 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
127 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
H A DRestrictedMainSwitchPreferenceTest.kt59 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
69 val restrictions = Restrictions(userId = USER_ID, keys = emptyList()) in <lambda>() constant
79 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
90 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
101 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
112 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
123 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
135 val restrictions = Restrictions(userId = USER_ID, keys = listOf(RESTRICTION_KEY)) in <lambda>() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
H A DBrightnessPolicyRepositoryImplTest.kt79 val restrictions by collectLastValue(underTest.restrictionPolicy) in noRestrictionByDefaultForAllUsers() constant
105 val restrictions by collectLastValue(underTest.restrictionPolicy) in restrictDefaultUser() constant
131 val restrictions by collectLastValue(underTest.restrictionPolicy) in restrictMainUser() constant
155 val restrictions by collectLastValue(underTest.restrictionPolicy) in brightnessBaseUserRestriction_flagOff_noRestriction() constant
186 val restrictions by collectLastValue(underTest.restrictionPolicy) in bothRestrictions_returnsSetEnforcedAdminFromCheck() constant
206 val restrictions by collectLastValue(underTest.restrictionPolicy) in brightnessBaseUserRestriction_flagOn_emptyRestriction() constant
/aosp_15_r20/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/raw/
H A DHiddenApiClassDataItem.java88 int restrictions = reader.readSmallUleb128(); in makeAnnotator() local
90 restrictions, in makeAnnotator() local
97 int restrictions = reader.readSmallUleb128(); in makeAnnotator() local
99 restrictions, in makeAnnotator() local
106 int restrictions = reader.readSmallUleb128(); in makeAnnotator() local
108 restrictions, in makeAnnotator() local
115 int restrictions = reader.readSmallUleb128(); in makeAnnotator() local
117 restrictions, in makeAnnotator() local
/aosp_15_r20/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java265 List<RestrictionsPerSpeedRange> restrictions) { in findUxRestrictionsInList()
294 List<RestrictionsPerSpeedRange> restrictions) { in findUxRestrictionsInHighestSpeedRange()
410 private void writeRestrictions(JsonWriter writer, RestrictionsPerSpeedRange restrictions) in writeRestrictions()
620 int restrictions = CarUxRestrictions.UX_RESTRICTIONS_BASELINE; in readRestrictions() local
719 PrintWriter writer, Map<Integer, List<RestrictionsPerSpeedRange>> restrictions) { in dumpRestrictions()
788 List<RestrictionsPerSpeedRange> restrictions = new ArrayList<>(); in CarUxRestrictionsConfiguration() local
951 @CarUxRestrictions.CarUxRestrictionsInfo int restrictions) { in setUxRestrictions()
975 @CarUxRestrictions.CarUxRestrictionsInfo int restrictions) { in setUxRestrictions()
1087 List<RestrictionsPerSpeedRange> restrictions = in addDefaultRestrictionsToBaseline() local
1129 List<RestrictionsPerSpeedRange> restrictions = in validateBaselineModeRestrictions() local
[all …]
/aosp_15_r20/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
H A DAppRestrictionSchemaFragment.java102 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local
124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello()
137 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage()
145 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { in updateNumber()
155 private void updateRank(RestrictionEntry entry, Bundle restrictions) { in updateRank()
165 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { in updateApprovals()
181 private void updateItems(Bundle restrictions) { in updateItems()
/aosp_15_r20/developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
DAppRestrictionSchemaFragment.java130 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local
152 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello()
165 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage()
173 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { in updateNumber()
183 private void updateRank(RestrictionEntry entry, Bundle restrictions) { in updateRank()
193 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { in updateApprovals()
209 private void updateItems(Bundle restrictions) { in updateItems()
/aosp_15_r20/developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
H A DAppRestrictionSchemaFragment.java130 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local
152 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello()
165 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage()
173 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { in updateNumber()
183 private void updateRank(RestrictionEntry entry, Bundle restrictions) { in updateRank()
193 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { in updateApprovals()
209 private void updateItems(Bundle restrictions) { in updateItems()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java400 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
401 writeRestrictions(XmlUtils.makeTyped(serializer), restrictions, tag); in writeRestrictions() local
405 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
426 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions()
427 readRestrictions(XmlUtils.makeTyped(parser), restrictions); in readRestrictions() local
430 public static void readRestrictions(TypedXmlPullParser parser, Bundle restrictions) { in readRestrictions()
907 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions()
944 String... restrictions) { in restrictionsChanged()
H A DUserTypeFactory.java222 final Bundle restrictions = getDefaultProfileRestrictions(); in getDefaultTypeProfileTest() local
418 final Bundle restrictions = new Bundle(); in getDefaultSecondaryUserRestrictions() local
426 final Bundle restrictions = getDefaultSecondaryUserRestrictions(); in getDefaultGuestUserRestrictions() local
434 final Bundle restrictions = new Bundle(); in getDefaultProfileRestrictions() local
441 final Bundle restrictions = getDefaultProfileRestrictions(); in getDefaultPrivateProfileRestrictions() local
568 final Bundle restrictions = UserRestrictionsUtils in customizeBuilders() local
H A DRestrictionsSet.java63 public RestrictionsSet(@UserIdInt int userId, @NonNull Bundle restrictions) { in RestrictionsSet()
76 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions()
98 final Bundle restrictions = mUserRestrictions.valueAt(i); in removeRestrictionsForAllUsers() local
237 Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in readRestrictions() local
/aosp_15_r20/external/webrtc/call/adaptation/
H A Dvideo_stream_adapter.cc66 const VideoSourceRestrictions& restrictions) { in CanDecreaseResolutionTo()
75 const VideoSourceRestrictions& restrictions) { in CanIncreaseResolutionTo()
84 const VideoSourceRestrictions& restrictions) { in CanDecreaseFrameRateTo()
92 const VideoSourceRestrictions& restrictions) { in CanIncreaseFrameRateTo()
174 VideoSourceRestrictions restrictions, in Adaptation()
196 const VideoSourceRestrictions& Adaptation::restrictions() const { in restrictions() function in webrtc::Adaptation
331 RestrictionsWithCounters restrictions = in GetAdaptationUp() local
679 const VideoSourceRestrictions& restrictions) { in GetAdaptationTo()
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java210 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() local
229 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_nullChannels_setsEmptySet() local
249 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_undefinedRestrictions_setsEmptySet() local
268 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_notifiesWifiVendorHal() local
289 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testRegisteredCoexListener_setCoexUnsafeChannels_listenerIsNotified() local
314 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testUnregisteredCoexListener_setCoexUnsafeChannels_listenerIsNotNotified() local
342 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testRegisteredRemoteCoexCallback_setCoexUnsafeChannels_callbackIsNotified() local
373 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testUnregisteredRemoteCoexCallback_setCoexUnsafeChannels_callbackIsNotNotified() local
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/restrictions/services.restrictions/android_common/turbine-combined/
Dservices.restrictions.jar ... .server.restrictions com.android.server.restrictions.RestrictionsManagerService$RestrictionsManagerImpl extends android.content.IRestrictionsManager ...
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/restrictions/services.restrictions/android_common/repackaged-jarjar/turbine/
Dservices.restrictions.jar ... .restrictions public final com.android.server.restrictions.RestrictionsManagerService extends com.android.server.SystemService ...
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
H A DAlwaysOnVpnTest.java94 final Bundle restrictions = new Bundle(); in testAllowedApps() local
104 final Bundle restrictions = new Bundle(); in testDisallowedApps() local
118 final Bundle restrictions = new Bundle(); in testVpnLockdownUpdateAllowlist() local
159 final Bundle restrictions = new Bundle(); in testVpnLockdownAllowlistVpnComesUp() local
/aosp_15_r20/packages/services/Car/tests/CarServiceTest/src/com/android/car/drivingstate/
DCarDrivingRestrictionsTest.java133 CarUxRestrictions restrictions; in testDrivingStateChange() local
210 CarUxRestrictions restrictions; in testDrivingStateChangeForMalformedInputs() local
324 CarUxRestrictions restrictions; in testGearUnknown_speedUnknown_ignitionStateOn_drivingStateInferredAsUnknown() local
399 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java138 private ArrayList<RestrictionEntry> restrictions; field in AppRestrictionsFragment.AppRestrictionsPreference
153 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions()
459 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local
536 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); in onPreferenceChange() local
630 final ArrayList<RestrictionEntry> restrictions = results.getParcelableArrayList( in onReceive() local
677 ArrayList<RestrictionEntry> restrictions) { in onRestrictionsReceived()
/aosp_15_r20/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java306 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled() local
328 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_restrictionToggled_actionButtonsEnabled() local
355 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsNoSetup_phoneItemClicked_showsToast() local
386 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsNoSetup_mediaItemClicked_showsToast() local
/aosp_15_r20/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java306 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled() local
328 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_restrictionToggled_actionButtonsEnabled() local
355 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsNoSetup_phoneItemClicked_showsToast() local
386 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsNoSetup_mediaItemClicked_showsToast() local
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserTypeTest.java76 final Bundle restrictions = makeRestrictionsBundle("r1", "r2"); in testUserTypeBuilder_createUserType() local
323 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_profile() local
466 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_full() local
602 public static Bundle makeRestrictionsBundle(String ... restrictions) { in makeRestrictionsBundle()
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/restrictions/services.restrictions/android_common/javac/
Dservices.restrictions.jar ... android/server/ com/android/server/restrictions/ com/android/server/restrictions/RestrictionsManagerService ...

12345678910>>...21