Home
last modified time | relevance | path

Searched refs:tempCallback (Results 1 – 9 of 9) sorted by relevance

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_mock_proxy_test.cpp77 sptr<IThermalTempCallback> tempCallback; variable
78 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
79 EXPECT_FALSE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
87 tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj);
88 EXPECT_FALSE(tempCallback == nullptr);
89 EXPECT_TRUE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
90 EXPECT_TRUE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_client_test.cpp93 sptr<IThermalTempCallback> tempCallback = nullptr; variable
94 EXPECT_FALSE(client.SubscribeThermalTempCallback(typeList, tempCallback));
95 EXPECT_FALSE(client.UnSubscribeThermalTempCallback(tempCallback));
98 tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj);
99 EXPECT_FALSE(tempCallback == nullptr);
100 EXPECT_TRUE(client.SubscribeThermalTempCallback(typeList, tempCallback));
101 EXPECT_TRUE(client.UnSubscribeThermalTempCallback(tempCallback));
Dthermal_mock_proxy_writeremoteobject_test.cpp49 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
50 EXPECT_FALSE(tempCallback == nullptr);
51 EXPECT_FALSE(thermalMgrClient.SubscribeThermalTempCallback(typeList, tempCallback));
52 EXPECT_FALSE(thermalMgrClient.UnSubscribeThermalTempCallback(tempCallback));
118 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
119 EXPECT_FALSE(tempCallback == nullptr);
120 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
121 EXPECT_FALSE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_mock_proxy_remote_test.cpp51 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
52 EXPECT_FALSE(tempCallback == nullptr);
53 EXPECT_FALSE(thermalMgrClient.SubscribeThermalTempCallback(typeList, tempCallback));
54 EXPECT_FALSE(thermalMgrClient.UnSubscribeThermalTempCallback(tempCallback));
114 sptr<IThermalTempCallback> tempCallback; variable
115 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
116 EXPECT_FALSE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_mock_proxy_writevector_test.cpp57 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
58 EXPECT_FALSE(tempCallback == nullptr);
59 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
60 EXPECT_TRUE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_mock_proxy_sendrequest_test.cpp57 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
58 EXPECT_FALSE(tempCallback == nullptr);
59 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
60 EXPECT_FALSE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_mock_proxy_writeinterfacetoken_test.cpp47 sptr<IThermalTempCallback> tempCallback = new ThermalTempCallbackProxy(sptrRemoteObj); variable
48 EXPECT_FALSE(tempCallback == nullptr);
49 EXPECT_FALSE(srvProxy->SubscribeThermalTempCallback(typeList, tempCallback));
50 EXPECT_FALSE(srvProxy->UnSubscribeThermalTempCallback(tempCallback));
Dthermal_observer_test.cpp95 sptr<IThermalTempCallback> tempCallback; variable
97 observer->SubscribeThermalTempCallback(typeList, tempCallback);
/base/useriam/user_auth_framework/test/unittest/services/src/
Duser_auth_service_test.cpp1064 auto *tempCallback = static_cast<MockUserAuthCallback *>(testCallback.GetRefPtr()); variable
1065 EXPECT_NE(tempCallback, nullptr);
1066 EXPECT_CALL(*tempCallback, OnResult(_, _)).Times(1);
1094 auto *tempCallback = static_cast<MockUserAuthCallback *>(testCallback.GetRefPtr()); variable
1095 EXPECT_NE(tempCallback, nullptr);
1096 EXPECT_CALL(*tempCallback, OnResult(_, _)).Times(1);
1121 auto *tempCallback = static_cast<MockUserAuthCallback *>(testCallback.GetRefPtr()); variable
1122 EXPECT_NE(tempCallback, nullptr);
1123 EXPECT_CALL(*tempCallback, OnResult(_, _)).Times(1);
1162 auto *tempCallback = static_cast<MockUserAuthCallback *>(testCallback.GetRefPtr()); variable
[all …]