/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 | 141 assertThat(restrictions.getActiveRestrictions()).isEqualTo(UX_RESTRICTIONS_MOVING); in testDrivingStateChange() 157 assertThat(restrictions.getActiveRestrictions()) in testDrivingStateChange() 232 assertThat(restrictions.getActiveRestrictions()) in testDrivingStateChangeForMalformedInputs() 293 + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 99 assertEquals(parkedRestrictions.getActiveRestrictions(), UX_RESTRICTIONS_FULLY_RESTRICTED); in testUnspecifiedDrivingStateUsesDefaultRestriction() 103 assertEquals(movingRestrictions.getActiveRestrictions(), UX_RESTRICTIONS_FULLY_RESTRICTED); in testUnspecifiedDrivingStateUsesDefaultRestriction() 580 assertEquals(UX_RESTRICTIONS_NO_VIDEO, restrictions.getActiveRestrictions()); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline() 604 assertEquals(UX_RESTRICTIONS_NO_VIDEO, baseline.getActiveRestrictions()); in testSetUxRestrictions_PassengerMode() 618 assertEquals(UX_RESTRICTIONS_NO_VIDEO, passenger.getActiveRestrictions()); in testGetUxRestrictions_WithUndefinedMode_FallbackToBaseline() 637 assertEquals(UX_RESTRICTIONS_NO_VIDEO, passenger.getActiveRestrictions()); in testPassengerMode_GetMovingWhenNotDefined_FallbackToBaseline() 662 assertEquals(UX_RESTRICTIONS_NO_VIDEO, baseline.getActiveRestrictions()); 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/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 831 mCurrentUxRestrictions.get(port).getActiveRestrictions(), in handleDispatchUxRestrictions() 832 uxRestrictions.getActiveRestrictions())); in handleDispatchUxRestrictions() 1054 oldRestrictions.getActiveRestrictions(), newRestrictions.getActiveRestrictions(), in addTransitionLog()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 140 + Integer.toHexString(restrictions.getActiveRestrictions()) in updateUxRText() 142 + Integer.toBinaryString(restrictions.getActiveRestrictions())); in updateUxRText()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationViewAdapter.java | 397 && (mCarUxRestrictions.getActiveRestrictions() in getItemCount() 541 return mCarUxRestrictions != null && (mCarUxRestrictions.getActiveRestrictions() in shouldRestrictMessagePreview()
|
D | CarHeadsUpNotificationManager.java | 764 (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-apps-common/src/com/android/car/apps/common/ |
D | CarUxRestrictionsUtil.java | 136 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtil.java | 135 return (uxr == null) || ((uxr.getActiveRestrictions() & restrictionFlags) != 0); in isRestricted()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 364 when(mCarUxRestrictionsMock.getActiveRestrictions()).thenReturn( in onBindViewHolder_messageWithRestriction_shouldNotThrowError() 398 when(mCarUxRestrictionsMock.getActiveRestrictions()).thenReturn( in onBindViewHolder_messageInGroupWithRestriction_shouldNotThrowError()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerView.java | 386 if ((carUxRestrictions.getActiveRestrictions() in onRestrictionsChanged()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 137 (restrictions.getActiveRestrictions()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedRecyclerView.java | 311 if ((carUxRestrictions.getActiveRestrictions() in updateCarUxRestrictions()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 1352 + " : " + restrictions.getActiveRestrictions()); in onUxRestrictionsChanged()
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 299 …ndroid.car.drivingstate.CarUxRestrictions.CarUxRestrictionsInfo public int getActiveRestrictions();
|