/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | iunknown_func_test.c | 111 .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 …]
|
D | taskpool_notask_func_test.c | 27 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 …]
|
D | sendresponse_func_test.c | 100 .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 …]
|
D | sendrequest_func_test.c | 41 (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 …]
|
D | taskpool_specifiedtask_func_test.c | 40 (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 …]
|
D | sendsharerequest_func_test.c | 110 .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 …]
|
D | taskpool_sharedtask_func_test.c | 47 (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 …]
|
D | taskpool_singletask_func_test.c | 59 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 …]
|
D | broadcast_publish_func_test.c | 93 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()
|
D | service_func_test.c | 77 .iUnknown = { 112 .iUnknown = {
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | IUnknownTest.cpp | 111 .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 …]
|
D | TaskpoolNoTaskTest.cpp | 26 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 …]
|
D | LiteIPCClientTest.cpp | 30 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 …]
|
D | LiteIPCServiceTest.cpp | 30 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 …]
|
D | SendRequestTest.cpp | 46 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 …]
|
D | LiteIPCFeatureTest.cpp | 74 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 …]
|
D | SendResponseTest.cpp | 100 .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 …]
|
D | TaskpoolSpecifiedTaskTest.cpp | 35 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 …]
|
D | SendShareRequestTest.cpp | 110 .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 …]
|
D | TaskpoolSharedTaskTest.cpp | 41 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 …]
|
D | TaskpoolSingleTaskTest.cpp | 52 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 …]
|
D | BroadcastPublishTest.cpp | 86 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()
|
D | ServiceTest.cpp | 75 .iUnknown = { 111 .iUnknown = {
|
/test/xts/device_attest_lite/framework/small/src/client/ |
D | attest_framework_client_proxy.c | 34 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/ |
D | ActsPMSCheckTest.cpp | 75 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(PERMISSION_SERVICE, PERM_INNER); in SetUpTestCase() local 76 iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **) &g_interface); in SetUpTestCase()
|