/system/bt/service/doc/ |
IBluetoothGattClient.txt | 26 * otherwise. If successful, the caller will be assigned a "client_id" which 34 * Unregisters a previously registered client with interface ID |client_id|. 36 void unregisterClient(in int client_id); 46 * case of an error. |client_id| is the identifier obtained via 49 boolean refreshDevice(in int client_id, in String device_address); 57 * an error. |client_id| is the identifier obtained via registerClient. 59 boolean discoverServices(in int client_id, in String device_address); 70 * appropriate ATT protocol error code. |client_id| is obtained via 73 boolean readCharacteristic(in int client_id, 91 * will contain the appropriate ATT protocol error code. |client_id| i [all...] |
IBluetoothLowEnergy.txt | 44 boolean Connect(in int client_id, in const char* address, 50 boolean Disconnect(in int client_id, in const char* address); 57 boolean setMtu(in int client_id, in char* address, int mtu); 60 * Initiates a BLE device scan for the scan client with ID |client_id|, using 66 boolean startScan(in int client_id, in ScanSettings settings, 71 * |client_id|. Return true on success, false otherwise. 73 boolean stopScan(in int client_id);
|
IBluetoothLowEnergyCallback.txt | 33 void OnConnectionState(in int status, in int client_id, in const char* address,
|
/external/autotest/site_utils/tester_feedback/ |
feedback_delegate.py | 24 def _get_client(self, client_id): 27 @param client_id: The client identifier. 34 if client_id not in self._clients: 35 raise xmlrpclib.Fault('Unknown client (%s)' % client_id) 36 return self._clients[client_id] 56 def new_client(self, client_id): 67 @param client_id: The client identifier. 71 if client_id in self._clients: 73 'instance did not shutdown properly?', client_id) 74 self._clients[client_id] = { [all...] |
/system/bt/service/ipc/binder/ |
bluetooth_low_energy_binder_server.cpp | 47 void BluetoothLowEnergyBinderServer::UnregisterClient(int client_id) { 49 UnregisterInstanceBase(client_id); 57 bool BluetoothLowEnergyBinderServer::Connect(int client_id, 60 VLOG(2) << __func__ << " client_id: " << client_id 65 auto client = GetLEClient(client_id); 67 LOG(ERROR) << "Unknown client_id: " << client_id; 74 bool BluetoothLowEnergyBinderServer::Disconnect(int client_id, 76 VLOG(2) << __func__ << " client_id: " << client_i 110 VLOG(2) << __func__ << " client_id: " << client_id; local 123 VLOG(2) << __func__ << " client_id: " << client_id; local 140 VLOG(2) << __func__ << " client_id: " << client_id; local 225 int client_id = client->GetInstanceId(); local 241 int client_id = client->GetInstanceId(); local 257 int client_id = client->GetInstanceId(); local [all...] |
bluetooth_low_energy_binder_server.h | 48 void UnregisterClient(int client_id) override; 50 bool Connect(int client_id, const char* address, bool is_direct) override; 51 bool Disconnect(int client_id, const char* address) override; 52 bool SetMtu(int client_id, const char* address, int mtu) override; 54 int client_id, 57 bool StopScan(int client_id) override; 59 int client_id, 63 bool StopMultiAdvertising(int client_id) override; 75 // with |client_id|. Returns NULL if such a callback cannot be found. 76 android::sp<IBluetoothLowEnergyCallback> GetLECallback(int client_id); [all...] |
bluetooth_gatt_client_binder_server.cpp | 45 void BluetoothGattClientBinderServer::UnregisterClient(int client_id) { 47 UnregisterInstanceBase(client_id); 56 BluetoothGattClientBinderServer::GetGattClientCallback(int client_id) { 57 auto cb = GetCallback(client_id); 63 BluetoothGattClientBinderServer::GetGattClient(int client_id) { 65 GetInstance(client_id));
|
bluetooth_gatt_client_binder_server.h | 43 void UnregisterClient(int client_id) override; 48 // associated with |client_id|. Returns NULL if such a callback cannot be 51 GetGattClientCallback(int client_id); 53 // Returns a pointer to the GattClient instance associated with |client_id|. 55 std::shared_ptr<bluetooth::GattClient> GetGattClient(int client_id);
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
oauth_helpers.py | 19 def get_oauth2_auth_url(client_id, scope=DEFAULT_SCOPE): 21 params = dict(client_id=client_id, 28 def get_oauth2_user_token(client_id, client_secret, code): 33 client_id=client_id, 46 def get_oauth2_robot_token(client_id, client_secret, code): 51 client_id=client_id,
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothLowEnergy.cpp | 60 int client_id = data.readInt32(); local 61 UnregisterClient(client_id); 69 int client_id = data.readInt32(); local 73 bool result = Connect(client_id, address, is_direct); 79 int client_id = data.readInt32(); local 82 bool result = Disconnect(client_id, address); 88 int client_id = data.readInt32(); local 92 bool result = SetMtu(client_id, address, mtu); 98 int client_id = data.readInt32(); local 115 bool result = StartScan(client_id, *settings, filters) 121 int client_id = data.readInt32(); local 127 int client_id = data.readInt32(); local 143 int client_id = data.readInt32(); local [all...] |
IBluetoothLowEnergy.h | 76 virtual bool Connect(int client_id, const char* address, bool is_direct) = 0; 77 virtual bool Disconnect(int client_id, const char* address) = 0; 79 virtual bool SetMtu(int client_id, const char* address, int mtu) = 0; 82 int client_id, 85 virtual bool StopScan(int client_id) = 0; 129 bool Connect(int client_id, const char* address, bool is_direct) override; 130 bool Disconnect(int client_id, const char* address) override; 132 bool SetMtu(int client_id, const char* address, int mtu) override; 135 int client_id, 138 bool StopScan(int client_id) override [all...] |
IBluetoothGattClientCallback.cpp | 49 int client_id = data.readInt32(); local 50 OnClientRegistered(status, client_id); 67 int status, int client_id) { 73 data.writeInt32(client_id);
|
IBluetoothGattClient.cpp | 53 int client_id = data.readInt32(); local 54 UnregisterClient(client_id); 86 void BpBluetoothGattClient::UnregisterClient(int client_id) { 90 data.writeInt32(client_id);
|
IBluetoothGattClient.h | 63 virtual void UnregisterClient(int client_id) = 0; 100 void UnregisterClient(int client_id) override;
|
IBluetoothLowEnergyCallback.h | 59 virtual void OnConnectionState(int status, int client_id, const char* address, 100 void OnConnectionState(int status, int client_id, const char* address,
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
mock_oauth2_decorator.py | 14 def __init__(self, client_id, client_secret, scope, message, callback_path): 15 self.client_id = client_id 36 client_id='client_id',
|
oauth2_decorator.py | 12 client_id='425761728072.apps.googleusercontent.com', variable
|
/system/bt/service/ |
gatt_client.h | 46 GattClient(const UUID& uuid, int client_id); 74 int status, int client_id,
|
gatt_client.cpp | 29 GattClient::GattClient(const UUID& uuid, int client_id) 31 client_id_(client_id) { 87 int status, int client_id, 103 client.reset(new GattClient(uuid, client_id));
|
low_energy_client.h | 147 LowEnergyClient(Adapter& adapter, const UUID& uuid, int client_id); 156 int client_id, const bt_bdaddr_t& bda) override; 159 int client_id, const bt_bdaddr_t& bda) override; 165 int client_id, int status) override; 168 int client_id, int status) override; 171 int client_id, int status) override; 263 int status, int client_id,
|
/system/core/metricsd/uploader/proto/ |
chrome_user_metrics_extension.proto | 56 optional fixed64 client_id = 1;
|
/external/chromium-trace/catapult/telemetry/third_party/tsproxy/ |
tsproxy.py | 141 def __init__(self, client_id, hostname, port, result_pipe): 145 self.client_id = client_id 151 logging.info('[{0:d}] Resolving {1}:{2:d} Completed'.format(self.client_id, self.hostname, self.port)) 154 logging.info('[{0:d}] Resolving {1}:{2:d} Failed'.format(self.client_id, self.hostname, self.port)) 155 message = {'message': 'resolved', 'connection': self.client_id, 'addresses': addresses} 169 def __init__(self, client_id): 172 self.client_id = client_id 188 message['connection'] = self.client_id [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
signurl.py | 161 def _GenSignedUrl(key, client_id, method, md5, 173 .format(gcs_path, client_id, expiration, 181 client_id = (ks.get_certificate() 186 return ks, client_id 251 def _ProbeObjectAccessWithClient(self, key, client_id, gcs_path): 254 signed_url = _GenSignedUrl(key, client_id, 'HEAD', '', '', 294 ks, client_id = _ReadKeystore(open(self.args[0], 'rb').read(), passwd) 308 final_url = _GenSignedUrl(ks.get_privatekey(), client_id, 320 client_id, gcs_path) 337 client_id, url [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/ |
oauth2_helper.py | 29 CLIENT_ID = None 87 for json_entry in ('client_id', 'client_email', 'private_key_id', 95 json_key['client_id'], json_key['client_email'], 117 client_id = config.get('OAuth2', 'client_id', 118 os.environ.get('OAUTH2_CLIENT_ID', CLIENT_ID)) 119 if not client_id: 121 'client_id for your application obtained from ' 140 provider_token_uri, client_id, client_secret, 155 client.client_id, client.client_secret, scopes, auth_uri=client.auth_uri [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
test_keyring.py | 56 client_id = 'some_client_id' 63 access_token, client_id, client_secret, 90 self.assertEqual('some_client_id', restored.client_id)
|