/frameworks/base/core/java/android/view/ |
H A D | WindowInfo.java | 42 public IBinder token; field in class:WindowInfo 64 window.token = other.token; 94 parcel.writeStrongBinder(token); 113 builder.append(", token=").append(token); 125 token = parcel.readStrongBinder(); 142 token = null;
|
/frameworks/native/libs/binder/ |
H A D | IAppOpsService.cpp | 63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument 67 data.writeStrongBinder(token); 77 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument 81 data.writeStrongBinder(token); 147 sp<IBinder> token = data.readStrongBinder(); local 151 int32_t res = startOperation(token, code, uid, packageName); 158 sp<IBinder> token = data.readStrongBinder(); local 162 finishOperation(token, code, uid, packageName); 185 sp<IBinder> token = getToken(clientToken); local 187 reply->writeStrongBinder(token); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 213 IBinder token = data.readStrongBinder(); 217 scheduleCreateService(token, info, compatInfo, processState); 223 IBinder token = data.readStrongBinder(); 227 scheduleBindService(token, intent, rebind, processState); 233 IBinder token = data.readStrongBinder(); 235 scheduleUnbindService(token, intent); 242 IBinder token = data.readStrongBinder(); 252 scheduleServiceArgs(token, taskRemoved, startId, fl, args); 259 IBinder token = data.readStrongBinder(); 260 scheduleStopService(token); 692 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 706 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 718 scheduleWindowVisibility(IBinder token, boolean showWindow) argument 729 scheduleSleeping(IBinder token, boolean sleeping) argument 740 scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) argument 754 scheduleSendResult(IBinder token, List<ResultInfo> results) argument 765 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, IVoiceInteractor voiceInteractor, int procState, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, ProfilerInfo profilerInfo) argument 798 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument 820 scheduleNewIntent(List<Intent> intents, IBinder token) argument 831 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument 885 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo, int processState) argument 898 scheduleBindService(IBinder token, Intent intent, boolean rebind, int processState) argument 911 scheduleUnbindService(IBinder token, Intent intent) argument 922 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) argument 941 scheduleStopService(IBinder token) argument 1053 dumpService(FileDescriptor fd, IBinder token, String[] args) argument 1064 dumpProvider(FileDescriptor fd, IBinder token, String[] args) argument 1102 scheduleActivityConfigurationChanged( IBinder token) argument 1174 dumpActivity(FileDescriptor fd, IBinder token, String prefix, String[] args) argument 1270 scheduleTranslucentConversionComplete(IBinder token, boolean timeout) argument 1282 scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) argument 1321 scheduleCancelVisibleBehind(IBinder token) argument 1330 scheduleBackgroundVisibleBehindChanged(IBinder token, boolean enabled) argument 1342 scheduleEnterAnimationComplete(IBinder token) argument [all...] |
H A D | IActivityManager.java | 92 public boolean finishActivity(IBinder token, int code, Intent data, boolean finishTask) argument 94 public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteException; argument 95 public boolean finishActivityAffinity(IBinder token) throws RemoteException; argument 97 public boolean releaseActivityInstance(IBinder token) throws RemoteException; argument 99 public boolean willActivityBeVisible(IBinder token) throws RemoteException; argument 111 public void activityResumed(IBinder token) throws RemoteException; argument 112 public void activityIdle(IBinder token, Configuration config, argument 114 public void activityPaused(IBinder token) throws RemoteException; argument 115 public void activityStopped(IBinder token, Bundle state, argument 117 public void activitySlept(IBinder token) throw argument 118 activityDestroyed(IBinder token) argument 119 getCallingPackage(IBinder token) argument 120 getCallingActivity(IBinder token) argument 134 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument 142 getTaskForActivity(IBinder token, boolean onlyRoot) argument 145 getContentProviderExternal(String name, int userId, IBinder token) argument 148 removeContentProviderExternal(String name, IBinder token) argument 161 stopServiceToken(ComponentName className, IBinder token, int startId) argument 163 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean keepNotification) argument 165 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 169 publishService(IBinder token, Intent intent, IBinder service) argument 171 unbindFinished(IBinder token, Intent service, boolean doRebind) argument 174 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument 194 setRequestedOrientation(IBinder token, int requestedOrientation) argument 196 getRequestedOrientation(IBinder token) argument 198 getActivityClassForToken(IBinder token) argument 199 getPackageForToken(IBinder token) argument 201 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 217 setProcessForeground(IBinder token, int pid, boolean isForeground) argument 316 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument 325 convertFromTranslucent(IBinder token) argument 326 convertToTranslucent(IBinder token, ActivityOptions options) argument 327 notifyActivityDrawn(IBinder token) argument 328 getActivityOptions(IBinder token) argument 332 setImmersive(IBinder token, boolean immersive) argument 333 isImmersive(IBinder token) argument 335 isTopOfTask(IBinder token) argument 397 shouldUpRecreateTask(IBinder token, String destAffinity) argument 400 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument 418 reportAssistContextExtras(IBinder token, Bundle extras) argument 427 reportActivityFullyDrawn(IBinder token) argument 447 startLockTaskMode(IBinder token) argument 455 setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument 459 requestVisibleBehind(IBinder token, boolean visible) argument 460 isBackgroundVisibleBehind(IBinder token) argument 461 backgroundResourcesReleased(IBinder token) argument 463 notifyLaunchTaskBehindComplete(IBinder token) argument 464 notifyEnterAnimationComplete(IBinder token) argument [all...] |
H A D | ActivityThread.java | 268 IBinder token; field in class:ActivityThread.ActivityClientRecord 328 + " token=" + token + " " + (componentName == null 352 IBinder token; field in class:ActivityThread.NewIntentData 354 return "NewIntentData{intents=" + intents + " token=" + token + "}"; 360 boolean ordered, boolean sticky, IBinder token, int sendingUser) { 362 token, sendingUser); 389 IBinder token; field in class:ActivityThread.CreateServiceData 394 return "CreateServiceData{token 359 ReceiverData(Intent intent, int resultCode, String resultData, Bundle resultExtras, boolean ordered, boolean sticky, IBinder token, int sendingUser) argument 401 IBinder token; field in class:ActivityThread.BindServiceData 410 IBinder token; field in class:ActivityThread.ServiceArgsData 512 IBinder token; field in class:ActivityThread.DumpComponentInfo 518 IBinder token; field in class:ActivityThread.ResultData 565 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 574 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 581 scheduleWindowVisibility(IBinder token, boolean showWindow) argument 587 scheduleSleeping(IBinder token, boolean sleeping) argument 591 scheduleResumeActivity(IBinder token, int processState, boolean isForward, Bundle resumeArgs) argument 597 scheduleSendResult(IBinder token, List<ResultInfo> results) argument 606 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, IVoiceInteractor voiceInteractor, int procState, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, ProfilerInfo profilerInfo) argument 639 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument 646 scheduleNewIntent(List<Intent> intents, IBinder token) argument 654 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument 690 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo, int processState) argument 701 scheduleBindService(IBinder token, Intent intent, boolean rebind, int processState) argument 715 scheduleUnbindService(IBinder token, Intent intent) argument 723 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags ,Intent args) argument 735 scheduleStopService(IBinder token) argument 871 scheduleActivityConfigurationChanged(IBinder token) argument 1102 scheduleTranslucentConversionComplete(IBinder token, boolean drawComplete) argument 1106 scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) argument 1147 scheduleCancelVisibleBehind(IBinder token) argument 1152 scheduleBackgroundVisibleBehindChanged(IBinder token, boolean visible) argument 1156 scheduleEnterAnimationComplete(IBinder token) argument 2098 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument 2125 getActivity(IBinder token) argument 2129 sendActivityResult( IBinder token, String id, int requestCode, int resultCode, Intent data) argument 2434 performNewIntents(IBinder token, List<Intent> intents) argument 2472 handleTranslucentConversionComplete(IBinder token, boolean drawComplete) argument 2479 onNewActivityOptions(IBinder token, ActivityOptions options) argument 2486 handleCancelVisibleBehind(IBinder token) argument 2508 handleOnBackgroundVisibleBehindChanged(IBinder token, boolean visible) argument 2519 handleEnterAnimationComplete(IBinder token) argument 2889 handleStopService(IBinder token) argument 2920 performResumeActivity(IBinder token, boolean clearHide) argument 2974 handleResumeActivity(IBinder token, boolean clearHide, boolean isForward, boolean reallyResume) argument 3149 handlePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 3181 performPauseActivity(IBinder token, boolean finished, boolean saveState) argument 3246 performStopActivity(IBinder token, boolean saveState) argument 3385 handleStopActivity(IBinder token, boolean show, int configChanges) argument 3415 performRestartActivity(IBinder token) argument 3423 handleWindowVisibility(IBinder token, boolean show) argument 3449 handleSleeping(IBinder token, boolean sleeping) argument 3590 performDestroyActivity(IBinder token, boolean finishing) argument 3594 performDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 3687 handleDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 3747 requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, boolean fromServer) argument 4098 handleActivityConfigurationChanged(IBinder token) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | IBackupManager.aidl | 71 void restoreAtInstall(String packageName, int token); 192 * UI calls back into the Backup Manager to confirm, passing the correct token. At 203 void acknowledgeFullBackupOrRestore(int token, boolean allow, 287 * corresponding to the given token. 289 * @param token The transaction token passed to a BackupAgent's doBackup() or 293 void opComplete(int token);
|
/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/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 64 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); 65 void cancelVibrate(int deviceId, IBinder token);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 28 int startOperation(IBinder token, int code, int uid, String packageName); 29 void finishOperation(IBinder token, int code, int uid, String packageName);
|
/frameworks/native/opengl/libagl/ |
H A D | TokenManager.h | 42 bool isTokenValid(GLuint token) const;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 1114 final long token = Binder.clearCallingIdentity(); 1118 Binder.restoreCallingIdentity(token); 1128 final long token = Binder.clearCallingIdentity(); 1132 Binder.restoreCallingIdentity(token); 1143 final long token = Binder.clearCallingIdentity(); 1147 Binder.restoreCallingIdentity(token); 1157 final long token = Binder.clearCallingIdentity(); 1161 Binder.restoreCallingIdentity(token); 1171 final long token = Binder.clearCallingIdentity(); 1175 Binder.restoreCallingIdentity(token); [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 15 %token IMPORT 16 %token PACKAGE 17 %token IDENTIFIER 18 %token IDVALUE 19 %token GENERIC 20 %token ARRAY 21 %token PARCELABLE 22 %token INTERFACE 23 %token FLATTENABLE 24 %token RP [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 78 IBinder token; field in class:StatusBarManagerService.DisableRecord 82 disableInternal(userId, 0, token, pkg); 83 token.unlinkToDeath(this, 0); 186 public void disable(int what, IBinder token, String pkg) { argument 187 disableInternal(mCurrentUserId, what, token, pkg); 190 private void disableInternal(int userId, int what, IBinder token, String pkg) { argument 194 disableLocked(userId, what, token, pkg); 198 private void disableLocked(int userId, int what, IBinder token, String pkg) { argument 203 manageDisableListLocked(userId, what, token, pkg); 324 public void setImeWindowStatus(final IBinder token, fina argument 599 manageDisableListLocked(int userId, int what, IBinder token, String pkg) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | ResourcesKey.java | 32 float scale, IBinder token) { 39 mToken = token; 31 ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, float scale, IBinder token) argument
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 42 IVirtualDisplayCallback token, Surface surface) { 45 mToken = token; 110 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken 41 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, Surface surface) argument
|
/frameworks/base/core/java/android/nfc/ |
H A D | INfcAdapterExtras.aidl | 31 void authenticate(in String pkg, in byte[] token);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 33 void setImeWindowStatus(in IBinder token, int vis, int backDisposition,
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ContextMenuBuilder.java | 72 * @param token Optional, the window token that should be set on the context 77 public MenuDialogHelper show(View originalView, IBinder token) { argument 88 helper.show(token);
|
/frameworks/native/include/binder/ |
H A D | IAppOpsService.h | 35 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 37 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid,
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 108 return compare_type(lhs.token, rhs.token); 134 DisplayState& getDisplayStateLocked(const sp<IBinder>& token); 162 void setDisplaySurface(const sp<IBinder>& token, 164 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack); 165 void setDisplayProjection(const sp<IBinder>& token, 169 void setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height); 389 DisplayState& Composer::getDisplayStateLocked(const sp<IBinder>& token) { argument 391 s.token = token; 401 setDisplaySurface(const sp<IBinder>& token, const sp<IGraphicBufferProducer>& bufferProducer) argument 409 setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack) argument 417 setDisplayProjection(const sp<IBinder>& token, uint32_t orientation, const Rect& layerStackRect, const Rect& displayRect) argument 430 setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) argument 534 getLayerFrameStats(const sp<IBinder>& token, FrameStats* outStats) const argument 615 setDisplaySurface(const sp<IBinder>& token, const sp<IGraphicBufferProducer>& bufferProducer) argument 620 setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack) argument 625 setDisplayProjection(const sp<IBinder>& token, uint32_t orientation, const Rect& layerStackRect, const Rect& displayRect) argument 633 setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) argument 672 setDisplayPowerMode(const sp<IBinder>& token, int mode) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 148 * matched. URI nodes may be exact match string, the token "*" 149 * that matches any text, or the token "#" that matches only 180 String token = i < 0 ? authority : tokens[i]; 187 if (token.equals(child.mText)) { 195 if (token.equals("#")) { 197 } else if (token.equals("*")) { 202 child.mText = token;
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
H A D | DreamManagerService.java | 172 private void finishSelfInternal(IBinder token, boolean immediate) { argument 174 Slog.d(TAG, "Dream finished: " + token + ", immediate=" + immediate); 185 if (mCurrentDreamToken == token) { 213 private void startDozingInternal(IBinder token, int screenState, argument 216 Slog.d(TAG, "Dream requested to start dozing: " + token 222 if (mCurrentDreamToken == token && mCurrentDreamCanDoze) { 235 private void stopDozingInternal(IBinder token) { argument 237 Slog.d(TAG, "Dream requested to stop dozing: " + token); 241 if (mCurrentDreamToken == token && mCurrentDreamIsDozing) { 443 public void onDreamStopped(Binder token) { 581 finishSelf(IBinder token, boolean immediate) argument 596 startDozing(IBinder token, int screenState, int screenBrightness) argument 611 stopDozing(IBinder token) argument [all...] |
/frameworks/base/services/core/java/com/android/server/media/projection/ |
H A D | MediaProjectionManagerService.java | 58 * grants <b>must</b> validate the token before use by calling {@link 151 final IBinder token = callback.asBinder(); 152 token.linkToDeath(deathRecipient, 0); 153 mDeathEaters.put(token, deathRecipient); 160 final IBinder token = callback.asBinder(); 161 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); 163 token.unlinkToDeath(deathRecipient, 0); 175 private boolean isValidMediaProjection(IBinder token) { argument 178 return mProjectionToken.equals(token); 209 long token [all...] |
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 130 // first token) 235 Token token = tokens.get(i); 236 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) { 239 lastPart().add(token); 453 // Figure out the appropriate token type. 461 * Adds the appropriate token for the given URL. This might be a simple 498 // and whether we should append a closing format token (if value in 507 // Already seen this character, just append an unmatched token, which 513 // Match the start token, and ask an end token t 1235 addToken(Token token) argument 1470 add(Token token) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 321 sp<IBinder> token(SurfaceComposerClient::getBuiltInDisplay(id)); 322 return javaObjectForIBinder(env, token); 328 sp<IBinder> token(SurfaceComposerClient::createDisplay( 330 return javaObjectForIBinder(env, token); 334 sp<IBinder> token(ibinderForJavaObject(env, tokenObj)); 335 if (token == NULL) return; 336 SurfaceComposerClient::destroyDisplay(token); 341 sp<IBinder> token(ibinderForJavaObject(env, tokenObj)); 342 if (token == NULL) return; 348 SurfaceComposerClient::setDisplaySurface(token, bufferProduce [all...] |