Home
last modified time | relevance | path

Searched refs:getSessionChannel (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java199 when(mIPowerMock.getSessionChannel(anyInt(), anyInt())).thenReturn(mConfig);
819 ChannelConfig config = service.getBinderServiceInstance().getSessionChannel(token);
820 ChannelConfig config2 = service.getBinderServiceInstance().getSessionChannel(token);
821 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
833 service.getBinderServiceInstance().getSessionChannel(token);
834 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
840 service.getBinderServiceInstance().getSessionChannel(token);
841 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
851 when(mIPowerMock.getSessionChannel(anyInt(), anyInt())).thenThrow(RemoteException.class);
854 service.getBinderServiceInstance().getSessionChannel(token);
[all …]
/frameworks/native/services/powermanager/
DPowerHalController.cpp156 HalResult<aidl::android::hardware::power::ChannelConfig> PowerHalController::getSessionChannel( in getSessionChannel() function in android::power::PowerHalController
160 processHalResult(handle->getSessionChannel(tgid, uid), in getSessionChannel()
DPowerHalWrapper.cpp66 HalResult<Aidl::ChannelConfig> EmptyHalWrapper::getSessionChannel(int, int) { in getSessionChannel() function in android::power::EmptyHalWrapper
273 HalResult<Aidl::ChannelConfig> AidlHalWrapper::getSessionChannel(int tgid, int uid) { in getSessionChannel() function in android::power::AidlHalWrapper
275 auto result = mHandle->getSessionChannel(tgid, uid, &config); in getSessionChannel()
/frameworks/base/core/java/android/os/
DIHintManager.aidl51 ChannelConfig getSessionChannel(in IBinder token); in getSessionChannel() method
/frameworks/native/include/powermanager/
DPowerHalWrapper.h63 virtual HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(int tgid,
85 HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(int tgid,
170 HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(int tgid,
DPowerHalController.h72 virtual HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockPowerHalController.h57 MOCK_METHOD(HalResult<aidl::android::hardware::power::ChannelConfig>, getSessionChannel,
DMockIPower.h59 MOCK_METHOD(ndk::ScopedAStatus, getSessionChannel,
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp64 MOCK_METHOD(ndk::ScopedAStatus, getSessionChannel,
309 EXPECT_CALL(*mMockHal.get(), getSessionChannel(Eq(tgid), Eq(uid), _)) in TEST_F()
315 auto createResult = mWrapper->getSessionChannel(tgid, uid); in TEST_F()
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp58 MOCK_METHOD(ScopedAStatus, getSessionChannel,
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java532 mConfig = mPowerHal.getSessionChannel(mTgid, mUid); in openChannel()
915 public ChannelConfig getSessionChannel(IBinder token) { in getSessionChannel() method in HintManagerService.BinderService
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp267 auto&& channelRet = getPowerHal().getSessionChannel(getpid(), static_cast<int32_t>(getuid())); in setUpFmq()
/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp129 ON_CALL(*mMockPowerHalController, getSessionChannel) in SetUpFmq()