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.java76 assertFalse(parked.isRequiresDistractionOptimization()); in testParsingNonMovingState()
79 assertTrue(idling.isRequiresDistractionOptimization()); in testParsingNonMovingState()
89 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_NoSpeedRange()
100 assertTrue(r.isRequiresDistractionOptimization()); in testParsingMovingState_SingleSpeedRange()
111 assertTrue(slow.isRequiresDistractionOptimization()); in testParsingMovingState_MultiSpeedRange()
115 assertTrue(fast.isRequiresDistractionOptimization()); in testParsingMovingState_MultiSpeedRange()
126 assertFalse(moving.isRequiresDistractionOptimization()); in testParsingPassengerState()
130 assertFalse(idling.isRequiresDistractionOptimization()); in testParsingPassengerState()
134 assertFalse(parked.isRequiresDistractionOptimization()); in testParsingPassengerState()
145 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.java98 assertTrue(parkedRestrictions.isRequiresDistractionOptimization()); in testUnspecifiedDrivingStateUsesDefaultRestriction()
102 assertTrue(movingRestrictions.isRequiresDistractionOptimization()); in testUnspecifiedDrivingStateUsesDefaultRestriction()
111 .isRequiresDistractionOptimization()); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
113 .isRequiresDistractionOptimization()); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
158 .isRequiresDistractionOptimization()); in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
579 assertTrue(restrictions.isRequiresDistractionOptimization()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
599 assertFalse(passenger.isRequiresDistractionOptimization()); in testSetUxRestrictions_PassengerMode()
603 assertTrue(baseline.isRequiresDistractionOptimization()); in testSetUxRestrictions_PassengerMode()
617 assertTrue(passenger.isRequiresDistractionOptimization()); in testGetUxRestrictions_WithUndefinedMode_FallbackToBaseline()
636 assertTrue(passenger.isRequiresDistractionOptimization()); in testPassengerMode_GetMovingWhenNotDefined_FallbackToBaseline()
[all …]
/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.java827 mCurrentUxRestrictions.get(port).isRequiresDistractionOptimization(), in handleDispatchUxRestrictions()
828 uxRestrictions.isRequiresDistractionOptimization())); in handleDispatchUxRestrictions()
1050 extra.append(oldRestrictions.isRequiresDistractionOptimization() ? "DO -> " : "No DO -> "); in addTransitionLog()
1051 extra.append(newRestrictions.isRequiresDistractionOptimization() ? "DO" : "No DO"); in addTransitionLog()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java115 .isRequiresDistractionOptimization());
119 restrictionInfo.isRequiresDistractionOptimization()));
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsPreferenceController.java87 if (uxRestrictions.isRequiresDistractionOptimization() in onApplyUxRestrictions()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1351 + restrictions.isRequiresDistractionOptimization() in onUxRestrictionsChanged()
1371 && mCurrentUxRestrictions.isRequiresDistractionOptimization()) { in checkIfTopActivityNeedsBlocking()
1390 return mCurrentUxRestrictions.isRequiresDistractionOptimization(); in isRestricted()
DActivityBlockingActivity.java232 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();