Home
last modified time | relevance | path

Searched refs:mCarPerformanceManager (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/os/
DCarPerformanceManagerTest.java54 private CarPerformanceManager mCarPerformanceManager; field in CarPerformanceManagerTest
91 mCarPerformanceManager = (CarPerformanceManager) getCar().getCarManager( in setUp()
93 assertThat(mCarPerformanceManager).isNotNull(); in setUp()
100 mCarPerformanceManager.setThreadPriority(p); in testSetThreadPriority()
114 () -> mCarPerformanceManager.setThreadPriority(p)); in testSetThreadPriorityIllegalArgumentException()
128 () -> mCarPerformanceManager.setThreadPriority(p)); in testSetThreadPriorityIllegalStateException()
142 mCarPerformanceManager.setThreadPriority(p); in testSetThreadPriorityRemoteException()
153 () -> mCarPerformanceManager.setThreadPriority(p)); in testSetThreadPriorityServiceSpecificException()
162 ThreadPolicyWithPriority result = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriority()
174 ThreadPolicyWithPriority result = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityDefaultPolicy()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/os/
DCarPerformanceManagerUnitTest.java54 private CarPerformanceManager mCarPerformanceManager; field in CarPerformanceManagerUnitTest
63 mCarPerformanceManager = new CarPerformanceManager(mCar, mBinder); in setUp()
71 mCarPerformanceManager.setThreadPriority(expected); in testSetThreadPriority()
83 () -> mCarPerformanceManager.setThreadPriority(p)); in testSetThreadPriorityServiceSpecificExceptionFromService()
93 mCarPerformanceManager.setThreadPriority(p); in testSetThreadPriorityRemoteExceptionFromService()
102 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriority()
112 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityRemoteExceptionFromService()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkHelperImpl.java62 private CarPerformanceManager mCarPerformanceManager; field in KitchenSinkHelperImpl
183 if (mCarPerformanceManager == null) { in getPerformanceManager()
184 mCarPerformanceManager = in getPerformanceManager()
187 return mCarPerformanceManager; in getPerformanceManager()
239 mCarPerformanceManager = null; in initCarApi()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/os/
DCarPerformanceTestFragment.java46 private CarPerformanceManager mCarPerformanceManager; field in CarPerformanceTestFragment
56 mCarPerformanceManager = ((KitchenSinkActivity) getActivity()) in onCreate()
104 ThreadPolicyWithPriority p = mCarPerformanceManager.getThreadPriority(); in getThreadPriority()
142 mCarPerformanceManager.setThreadPriority( in setThreadPriority()