Searched refs:mCarModeTracker (Results 1 – 2 of 2) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CarModeTrackerTest.java | 44 private CarModeTracker mCarModeTracker; field in CarModeTrackerTest 51 mCarModeTracker = new CarModeTracker(); in setUp() 66 assertNull(mCarModeTracker.getCurrentCarModePackage()); in testEnterCarModeBasic() 67 assertEquals(0, mCarModeTracker.getCarModeApps().size()); in testEnterCarModeBasic() 69 mCarModeTracker.handleEnterCarMode(100, CAR_MODE_APP1_PACKAGE_NAME); in testEnterCarModeBasic() 72 assertEquals(1, mCarModeTracker.getCarModeApps().size()); in testEnterCarModeBasic() 73 assertTrue(mCarModeTracker.isInCarMode()); in testEnterCarModeBasic() 84 mCarModeTracker.handleEnterCarMode(100, CAR_MODE_APP1_PACKAGE_NAME); in testEnterCarModeAlreadyInCarMode() 86 assertEquals(CAR_MODE_APP1_PACKAGE_NAME, mCarModeTracker.getCurrentCarModePackage()); in testEnterCarModeAlreadyInCarMode() 87 assertEquals(1, mCarModeTracker.getCarModeApps().size()); in testEnterCarModeAlreadyInCarMode() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 941 private final CarModeTracker mCarModeTracker; field in InCallController 955 mCarModeTracker = carModeTracker; in InCallController() 1407 return getInCallServiceComponent(mCarModeTracker.getCurrentCarModePackage(), in getCurrentCarModeComponent() 1489 return mCarModeTracker.isInCarMode(); in shouldUseCarModeUI() 1749 mCarModeTracker.dump(pw); in dump() 1869 mCarModeTracker.handleEnterCarMode(priority, packageName); in handleCarModeChange() 1871 mCarModeTracker.handleExitCarMode(priority, packageName); in handleCarModeChange() 1876 mCarModeTracker.getCarModeApps().stream().collect(Collectors.joining(", "))); in handleCarModeChange() 1879 mCarModeTracker.getCurrentCarModePackage()); in handleCarModeChange()
|