/packages/services/Car/tests/carservice_test/src/com/android/car/os/ |
D | CarPerformanceManagerTest.java | 159 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriority() 162 ThreadPolicyWithPriority result = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriority() 171 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriorityDefaultPolicy() 174 ThreadPolicyWithPriority result = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityDefaultPolicy() 183 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriorityInvalidPolicy() 186 assertThrows(IllegalStateException.class, () -> mCarPerformanceManager.getThreadPriority()); in testGetThreadPriorityInvalidPolicy() 192 when(mCarWatchdogDaemonHelper.getThreadPriority( in testGetThreadPriorityInvalidPriority() 195 assertThrows(IllegalStateException.class, () -> mCarPerformanceManager.getThreadPriority()); in testGetThreadPriorityInvalidPriority() 200 when(mCarWatchdogDaemonHelper.getThreadPriority(anyInt(), anyInt(), anyInt())).thenThrow( in testGetThreadPriorityRemoteException() 203 ThreadPolicyWithPriority result = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityRemoteException() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/os/ |
D | CarPerformanceManagerUnitTest.java | 100 when(mService.getThreadPriority(anyInt())).thenReturn(expected); in testGetThreadPriority() 102 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriority() 110 when(mService.getThreadPriority(anyInt())).thenThrow(new RemoteException("")); in testGetThreadPriorityRemoteExceptionFromService() 112 ThreadPolicyWithPriority got = mCarPerformanceManager.getThreadPriority(); in testGetThreadPriorityRemoteExceptionFromService()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/ |
D | OnDevicePersonalizationExecutorsTests.java | 39 assertEquals(Process.getThreadPriority(Process.myTid()), in testBackgroundExecutorSettings() 50 assertEquals(Process.getThreadPriority(Process.myTid()), in testLightweightExecutorSettings() 61 assertEquals(Process.getThreadPriority(Process.myTid()), in testBlockingExecutorSettings()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/common/ |
D | FederatedComputeExecutorsTest.java | 43 Process.getThreadPriority(Process.myTid()), in testBackgroundExecutorSettings() 57 Process.getThreadPriority(Process.myTid()), in testLightweightExecutorSettings() 70 Process.getThreadPriority(Process.myTid()), in testBlockingExecutorSettings()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | ThreadPriorityControllerTest.cpp | 152 auto result = mController->getThreadPriority(TEST_PID, TEST_TID, TEST_UID, &actual); in TEST_F() 161 auto result = mController->getThreadPriority(TEST_PID + 1, TEST_TID, TEST_UID, &actual); in TEST_F() 171 auto result = mController->getThreadPriority(TEST_PID, TEST_TID, TEST_UID, &actual); in TEST_F() 182 auto result = mController->getThreadPriority(TEST_PID, TEST_TID, TEST_UID, &actual); in TEST_F()
|
D | MockWatchdogInternalHandler.h | 79 MOCK_METHOD(ndk::ScopedAStatus, getThreadPriority,
|
D | WatchdogInternalHandlerTest.cpp | 114 MOCK_METHOD(Result<void>, getThreadPriority, 703 EXPECT_CALL(*mThreadPriorityController, getThreadPriority(testPid, testTid, testUid, _)) in TEST_F() 712 auto status = mWatchdogInternalHandler->getThreadPriority(testPid, testTid, testUid, &actual); in TEST_F()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/os/ |
D | CarPerformanceTestFragment.java | 71 b.setOnClickListener(this::getThreadPriority); in onCreateView() 96 private void getThreadPriority(View v) { in getThreadPriority() method in CarPerformanceTestFragment 104 ThreadPolicyWithPriority p = mCarPerformanceManager.getThreadPriority(); in getThreadPriority()
|
/packages/services/Car/car-lib/src/android/car/os/ |
D | CarPerformanceManager.java | 196 public @NonNull ThreadPolicyWithPriority getThreadPriority() { in getThreadPriority() method in CarPerformanceManager 199 return mService.getThreadPriority(tid); in getThreadPriority()
|
D | ICarPerformanceService.aidl | 43 ThreadPolicyWithPriority getThreadPriority(int tid); in getThreadPriority() method
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ThreadPriorityController.h | 34 virtual android::base::Result<void> getThreadPriority( 60 android::base::Result<void> getThreadPriority(
|
D | ThreadPriorityController.cpp | 84 Result<void> ThreadPriorityController::getThreadPriority(int pid, int tid, int uid, in getThreadPriority() function in android::automotive::watchdog::ThreadPriorityController
|
D | WatchdogInternalHandler.cpp | 436 ScopedAStatus WatchdogInternalHandler::getThreadPriority( in getThreadPriority() function in android::automotive::watchdog::WatchdogInternalHandler 441 if (auto result = mThreadPriorityController->getThreadPriority(pid, tid, uid, in getThreadPriority()
|
D | WatchdogInternalHandler.h | 117 ndk::ScopedAStatus getThreadPriority(
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/os/ |
D | CarPerformanceServiceUnitTest.java | 88 when(mMockCarWatchdogService.getThreadPriority(Binder.getCallingPid(), in testGetThreadPriority() 92 mCarPerformanceService.getThreadPriority(/* tid= */234000); in testGetThreadPriority()
|
/packages/services/Car/service/src/com/android/car/os/ |
D | CarPerformanceService.java | 114 public ThreadPolicyWithPriority getThreadPriority(int tid) throws RemoteException { in getThreadPriority() method in CarPerformanceService 120 int[] result = mCarWatchdogService.getThreadPriority(pid, tid, uid); in getThreadPriority()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelperTest.java | 292 when(mFakeCarWatchdog.getThreadPriority(testPid, testTid, testUid)) in testGetThreadPriority() 295 int[] result = mCarWatchdogDaemonHelper.getThreadPriority(testPid, testTid, testUid); in testGetThreadPriority() 309 () -> mCarWatchdogDaemonHelper.getThreadPriority(testPid, testTid, testUid)); in testGetThreadPriority_DaemonVersionTooLow()
|
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelper.java | 316 public int[] getThreadPriority(int pid, int tid, int uid) in getThreadPriority() method in CarWatchdogDaemonHelper 322 ThreadPolicyWithPriority t = daemon.getThreadPriority(pid, tid, uid); in getThreadPriority()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | PriorityThreadFactoryTest.java | 62 mPriority = new Integer(android.os.Process.getThreadPriority(tid)); in run()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 176 ThreadPolicyWithPriority getThreadPriority(int pid, int tid, int uid); in getThreadPriority() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 47 …android.automotive.watchdog.internal.ThreadPolicyWithPriority getThreadPriority(int pid, int tid, … in getThreadPriority() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 47 …android.automotive.watchdog.internal.ThreadPolicyWithPriority getThreadPriority(int pid, int tid, … in getThreadPriority() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 47 …android.automotive.watchdog.internal.ThreadPolicyWithPriority getThreadPriority(int pid, int tid, … in getThreadPriority() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/concurrency/ |
D | AdServicesExecutorTest.java | 96 Process.getThreadPriority(Process.myTid()), in runTaskAndAssertResult()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 589 public int[] getThreadPriority(int pid, int tid, int uid) throws RemoteException { in getThreadPriority() method in CarWatchdogService 591 return mCarWatchdogDaemonHelper.getThreadPriority(pid, tid, uid); in getThreadPriority()
|