Searched defs:service_options (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/extensions/browser/api/bluetooth_socket/
H A Dbluetooth_socket_apitest.cc156 BluetoothAdapter::ServiceOptions service_options; local
157 service_options.name.reset(new std::string("MyServiceName"));
H A Dbluetooth_socket_api.cc373 device::BluetoothAdapter::ServiceOptions service_options; local
374 service_options.name = name.Pass();
379 service_options.channel.reset(new int(*(options->channel)));
382 adapter->CreateRfcommService(uuid, service_options, callback, error_callback);
416 device::BluetoothAdapter::ServiceOptions service_options; local
417 service_options.name = name.Pass();
428 service_options.psm.reset(new int(psm));
432 adapter->CreateL2capService(uuid, service_options, callback, error_callback);
/external/chromium_org/device/bluetooth/
H A Dbluetooth_socket_chromeos.cc121 const BluetoothAdapter::ServiceOptions& service_options,
138 if (service_options.name)
139 options_->name.reset(new std::string(*service_options.name));
144 new uint16(service_options.channel ? *service_options.channel : 0));
148 new uint16(service_options.psm ? *service_options.psm : 0));
117 Listen( scoped_refptr<BluetoothAdapter> adapter, SocketType socket_type, const BluetoothUUID& uuid, const BluetoothAdapter::ServiceOptions& service_options, const base::Closure& success_callback, const ErrorCompletionCallback& error_callback) argument

Completed in 967 milliseconds