Home
last modified time | relevance | path

Searched refs:halSetThreads (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java269 public void halSetThreads(long halPtr, int[] tids) {
560 verify(mNativeWrapperMock, times(1)).halSetThreads(anyLong(), eq(SESSION_TIDS_B));
570 verify(mNativeWrapperMock, never()).halSetThreads(anyLong(), any());
602 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr1), any());
607 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr1), any());
659 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr1), any());
660 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr2), any());
671 verify(mNativeWrapperMock, times(1)).halSetThreads(eq(sessionPtr2), eq(expectedTids2));
682 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr1), any());
683 verify(mNativeWrapperMock, never()).halSetThreads(eq(sessionPtr2), any());
[all …]
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java348 public void halSetThreads(long halPtr, int[] tids) { in halSetThreads() method in HintManagerService.NativeWrapper
1184 mNativeWrapper.halSetThreads(mHalSessionPtr, tids); in setThreadsInternal()
1314 mNativeWrapper.halSetThreads(mHalSessionPtr, mNewThreadIds); in resume()