Lines Matching refs:result
130 int result; in test_fwk_notification_subscribe() local
134 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_subscribe()
137 assert(result == FWK_E_HANDLER); in test_fwk_notification_subscribe()
142 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_subscribe()
145 assert(result == FWK_E_PARAM); in test_fwk_notification_subscribe()
150 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_subscribe()
153 assert(result == FWK_E_PARAM); in test_fwk_notification_subscribe()
157 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x3, 0x3), in test_fwk_notification_subscribe()
160 assert(result == FWK_E_PARAM); in test_fwk_notification_subscribe()
163 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_subscribe()
166 assert(result == FWK_SUCCESS); in test_fwk_notification_subscribe()
169 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_subscribe()
172 assert(result == FWK_E_STATE); in test_fwk_notification_subscribe()
175 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_subscribe()
178 assert(result == FWK_SUCCESS); in test_fwk_notification_subscribe()
181 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_subscribe()
184 assert(result == FWK_E_STATE); in test_fwk_notification_subscribe()
189 int result; in test_fwk_notification_unsubscribe() local
193 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_unsubscribe()
196 assert(result == FWK_E_HANDLER); in test_fwk_notification_unsubscribe()
201 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_unsubscribe()
204 assert(result == FWK_E_PARAM); in test_fwk_notification_unsubscribe()
209 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_unsubscribe()
212 assert(result == FWK_E_PARAM); in test_fwk_notification_unsubscribe()
216 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x3, 0x3), in test_fwk_notification_unsubscribe()
219 assert(result == FWK_E_PARAM); in test_fwk_notification_unsubscribe()
222 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_unsubscribe()
225 assert(result == FWK_SUCCESS); in test_fwk_notification_unsubscribe()
228 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_unsubscribe()
231 assert(result == FWK_SUCCESS); in test_fwk_notification_unsubscribe()
234 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_unsubscribe()
237 assert(result == FWK_SUCCESS); in test_fwk_notification_unsubscribe()
240 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_unsubscribe()
243 assert(result == FWK_E_STATE); in test_fwk_notification_unsubscribe()
249 result = fwk_notification_unsubscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_unsubscribe()
252 assert(result == FWK_SUCCESS); in test_fwk_notification_unsubscribe()
256 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x3), in test_fwk_notification_unsubscribe()
259 assert(result == FWK_SUCCESS); in test_fwk_notification_unsubscribe()
264 int result; in test_fwk_notification_notify() local
271 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
272 assert(result == FWK_E_PARAM); in test_fwk_notification_notify()
281 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
282 assert(result == FWK_E_PARAM); in test_fwk_notification_notify()
287 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
288 assert(result == FWK_E_PARAM); in test_fwk_notification_notify()
295 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
296 assert(result == FWK_E_PARAM); in test_fwk_notification_notify()
299 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_notify()
302 assert(result == FWK_SUCCESS); in test_fwk_notification_notify()
305 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_notify()
308 assert(result == FWK_SUCCESS); in test_fwk_notification_notify()
311 result = fwk_notification_subscribe(FWK_ID_NOTIFICATION(0x2, 0x1), in test_fwk_notification_notify()
314 assert(result == FWK_SUCCESS); in test_fwk_notification_notify()
320 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
321 assert(result == FWK_SUCCESS); in test_fwk_notification_notify()
345 result = fwk_notification_notify(¬ification_event, &count); in test_fwk_notification_notify()
346 assert(result == FWK_SUCCESS); in test_fwk_notification_notify()