Lines Matching full:search

442 static void search_send_cb(struct media_player *plr, int err, const struct mpl_search *search)  in search_send_cb()  argument
445 FAIL("Search failed (%d)", err); in search_send_cb()
460 FAIL("Search failed (%d), result code: %u", err, result_code); in search_recv_cb()
476 FAIL("Search Results Object ID read failed (%d)", err); in search_results_id_cb()
1201 struct mpl_search search; in test_scp() local
1206 * - verify that the search results object ID is zero before search in test_scp()
1207 * - write a search (one search control item) to the search control point, in test_scp()
1209 * - verify that the search results object ID is non-zero in test_scp()
1216 FAIL("Failed to read search results object ID: %d", err); in test_scp()
1223 FAIL("Search results object ID not zero before search\n"); in test_scp()
1227 /* Set up the search control item, then the search in test_scp()
1228 * Note: As of now, the server implementation only fakes the search, in test_scp()
1229 * so it makes no difference what we search for. The result is the in test_scp()
1237 search.len = 0; in test_scp()
1238 memcpy(&search.search[search.len], &sci.len, sizeof(sci.len)); in test_scp()
1239 search.len += sizeof(sci.len); in test_scp()
1241 memcpy(&search.search[search.len], &sci.type, sizeof(sci.type)); in test_scp()
1242 search.len += sizeof(sci.type); in test_scp()
1244 memcpy(&search.search[search.len], &sci.param, strlen(sci.param)); in test_scp()
1245 search.len += strlen(sci.param); in test_scp()
1251 err = media_proxy_ctrl_send_search(current_player, &search); in test_scp()
1253 FAIL("Failed to write to search control point\n"); in test_scp()
1261 FAIL("SEARCH operation failed\n"); in test_scp()
1265 /* A search results object will have been created and the search in test_scp()
1266 * results object ID will have been notified if the search gave results in test_scp()
1270 FAIL("No search results\n"); in test_scp()
1274 printk("SEARCH operation succeeded\n"); in test_scp()
1579 /* Search control point */ in test_media_controller_player()