Home
last modified time | relevance | path

Searched refs:iUnknown (Results 1 – 25 of 41) sorted by relevance

12

/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Diunknown_func_test.c111 .iUnknown = {
151 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); variable
152 TEST_ASSERT_EQUAL_INT(TRUE, iUnknown != NULL);
162 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); variable
163 IUnknownEntry *entry = GET_OBJECT(iUnknown, IUnknownEntry, iUnknown);
166 int resultAdd = iUnknown->AddRef(iUnknown);
167 int resultRelease = iUnknown->Release(iUnknown);
180 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); variable
182 int resultQuery = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
185 int resultRelease = iUnknown->Release(iUnknown);
[all …]
Dtaskpool_notask_func_test.c27 BOOL (*FeatureApi001)(IUnknown *iUnknown, char *para1);
38 BOOL (*DefaultApi001)(IUnknown *iUnknown, char *para1);
47 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
49 (void)iUnknown; in DefaultApi001()
54 static BOOL FeatureApi001(IUnknown *iUnknown, char *para1) in FeatureApi001() argument
56 (void)iUnknown; in FeatureApi001()
94 .iUnknown = {
136 .iUnknown = {
168 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
169 if (iUnknown == NULL) { in GetIUnknown()
[all …]
Dsendresponse_func_test.c100 .iUnknown = {
173 DemoFeature *featureX = GET_OBJECT(iUnknownX, DemoFeature, iUnknown); in FEATURE_OnMessage02()
209 DemoFeature *featureX = GET_OBJECT(iUnknownX, DemoFeature, iUnknown); in FEATURE_OnMessage03()
237 .iUnknown = {
251 .iUnknown = {
265 .iUnknown = {
303 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
304 if (iUnknown == NULL) { in GetIUnknown()
308 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
367 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName601", "featureName603"); variable
[all …]
Dsendrequest_func_test.c41 (IUnknown *iUnknown, struct Payload *payload);
64 static BOOL SyncCall(IUnknown *iUnknown, struct Payload *payload) in SyncCall() argument
66 (void)iUnknown; in SyncCall()
112 .iUnknown = {
295 .iUnknown = {
311 .iUnknown = {
327 .iUnknown = {
367 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
368 if (iUnknown == NULL) { in GetIUnknown()
372 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
[all …]
Dtaskpool_specifiedtask_func_test.c40 (IUnknown *iUnknown, char *para1);
54 (IUnknown *iUnknown, char *para1);
65 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
67 (void)iUnknown; in DefaultApi001()
76 static BOOL FeatureApi001(IUnknown *iUnknown, char *para1) in FeatureApi001() argument
78 (void)iUnknown; in FeatureApi001()
94 .iUnknown = {
107 .iUnknown = {
189 .iUnknown = {
223 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
[all …]
Dsendsharerequest_func_test.c110 .iUnknown = {
256 .iUnknown = {
272 .iUnknown = {
288 .iUnknown = {
328 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
329 if (iUnknown == NULL) { in GetIUnknown()
333 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&demoApi); in GetIUnknown()
389 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("S_sendShareReq", "feature03"); variable
390 if (iUnknown == NULL) {
393 DemoFeature *feature = GET_OBJECT(iUnknown, DemoFeature, iUnknown);
[all …]
Dtaskpool_sharedtask_func_test.c47 (IUnknown *iUnknown, char *para1);
61 (IUnknown *iUnknown, char *para1);
72 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
74 (void)iUnknown; in DefaultApi001()
83 static BOOL FeatureApi001(IUnknown *iUnknown, char *para1) in FeatureApi001() argument
85 (void)iUnknown; in FeatureApi001()
101 .iUnknown = {
114 .iUnknown = {
171 .iUnknown = {
185 .iUnknown = {
[all …]
Dtaskpool_singletask_func_test.c59 BOOL (*FeatureApi001)(IUnknown *iUnknown, char *para1);
72 BOOL (*DefaultApi001)(IUnknown *iUnknown, char *para1);
83 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
85 (void)iUnknown; in DefaultApi001()
94 static BOOL FeatureApi001(IUnknown *iUnknown, char *para1) in FeatureApi001() argument
96 (void)iUnknown; in FeatureApi001()
112 .iUnknown = {
125 .iUnknown = {
138 .iUnknown = {
151 .iUnknown = {
[all …]
Dbroadcast_publish_func_test.c93 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(BROADCAST_SERVICE, PUB_SUB_FEATURE); in CASE_GetIUnknown() local
94 if (iUnknown == NULL) { in CASE_GetIUnknown()
99 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&fapi); in CASE_GetIUnknown()
Dservice_func_test.c77 .iUnknown = {
112 .iUnknown = {
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DIUnknownTest.cpp111 .iUnknown = {
163 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); variable
164 ASSERT_EQ(iUnknown != nullptr, TRUE);
173 IUnknown *iUnknown = GET_IUNKNOWN(g_feature); variable
174 IUnknownEntry *entry = GET_OBJECT(iUnknown, IUnknownEntry, iUnknown);
187 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); variable
189 int resultQuery = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
193 int resultAdd = iUnknown->AddRef(iUnknown);
194 int resultRelease = iUnknown->Release(iUnknown);
197 (void)iUnknown->Release(iUnknown);
[all …]
DTaskpoolNoTaskTest.cpp26 bool (*FeatureApi001)(IUnknown *iUnknown, const char *para1);
37 BOOL (*DefaultApi001)(IUnknown *iUnknown, char *para1);
46 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
48 (void)iUnknown; in DefaultApi001()
52 static bool FeatureApi001(IUnknown *iUnknown, const char *para1) in FeatureApi001() argument
54 (void)iUnknown; in FeatureApi001()
92 .iUnknown = {
136 .iUnknown = {
168 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
169 if (iUnknown == nullptr) { in GetIUnknown()
[all …]
DLiteIPCClientTest.cpp30 IUnknown *iUnknown = NULL; in GetRemoteIUnknown() local
32 iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetRemoteIUnknown()
34 iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetRemoteIUnknown()
37 if (iUnknown == nullptr) { in GetRemoteIUnknown()
41 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); in GetRemoteIUnknown()
93 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("abilityms", "AmsFeature"); variable
94 ASSERT_EQ(iUnknown != NULL, TRUE);
96 int result = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi);
108 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi("notExistService"); variable
109 ASSERT_EQ(iUnknown == NULL, TRUE);
[all …]
DLiteIPCServiceTest.cpp30 void (*SyncCall)(IUnknown *iUnknown);
72 static void SyncCall(IUnknown *iUnknown) in SyncCall() argument
191 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(SERVICE_NAME); variable
192 ASSERT_EQ(iUnknown != nullptr, TRUE);
195 int resultCode = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
213 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(SERVICE_NAME); variable
214 ASSERT_EQ(iUnknown != nullptr, TRUE);
217 int resultCode = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi);
228 IUnknown *iUnknown = SAMGR_GetInstance()->UnregisterDefaultFeatureApi(SERVICE_NAME); variable
229 ASSERT_EQ(iUnknown != nullptr, TRUE);
[all …]
DSendRequestTest.cpp46 bool(*SyncCall)(IUnknown *iUnknown, struct Payload *payload);
69 static bool SyncCall(IUnknown *iUnknown, struct Payload *payload) in SyncCall() argument
71 (void)iUnknown; in SyncCall()
126 .iUnknown = {
138 .iUnknown = {
229 .iUnknown = {
246 .iUnknown = {
287 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
288 if (iUnknown == nullptr) { in GetIUnknown()
291 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
[all …]
DLiteIPCFeatureTest.cpp74 void (*SyncCall)(IUnknown *iUnknown);
89 static void SyncCall(IUnknown *iUnknown);
137 static void SyncCall(IUnknown *iUnknown) in SyncCall() argument
208 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); variable
209 ASSERT_EQ(iUnknown != nullptr, TRUE);
212 int resultCode = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&demoApi);
230 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(SERVICE_NAME, FEATURE_NAME); variable
231 ASSERT_EQ(iUnknown != nullptr, TRUE);
234 int resultCode = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi);
245 IUnknown *iUnknown = SAMGR_GetInstance()->UnregisterFeatureApi(SERVICE_NAME, FEATURE_NAME); variable
[all …]
DSendResponseTest.cpp100 .iUnknown = {
175 DemoFeature *featureX = GET_OBJECT(iUnknownX, DemoFeature, iUnknown); in FEATURE_OnMessage02()
215 DemoFeature *featureX = GET_OBJECT(iUnknownX, DemoFeature, iUnknown); in FEATURE_OnMessage03()
243 .iUnknown = {
258 .iUnknown = {
273 .iUnknown = {
305 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
306 if (iUnknown == nullptr) { in GetIUnknown()
309 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
382 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("serviceName601", "featureName603"); variable
[all …]
DTaskpoolSpecifiedTaskTest.cpp35 bool(*FeatureApi001)(IUnknown *iUnknown, const char *para1);
49 (IUnknown *iUnknown, char *para1);
60 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
62 (void)iUnknown; in DefaultApi001()
70 static bool FeatureApi001(IUnknown *iUnknown, const char *para1) in FeatureApi001() argument
72 (void)iUnknown; in FeatureApi001()
88 .iUnknown = {
103 .iUnknown = {
183 .iUnknown = {
217 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
[all …]
DSendShareRequestTest.cpp110 .iUnknown = {
232 .iUnknown = {
249 .iUnknown = {
266 .iUnknown = {
309 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(serviceName, featureName); in GetIUnknown() local
310 if (iUnknown == nullptr) { in GetIUnknown()
314 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&demoApi); in GetIUnknown()
385 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("S_sendShareReq", "feature03"); variable
386 DemoFeature *feature = GET_OBJECT(iUnknown, DemoFeature, iUnknown);
423 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi("S_sendShareReq", "feature03"); variable
[all …]
DTaskpoolSharedTaskTest.cpp41 bool(*FeatureApi001)(IUnknown *iUnknown, const char *para1);
55 (IUnknown *iUnknown, char *para1);
66 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
68 (void)iUnknown; in DefaultApi001()
76 static bool FeatureApi001(IUnknown *iUnknown, const char *para1) in FeatureApi001() argument
78 (void)iUnknown; in FeatureApi001()
94 .iUnknown = {
109 .iUnknown = {
167 .iUnknown = {
182 .iUnknown = {
[all …]
DTaskpoolSingleTaskTest.cpp52 bool(*FeatureApi001)(IUnknown *iUnknown, const char *para1);
66 (IUnknown *iUnknown, char *para1);
77 static BOOL DefaultApi001(IUnknown *iUnknown, char *para1) in DefaultApi001() argument
79 (void)iUnknown; in DefaultApi001()
87 static bool FeatureApi001(IUnknown *iUnknown, const char *para1) in FeatureApi001() argument
89 (void)iUnknown; in FeatureApi001()
105 .iUnknown = {
120 .iUnknown = {
135 .iUnknown = {
150 .iUnknown = {
[all …]
DBroadcastPublishTest.cpp86 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(BROADCAST_SERVICE, PUB_SUB_FEATURE); in CASE_GetIUnknown() local
87 if (iUnknown == nullptr) { in CASE_GetIUnknown()
92 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&fapi); in CASE_GetIUnknown()
DServiceTest.cpp75 .iUnknown = {
111 .iUnknown = {
/test/xts/device_attest_lite/framework/small/src/client/
Dattest_framework_client_proxy.c34 int32_t(*StartProc)(IUnknown *iUnknown);
35 int32_t(*QueryStatus)(IUnknown *iUnknown, AttestResultInfo *attestResultInfo);
132 static int32_t StartProc(IUnknown *iUnknown) in StartProc() argument
134 if (iUnknown == NULL) { in StartProc()
138 AttestClientProxy *proxy = (AttestClientProxy *)iUnknown; in StartProc()
147 static int32_t QueryStatus(IUnknown *iUnknown, AttestResultInfo *attestResultInfo) in QueryStatus() argument
149 if (iUnknown == NULL) { in QueryStatus()
153 AttestClientProxy *proxy = (AttestClientProxy *)iUnknown; in QueryStatus()
187 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreateClient()
188 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreateClient()
[all …]
/test/xts/acts/security_lite/permission_posix/pms/src/
DActsPMSCheckTest.cpp75 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(PERMISSION_SERVICE, PERM_INNER); in SetUpTestCase() local
76 iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **) &g_interface); in SetUpTestCase()

12