Searched refs:restrictions (Results 1 – 25 of 27) sorted by relevance
12
180 List<RestrictionsPerSpeedRange> restrictions) { in findUxRestrictionsInList() argument181 if (restrictions.isEmpty()) { in findUxRestrictionsInList()185 if (restrictions.size() == 1 && restrictions.get(0).mSpeedRange == null) { in findUxRestrictionsInList()187 return restrictions.get(0); in findUxRestrictionsInList()190 for (RestrictionsPerSpeedRange r : restrictions) { in findUxRestrictionsInList()278 for (RestrictionsPerSpeedRange restrictions : messages) { in writeRestrictionsList()279 writeRestrictions(writer, restrictions); in writeRestrictionsList()284 private void writeRestrictions(JsonWriter writer, RestrictionsPerSpeedRange restrictions) in writeRestrictions() argument287 writer.name(JSON_NAME_REQ_OPT).value(restrictions.mReqOpt); in writeRestrictions()288 writer.name(JSON_NAME_RESTRICTIONS).value(restrictions.mRestrictions); in writeRestrictions()[all …]
180 public Builder(boolean reqOpt, @CarUxRestrictionsInfo int restrictions, long time) { in Builder() argument182 mActiveRestrictions = restrictions; in Builder()
90 CarUxRestrictions restrictions; in testDrivingStateChange() local138 restrictions = listener.waitForUxRestrictionsChange(); in testDrivingStateChange()139 assertNotNull(restrictions); in testDrivingStateChange()140 assertTrue(restrictions.isRequiresDistractionOptimization()); in testDrivingStateChange()141 assertThat(restrictions.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_MOVING); in testDrivingStateChange()154 restrictions = listener.waitForUxRestrictionsChange(); in testDrivingStateChange()155 assertNotNull(restrictions); in testDrivingStateChange()156 assertFalse(restrictions.isRequiresDistractionOptimization()); in testDrivingStateChange()157 assertThat(restrictions.getActiveRestrictions()) in testDrivingStateChange()180 CarUxRestrictions restrictions; in testDrivingStateChangeForMalformedInputs() local[all …]
304 CarUxRestrictions restrictions = mService.getCurrentUxRestrictions(/* displayId= */ 10); in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions() local309 assertTrue(restrictions.toString(), expected.isSameRestrictions(restrictions)); in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions()
136 private ArrayList<RestrictionEntry> restrictions; field in AppRestrictionsFragment.AppRestrictionsPreference151 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() argument152 this.restrictions = restrictions; in setRestrictions()164 return restrictions; in getRestrictions()455 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local457 RestrictionEntry locationRestriction = restrictions.get(0); in addLocationAppRestrictionsPreference()459 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()503 pref.restrictions.get(0).setSelectedState(pref.isChecked()); in onClick()504 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()509 && pref.restrictions == null) { in onClick()[all …]
238 DrivingStateRestrictions restrictions = parseRestrictions(parser, attrs); in parseAllRestrictions() local239 if (restrictions == null) { in parseAllRestrictions()243 restrictions.setSpeedRange(speedRange); in parseAllRestrictions()246 Log.d(TAG, "Map " + drivingState + " : " + restrictions); in parseAllRestrictions()251 && restrictions != null) { in parseAllRestrictions()252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()272 int restrictions = UX_RESTRICTIONS_UNKNOWN; in parseRestrictions() local279 restrictions = a.getInt( in parseRestrictions()294 .setRestrictions(restrictions) in parseRestrictions()
402 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(getPhysicalPort(displayId)); in getCurrentUxRestrictions() local403 if (restrictions == null) { in getCurrentUxRestrictions()407 restrictions = createFullyRestrictedRestrictions(); in getCurrentUxRestrictions()409 return restrictions; in getCurrentUxRestrictions()705 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(port); in dump() local706 writer.printf("Port: 0x%02X UXR: %s\n", port, restrictions.toString()); in dump()
158 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() argument159 this.mRestrictions = restrictions; in setRestrictions()506 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local508 RestrictionEntry locationRestriction = restrictions.get(0); in addLocationAppRestrictionsPreference()510 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()621 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); in onPreferenceChange() local622 if (restrictions != null) { in onPreferenceChange()623 for (RestrictionEntry entry : restrictions) { in onPreferenceChange()648 RestrictionsManager.convertRestrictionsToBundle(restrictions), in onPreferenceChange()691 final ArrayList<RestrictionEntry> restrictions = results != null in onReceive() local[all …]
102 void onUxRestrictionsSelected(int restrictions); in onUxRestrictionsSelected() argument196 restrictions -> mBaselineRestrictions = restrictions); in instantiateItem()200 restrictions -> mPassengerRestrictions = restrictions); in instantiateItem()
133 private void updateUxRText(CarUxRestrictions restrictions) { in updateUxRText() argument135 restrictions.isRequiresDistractionOptimization() in updateUxRText()140 + Integer.toHexString(restrictions.getActiveRestrictions()) in updateUxRText()142 + Integer.toBinaryString(restrictions.getActiveRestrictions())); in updateUxRText()
240 /* package */ void setCarUxRestrictions(CarUxRestrictions restrictions) { in setCarUxRestrictions() argument242 mCurrentRestrictions = restrictions; in setCarUxRestrictions()515 @CarUxRestrictions.CarUxRestrictionsInfo int restrictions) { in setUxRestrictions()516 mUxRestrictions = restrictions; in setUxRestrictions()
86 void setCarUxRestrictions(CarUxRestrictions restrictions) { in setCarUxRestrictions() argument87 mMenuItem.setCarUxRestrictions(restrictions); in setCarUxRestrictions()
113 mOnUxRestrictionsChangedListener = restrictions -> {115 renderer.setCarUxRestrictions(restrictions);
228 private void handleUxRChange(CarUxRestrictions restrictions) { in handleUxRChange() argument229 if (restrictions == null) { in handleUxRChange()232 if (!restrictions.isRequiresDistractionOptimization()) { in handleUxRChange()
915 List<String> restrictions = new ArrayList<>(mUxRestrictionsListeners.size()); in dump() local919 restrictions.add(String.format("Display %d is %s", in dump()922 writer.println("Display Restrictions:\n" + String.join("\n", restrictions)); in dump()1348 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged() argument1351 + restrictions.isRequiresDistractionOptimization() in onUxRestrictionsChanged()1352 + " : " + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()1362 mCurrentUxRestrictions = new CarUxRestrictions(restrictions); in onUxRestrictionsChanged()
128 Bundle restrictions = userManager.getUserRestrictions(info.user); in supportsAccessibilityDrop() local129 uninstallDisabled = restrictions.getBoolean(UserManager.DISALLOW_APPS_CONTROL, false) in supportsAccessibilityDrop()130 || restrictions.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS, false); in supportsAccessibilityDrop()
132 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) {133 if (restrictions == null) {137 (restrictions.getActiveRestrictions()
578 CarUxRestrictions restrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline() local579 assertTrue(restrictions.isRequiresDistractionOptimization()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()580 assertEquals(UX_RESTRICTIONS_NO_VIDEO, restrictions.getActiveRestrictions()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()582 assertTrue(restrictions.isSameRestrictions( in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
762 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged() argument764 (restrictions.getActiveRestrictions() in onUxRestrictionsChanged()
135 Custom restrictions;zen_mode_block_settings_page
2894 To protect your rights, we need to make restrictions that forbid2896 rights. These restrictions translate to certain responsibilities for3187 restrictions of other proprietary libraries that do not normally3229 restrictions on the recipients' exercise of the rights granted herein.
10991 purpose, however, refer to the Unisys LZW patent for restrictions on use of11828 fall under the restrictions of Paragraphs 3 and 4, provided that you do
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...