Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/hardware/display/
DVirtualDisplay.java39 private IVirtualDisplayCallback mToken; field in VirtualDisplay
51 mToken = token; in VirtualDisplay()
84 mGlobal.setVirtualDisplaySurface(mToken, surface); in setSurface()
98 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi); in resize()
109 if (mToken != null) { in release()
110 mGlobal.releaseVirtualDisplay(mToken); in release()
111 mToken = null; in release()
122 if (mToken != null) { in setDisplayState()
123 mGlobal.setVirtualDisplayState(mToken, isOn); in setDisplayState()
129 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken in toString()
/frameworks/base/core/java/android/view/
DWindowId.java41 private final IWindowId mToken; field in WindowId
124 return mToken.isFocused(); in isFocused()
135 if (observer.mRegistrations.containsKey(mToken.asBinder())) { in registerFocusObserver()
139 observer.mRegistrations.put(mToken.asBinder(), this); in registerFocusObserver()
141 mToken.registerFocusObserver(observer.mIObserver); in registerFocusObserver()
152 if (observer.mRegistrations.remove(mToken.asBinder()) == null) { in unregisterFocusObserver()
156 mToken.unregisterFocusObserver(observer.mIObserver); in unregisterFocusObserver()
170 return mToken.asBinder().equals(((WindowId) otherObj).mToken.asBinder()); in equals()
177 return mToken.asBinder().hashCode(); in hashCode()
186 sb.append(mToken.asBinder()); in toString()
[all …]
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppManager.java884 private IBinder mToken; field in TvInteractiveAppManager.Session
890 mToken = token; in Session()
907 if (mToken == null) { in startInteractiveApp()
912 mService.startInteractiveApp(mToken, mUserId); in startInteractiveApp()
919 if (mToken == null) { in stopInteractiveApp()
924 mService.stopInteractiveApp(mToken, mUserId); in stopInteractiveApp()
931 if (mToken == null) { in resetInteractiveApp()
936 mService.resetInteractiveApp(mToken, mUserId); in resetInteractiveApp()
943 if (mToken == null) { in createBiInteractiveApp()
948 mService.createBiInteractiveApp(mToken, biIAppUri, params, mUserId); in createBiInteractiveApp()
[all …]
/frameworks/base/core/java/android/os/
DUpdateLock.java42 IBinder mToken; field in UpdateLock
81 mToken = new Binder(); in UpdateLock()
99 synchronized (mToken) { in isHeld()
113 synchronized (mToken) { in acquire()
122 sService.acquireUpdateLock(mToken, mTag); in acquireLocked()
138 synchronized (mToken) { in release()
147 sService.releaseUpdateLock(mToken); in releaseLocked()
161 synchronized (mToken) { in finalize()
166 sService.releaseUpdateLock(mToken); in finalize()
DExternalVibration.java44 private IBinder mToken; field in ExternalVibration
62 mToken = Preconditions.checkNotNull(token); in ExternalVibration()
146 mToken.linkToDeath(recipient, 0); in linkToDeath()
156 mToken.unlinkToDeath(recipient, 0); in unlinkToDeath()
165 return mToken.equals(other.mToken); in equals()
175 + "token=" + mToken in toString()
185 out.writeStrongBinder(mToken); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/wm/
DShellRoot.java47 private WindowToken mToken; field in ShellRoot
78 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot()
83 mSurfaceControl = mToken.makeChildSurface(null) in ShellRoot()
88 mToken.getPendingTransaction().show(mSurfaceControl); in ShellRoot()
100 if (mToken != null) { in clear()
101 mToken.removeImmediately(); in clear()
102 mToken = null; in clear()
116 if (mToken.windowType != TYPE_DOCK_DIVIDER) { in startAnimation()
120 DisplayInfo displayInfo = mToken.getFixedRotationTransformDisplayInfo(); in startAnimation()
134 mToken.startAnimation(mToken.getPendingTransaction(), adapter, false /* hidden */, in startAnimation()
/frameworks/base/core/java/android/hardware/input/
DVirtualMouse.java43 private final IBinder mToken; field in VirtualMouse
48 mToken = token; in VirtualMouse()
55 mVirtualDevice.unregisterInputDevice(mToken); in close()
71 mVirtualDevice.sendButtonEvent(mToken, event); in sendButtonEvent()
88 mVirtualDevice.sendScrollEvent(mToken, event); in sendScrollEvent()
104 mVirtualDevice.sendRelativeEvent(mToken, event); in sendRelativeEvent()
120 return mVirtualDevice.getCursorPosition(mToken); in getCursorPosition()
DVirtualTouchscreen.java40 private final IBinder mToken; field in VirtualTouchscreen
45 mToken = token; in VirtualTouchscreen()
52 mVirtualDevice.unregisterInputDevice(mToken); in close()
66 mVirtualDevice.sendTouchEvent(mToken, event); in sendTouchEvent()
DVirtualKeyboard.java41 private final IBinder mToken; field in VirtualKeyboard
46 mToken = token; in VirtualKeyboard()
53 mVirtualDevice.unregisterInputDevice(mToken); in close()
67 mVirtualDevice.sendKeyEvent(mToken, event); in sendKeyEvent()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSessionId.java37 private final IBinder mToken; field in TextClassificationSessionId
57 mToken = Objects.requireNonNull(token); in TextClassificationSessionId()
63 return mToken; in getToken()
71 return Objects.equals(mValue, that.mValue) && Objects.equals(mToken, that.mToken); in equals()
76 return Objects.hash(mValue, mToken); in hashCode()
87 parcel.writeStrongBinder(mToken); in writeToParcel()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DPendingUi.java36 private final IBinder mToken; field in PendingUi
48 mToken = token; in PendingUi()
59 return mToken; in getToken()
80 return mToken.equals(token); in matches()
85 return "PendingUi: [token=" + mToken + ", sessionId=" + sessionId + ", state=" in toString()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java303 private final int mToken; field in VpnIkev2Utils.IkeSessionCallbackImpl
308 mToken = token; in IkeSessionCallbackImpl()
313 Log.d(mTag, "IkeOpened for token " + mToken); in onOpened()
314 mCallback.onIkeOpened(mToken, ikeSessionConfig); in onOpened()
319 Log.d(mTag, "IkeClosed for token " + mToken); in onClosed()
320 mCallback.onSessionLost(mToken, null); // Server requested session closure. Retry? in onClosed()
325 Log.d(mTag, "IkeClosedExceptionally for token " + mToken, exception); in onClosedExceptionally()
326 mCallback.onSessionLost(mToken, exception); in onClosedExceptionally()
331 Log.d(mTag, "IkeError for token " + mToken, exception); in onError()
338 Log.d(mTag, "onIkeSessionConnectionInfoChanged for token " + mToken); in onIkeSessionConnectionInfoChanged()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DMockToken.java29 private final WindowContainerToken mToken; field in MockToken
32 mToken = mock(WindowContainerToken.class); in MockToken()
34 when(mToken.asBinder()).thenReturn(binder); in MockToken()
38 return mToken; in token()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java79 private IBinder mToken; field in BiometricSchedulerTest
91 mToken = new Binder(); in setUp()
103 new TestHalClientMonitor(mContext, mToken, nonNullDaemon); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash()
105 new TestHalClientMonitor(mContext, mToken, nonNullDaemon); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash()
117 mContext, mToken, () -> null); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
119 mContext, mToken, () -> mock(Object.class)); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
155 new TestAuthenticationClient(mContext, () -> null, mToken, listener1); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
157 new TestHalClientMonitor(mContext, mToken, () -> daemon2); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
193 lazyDaemon1, mToken, mock(ClientMonitorCallbackConverter.class)); in testCancelNotInvoked_whenOperationWaitingForCookie()
207 mScheduler.cancelAuthenticationOrDetection(mToken, 1 /* requestId */); in testCancelNotInvoked_whenOperationWaitingForCookie()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DUinputBridge.java31 private IBinder mToken; field in UinputBridge
82 mToken = token; in UinputBridge()
89 mToken = token; in UinputBridge()
111 close(mToken); in finalize()
113 mToken = null; in finalize()
131 return mToken; in getToken()
135 return mToken.equals(token); in isTokenValid()
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java113 private IBinder mToken; field in ControlsProviderService
177 mToken = bundle.getBinder(CALLBACK_TOKEN); in onBind()
223 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
231 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
247 ControlsProviderService.this, false, mToken, sMsg.mSubscriber);
272 cb.accept(mToken, controlId, response);
288 private IBinder mToken;
295 mToken = token;
307 mCs.onSubscribe(mToken, new SubscriptionAdapter(subscription));
323 mCs.onNext(mToken, control);
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/dreams/
DDreamControllerTest.java72 private Binder mToken; field in DreamControllerTest
84 mToken = new Binder(); in setup()
93 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in startDream_attachOnServiceConnected()
102 verify(mIDreamService).attach(eq(mToken), eq(false) /*doze*/, in startDream_attachOnServiceConnected()
109 mDreamController.startDream(mToken, mDreamName, true /*isPreview*/, false /*doze*/, in startDream_attachOnServiceConnectedInPreviewMode()
118 verify(mIDreamService).attach(eq(mToken), eq(false) /*doze*/, in startDream_attachOnServiceConnectedInPreviewMode()
126 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
160 mDreamController.startDream(mToken, mDreamName, false /*isPreview*/, false /*doze*/, in stopDream_detachFromService()
/frameworks/base/core/java/android/window/
DTaskFragmentInfo.java52 private final WindowContainerToken mToken; field in TaskFragmentInfo
107 mToken = requireNonNull(token); in TaskFragmentInfo()
126 return mToken; in getToken()
214 && mToken.equals(that.mToken) in equalsForTaskFragmentOrganizer()
228 mToken = in.readTypedObject(WindowContainerToken.CREATOR); in TaskFragmentInfo()
244 dest.writeTypedObject(mToken, flags); in writeToParcel()
274 + " token=" + mToken in toString()
DWindowContextController.java81 private final WindowTokenClient mToken; field in WindowContextController
90 mToken = token; in WindowContextController()
107 mAttachedToDisplayArea = mToken.attachToDisplayArea(type, displayId, options) in attachToDisplayArea()
143 mToken.attachToWindowToken(windowToken); in attachToWindowToken()
149 mToken.detachFromWindowContainerIfNeeded(); in detachIfNeeded()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java2321 private IBinder mToken;
2348 mToken = token;
2368 if (mToken == null) {
2373 mService.releaseSession(mToken, mUserId);
2388 if (mToken == null) {
2393 mService.setMainSession(mToken, mUserId);
2405 if (mToken == null) {
2411 mService.setSurface(mToken, surface, mUserId);
2426 if (mToken == null) {
2431 mService.dispatchSurfaceChanged(mToken, format, width, height, mUserId);
[all …]
/frameworks/base/core/java/android/app/
DService.java633 new ComponentName(this, mClassName), mToken, startId); in stopSelf()
665 new ComponentName(this, mClassName), mToken, startId); in stopSelfResult()
744 new ComponentName(this, mClassName), mToken, id, in startForeground()
798 new ComponentName(this, mClassName), mToken, id, in startForeground()
849 new ComponentName(this, mClassName), mToken, 0, null, in stopForeground()
873 new ComponentName(this, mClassName), mToken); in getForegroundServiceType()
918 mToken = token; in attach()
945 mToken = null;
970 private IBinder mToken = null;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBaseClientMonitor.java55 @Nullable private IBinder mToken; field in BaseClientMonitor
95 mToken = token; in BaseClientMonitor()
155 if (mToken != null) { in destroy()
157 mToken.unlinkToDeath(this, 0); in destroy()
162 mToken = null; in destroy()
199 mToken = null; in binderDiedInternal()
246 return mToken; in getToken()
/frameworks/base/core/java/android/content/pm/
DInstantAppRequestInfo.java58 private final String mToken; field in InstantAppRequestInfo
106 this.mToken = token; in InstantAppRequestInfo()
108 NonNull.class, null, mToken); in InstantAppRequestInfo()
152 return mToken; in getToken()
168 dest.writeString(mToken); in writeToParcel()
197 this.mToken = token; in InstantAppRequestInfo()
199 NonNull.class, null, mToken); in InstantAppRequestInfo()
/frameworks/base/telephony/java/android/telephony/gba/
DGbaAuthRequest.java34 private int mToken; field in GbaAuthRequest
51 this(request.mToken, request.mSubId, request.mAppType, request.mNafUrl, in GbaAuthRequest()
57 mToken = token; in GbaAuthRequest()
67 return mToken; in getToken()
102 out.writeInt(mToken); in writeToParcel()
154 String str = "Token: " + mToken + "SubId:" + mSubId + ", AppType:" in toString()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DServiceBackupCallback.java32 private final int mToken; field in ServiceBackupCallback
36 mToken = token; in ServiceBackupCallback()
41 mBackupManager.opComplete(mToken, result); in operationComplete()

12345678