Home
last modified time | relevance | path

Searched refs:isRequiresDistractionOptimization (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java74 assertFalse(parked.isRequiresDistractionOptimization()); in testParsingNonMovingState()
77 assertTrue(idling.isRequiresDistractionOptimization()); in testParsingNonMovingState()
87 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_NoSpeedRange()
98 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_SingleSpeedRange()
109 assertTrue(slow.isRequiresDistractionOptimization()); in testParsingMovingState_MultiSpeedRange()
113 assertTrue(fast.isRequiresDistractionOptimization()); in testParsingMovingState_MultiSpeedRange()
124 assertFalse(moving.isRequiresDistractionOptimization()); in testParsingPassengerState()
128 assertFalse(idling.isRequiresDistractionOptimization()); in testParsingPassengerState()
132 assertFalse(parked.isRequiresDistractionOptimization()); in testParsingPassengerState()
143 assertTrue(moving.isRequiresDistractionOptimization()); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
[all …]
DCarDrivingRestrictionsTest.java140 assertTrue(restrictions.isRequiresDistractionOptimization()); in testDrivingStateChange()
156 assertFalse(restrictions.isRequiresDistractionOptimization()); in testDrivingStateChange()
231 assertTrue(restrictions.isRequiresDistractionOptimization()); in testDrivingStateChangeForMalformedInputs()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java92 assertTrue(parkedRestrictions.isRequiresDistractionOptimization()); in testUnspecifiedDrivingStateUsesDefaultRestriction()
96 assertTrue(movingRestrictions.isRequiresDistractionOptimization()); in testUnspecifiedDrivingStateUsesDefaultRestriction()
105 .isRequiresDistractionOptimization()); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
107 .isRequiresDistractionOptimization()); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
152 .isRequiresDistractionOptimization()); in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
505 assertTrue(restrictions.isRequiresDistractionOptimization()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
525 assertFalse(passenger.isRequiresDistractionOptimization()); in testSetUxRestrictions_PassengerMode()
529 assertTrue(baseline.isRequiresDistractionOptimization()); in testSetUxRestrictions_PassengerMode()
548 assertFalse(passenger.isRequiresDistractionOptimization()); in testPassengerModeFallbackToBaseline()
553 assertTrue(baseline.isRequiresDistractionOptimization()); in testPassengerModeFallbackToBaseline()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictions.java244 public boolean isRequiresDistractionOptimization() { in isRequiresDistractionOptimization() method in CarUxRestrictions
351 mRequiresDistractionOptimization = uxRestrictions.isRequiresDistractionOptimization(); in CarUxRestrictions()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java718 mCurrentUxRestrictions.get(port).isRequiresDistractionOptimization(), in handleDispatchUxRestrictions()
719 uxRestrictions.isRequiresDistractionOptimization())); in handleDispatchUxRestrictions()
940 extra.append(oldRestrictions.isRequiresDistractionOptimization() ? "DO -> " : "No DO -> "); in addTransitionLog()
941 extra.append(newRestrictions.isRequiresDistractionOptimization() ? "DO" : "No DO"); in addTransitionLog()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppSearchActivity.java69 .isRequiresDistractionOptimization());
73 restrictionInfo.isRequiresDistractionOptimization()));
DAppGridActivity.java83 .isRequiresDistractionOptimization());
87 restrictionInfo.isRequiresDistractionOptimization()));
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1364 + restrictions.isRequiresDistractionOptimization() in onUxRestrictionsChanged()
1384 && mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in checkIfTopActivityNeedsBlocking()
1403 return mCurrentUxRestrictions.isRequiresDistractionOptimization(); in isRestricted()
DActivityBlockingActivity.java201 if (!restrictions.isRequiresDistractionOptimization()) { in handleUxRChange()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java135 restrictions.isRequiresDistractionOptimization() in updateUxRText()
/packages/services/Car/car-lib/api/
Dcurrent.txt303 method public boolean isRequiresDistractionOptimization();