Lines Matching refs:cs

1018             ClientState cs = mClients.remove(client.asBinder());
1019 if (cs != null) {
1020 clearClientSessionLocked(cs);
1107 ClientState cs = mClients.get(client.asBinder());
1108 if (cs == null) {
1114 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
1120 Slog.w(TAG, "Starting input on non-focused client " + cs.client
1121 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
1127 return startInputUncheckedLocked(cs, inputContext, attribute, controlFlags);
1130 InputBindResult startInputUncheckedLocked(ClientState cs,
1137 if (mCurClient != cs) {
1144 + cs.client.asBinder() + " keyguard=" + mCurClientInKeyguard);
1148 executeOrSendMessage(cs.client, mCaller.obtainMessageIO(
1149 MSG_SET_ACTIVE, mScreenOn ? 1 : 0, cs));
1156 mCurClient = cs;
1162 if (cs.curSession != null) {
1172 requestClientSessionLocked(cs);
1336 void requestClientSessionLocked(ClientState cs) {
1337 if (!cs.sessionRequested) {
1338 if (DEBUG) Slog.v(TAG, "Creating new session for client " + cs);
1339 InputChannel[] channels = InputChannel.openInputChannelPair(cs.toString());
1340 cs.sessionRequested = true;
1347 void clearClientSessionLocked(ClientState cs) {
1348 finishSessionLocked(cs.curSession);
1349 cs.curSession = null;
1350 cs.sessionRequested = false;
1373 for (ClientState cs : mClients.values()) {
1374 clearClientSessionLocked(cs);
1884 ClientState cs = mClients.get(client.asBinder());
1885 if (cs == null) {
1891 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
1897 Slog.w(TAG, "Focus gain on non-focused client " + cs.client
1898 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
1916 return startInputUncheckedLocked(cs, inputContext, attribute,
1965 res = startInputUncheckedLocked(cs, inputContext, attribute,
1991 res = startInputUncheckedLocked(cs, inputContext, attribute,
2001 res = startInputUncheckedLocked(cs, inputContext, attribute,
2010 res = startInputUncheckedLocked(cs, inputContext, attribute,