Home
last modified time | relevance | path

Searched refs:demoFeature (Results 1 – 24 of 24) sorted by relevance

/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dsendsharerequest_func_test.c135 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
136 demoFeature->identity = identity; in FEATURE_OnInitialize()
148 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
149 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
150 demoFeature->latestRequest = (char *)request->data; in FEATURE_OnMessage()
152 demoFeature->featureStatus = TRUE; in FEATURE_OnMessage()
159 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage02() local
160 demoFeature->featureCalledCount++; in FEATURE_OnMessage02()
162 if (demoFeature->latestRequest != NULL) { in FEATURE_OnMessage02()
163 free(demoFeature->latestRequest); in FEATURE_OnMessage02()
[all …]
Dsendrequest_func_test.c137 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
138 demoFeature->identity = identity; in FEATURE_OnInitialize()
151 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
152 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
154 if (demoFeature->latestRequest != NULL) { in FEATURE_OnMessage()
155 free(demoFeature->latestRequest); in FEATURE_OnMessage()
163 demoFeature->latestRequest = (char *)malloc(requestLen * sizeof(char)); in FEATURE_OnMessage()
164 if (demoFeature->latestRequest == NULL) { in FEATURE_OnMessage()
167 errno_t error = strcpy_s(demoFeature->latestRequest, requestLen, (char *)request->data); in FEATURE_OnMessage()
191 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage()
[all …]
Dsendresponse_func_test.c125 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
126 demoFeature->identity = identity; in FEATURE_OnInitialize()
139 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
140 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
141 demoFeature->featureStatus = TRUE; in FEATURE_OnMessage()
149 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage02() local
150 demoFeature->featureCalledCount++; in FEATURE_OnMessage02()
178 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
179 return demoFeature->featureStatus; in FEATURE_OnMessage02()
185 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage03() local
[all …]
Dtaskpool_specifiedtask_func_test.c164 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
165 demoFeature->identity = identity; in FEATURE_OnInitialize()
177 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
178 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
Dtaskpool_notask_func_test.c108 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
109 demoFeature->identity = identity; in FEATURE_OnInitialize()
Diunknown_func_test.c88 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
89 demoFeature->identity = identity; in FEATURE_OnInitialize()
Dservice_func_test.c89 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
90 demoFeature->identity = identity; in FEATURE_OnInitialize()
Dtaskpool_sharedtask_func_test.c204 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
205 demoFeature->identity = identity; in FEATURE_OnInitialize()
216 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
217 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
Dtaskpool_singletask_func_test.c226 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
227 demoFeature->identity = identity; in FEATURE_OnInitialize()
239 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
240 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
Dfeature_func_test.c91 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
92 demoFeature->identity = identity; in FEATURE_OnInitialize()
Dfeatureapi_func_test.c86 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
87 demoFeature->identity = identity; in FEATURE_OnInitialize()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DSendShareRequestTest.cpp135 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
136 demoFeature->identity = identity; in FEATURE_OnInitialize()
150 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
151 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
152 demoFeature->latestRequest = (char *)request->data; in FEATURE_OnMessage()
154 demoFeature->featureStatus = TRUE; in FEATURE_OnMessage()
161 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage02() local
162 demoFeature->featureCalledCount++; in FEATURE_OnMessage02()
163 demoFeature->latestRequest = (char *)request->data; in FEATURE_OnMessage02()
189 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
[all …]
DSendResponseTest.cpp125 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
126 demoFeature->identity = identity; in FEATURE_OnInitialize()
139 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
140 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
141 demoFeature->featureStatus = TRUE; in FEATURE_OnMessage()
149 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage02() local
150 demoFeature->featureCalledCount++; in FEATURE_OnMessage02()
182 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
183 return demoFeature->featureStatus; in FEATURE_OnMessage02()
189 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage03() local
[all …]
DSendRequestTest.cpp157 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
158 demoFeature->identity = identity; in FEATURE_OnInitialize()
172 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
173 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
175 if (demoFeature->latestRequest != nullptr) { in FEATURE_OnMessage()
176 free(demoFeature->latestRequest); in FEATURE_OnMessage()
185 demoFeature->latestRequest = (char *)malloc(requestLen * sizeof(char)); in FEATURE_OnMessage()
186 if (demoFeature->latestRequest == nullptr) { in FEATURE_OnMessage()
189 errno_t error = strcpy_s(demoFeature->latestRequest, requestLen, (char *)request->data); in FEATURE_OnMessage()
216 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage()
[all …]
DLiteIPCFeatureTest.cpp111 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
112 demoFeature->identity = identity; in FEATURE_OnInitialize()
113 demoFeature->featureStatus = TRUE; in FEATURE_OnInitialize()
DTaskpoolNoTaskTest.cpp106 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
107 demoFeature->identity = identity; in FEATURE_OnInitialize()
DTaskpoolSpecifiedTaskTest.cpp158 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
159 demoFeature->identity = identity; in FEATURE_OnInitialize()
170 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
171 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
DServiceTest.cpp87 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
88 demoFeature->identity = identity; in FEATURE_OnInitialize()
DIUnknownTest.cpp88 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
89 demoFeature->identity = identity; in FEATURE_OnInitialize()
DTaskpoolSharedTaskTest.cpp200 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
201 demoFeature->identity = identity; in FEATURE_OnInitialize()
212 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
213 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
DFeatureTest.cpp89 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
90 demoFeature->identity = identity; in FEATURE_OnInitialize()
DTaskpoolSingleTaskTest.cpp231 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
232 demoFeature->identity = identity; in FEATURE_OnInitialize()
243 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnMessage() local
244 demoFeature->featureCalledCount++; in FEATURE_OnMessage()
DFeatureApiTest.cpp84 DemoFeature *demoFeature = (DemoFeature *)feature; in FEATURE_OnInitialize() local
85 demoFeature->identity = identity; in FEATURE_OnInitialize()
/test/xts/device_attest_lite/framework/small/src/service/
Dattest_framework_feature.c69 AttestFrameworkFeature *demoFeature = (AttestFrameworkFeature *)feature; in FEATURE_OnInitialize() local
70 demoFeature->identity = identity; in FEATURE_OnInitialize()
71 demoFeature->parent = parent; in FEATURE_OnInitialize()