/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParserTest.java | 80 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, idling.getActiveRestrictions()); in testParsingNonMovingState() 90 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, r.getActiveRestrictions()); in testParsingMovingState_NoSpeedRange() 101 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, r.getActiveRestrictions()); in testParsingMovingState_SingleSpeedRange() 112 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, slow.getActiveRestrictions()); in testParsingMovingState_MultiSpeedRange() 116 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, fast.getActiveRestrictions()); in testParsingMovingState_MultiSpeedRange() 146 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, moving.getActiveRestrictions()); in testParsingPassengerMode_ValuesInBaselineAreNotAffected() 151 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, idling.getActiveRestrictions()); in testParsingPassengerMode_ValuesInBaselineAreNotAffected() 156 assertEquals(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, parked.getActiveRestrictions()); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
|
D | CarDrivingRestrictionsTest.java | 142 assertThat(restrictions.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_MOVING); in testDrivingStateChange() 158 assertThat(restrictions.getActiveRestrictions()) in testDrivingStateChange() 243 assertThat(restrictions.getActiveRestrictions()) in testDrivingStateChangeForMalformedInputs() 305 + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarUxRestrictionsManagerTest.java | 69 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in getRestrictions_noRestrictionsSet_noRestrictionsPresent() 77 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in setUxRestrictions_restrictionsRegistered() 87 assertThat(mCarUxRestrictionsManager.getCurrentCarUxRestrictions().getActiveRestrictions()) in clearUxRestrictions_restrictionsCleared()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 102 assertThat(parkedRestrictions.getActiveRestrictions()) in testUnspecifiedDrivingStateUsesDefaultRestriction() 107 assertThat(movingRestrictions.getActiveRestrictions()) in testUnspecifiedDrivingStateUsesDefaultRestriction() 555 assertThat(restrictions.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_NO_VIDEO); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline() 580 assertThat(baseline.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_NO_VIDEO); in testSetUxRestrictions_PassengerMode() 594 assertThat(passenger.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_NO_VIDEO); in testGetUxRestrictions_WithUndefinedMode_FallbackToBaseline() 613 assertThat(passenger.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_NO_VIDEO); in testPassengerMode_GetMovingWhenNotDefined_FallbackToBaseline() 638 assertThat(baseline.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_NO_VIDEO); in testPassengerMode_GetSpeedOutsideDefinedRange_FallbackToBaseline()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictions.java | 254 public int getActiveRestrictions() { in getActiveRestrictions() method in CarUxRestrictions 352 mActiveRestrictions = uxRestrictions.getActiveRestrictions(); in CarUxRestrictions()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 164 + Integer.toHexString(restrictions.getActiveRestrictions()) in updateUxRText() 166 + Integer.toBinaryString(restrictions.getActiveRestrictions())); in updateUxRText()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 833 mCurrentUxRestrictions.get(port).getActiveRestrictions(), in handleDispatchUxRestrictionsLocked() 834 uxRestrictions.getActiveRestrictions())); in handleDispatchUxRestrictionsLocked() 1094 oldRestrictions.getActiveRestrictions(), newRestrictions.getActiveRestrictions(), in addTransitionLogLocked()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationViewAdapter.java | 258 && (mCarUxRestrictions.getActiveRestrictions() in getItemCount() 413 return mCarUxRestrictions != null && (mCarUxRestrictions.getActiveRestrictions() in shouldRestrictMessagePreview()
|
D | CarHeadsUpNotificationManager.java | 568 (restrictions.getActiveRestrictions() in onUxRestrictionsChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | CarUxRestrictionsHelper.java | 93 return (carUxRestrictions.getActiveRestrictions() in isNoSetup()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtil.java | 157 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 380 when(mCarUxRestrictionsMock.getActiveRestrictions()).thenReturn( in onBindViewHolder_messageWithRestriction_shouldNotThrowError() 414 when(mCarUxRestrictionsMock.getActiveRestrictions()).thenReturn( in onBindViewHolder_messageInGroupWithRestriction_shouldNotThrowError()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 137 (restrictions.getActiveRestrictions()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerView.java | 524 if ((carUxRestrictions.getActiveRestrictions() in onRestrictionsChanged()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 1389 + " : " + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 378 …ndroid.car.drivingstate.CarUxRestrictions.CarUxRestrictionsInfo public int getActiveRestrictions();
|