Home
last modified time | relevance | path

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

123

/aosp12/packages/services/Car/car-lib/src/android/car/drivingstate/
H A DCarUxRestrictionsConfiguration.java180 List<RestrictionsPerSpeedRange> restrictions) { in findUxRestrictionsInList()
478 int restrictions = CarUxRestrictions.UX_RESTRICTIONS_BASELINE; in readRestrictions() local
637 List<RestrictionsPerSpeedRange> restrictions = new ArrayList<>(); in CarUxRestrictionsConfiguration() local
727 @CarUxRestrictions.CarUxRestrictionsInfo int restrictions) { in setUxRestrictions()
751 @CarUxRestrictions.CarUxRestrictionsInfo int restrictions) { in setUxRestrictions()
832 List<RestrictionsPerSpeedRange> restrictions = in addDefaultRestrictionsToBaseline() local
847 List<RestrictionsPerSpeedRange> restrictions = in validateBaselineModeRestrictions() local
905 private void validateRangeOfSpeed(List<RestrictionsPerSpeedRange> restrictions) { in validateRangeOfSpeed()
1062 public DrivingStateRestrictions setRestrictions( in setRestrictions()
1109 RestrictionsPerSpeedRange(boolean reqOpt, int restrictions) { in RestrictionsPerSpeedRange()
[all …]
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DCarDrivingRestrictionsTest.java91 CarUxRestrictions restrictions; in testDrivingStateChange() local
181 CarUxRestrictions restrictions; in testDrivingStateChangeForMalformedInputs() local
303 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged()
H A DCarUxRestrictionsManagerServiceTest.java334 CarUxRestrictions restrictions = mService.getCurrentUxRestrictions(unknownDisplayId); in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions() local
367 CarUxRestrictions restrictions = mService.getCurrentUxRestrictions(virtualDisplayId); in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction() local
428 CarUxRestrictions restrictions = mService.getCurrentUxRestrictions(virtualDisplayId); in testGetCurrentUxRestrictions_ReportedVirtualDisplay_ReturnsRestrictionsForPort() local
673 private CarUxRestrictionsConfiguration createMovingConfig(Integer port, int restrictions) { in createMovingConfig()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DRestrictionsSetTest.java48 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_addRestrictions() local
57 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_removeRestrictions() local
67 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_noChange() local
H A DUserManagerServiceUserTypeTest.java74 final Bundle restrictions = makeRestrictionsBundle("r1", "r2"); in testUserTypeBuilder_createUserType() local
250 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_profile() local
314 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_full() local
447 public static Bundle makeRestrictionsBundle(String ... restrictions) { in makeRestrictionsBundle()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java335 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
336 writeRestrictions(XmlUtils.makeTyped(serializer), restrictions, tag); in writeRestrictions() local
340 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
361 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions()
362 readRestrictions(XmlUtils.makeTyped(parser), restrictions); in readRestrictions() local
365 public static void readRestrictions(TypedXmlPullParser parser, Bundle restrictions) { in readRestrictions()
806 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions()
843 String... restrictions) { in restrictionsChanged()
H A DUserTypeFactory.java163 final Bundle restrictions = new Bundle(); in getDefaultTypeProfileTest() local
263 final Bundle restrictions = new Bundle(); in getDefaultSecondaryUserRestrictions() local
271 final Bundle restrictions = getDefaultSecondaryUserRestrictions(); in getDefaultGuestUserRestrictions() local
279 final Bundle restrictions = new Bundle(); in getDefaultManagedProfileRestrictions() local
384 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()
217 Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in readRestrictions() local
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
H A DCoexManagerTest.java208 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_nonNullChannels_returnedInGetters() local
227 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_nullChannels_setsEmptySet() local
247 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_undefinedRestrictions_setsEmptySet() local
266 final int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testSetCoexUnsafeChannels_notifiesWifiVendorHal() local
287 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testRegisteredCoexListener_setCoexUnsafeChannels_listenerIsNotified() local
312 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testUnregisteredCoexListener_setCoexUnsafeChannels_listenerIsNotNotified() local
340 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testRegisteredRemoteCoexCallback_setCoexUnsafeChannels_callbackIsNotified() local
371 int restrictions = COEX_RESTRICTION_WIFI_DIRECT | COEX_RESTRICTION_SOFTAP in testUnregisteredRemoteCoexCallback_setCoexUnsafeChannels_callbackIsNotNotified() local
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
H A DDialpadRestrictionViewModel.java133 private DialpadUxrMode evaluateDialpadMode(CarUxRestrictions restrictions, String phoneNumber) { in evaluateDialpadMode()
152 private void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DICoexCallback.aidl27 void onCoexUnsafeChannelsChanged(in List<CoexUnsafeChannel> unsafeChannels, int restrictions); in onCoexUnsafeChannelsChanged()
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/
H A DCarUxRestrictionsController.java32 void setUxRestrictions(int restrictions) throws RemoteException; in setUxRestrictions()
H A DFakeCarUxRestrictionsService.java133 public void setUxRestrictions(int restrictions) throws RemoteException { in setUxRestrictions()
/aosp12/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/
H A DTokenPayload.java32 private HashMap<String, Boolean> restrictions; field in TokenPayload
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
H A DSinglePaneBaseCarSettingsActivityTest.java69 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions() local
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DAppRestrictionsFragment.java138 private ArrayList<RestrictionEntry> restrictions; field in AppRestrictionsFragment.AppRestrictionsPreference
153 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions()
463 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local
540 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); in onPreferenceChange() local
634 final ArrayList<RestrictionEntry> restrictions = results.getParcelableArrayList( in onReceive() local
684 ArrayList<RestrictionEntry> restrictions) { in onRestrictionsReceived()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java62 public static RestrictionsSet newRestrictions(int userId, String... restrictions) { in newRestrictions()
69 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DAppRestrictionsFragment.java158 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions()
506 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local
621 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); in onPreferenceChange() local
691 final ArrayList<RestrictionEntry> restrictions = results != null in onReceive() local
717 ArrayList<RestrictionEntry> restrictions) { in onRestrictionsReceived()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarUxRestrictionsConfigurationXmlParser.java239 DrivingStateRestrictions restrictions = parseRestrictions(parser, attrs); in parseAllRestrictions() local
273 int restrictions = UX_RESTRICTIONS_UNKNOWN; in parseRestrictions() local
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
H A DBluetoothBondedDevicesPreferenceControllerTest.java283 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled() local
305 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_restrictionToggled_actionButtonsEnabled() local
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
H A DPrioritizeAppPerformancePreferenceControllerTest.java105 CarUxRestrictions restrictions = new CarUxRestrictions.Builder(/* reqOpt= */ true, in setUp() local
/aosp12/frameworks/base/cmds/incidentd/src/
H A DPrivacyFilter.cpp172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
252 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter()
/aosp12/frameworks/base/core/java/android/content/
H A DRestrictionsManager.java564 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local
722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
/aosp12/art/compiler/optimizing/
H A Dloop_optimization.cc365 static bool HasVectorRestrictions(uint64_t restrictions, uint64_t tested) { in HasVectorRestrictions()
1316 uint64_t restrictions = kNone; in VectorizeDef() local
1380 uint64_t restrictions) { in VectorizeUse()
1584 bool HLoopOptimization::TrySetVectorType(DataType::Type type, uint64_t* restrictions) { in TrySetVectorType()
2070 uint64_t restrictions) { in VectorizeHalvingAddIdiom()
2143 uint64_t restrictions) { in VectorizeSADIdiom()
2223 uint64_t restrictions) { in VectorizeDotProdIdiom()
/aosp12/hardware/interfaces/wifi/1.5/vts/functional/
H A Dwifi_chip_hidl_test.cpp168 uint32_t restrictions = IWifiChip::CoexRestriction::WIFI_AWARE | in TEST_P() local

123