Lines Matching refs:token
68 public void stopCarService(IBinder token) throws RemoteException {
69 Log.d(TAG, "stopCarService, token: " + token);
73 if (mTokens.containsKey(token)) {
74 Log.w(TAG, "Calling stopCarService twice with the same token.");
78 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token);
79 mTokens.put(token, deathRecipient);
80 token.linkToDeath(deathRecipient, 0);
89 public void startCarService(IBinder token) throws RemoteException {
90 Log.d(TAG, "startCarService, token: " + token);
92 releaseToken(token);
95 private synchronized void releaseToken(IBinder token) {
96 Log.d(TAG, "releaseToken, token: " + token);
97 DeathRecipient deathRecipient = mTokens.remove(token);
99 token.unlinkToDeath(deathRecipient, 0);
110 TokenDeathRecipient(IBinder token) throws RemoteException {
111 mToken = token;