Searched refs:restrictions (Results 1 – 24 of 24) sorted by relevance
181 List<RestrictionsPerSpeedRange> restrictions) { in findUxRestrictionsInList() argument182 if (restrictions.isEmpty()) { in findUxRestrictionsInList()186 if (restrictions.size() == 1 && restrictions.get(0).mSpeedRange == null) { in findUxRestrictionsInList()188 return restrictions.get(0); in findUxRestrictionsInList()191 for (RestrictionsPerSpeedRange r : restrictions) { in findUxRestrictionsInList()287 for (RestrictionsPerSpeedRange restrictions : messages) { in writeRestrictionsList()288 writeRestrictions(writer, restrictions); in writeRestrictionsList()293 private void writeRestrictions(JsonWriter writer, RestrictionsPerSpeedRange restrictions) in writeRestrictions() argument296 writer.name(JSON_NAME_REQ_OPT).value(restrictions.mReqOpt); in writeRestrictions()297 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 …]
215 CarUxRestrictions restrictions = mService.getCurrentUxRestrictions(/* displayId= */ 10); in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions() local220 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()292 .setRestrictions(restrictions) in parseRestrictions()
381 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(getPhysicalPort(displayId)); in getCurrentUxRestrictions() local382 if (restrictions == null) { in getCurrentUxRestrictions()386 restrictions = createFullyRestrictedRestrictions(); in getCurrentUxRestrictions()388 return restrictions; in getCurrentUxRestrictions()601 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(port); in dump() local602 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()
197 private void handleUxRChange(CarUxRestrictions restrictions) { in handleUxRChange() argument198 if (restrictions == null) { in handleUxRChange()201 if (!restrictions.isRequiresDistractionOptimization()) { in handleUxRChange()
927 List<String> restrictions = new ArrayList<>(mUxRestrictionsListeners.size()); in dump() local931 restrictions.add(String.format("Display %d is %s", in dump()934 writer.println("Display Restrictions:\n" + String.join("\n", restrictions)); in dump()1361 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) { in onUxRestrictionsChanged() argument1364 + restrictions.isRequiresDistractionOptimization() in onUxRestrictionsChanged()1365 + " : " + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()1375 mCurrentUxRestrictions = new CarUxRestrictions(restrictions); in onUxRestrictionsChanged()
126 Bundle restrictions = userManager.getUserRestrictions(info.user); in supportsAccessibilityDrop() local127 uninstallDisabled = restrictions.getBoolean(UserManager.DISALLOW_APPS_CONTROL, false) in supportsAccessibilityDrop()128 || restrictions.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS, false); in supportsAccessibilityDrop()
504 CarUxRestrictions restrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline() local505 assertTrue(restrictions.isRequiresDistractionOptimization()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()506 assertEquals(UX_RESTRICTIONS_NO_VIDEO, restrictions.getActiveRestrictions()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()508 assertTrue(restrictions.isSameRestrictions( in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
132 public void onUxRestrictionsChanged(CarUxRestrictions restrictions) {133 if (restrictions == null) {137 (restrictions.getActiveRestrictions()
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:fr,locale=fr,description=Français,date=1414726264, ...