Lines Matching defs:reply
66 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
71 CHECK_INTERFACE(IBluetooth, data, reply);
73 reply->writeInt32(is_enabled);
77 CHECK_INTERFACE(IBluetooth, data, reply);
79 reply->writeInt32(state);
83 CHECK_INTERFACE(IBluetooth, data, reply);
86 reply->writeInt32(result);
90 CHECK_INTERFACE(IBluetooth, data, reply);
92 reply->writeInt32(result);
96 CHECK_INTERFACE(IBluetooth, data, reply);
98 reply->writeCString(address.c_str());
102 CHECK_INTERFACE(IBluetooth, data, reply);
108 CHECK_INTERFACE(IBluetooth, data, reply);
111 reply->writeInt32(result);
115 CHECK_INTERFACE(IBluetooth, data, reply);
117 reply->writeCString(name.c_str());
121 CHECK_INTERFACE(IBluetooth, data, reply);
127 CHECK_INTERFACE(IBluetooth, data, reply);
133 CHECK_INTERFACE(IBluetooth, data, reply);
135 reply->writeInt32(result);
139 CHECK_INTERFACE(IBluetooth, data, reply);
141 reply->writeStrongBinder(IInterface::asBinder(ble_iface.get()));
145 CHECK_INTERFACE(IBluetooth, data, reply);
147 reply->writeStrongBinder(IInterface::asBinder(gatt_client_iface.get()));
151 CHECK_INTERFACE(IBluetooth, data, reply);
153 reply->writeStrongBinder(IInterface::asBinder(gatt_server_iface.get()));
157 return BBinder::onTransact(code, data, reply, flags);
169 Parcel data, reply;
172 remote()->transact(IBluetooth::IS_ENABLED_TRANSACTION, data, &reply);
174 return reply.readInt32();
178 Parcel data, reply;
181 remote()->transact(IBluetooth::GET_STATE_TRANSACTION, data, &reply);
183 return reply.readInt32();
187 Parcel data, reply;
191 remote()->transact(IBluetooth::ENABLE_TRANSACTION, data, &reply);
193 return reply.readInt32();
197 Parcel data, reply;
201 data, &reply);
203 return reply.readInt32();
207 Parcel data, reply;
210 remote()->transact(IBluetooth::DISABLE_TRANSACTION, data, &reply);
212 return reply.readInt32();
216 Parcel data, reply;
219 remote()->transact(IBluetooth::GET_ADDRESS_TRANSACTION, data, &reply);
221 return reply.readCString();
231 Parcel data, reply;
235 remote()->transact(IBluetooth::SET_NAME_TRANSACTION, data, &reply);
237 return reply.readInt32();
241 Parcel data, reply;
244 remote()->transact(IBluetooth::GET_NAME_TRANSACTION, data, &reply);
246 return reply.readCString();
250 Parcel data, reply;
255 remote()->transact(IBluetooth::REGISTER_CALLBACK_TRANSACTION, data, &reply);
259 Parcel data, reply;
264 remote()->transact(IBluetooth::UNREGISTER_CALLBACK_TRANSACTION, data, &reply);
268 Parcel data, reply;
273 data, &reply);
275 return reply.readInt32();
279 Parcel data, reply;
284 data, &reply);
286 return interface_cast<IBluetoothLowEnergy>(reply.readStrongBinder());
290 Parcel data, reply;
295 data, &reply);
297 return interface_cast<IBluetoothGattClient>(reply.readStrongBinder());
301 Parcel data, reply;
306 data, &reply);
308 return interface_cast<IBluetoothGattServer>(reply.readStrongBinder());