Lines Matching refs:clientIf
125 * @param clientIf Identifier for the client.
128 void callbackDone(int clientIf, int status) {
134 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR);
139 private void postCallback(int clientIf, int status) {
141 AdvertiseClient client = getAdvertiseClient(clientIf);
144 mService.onMultipleAdvertiseCallback(clientIf, status, isStart, settings);
150 private AdvertiseClient getAdvertiseClient(int clientIf) {
152 if (client.clientIf == clientIf) {
186 int clientIf = client.clientIf;
187 if (mAdvertiseClients.contains(clientIf)) {
188 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_ALREADY_STARTED);
193 postCallback(clientIf,
198 postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR);
202 postCallback(clientIf, AdvertiseCallback.ADVERTISE_SUCCESS);
211 logd("stop advertise for client " + client.clientIf);
214 logd("app died - unregistering client : " + client.clientIf);
215 mService.unregisterClient(client.clientIf);
314 gattClientDisableAdvNative(client.clientIf);
316 gattAdvertiseNative(client.clientIf, false);
319 AdvertiseCallback.ADVERTISE_SUCCESS, client.clientIf);
340 int clientIf = client.clientIf;
349 clientIf,
356 gattAdvertiseNative(client.clientIf, true);
388 gattClientSetAdvDataNative(client.clientIf, isScanResponse, includeName,
392 gattSetAdvDataNative(client.clientIf, isScanResponse, includeName,