Lines Matching refs:clientState
630 ClientState clientState = userState.clientStateMap.get(sessionState.client.asBinder());
631 if (clientState != null) {
632 clientState.sessionTokens.remove(sessionToken);
633 if (clientState.isEmpty()) {
1527 pw.println("clientStateMap: ITvInputClient -> ClientState");
1529 for (Map.Entry<IBinder, ClientState> entry :
1531 ClientState client = entry.getValue();
1622 private final Map<IBinder, ClientState> clientStateMap =
1623 new HashMap<IBinder, ClientState>();
1649 private final class ClientState implements IBinder.DeathRecipient {
1655 ClientState(IBinder clientToken, int userId) {
1670 ClientState clientState = userState.clientStateMap.get(clientToken);
1671 if (clientState != null) {
1672 while (clientState.sessionTokens.size() > 0) {
1674 clientState.sessionTokens.get(0), Process.SYSTEM_UID, userId);
1974 ClientState clientState = userState.clientStateMap.get(clientToken);
1975 if (clientState == null) {
1976 clientState = new ClientState(clientToken, mSessionState.userId);
1978 clientToken.linkToDeath(clientState, 0);
1983 userState.clientStateMap.put(clientToken, clientState);
1985 clientState.sessionTokens.add(mSessionState.sessionToken);