/aosp12/packages/services/Car/car-lib/src/android/car/drivingstate/ |
H A D | CarUxRestrictionsConfiguration.java | 180 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 D | CarDrivingRestrictionsTest.java | 91 CarUxRestrictions restrictions; in testDrivingStateChange() local 181 CarUxRestrictions restrictions; in testDrivingStateChangeForMalformedInputs() local 303 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged()
|
H A D | CarUxRestrictionsManagerServiceTest.java | 334 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 D | RestrictionsSetTest.java | 48 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 D | UserManagerServiceUserTypeTest.java | 74 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 D | UserRestrictionsUtils.java | 335 @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 D | UserTypeFactory.java | 163 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 D | RestrictionsSet.java | 63 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 D | CoexManagerTest.java | 208 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 D | DialpadRestrictionViewModel.java | 133 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 D | ICoexCallback.aidl | 27 void onCoexUnsafeChannelsChanged(in List<CoexUnsafeChannel> unsafeChannels, int restrictions); in onCoexUnsafeChannelsChanged()
|
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/ |
H A D | CarUxRestrictionsController.java | 32 void setUxRestrictions(int restrictions) throws RemoteException; in setUxRestrictions()
|
H A D | FakeCarUxRestrictionsService.java | 133 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 D | TokenPayload.java | 32 private HashMap<String, Boolean> restrictions; field in TokenPayload
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
H A D | SinglePaneBaseCarSettingsActivityTest.java | 69 CarUxRestrictions restrictions = new CarUxRestrictions.Builder( in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions() local
|
/aosp12/packages/apps/Settings/src/com/android/settings/users/ |
H A D | AppRestrictionsFragment.java | 138 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 D | DpmTestUtils.java | 62 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 D | AppRestrictionsFragment.java | 158 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 D | CarUxRestrictionsConfigurationXmlParser.java | 239 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 D | BluetoothBondedDevicesPreferenceControllerTest.java | 283 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 D | PrioritizeAppPerformancePreferenceControllerTest.java | 105 CarUxRestrictions restrictions = new CarUxRestrictions.Builder(/* reqOpt= */ true, in setUp() local
|
/aosp12/frameworks/base/cmds/incidentd/src/ |
H A D | PrivacyFilter.cpp | 172 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 D | RestrictionsManager.java | 564 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
|
/aosp12/art/compiler/optimizing/ |
H A D | loop_optimization.cc | 365 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 D | wifi_chip_hidl_test.cpp | 168 uint32_t restrictions = IWifiChip::CoexRestriction::WIFI_AWARE | in TEST_P() local
|