Home
last modified time | relevance | path

Searched refs:setSafetyMode (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarServiceHelperWrapper.java154 public void setSafetyMode(boolean safe) { in setSafetyMode() method in CarServiceHelperWrapper
156 waitForCarServiceHelper().setSafetyMode(safe); in setSafetyMode()
/packages/services/Car/car-lib/src/com/android/car/internal/
DICarServiceHelper.aidl49 void setSafetyMode(boolean safe) = 3; in setSafetyMode() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceHelperWrapperUnitTest.java99 assertThrows(IllegalStateException.class, () -> wrapper.setSafetyMode(true)); in testThrowWhenNotConnected()
DAbstractICarServiceHelperStub.java61 public void setSafetyMode(boolean safe) { in setSafetyMode() method in AbstractICarServiceHelperStub
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java228 verify(mICarServiceHelper).setSafetyMode(false); in testSetICarServiceHelper_withUxRestrictions()
232 verify(mICarServiceHelper).setSafetyMode(true); in testSetICarServiceHelper_withUxRestrictions()
235 verify(mICarServiceHelper, times(2)).setSafetyMode(false); in testSetICarServiceHelper_withUxRestrictions()
243 verify(mICarServiceHelper).setSafetyMode(true); in testSetICarServiceHelper_withoutUxRestrictions()
246 verify(mICarServiceHelper).setSafetyMode(false); in testSetICarServiceHelper_withoutUxRestrictions()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java864 CarServiceHelperWrapper.getInstance().setSafetyMode(!restricted); in setUxRestrictions()