/frameworks/base/media/java/android/media/tv/ |
H A D | ITvRemoteServiceInput.aidl | 24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers); 25 void closeInputBridge(IBinder token); 26 void clearInputBridge(IBinder token); 27 void sendTimestamp(IBinder token, long timestamp); 28 void sendKeyDown(IBinder token, int keyCode); 29 void sendKeyUp(IBinder token, int keyCode); 30 void sendPointerDown(IBinder token, int pointerId, int x, int y); 31 void sendPointerUp(IBinder token, int pointerId); 32 void sendPointerSync(IBinder token);
|
H A D | ITvRemoteProvider.aidl | 26 void onInputBridgeConnected(IBinder token);
|
/frameworks/base/core/java/android/os/ |
H A D | IUpdateLock.aidl | 25 void acquireUpdateLock(IBinder token, String tag); 26 void releaseUpdateLock(IBinder token);
|
H A D | TokenWatcher.java | 59 * Record that this token has been acquired. When acquire is called, and 63 * @param token An IBinder object. If this token has already been acquired, 68 public void acquire(IBinder token, String tag) argument 75 Death d = new Death(token, tag); 77 token.linkToDeath(d, 0); 81 mTokens.put(token, d); 90 public void cleanup(IBinder token, boolean unlink) argument 93 Death d = mTokens.remove(token); 95 d.token 106 release(IBinder token) argument 182 IBinder token; field in class:TokenWatcher.Death 185 Death(IBinder token, String tag) argument [all...] |
H A D | IVibratorService.aidl | 26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, IBinder token); 27 void cancelVibrate(IBinder token);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvRemoteService.java | 89 private void informInputBridgeConnected(IBinder token) { argument 90 mHandler.obtainMessage(UserHandler.MSG_INPUT_BRIDGE_CONNECTED, 0, 0, token).sendToTarget(); 94 private void openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, argument 98 Slog.d(TAG, "openInputBridgeInternalLocked(), token: " + token + ", name: " + name + 104 if (mBridgeMap.containsKey(token)) { 107 informInputBridgeConnected(token); 111 UinputBridge inputBridge = new UinputBridge(token, name, width, height, maxPointers); 113 mBridgeMap.put(token, inputBridge); 114 mProviderMap.put(token, provide 124 closeInputBridgeInternalLocked(IBinder token) argument 139 clearInputBridgeInternalLocked(IBinder token) argument 150 sendTimeStampInternalLocked(IBinder token, long timestamp) argument 157 sendKeyDownInternalLocked(IBinder token, int keyCode) argument 168 sendKeyUpInternalLocked(IBinder token, int keyCode) argument 179 sendPointerDownInternalLocked(IBinder token, int pointerId, int x, int y) argument 191 sendPointerUpInternalLocked(IBinder token, int pointerId) argument 203 sendPointerSyncInternalLocked(IBinder token) argument 263 openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument 280 closeInputBridge(TvRemoteProviderProxy provider, IBinder token) argument 291 clearInputBridge(TvRemoteProviderProxy provider, IBinder token) argument 301 sendTimeStamp(TvRemoteProviderProxy provider, IBinder token, long timestamp) argument 310 sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode) argument 322 sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode) argument 334 sendPointerDown(TvRemoteProviderProxy provider, IBinder token, int pointerId, int x, int y) argument 347 sendPointerUp(TvRemoteProviderProxy provider, IBinder token, int pointerId) argument 359 sendPointerSync(TvRemoteProviderProxy provider, IBinder token) argument [all...] |
H A D | UinputBridge.java | 44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) argument 52 if (token == null) { 55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers); 59 mToken = token; 76 public void close(IBinder token) { argument 77 if (isTokenValid(token)) { 79 clear(token); 92 protected boolean isTokenValid(IBinder token) { argument 93 return mToken.equals(token); 96 public void sendTimestamp(IBinder token, lon argument 102 sendKeyDown(IBinder token, int keyCode) argument 108 sendKeyUp(IBinder token, int keyCode) argument 114 sendPointerDown(IBinder token, int pointerId, int x, int y) argument 120 sendPointerUp(IBinder token, int pointerId) argument 126 sendPointerSync(IBinder token) argument 133 clear(IBinder token) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowTokenTests.java | 49 final WindowTestUtils.TestWindowToken token = 52 assertEquals(0, token.getWindowsCount()); 54 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); 55 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); 56 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); 57 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); 58 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); 60 token.addWindow(window1); 61 // NOTE: Child windows will not be added to the token as window containers can only 63 token [all...] |
H A D | AppWindowTokenTests.java | 55 final WindowTestUtils.TestAppWindowToken token = 58 assertEquals(0, token.getWindowsCount()); 60 final WindowState win1 = createWindow(null, TYPE_APPLICATION, token, "win1"); 61 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, token, 63 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, token, "baseWin"); 64 final WindowState win4 = createWindow(null, TYPE_APPLICATION, token, "win4"); 67 assertEquals(4, token.getWindowsCount()); 68 assertTrue(token.hasWindow(win1)); 69 assertTrue(token.hasWindow(startingWin)); 70 assertTrue(token [all...] |
/frameworks/base/media/java/android/media/midi/ |
H A D | IMidiDeviceServer.aidl | 24 FileDescriptor openInputPort(IBinder token, int portNumber); 25 FileDescriptor openOutputPort(IBinder token, int portNumber); 26 void closePort(IBinder token); 31 int connectPorts(IBinder token, in FileDescriptor fd, int outputPortNumber);
|
H A D | IMidiDeviceOpenCallback.aidl | 24 void onDeviceOpened(in IMidiDeviceServer server, IBinder token);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | KeySet.java | 31 private IBinder token; field in class:KeySet 34 public KeySet(IBinder token) { argument 35 if (token == null) { 36 throw new NullPointerException("null value for KeySet IBinder token"); 38 this.token = token; 43 return token; 51 return token == ks.token; 59 return token [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptScanner.ll | 19 typedef mcld::ScriptParser::token token; 22 #define yyterminate() return token::END 68 return token::LINKER_SCRIPT; 79 <LDSCRIPT>"ENTRY" { return token::ENTRY; } 81 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; } 82 <LDSCRIPT>"INPUT" { return token::INPUT; } 83 <LDSCRIPT>"GROUP" { return token::GROUP; } 84 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; } 85 <LDSCRIPT>"OUTPUT" { return token [all...] |
/frameworks/native/services/sensorservice/hidl/ |
H A D | DirectReportChannel.cpp | 36 int token = mManager.configureDirectChannel(mId, local 38 _hidl_cb(token <= 0 ? 0 : token, 39 token <= 0 ? convertResult(token) : Result::OK);
|
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
H A D | TvRemoteProvider.java | 97 * @param token Identifier for the connection. Null, if failed. 99 public void onInputBridgeConnected(IBinder token) { argument 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, argument 129 mRemoteServiceInput.openInputBridge(token, name, width, height, maxPointers); 138 * @param token identifie 141 closeInputBridge(IBinder token) argument 157 clearInputBridge(IBinder token) argument 174 sendTimestamp(IBinder token, long timestamp) argument 191 sendKeyUp(IBinder token, int keyCode) argument 207 sendKeyDown(IBinder token, int keyCode) argument 225 sendPointerUp(IBinder token, int pointerId) argument 245 sendPointerDown(IBinder token, int pointerId, int x, int y) argument 262 sendPointerSync(IBinder token) argument 278 onInputBridgeConnected(IBinder token) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | Tokenizer.cpp | 50 uint32_t token = run.first + run.length; local 51 _insertTokenAt(token, 1); 52 return token; 55 bool Tokenizer::isAcquired(uint32_t token) const 57 return (_indexOrderOf(token) >= 0); 60 status_t Tokenizer::reserve(uint32_t token) argument 63 const ssize_t i = _indexOrderOf(token, &o); 65 return BAD_VALUE; // this token is already taken 67 ssize_t err = _insertTokenAt(token, o); 71 status_t Tokenizer::release(uint32_t token) argument 102 _indexOrderOf(uint32_t token, size_t* order) const argument 129 _insertTokenAt(uint32_t token, size_t index) argument [all...] |
H A D | TokenManager.cpp | 27 // token 0 is always reserved 47 const GLuint token = *tokens++; local 48 if (token) { 49 mTokenizer.release(token); 54 bool TokenManager::isTokenValid(GLuint token) const 57 return mTokenizer.isAcquired(token);
|
H A D | Tokenizer.h | 37 status_t reserve(uint32_t token); 38 status_t release(uint32_t token); 39 bool isAcquired(uint32_t token) const; 50 ssize_t _indexOrderOf(uint32_t token, size_t* order=0) const; 51 ssize_t _insertTokenAt(uint32_t token, size_t index);
|
/frameworks/base/core/java/android/app/ |
H A D | IBackupAgent.aidl | 46 * @param token Opaque token identifying this transaction. This must 56 long quotaBytes, int token, IBackupManager callbackBinder); 73 * @param token Opaque token identifying this transaction. This must 83 int token, IBackupManager callbackBinder); 96 * @param token Opaque token identifying this transaction. This must 104 void doFullBackup(in ParcelFileDescriptor data, long quotaBytes, int token, IBackupManager callbackBinder); 109 void doMeasureFullBackup(long quotaBytes, int token, IBackupManage [all...] |
H A D | IInstantAppResolver.aidl | 24 String token, int sequence, IRemoteCallback callback); 27 String token, String hostName, IRemoteCallback callback);
|
H A D | InstantAppResolverService.java | 61 int digestPrefix[], String token, InstantAppResolutionCallback callback) { 71 int digestPrefix[], String token, InstantAppResolutionCallback callback) { 93 int digestPrefix[], String token, int sequence, IRemoteCallback callback) { 95 Slog.v(TAG, "[" + token + "] Phase1 called; posting"); 100 args.arg3 = token; 108 int digestPrefix[], String token, String hostName, IRemoteCallback callback) { 110 Slog.v(TAG, "[" + token + "] Phase2 called; posting"); 115 args.arg3 = token; 146 void _onGetInstantAppResolveInfo(int[] digestPrefix, String token, argument 149 Slog.d(TAG, "[" + token 60 onGetInstantAppResolveInfo( int digestPrefix[], String token, InstantAppResolutionCallback callback) argument 70 onGetInstantAppIntentFilter( int digestPrefix[], String token, InstantAppResolutionCallback callback) argument 155 _onGetInstantAppIntentFilter(int digestPrefix[], String token, String hostName, InstantAppResolutionCallback callback) argument [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | IFingerprintService.aidl | 31 void authenticate(IBinder token, long sessionId, int userId, 35 void cancelAuthentication(IBinder token, String opPackageName); 38 void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiver, 42 void cancelEnrollment(IBinder token); 45 void remove(IBinder token, int fingerId, int groupId, int userId, 57 // Get a pre-enrollment authentication token 58 long preEnroll(IBinder token); 60 // Finish an enrollment sequence and invalidate the authentication token 61 int postEnroll(IBinder token); 85 void enumerate(IBinder token, in [all...] |
/frameworks/base/media/java/android/media/ |
H A D | IRingtonePlayer.aidl | 29 oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); 30 oneway void stop(IBinder token); 31 boolean isPlaying(IBinder token); 32 oneway void setPlaybackProperties(IBinder token, float volume, boolean looping);
|
/frameworks/base/core/java/android/util/ |
H A D | JsonReader.java | 33 * Within JSON objects, name/value pairs are represented by a single token. 193 * long as the longest token that can be reported as a number. 211 * The type of the next token to be returned by {@link #peek} and {@link 214 private JsonToken token; field in class:JsonReader 273 * Consumes the next token from the JSON stream and asserts that it is the 281 * Consumes the next token from the JSON stream and asserts that it is the 289 * Consumes the next token from the JSON stream and asserts that it is the 297 * Consumes the next token from the JSON stream and asserts that it is the 309 if (token != expected) { 320 return token ! [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 63 jlong token) 65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); 75 jlong token) 77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); 95 jlong token) 97 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); 129 jlong token) 131 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); 140 jlong token) 142 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); 62 android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, jlong token) argument 74 android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, jlong token) argument 94 android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, jlong token) argument 128 android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, jlong token) argument 139 android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, jlong token) argument 150 android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, jlong token) argument 161 android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, jlong token) argument 173 android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, jlong token) argument 185 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 197 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 209 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 221 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 233 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 245 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jlong token, jint idx) argument 257 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jlong token, jstring ns, jstring name) argument 288 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jlong token) argument 301 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jlong token) argument 314 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jlong token) argument 338 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jlong token) argument 350 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jlong token) argument [all...] |