/frameworks/base/core/java/android/view/ |
H A D | WindowId.java | 52 WindowId token; 54 token = mRegistrations.get(inputToken); 57 mHandler.sendMessage(mHandler.obtainMessage(1, token)); 59 onFocusGained(token); 65 WindowId token; 67 token = mRegistrations.get(inputToken); 70 mHandler.sendMessage(mHandler.obtainMessage(2, token)); 72 onFocusLost(token); 109 public abstract void onFocusGained(WindowId token); argument 114 public abstract void onFocusLost(WindowId token); argument [all...] |
H A D | Choreographer.java | 121 // All frame callbacks posted by applications have this token. 279 * @param token The callback token, or null if none. 284 public void postCallback(int callbackType, Runnable action, Object token) { argument 285 postCallbackDelayed(callbackType, action, token, 0); 296 * @param token The callback token, or null if none. 303 Runnable action, Object token, long delayMillis) { 311 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 315 Object action, Object token, lon 302 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument 314 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument 351 removeCallbacks(int callbackType, Runnable action, Object token) argument 359 removeCallbacksInternal(int callbackType, Object action, Object token) argument 615 obtainCallbackLocked(long dueTime, Object action, Object token) argument 755 public Object token; field in class:Choreographer.CallbackRecord 793 addCallbackLocked(long dueTime, Object action, Object token) argument 815 removeCallbacksLocked(Object action, Object token) argument [all...] |
H A D | InputEvent.java | 221 int token = in.readInt(); 222 if (token == PARCEL_TOKEN_KEY_EVENT) { 224 } else if (token == PARCEL_TOKEN_MOTION_EVENT) { 227 throw new IllegalStateException("Unexpected input event type token in parcel.");
|
H A D | InputQueue.java | 92 public void sendInputEvent(InputEvent e, Object token, boolean predispatch, argument 94 ActiveInputEvent event = obtainActiveInputEvent(token, callback); 114 private ActiveInputEvent obtainActiveInputEvent(Object token, argument 120 e.mToken = token; 160 void onFinishedInputEvent(Object token, boolean handled); argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 153 int token; 155 // Read the next token, which is either the type or EOF. 156 token = st.nextToken(); 157 if (token == StreamTokenizer.TT_EOF) { 160 if (token != StreamTokenizer.TT_WORD) { 171 token = st.nextToken(); 172 if (token != '(') { 178 token = st.nextToken(); 179 if (token != StreamTokenizer.TT_WORD) { 190 token [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ContentProviderRecord.java | 92 public void addExternalProcessHandleLocked(IBinder token) { argument 93 if (token == null) { 99 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 101 handle = new ExternalProcessHandle(token); 102 externalProcessTokenToHandle.put(token, handle); 108 public boolean removeExternalProcessHandleLocked(IBinder token) { argument 112 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 117 removeExternalProcessHandleInternalLocked(token); 130 private void removeExternalProcessHandleInternalLocked(IBinder token) { argument 131 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 229 ExternalProcessHandle(IBinder token) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.java | 47 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, argument 49 void scheduleStopActivity(IBinder token, boolean showWindow, argument 51 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; argument 52 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; argument 53 void scheduleResumeActivity(IBinder token, int procState, boolean isForward) argument 55 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument 56 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument 62 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, argument 65 void scheduleNewIntent(List<Intent> intent, IBinder token) throws RemoteException; argument 66 void scheduleDestroyActivity(IBinder token, boolea argument 79 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo, int processState) argument 81 scheduleBindService(IBinder token, Intent intent, boolean rebind, int processState) argument 83 scheduleUnbindService(IBinder token, Intent intent) argument 85 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) argument 87 scheduleStopService(IBinder token) argument 100 requestThumbnail(IBinder token) argument 115 scheduleActivityConfigurationChanged(IBinder token) argument 137 scheduleTranslucentConversionComplete(IBinder token, boolean timeout) argument [all...] |
H A D | INotificationManager.aidl | 47 void cancelNotificationFromListener(in INotificationListener token, String pkg, String tag, int id); 48 void cancelAllNotificationsFromListener(in INotificationListener token); 50 StatusBarNotification[] getActiveNotificationsFromListener(in INotificationListener token);
|
H A D | IActivityManager.java | 81 public boolean finishActivity(IBinder token, int code, Intent data) argument 83 public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteException; argument 84 public boolean finishActivityAffinity(IBinder token) throws RemoteException; argument 85 public boolean willActivityBeVisible(IBinder token) throws RemoteException; argument 97 public void activityResumed(IBinder token) throws RemoteException; argument 98 public void activityIdle(IBinder token, Configuration config, argument 100 public void activityPaused(IBinder token) throws RemoteException; argument 101 public void activityStopped(IBinder token, Bundle state, argument 103 public void activitySlept(IBinder token) throws RemoteException; argument 104 public void activityDestroyed(IBinder token) throw argument 105 getCallingPackage(IBinder token) argument 106 getCallingActivity(IBinder token) argument 118 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument 127 getTaskForActivity(IBinder token, boolean onlyRoot) argument 129 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument 133 getContentProviderExternal(String name, int userId, IBinder token) argument 136 removeContentProviderExternal(String name, IBinder token) argument 149 stopServiceToken(ComponentName className, IBinder token, int startId) argument 151 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean keepNotification) argument 153 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 157 publishService(IBinder token, Intent intent, IBinder service) argument 159 unbindFinished(IBinder token, Intent service, boolean doRebind) argument 162 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument 181 setRequestedOrientation(IBinder token, int requestedOrientation) argument 183 getRequestedOrientation(IBinder token) argument 185 getActivityClassForToken(IBinder token) argument 186 getPackageForToken(IBinder token) argument 188 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 204 setProcessForeground(IBinder token, int pid, boolean isForeground) argument 302 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument 311 convertFromTranslucent(IBinder token) argument 312 convertToTranslucent(IBinder token) argument 313 notifyActivityDrawn(IBinder token) argument 315 setImmersive(IBinder token, boolean immersive) argument 316 isImmersive(IBinder token) argument 378 targetTaskAffinityMatchesActivity(IBinder token, String destAffinity) argument 381 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument 399 reportAssistContextExtras(IBinder token, Bundle extras) argument 405 reportActivityFullyDrawn(IBinder token) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IBackupManager.aidl | 71 void restoreAtInstall(String packageName, int token); 184 * UI calls back into the Backup Manager to confirm, passing the correct token. At 195 void acknowledgeFullBackupOrRestore(int token, boolean allow, 267 * corresponding to the given token. 269 * @param token The transaction token passed to a BackupAgent's doBackup() or 273 void opComplete(int token);
|
/frameworks/base/services/java/com/android/server/ |
H A D | UpdateLockService.java | 89 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument 91 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag)); 95 mLocks.acquire(token, makeTag(tag)); 99 public void releaseUpdateLock(IBinder token) throws RemoteException { argument 101 Slog.d(TAG, "release(" + token + ')'); 105 mLocks.release(token);
|
H A D | VibratorService.java | 90 Vibration(IBinder token, long millis, int uid, String packageName) { argument 91 this(token, millis, null, 0, uid, packageName); 94 Vibration(IBinder token, long[] pattern, int repeat, int uid, String packageName) { argument 95 this(token, 0, pattern, repeat, uid, packageName); 98 private Vibration(IBinder token, long millis, long[] pattern, argument 100 mToken = token; 194 public void vibrate(int uid, String packageName, long milliseconds, IBinder token) { argument 210 Vibration vib = new Vibration(token, milliseconds, uid, packageName); 215 removeVibrationLocked(token); 236 IBinder token) { 235 vibratePattern(int uid, String packageName, long[] pattern, int repeat, IBinder token) argument 287 cancelVibrate(IBinder token) argument 380 removeVibrationLocked(IBinder token) argument [all...] |
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 106 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 107 if (token != "0x01") { 162 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 164 *outValue = strtol(token.string(), &end, 0); 165 if (token.isEmpty() || *end != '\0') { 166 ALOGE("Expected an integer, got '%s'.", token.string());
|
/frameworks/base/core/java/android/service/dreams/ |
H A D | IDreamManager.aidl | 33 void finishSelf(in IBinder token);
|
/frameworks/base/core/jni/ |
H A D | android_util_StringBlock.cpp | 63 jint token) 65 ResStringPool* osb = (ResStringPool*)token; 75 jint token, jint idx) 77 ResStringPool* osb = (ResStringPool*)token; 99 jint token, jint idx) 101 ResStringPool* osb = (ResStringPool*)token; 142 jint token) 144 ResStringPool* osb = (ResStringPool*)token; 62 android_content_StringBlock_nativeGetSize(JNIEnv* env, jobject clazz, jint token) argument 74 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jint token, jint idx) argument 98 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jint token, jint idx) argument 141 android_content_StringBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
|
H A D | android_view_SurfaceControl.cpp | 305 sp<IBinder> token(SurfaceComposerClient::getBuiltInDisplay(id)); 306 return javaObjectForIBinder(env, token); 312 sp<IBinder> token(SurfaceComposerClient::createDisplay( 314 return javaObjectForIBinder(env, token); 318 sp<IBinder> token(ibinderForJavaObject(env, tokenObj)); 319 if (token == NULL) return; 320 SurfaceComposerClient::destroyDisplay(token); 325 sp<IBinder> token(ibinderForJavaObject(env, tokenObj)); 326 if (token == NULL) return; 332 SurfaceComposerClient::setDisplaySurface(token, bufferProduce [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManager.aidl | 62 int createVirtualDisplay(IBinder token, String packageName, 66 void releaseVirtualDisplay(in IBinder token);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); 58 void cancelVibrate(int deviceId, IBinder token);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 27 int startOperation(IBinder token, int code, int uid, String packageName); 28 void finishOperation(IBinder token, int code, int uid, String packageName);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowToken.java | 33 // The actual token. 34 final IBinder token; field in class:WindowToken 36 // The type of window this token is for, as per WindowManager.LayoutParams. 39 // Set if this token was explicitly added by a client, so should 49 // All of the windows associated with this token. 52 // Is key dispatching paused for this token? 55 // Should this token's windows be hidden? 61 // Set to true when this token is in a pending transaction where it 65 // Set to true when this token is in a pending transaction where it 69 // Set to true when this token i [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcActivityManager.java | 119 Binder token; field in class:NfcActivityManager.NfcActivityState 130 this.token = new Binder(); 143 token = null; 206 Binder token; 212 token = state.token; 216 setReaderMode(token, flags, extras); 222 Binder token; 228 token = state.token; 237 setReaderMode(Binder token, int flags, Bundle extras) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | IAppOpsService.cpp | 64 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument 68 data.writeStrongBinder(token); 78 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument 82 data.writeStrongBinder(token); 148 sp<IBinder> token = data.readStrongBinder(); local 152 int32_t res = startOperation(token, code, uid, packageName); 159 sp<IBinder> token = data.readStrongBinder(); local 163 finishOperation(token, code, uid, packageName); 186 sp<IBinder> token = getToken(clientToken); local 188 reply->writeStrongBinder(token); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 66 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 145 if (DBG) Rlog.d(LOG_TAG, "Processing event: " + cw.event + " token (arg1): " + msg.arg1 + 161 // passing the original token value back to the caller 200 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 201 if (DBG) Rlog.d(LOG_TAG, "##### onQueryComplete() ##### query complete for token: " + token); 219 // check the token and if needed, create the callerinfo object. 279 if (DBG) Rlog.d(LOG_TAG, "constructing CallerInfo object for token: " + token); 284 startQuery(token, endMarke 306 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument 336 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument 424 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/webview/chromium/tools/ |
H A D | memreport.py | 90 for token in line.split(' '): 91 if (key+'=') in token: 92 field = token.split('=')[1]
|
/frameworks/native/opengl/libagl/ |
H A D | TokenManager.h | 42 bool isTokenValid(GLuint token) const;
|