/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/ |
D | HintManagerServiceTest.java | 199 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/ |
D | PowerHalController.cpp | 156 HalResult<aidl::android::hardware::power::ChannelConfig> PowerHalController::getSessionChannel( in getSessionChannel() function in android::power::PowerHalController 160 processHalResult(handle->getSessionChannel(tgid, uid), in getSessionChannel()
|
D | PowerHalWrapper.cpp | 66 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/ |
D | IHintManager.aidl | 51 ChannelConfig getSessionChannel(in IBinder token); in getSessionChannel() method
|
/frameworks/native/include/powermanager/ |
D | PowerHalWrapper.h | 63 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,
|
D | PowerHalController.h | 72 virtual HalResult<aidl::android::hardware::power::ChannelConfig> getSessionChannel(
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerHalController.h | 57 MOCK_METHOD(HalResult<aidl::android::hardware::power::ChannelConfig>, getSessionChannel,
|
D | MockIPower.h | 59 MOCK_METHOD(ndk::ScopedAStatus, getSessionChannel,
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 64 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/ |
D | PerformanceHintNativeTest.cpp | 58 MOCK_METHOD(ScopedAStatus, getSessionChannel,
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 532 mConfig = mPowerHal.getSessionChannel(mTgid, mUid); in openChannel() 915 public ChannelConfig getSessionChannel(IBinder token) { in getSessionChannel() method in HintManagerService.BinderService
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 267 auto&& channelRet = getPowerHal().getSessionChannel(getpid(), static_cast<int32_t>(getuid())); in setUpFmq()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 129 ON_CALL(*mMockPowerHalController, getSessionChannel) in SetUpFmq()
|