Home
last modified time | relevance | path

Searched refs:mToken (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/view/
DWindowId.java38 private final IWindowId mToken; field in WindowId
122 return mToken.isFocused(); in isFocused()
133 if (observer.mRegistrations.containsKey(mToken.asBinder())) { in registerFocusObserver()
137 observer.mRegistrations.put(mToken.asBinder(), this); in registerFocusObserver()
139 mToken.registerFocusObserver(observer.mIObserver); in registerFocusObserver()
150 if (observer.mRegistrations.remove(mToken.asBinder()) == null) { in unregisterFocusObserver()
154 mToken.unregisterFocusObserver(observer.mIObserver); in unregisterFocusObserver()
168 return mToken.asBinder().equals(((WindowId) otherObj) in equals()
169 .mToken.asBinder()); in equals()
176 return mToken.asBinder().hashCode(); in hashCode()
[all …]
DInputQueue.java108 e.mCallback.onFinishedInputEvent(e.mToken, handled); in finishInputEvent()
119 e.mToken = token; in obtainActiveInputEvent()
130 public Object mToken; field in InputQueue.ActiveInputEvent
134 mToken = null; in recycle()
/frameworks/base/core/java/android/hardware/display/
DVirtualDisplay.java38 private IVirtualDisplayCallback mToken; field in VirtualDisplay
45 mToken = token; in VirtualDisplay()
77 mGlobal.setVirtualDisplaySurface(mToken, surface); in setSurface()
91 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi); in resize()
102 if (mToken != null) { in release()
103 mGlobal.releaseVirtualDisplay(mToken); in release()
104 mToken = null; in release()
110 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken in toString()
/frameworks/base/core/java/android/os/
DUpdateLock.java41 IBinder mToken; field in UpdateLock
77 mToken = new Binder(); in UpdateLock()
94 synchronized (mToken) { in isHeld()
107 synchronized (mToken) { in acquire()
116 sService.acquireUpdateLock(mToken, mTag); in acquireLocked()
131 synchronized (mToken) { in release()
140 sService.releaseUpdateLock(mToken); in releaseLocked()
154 synchronized (mToken) { in finalize()
159 sService.releaseUpdateLock(mToken); in finalize()
DPowerManager.java878 private final IBinder mToken; field in PowerManager.WakeLock
896 mToken = new Binder(); in WakeLock()
902 synchronized (mToken) { in finalize()
907 mService.releaseWakeLock(mToken, 0); in finalize()
928 synchronized (mToken) { in setReferenceCounted()
941 synchronized (mToken) { in acquire()
957 synchronized (mToken) { in acquire()
974 mService.acquireWakeLock(mToken, mFlags, mTag, mPackageName, mWorkSource, in acquireLocked()
1007 synchronized (mToken) { in release()
1013 mService.releaseWakeLock(mToken, flags); in release()
[all …]
DSystemVibrator.java32 private final Binder mToken = new Binder(); field in SystemVibrator
68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken); in vibrate()
90 mToken); in vibrate()
109 mService.cancelVibrate(mToken); in cancel()
/frameworks/base/core/java/android/app/
DService.java568 new ComponentName(this, mClassName), mToken, startId); in stopSelf()
600 new ComponentName(this, mClassName), mToken, startId); in stopSelfResult()
652 new ComponentName(this, mClassName), mToken, id, in startForeground()
669 new ComponentName(this, mClassName), mToken, 0, null, in stopForeground()
705 mToken = token; in attach()
719 private IBinder mToken = null;
DActivity.java691 private IBinder mToken; field in Activity
1658 ActivityManagerNative.getDefault().reportActivityFullyDrawn(mToken); in reportFullyDrawn()
3747 this, mMainThread.getApplicationThread(), mToken, this, in startActivityForResult()
3751 mToken, mEmbeddedID, requestCode, ar.getResultCode(), in startActivityForResult()
3803 this, mMainThread.getApplicationThread(), mToken, this, intent, requestCode, in startActivityForResultAsUser()
3807 mToken, mEmbeddedID, requestCode, ar.getResultCode(), ar.getResultData()); in startActivityForResultAsUser()
3842 this, mMainThread.getApplicationThread(), mToken, this, in startActivityAsUser()
3846 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsUser()
3865 this, mMainThread.getApplicationThread(), mToken, this, in startActivityAsCaller()
3869 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsCaller()
[all …]
DKeyguardManager.java92 private final IBinder mToken = new Binder(); field in KeyguardManager.KeyguardLock
116 mWM.disableKeyguard(mToken, mTag); in disableKeyguard()
137 mWM.reenableKeyguard(mToken); in reenableKeyguard()
DStatusBarManager.java74 private IBinder mToken = new Binder(); field in StatusBarManager
99 svc.disable(what, mToken, mContext.getPackageName()); in disable()
/frameworks/base/media/java/android/media/
DPlayerRecord.java64 private IBinder mToken; field in PlayerRecord
223 mToken = token; in PlayerRecord()
233 if (mToken != null) { in PlayerRecord()
235 mToken.linkToDeath(this, 0); in PlayerRecord()
261 if (mToken != null) { in hasMatchingMediaButtonIntent()
341 if (mToken != null) { in destroy()
342 mToken.unlinkToDeath(this, 0); in destroy()
343 mToken = null; in destroy()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java1170 private IBinder mToken;
1194 mToken = token;
1206 if (mToken == null) {
1211 mService.releaseSession(mToken, mUserId);
1226 if (mToken == null) {
1231 mService.setMainSession(mToken, mUserId);
1243 if (mToken == null) {
1249 mService.setSurface(mToken, surface, mUserId);
1266 if (mToken == null) {
1271 mService.dispatchSurfaceChanged(mToken, format, width, height, mUserId);
[all …]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java29 private final Binder mToken; field in NfcExecutionEnvironment
124 mToken = new Binder(); in NfcExecutionEnvironment()
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java239 final IBinder mToken; field in BroadcastReceiver.PendingResult
257 mToken = token; in PendingResult()
382 "Finishing broadcast after work to component " + mToken); in finish()
388 "Finishing broadcast to component " + mToken); in finish()
393 "Finishing broadcast to " + mToken); in finish()
419 am.finishReceiver(mToken, mResultCode, mResultData, mResultExtras, in sendFinished()
424 am.finishReceiver(mToken, 0, null, null, false); in sendFinished()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java72 private final IBinder mToken; field in RingtonePlayer.Client
76 mToken = token; in Client()
85 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken); in binderDied()
87 mClients.remove(mToken); in binderDied()
121 client.mToken.unlinkToDeath(client, 0);
174 pw.print(client.mToken); in dump()
/frameworks/base/core/java/android/service/fingerprint/
DFingerprintManager.java75 private IBinder mToken = new Binder(); field in FingerprintManager
157 mService.enroll(mToken, timeout, getCurrentUserId()); in enroll()
176 mService.remove(mToken, fingerprintId, getCurrentUserId()); in remove()
194 mService.startListening(mToken, mServiceReceiver, getCurrentUserId()); in startListening()
219 mService.stopListening(mToken, getCurrentUserId()); in stopListening()
237 mService.enrollCancel(mToken, getCurrentUserId()); in enrollCancel()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java104 final IBinder mToken = new Binder(); field in VoiceInteractionManagerServiceImpl.SessionConnection
119 mIWindowManager.addWindowToken(mToken, in SessionConnection()
135 mService.newSession(mToken, mArgs); in onServiceConnected()
165 mIWindowManager.removeWindowToken(mToken); in cancel()
177 pw.print(prefix); pw.print("mToken="); pw.println(mToken); in dump()
235 if (mActiveSession == null || token != mActiveSession.mToken) { in deliverNewSessionLocked()
247 if (mActiveSession == null || token != mActiveSession.mToken) { in startVoiceActivityLocked()
264 if (mActiveSession == null || token != mActiveSession.mToken) { in finishLocked()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java97 pw.println(" mToken=" + mCurrentDream.mToken); in dump()
218 mIWindowManager.removeWindowToken(oldDream.mToken); in stopDream()
226 mListener.onDreamStopped(oldDream.mToken); in stopDream()
237 service.attach(mCurrentDream.mToken, mCurrentDream.mCanDoze); in attach()
260 public final Binder mToken; field in DreamController.DreamRecord
275 mToken = token; in DreamRecord()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderRecord.java233 private final IBinder mToken; field in ContentProviderRecord.ExternalProcessHandle
237 mToken = token; in ExternalProcessHandle()
241 Slog.e(LOG_TAG, "Couldn't register for death for token: " + mToken, re); in ExternalProcessHandle()
246 mToken.unlinkToDeath(this, 0); in unlinkFromOwnDeathLocked()
253 externalProcessTokenToHandle.get(mToken) != null) { in binderDied()
254 removeExternalProcessHandleInternalLocked(mToken); in binderDied()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java69 int mToken; field in BackupRestoreConfirmation
153 mToken = intent.getIntExtra(FullBackup.CONF_TOKEN_INTENT_EXTRA, -1); in onCreate()
154 if (mToken < 0) { in onCreate()
187 sendAcknowledgement(mToken, true, mObserver); in onCreate()
196 sendAcknowledgement(mToken, false, mObserver); in onCreate()
261 mBackupManager.acknowledgeFullBackupOrRestore(mToken, in sendAcknowledgement()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java26 private final IBinder mToken; field in ResourcesKey
39 mToken = token; in ResourcesKey()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java274 IBinder mToken; field in InputMethodService
357 if (mToken == null) { in attachToken()
358 mToken = token; in attachToken()
436 mImm.setImeWindowStatus(mToken, IME_ACTIVE | (showing ? IME_VISIBLE : 0), in showSoftInput()
803 mImm.setImeWindowStatus(mToken, IME_ACTIVE | (showing ? IME_VISIBLE : 0), in onConfigurationChanged()
1182 mImm.showStatusIcon(mToken, getPackageName(), iconResId); in showStatusIcon()
1187 mImm.hideStatusIcon(mToken); in hideStatusIcon()
1198 mImm.setInputMethod(mToken, id); in switchInputMethod()
1488 mImm.setImeWindowStatus(mToken, IME_ACTIVE, mBackDisposition); in showWindowInner()
1507 mImm.setImeWindowStatus(mToken, 0, mBackDisposition); in doHideWindow()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java69 IBinder mToken; field in VoiceInteractionSession
449 mToken = token; in doCreate()
562 if (mToken == null) { in startVoiceActivity()
568 int res = mSystemService.startVoiceActivity(mToken, intent, in startVoiceActivity()
597 if (mToken == null) { in finish()
602 mSystemService.finish(mToken); in finish()
624 mWindow.setToken(mToken); in onCreate()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaControllerCompat.java59 private final MediaSessionCompat.Token mToken; field in MediaControllerCompat
70 mToken = session.getSessionToken(); in MediaControllerCompat()
75 mImpl = new MediaControllerImplBase(mToken); in MediaControllerCompat()
91 mToken = sessionToken; in MediaControllerCompat()
96 mImpl = new MediaControllerImplBase(mToken); in MediaControllerCompat()
218 return mToken; in getSessionToken()
788 private MediaSessionCompat.Token mToken; field in MediaControllerCompat.MediaControllerImplBase
793 mToken = token; in MediaControllerImplBase()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java89 private final IBinder mToken; field in VibratorService.Vibration
109 mToken = token; in Vibration()
436 if (vib.mToken == token) { in removeVibrationLocked()
444 if (mCurrentVibration != null && mCurrentVibration.mToken == token) { in removeVibrationLocked()
455 vib.mToken.unlinkToDeath(vib, 0); in unlinkVibration()

12