Searched refs:tempCallback (Results 1 – 9 of 9) sorted by relevance
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_mock_proxy_test.cpp | 77 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));
|
D | thermal_client_test.cpp | 93 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));
|
D | thermal_mock_proxy_writeremoteobject_test.cpp | 49 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));
|
D | thermal_mock_proxy_remote_test.cpp | 51 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));
|
D | thermal_mock_proxy_writevector_test.cpp | 57 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));
|
D | thermal_mock_proxy_sendrequest_test.cpp | 57 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));
|
D | thermal_mock_proxy_writeinterfacetoken_test.cpp | 47 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));
|
D | thermal_observer_test.cpp | 95 sptr<IThermalTempCallback> tempCallback; variable 97 observer->SubscribeThermalTempCallback(typeList, tempCallback);
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | user_auth_service_test.cpp | 1064 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 …]
|