Lines Matching refs:cs

1070             ClientState cs = mClients.remove(client.asBinder());
1071 if (cs != null) {
1072 clearClientSessionLocked(cs);
1160 ClientState cs = mClients.get(client.asBinder());
1161 if (cs == null) {
1167 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
1173 Slog.w(TAG, "Starting input on non-focused client " + cs.client
1174 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
1180 return startInputUncheckedLocked(cs, inputContext, attribute, controlFlags);
1183 InputBindResult startInputUncheckedLocked(ClientState cs,
1190 if (mCurClient != cs) {
1197 + cs.client.asBinder() + " keyguard=" + mCurClientInKeyguard);
1201 executeOrSendMessage(cs.client, mCaller.obtainMessageIO(
1202 MSG_SET_ACTIVE, mScreenOn ? 1 : 0, cs));
1209 mCurClient = cs;
1215 if (cs.curSession != null) {
1225 requestClientSessionLocked(cs);
1394 void requestClientSessionLocked(ClientState cs) {
1395 if (!cs.sessionRequested) {
1396 if (DEBUG) Slog.v(TAG, "Creating new session for client " + cs);
1397 InputChannel[] channels = InputChannel.openInputChannelPair(cs.toString());
1398 cs.sessionRequested = true;
1405 void clearClientSessionLocked(ClientState cs) {
1406 finishSessionLocked(cs.curSession);
1407 cs.curSession = null;
1408 cs.sessionRequested = false;
1431 for (ClientState cs : mClients.values()) {
1432 clearClientSessionLocked(cs);
1987 ClientState cs = mClients.get(client.asBinder());
1988 if (cs == null) {
1994 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
2000 Slog.w(TAG, "Focus gain on non-focused client " + cs.client
2001 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
2019 return startInputUncheckedLocked(cs, inputContext, attribute,
2068 res = startInputUncheckedLocked(cs, inputContext, attribute,
2094 res = startInputUncheckedLocked(cs, inputContext, attribute,
2104 res = startInputUncheckedLocked(cs, inputContext, attribute,
2113 res = startInputUncheckedLocked(cs, inputContext, attribute,