Lines Matching defs:devices
141 pa_hashmap *devices;
262 /* While discovery is being released adapters will be removed from devices,
416 device = pa_hashmap_get(y->devices, data->device_path);
1138 PA_HASHMAP_FOREACH(device, y->devices, devices_state) {
1163 pa_hashmap_put(y->devices, d->path, d);
1175 if ((d = pa_hashmap_get(y->devices, path)) && d->valid)
1214 while ((d = pa_hashmap_iterate(y->devices, &state, NULL)))
1256 if (!(d = pa_hashmap_remove(y->devices, path)))
1397 PA_HASHMAP_FOREACH(d, a->discovery->devices, state) {
1510 PA_HASHMAP_FOREACH(d, a->discovery->devices, state)
1972 device = pa_hashmap_get(y->devices, device_path);
2073 if ((d = pa_hashmap_get(y->devices, path))) {
2092 PA_HASHMAP_FOREACH(d, y->devices, state) {
2119 /* If ofono starts running, all devices that might be connected to the HS roles or HFP AG role
2120 * need to be disconnected, so that the devices can be handled by ofono */
2125 PA_HASHMAP_FOREACH(d, y->devices, state) {
2230 pa_hashmap_remove_all(y->devices);
2335 if (!(d = pa_hashmap_get(y->devices, dbus_message_get_path(m)))) {
2534 if ((d = pa_hashmap_get(y->devices, dev_path))) {
2889 y->devices = pa_hashmap_new_full(pa_idxset_string_hash_func, pa_idxset_string_compare_func, NULL,
2908 /* dynamic detection of bluetooth audio devices */
2994 if (y->devices)
2995 pa_hashmap_free(y->devices);