Lines Matching refs:token

97      * @param token Identifier for the connection. Null, if failed.
99 public void onInputBridgeConnected(IBinder token) {
113 * Clients should pass in a token that can be used to match this request with a token that
114 * will be returned by {@link TvRemoteProvider#onInputBridgeConnected(IBinder token)}
116 * The token should be used for subsequent calls.
120 * @param token Identifier for this connection
126 public void openRemoteInputBridge(IBinder token, String name, int width, int height,
129 mRemoteServiceInput.openInputBridge(token, name, width, height, maxPointers);
138 * @param token identifier for this connection
141 public void closeInputBridge(IBinder token) throws RuntimeException {
143 mRemoteServiceInput.closeInputBridge(token);
154 * @param token identifier for this connection
157 public void clearInputBridge(IBinder token) throws RuntimeException {
158 if (DEBUG_KEYS) Log.d(TAG, "clearInputBridge() token " + token);
160 mRemoteServiceInput.clearInputBridge(token);
169 * @param token identifier for the device
174 public void sendTimestamp(IBinder token, long timestamp) throws RuntimeException {
175 if (DEBUG_KEYS) Log.d(TAG, "sendTimestamp() token: " + token +
178 mRemoteServiceInput.sendTimestamp(token, timestamp);
187 * @param token identifier for this connection
191 public void sendKeyUp(IBinder token, int keyCode) throws RuntimeException {
192 if (DEBUG_KEYS) Log.d(TAG, "sendKeyUp() token: " + token + ", keyCode: " + keyCode);
194 mRemoteServiceInput.sendKeyUp(token, keyCode);
203 * @param token identifier for this connection
207 public void sendKeyDown(IBinder token, int keyCode) throws RuntimeException {
208 if (DEBUG_KEYS) Log.d(TAG, "sendKeyDown() token: " + token +
211 mRemoteServiceInput.sendKeyDown(token, keyCode);
220 * @param token identifier for the device
225 public void sendPointerUp(IBinder token, int pointerId) throws RuntimeException {
226 if (DEBUG_KEYS) Log.d(TAG, "sendPointerUp() token: " + token +
229 mRemoteServiceInput.sendPointerUp(token, pointerId);
238 * @param token identifier for the device
245 public void sendPointerDown(IBinder token, int pointerId, int x, int y)
247 if (DEBUG_KEYS) Log.d(TAG, "sendPointerDown() token: " + token +
250 mRemoteServiceInput.sendPointerDown(token, pointerId, x, y);
259 * @param token identifier for the device
262 public void sendPointerSync(IBinder token) throws RuntimeException {
263 if (DEBUG_KEYS) Log.d(TAG, "sendPointerSync() token: " + token);
265 mRemoteServiceInput.sendPointerSync(token);
278 public void onInputBridgeConnected(IBinder token) {
280 (IBinder) token).sendToTarget();