Lines Matching refs:client
96 for (DrivingStateClient client : mDrivingStateClients) {
97 client.listenerBinder.unlinkToDeath(client, 0);
154 // If a new client is registering, create a new DrivingStateClient and add it to the list
156 DrivingStateClient client = findDrivingStateClientLocked(listener);
157 if (client == null) {
158 client = new DrivingStateClient(listener);
160 listener.asBinder().linkToDeath(client, 0);
165 mDrivingStateClients.add(client);
171 * {@link DrivingStateClient} and finds if the given client is already registered.
181 for (DrivingStateClient client : mDrivingStateClients) {
182 if (client.isHoldingBinder(binder)) {
183 return client;
192 * @param listener client to unregister
202 DrivingStateClient client = findDrivingStateClientLocked(listener);
203 if (client == null) {
208 listener.asBinder().unlinkToDeath(client, 0);
209 mDrivingStateClients.remove(client);
224 * Class that holds onto client related information - listener interface, process that hosts the
250 * Returns if the given binder object matches to what this client info holds.
379 for (DrivingStateClient client : mDrivingStateClients) {
380 client.dispatchEventToClients(mCurrentDrivingState);