Lines Matching refs:clientState
625 ClientState clientState = userState.clientStateMap.get(sessionState.client.asBinder());
626 if (clientState != null) {
627 clientState.sessionTokens.remove(sessionToken);
628 if (clientState.isEmpty()) {
1510 pw.println("clientStateMap: ITvInputClient -> ClientState");
1512 for (Map.Entry<IBinder, ClientState> entry :
1514 ClientState client = entry.getValue();
1605 private final Map<IBinder, ClientState> clientStateMap =
1606 new HashMap<IBinder, ClientState>();
1632 private final class ClientState implements IBinder.DeathRecipient {
1638 ClientState(IBinder clientToken, int userId) {
1653 ClientState clientState = userState.clientStateMap.get(clientToken);
1654 if (clientState != null) {
1655 while (clientState.sessionTokens.size() > 0) {
1657 clientState.sessionTokens.get(0), Process.SYSTEM_UID, userId);
1957 ClientState clientState = userState.clientStateMap.get(clientToken);
1958 if (clientState == null) {
1959 clientState = new ClientState(clientToken, mSessionState.userId);
1961 clientToken.linkToDeath(clientState, 0);
1966 userState.clientStateMap.put(clientToken, clientState);
1968 clientState.sessionTokens.add(mSessionState.sessionToken);