Home
last modified time | relevance | path

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

/frameworks/base/services/tests/performancehinttests/src/com/android/server/power/hint/
DHintManagerServiceTest.java244 when(mIPowerMock.getSessionChannel(anyInt(), anyInt())).thenReturn(mConfig);
932 ChannelConfig config = service.getBinderServiceInstance().getSessionChannel(token);
933 ChannelConfig config2 = service.getBinderServiceInstance().getSessionChannel(token);
934 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
946 service.getBinderServiceInstance().getSessionChannel(token);
947 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
953 service.getBinderServiceInstance().getSessionChannel(token);
954 verify(mIPowerMock, times(1)).getSessionChannel(eq(TGID), eq(UID));
964 when(mIPowerMock.getSessionChannel(anyInt(), anyInt())).thenThrow(RemoteException.class);
967 service.getBinderServiceInstance().getSessionChannel(token);
[all …]
/frameworks/native/include/powermanager/
DPowerHalWrapper.h65 virtual HalResult<hal::ChannelConfig> getSessionChannel(int tgid, int uid) = 0;
87 HalResult<hal::ChannelConfig> getSessionChannel(int tgid, int uid) override;
169 HalResult<hal::ChannelConfig> getSessionChannel(int tgid, int uid) override;
DPowerHalController.h72 virtual HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(
/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.cpp67 HalResult<Aidl::ChannelConfig> EmptyHalWrapper::getSessionChannel(int, int) { in getSessionChannel() function in android::power::EmptyHalWrapper
289 HalResult<Aidl::ChannelConfig> AidlHalWrapper::getSessionChannel(int tgid, int uid) { in getSessionChannel() function in android::power::AidlHalWrapper
291 auto result = mHandle->getSessionChannel(tgid, uid, &config); in getSessionChannel()
/frameworks/base/core/java/android/os/
DIHintManager.aidl59 @nullable ChannelConfig getSessionChannel(in IBinder token); in getSessionChannel() method
/frameworks/native/services/surfaceflinger/tests/unittests/mock/PowerAdvisor/
DMockPowerHalController.h54 MOCK_METHOD(HalResult<aidl::android::hardware::power::ChannelConfig>, getSessionChannel,
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp59 MOCK_METHOD(ndk::ScopedAStatus, getSessionChannel,
313 EXPECT_CALL(*mMockHal.get(), getSessionChannel(Eq(tgid), Eq(uid), _)) in TEST_F()
319 auto createResult = mWrapper->getSessionChannel(tgid, uid); in TEST_F()
/frameworks/base/native/android/tests/system_health/
DNativeSystemHealthUnitTest.cpp56 MOCK_METHOD(ScopedAStatus, getSessionChannel,
/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp141 MOCK_METHOD(ScopedAStatus, getSessionChannel,
287 ON_CALL(*mMockIHintManager, getSessionChannel(_, _)) in setFMQEnabled()
/frameworks/native/services/surfaceflinger/PowerAdvisor/
DPowerAdvisor.cpp257 auto&& channelRet = getPowerHal().getSessionChannel(getpid(), static_cast<int32_t>(getuid())); in setUpFmq()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java1068 mConfig = mPowerHal.getSessionChannel(mTgid, mUid); in openChannel()
1535 public @Nullable ChannelConfig getSessionChannel(IBinder token) { in getSessionChannel() method in HintManagerService.BinderService
/frameworks/native/services/surfaceflinger/tests/unittests/
DPowerAdvisorTest.cpp132 ON_CALL(*mMockPowerHalController, getSessionChannel) in SetUpFmq()
/frameworks/base/native/android/
Dperformance_hint.cpp912 auto ret = manager->getSessionChannel(mToken, &config); in startChannel()
/frameworks/base/services/
Dart-wear-profile16827 PLcom/android/server/power/hint/HintManagerService$BinderService;->getSessionChannel(Landroid/os/IB…