Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/hardware/display/
DVirtualDisplay.java37 private IVirtualDisplayCallback mToken; field in VirtualDisplay
44 mToken = token; in VirtualDisplay()
76 mGlobal.setVirtualDisplaySurface(mToken, surface); in setSurface()
90 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi); in resize()
101 if (mToken != null) { in release()
102 mGlobal.releaseVirtualDisplay(mToken); in release()
103 mToken = null; in release()
114 if (mToken != null) { in setDisplayState()
115 mGlobal.setVirtualDisplayState(mToken, isOn); in setDisplayState()
121 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/services/core/java/com/android/server/wm/
DShellRoot.java43 private WindowToken mToken; field in ShellRoot
60 mToken = new WindowToken( in ShellRoot()
62 mSurfaceControl = mToken.makeChildSurface(null) in ShellRoot()
67 mToken.getPendingTransaction().show(mSurfaceControl); in ShellRoot()
75 if (mToken != null) { in clear()
76 mToken.removeImmediately(); in clear()
77 mToken = null; in clear()
91 if (mToken.windowType != TYPE_DOCK_DIVIDER) { in startAnimation()
95 DisplayInfo displayInfo = mToken.getFixedRotationTransformDisplayInfo(); in startAnimation()
109 mToken.startAnimation(mToken.getPendingTransaction(), adapter, false /* hidden */, in startAnimation()
[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.java43 private IBinder mToken; field in ExternalVibration
51 mToken = new Binder(); in ExternalVibration()
59 mToken = in.readStrongBinder(); in ExternalVibration()
126 mToken.linkToDeath(recipient, 0); in linkToDeath()
136 mToken.unlinkToDeath(recipient, 0); in unlinkToDeath()
145 return mToken.equals(other.mToken); in equals()
165 out.writeStrongBinder(mToken); in writeToParcel()
/frameworks/base/core/java/android/app/servertransaction/
DFixedRotationAdjustmentsItem.java33 private IBinder mToken; field in FixedRotationAdjustmentsItem
51 instance.mToken = token; in obtain()
60 client.handleFixedRotationAdjustments(mToken, mFixedRotationAdjustments); in execute()
65 mToken = null; in recycle()
72 dest.writeStrongBinder(mToken); in writeToParcel()
85 return Objects.equals(mToken, other.mToken) in equals()
92 result = 31 * result + Objects.hashCode(mToken); in hashCode()
98 mToken = in.readStrongBinder(); in FixedRotationAdjustmentsItem()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSessionId.java36 private final IBinder mToken; field in TextClassificationSessionId
56 mToken = Objects.requireNonNull(token); in TextClassificationSessionId()
62 return mToken; in getToken()
70 return Objects.equals(mValue, that.mValue) && Objects.equals(mToken, that.mToken); in equals()
75 return Objects.hash(mValue, mToken); in hashCode()
86 parcel.writeStrongBinder(mToken); in writeToParcel()
/frameworks/ml/nn/common/
DTokenHasher.cpp52 mToken.resize(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN); in finish()
53 if (SHA256_Final(mToken.data(), &mHasher) == 0) { in finish()
54 mToken.clear(); in finish()
65 CHECK(!mToken.empty()); in getCacheToken()
66 return mToken.data(); in getCacheToken()
/frameworks/base/core/java/android/app/
DWindowContext.java48 private final WindowTokenClient mToken; field in WindowContext
64 mToken = new WindowTokenClient(); in WindowContext()
66 final ContextImpl contextImpl = createBaseWindowContext(base, mToken); in WindowContext()
70 mToken.attachContext(this); in WindowContext()
73 mWindowManager.setDefaultToken(mToken); in WindowContext()
80 mToken, type, getDisplayId(), options, getPackageName()); in WindowContext()
118 mWms.removeWindowToken(mToken, getDisplayId()); in release()
DService.java616 new ComponentName(this, mClassName), mToken, startId); in stopSelf()
648 new ComponentName(this, mClassName), mToken, startId); in stopSelfResult()
710 new ComponentName(this, mClassName), mToken, id, in startForeground()
745 new ComponentName(this, mClassName), mToken, id, in startForeground()
774 new ComponentName(this, mClassName), mToken, 0, null, in stopForeground()
798 new ComponentName(this, mClassName), mToken); in getForegroundServiceType()
843 mToken = token; in attach()
857 mToken = null;
882 private IBinder mToken = null;
/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/biometrics/
DClientMonitor.java59 private IBinder mToken; field in ClientMonitor
91 mToken = token; in ClientMonitor()
222 if (mToken != null) { in destroy()
224 mToken.unlinkToDeath(this, 0); in destroy()
229 mToken = null; in destroy()
243 mToken = null; in binderDiedInternal()
252 if (mToken != null) { in finalize()
253 if (DEBUG) Slog.w(getLogTag(), "removing leaked reference: " + mToken); in finalize() local
295 return mToken; in getToken()
/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.java82 private IBinder mToken; field in ControlsProviderService
140 mToken = bundle.getBinder(CALLBACK_TOKEN); in onBind()
186 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
194 final SubscriberProxy proxy = new SubscriberProxy(true, mToken, cs);
209 final SubscriberProxy proxy = new SubscriberProxy(false, mToken,
235 cb.accept(mToken, controlId, response);
251 private IBinder mToken;
257 mToken = token;
263 mCs.onSubscribe(mToken, new SubscriptionAdapter(subscription));
276 mCs.onNext(mToken, control);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipTaskOrganizer.java188 private WindowContainerToken mToken; field in PipTaskOrganizer
272 if (!mInPip || mExitingPip || mToken == null) { in exitPip()
274 + " mInPip=" + mInPip + " mExitingPip=" + mExitingPip + " mToken=" + mToken); in exitPip()
278 final Configuration initialConfig = mInitialState.remove(mToken.asBinder()); in exitPip()
302 wct.setActivityWindowingMode(mToken, direction == TRANSITION_DIRECTION_TO_SPLIT_SCREEN in exitPip()
305 wct.setBounds(mToken, destinationBounds); in exitPip()
306 wct.setBoundsChangeTransaction(mToken, tx); in exitPip()
323 wct.setWindowingMode(mToken, getOutPipWindowingMode()); in applyWindowingModeChangeOnExit()
325 wct.setActivityWindowingMode(mToken, WINDOWING_MODE_UNDEFINED); in applyWindowingModeChangeOnExit()
327 wct.reparent(mToken, mSplitDivider.getSecondaryRoot(), true /* onTop */); in applyWindowingModeChangeOnExit()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java1978 private IBinder mToken;
2002 mToken = token;
2014 if (mToken == null) {
2019 mService.releaseSession(mToken, mUserId);
2034 if (mToken == null) {
2039 mService.setMainSession(mToken, mUserId);
2051 if (mToken == null) {
2057 mService.setSurface(mToken, surface, mUserId);
2072 if (mToken == null) {
2077 mService.dispatchSurfaceChanged(mToken, format, width, height, mUserId);
[all …]
/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/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java71 private IBinder mToken = new Binder(); field in ControlProviderServiceTest
104 b.putBinder(ControlsProviderService.CALLBACK_TOKEN, mToken); in setUp()
134 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoad_allStateless()
137 verify(mSubscriber, times(2)).onNext(eq(mToken), controlCaptor.capture()); in testOnLoad_allStateless()
142 verify(mSubscriber).onComplete(eq(mToken)); in testOnLoad_allStateless()
165 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoad_statefulConvertedToStateless()
168 verify(mSubscriber).onNext(eq(mToken), controlCaptor.capture()); in testOnLoad_statefulConvertedToStateless()
174 verify(mSubscriber).onComplete(eq(mToken)); in testOnLoad_statefulConvertedToStateless()
196 verify(mSubscriber).onSubscribe(eq(mToken), subscriptionCaptor.capture()); in testOnLoadSuggested_allStateless()
199 verify(mSubscriber).onNext(eq(mToken), controlCaptor.capture()); in testOnLoadSuggested_allStateless()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DBinderUtilTest.java37 private long mToken; field in BinderUtilTest
44 mToken = Binder.clearCallingIdentity(); in setUp()
52 Binder.restoreCallingIdentity(mToken); in cleanUp()
92 Binder.restoreCallingIdentity(mToken); in setUidAndRestoreCallingIdentity()
/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()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedRunnable.java15 private final int mToken; field in AdbRestoreFinishedRunnable
21 mToken = token; in AdbRestoreFinishedRunnable()
28 mAgent.doRestoreFinished(mToken, mBackupManagerService.getBackupManagerBinder()); in run()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java70 private IBinder mToken = new Binder(); field in SliceManagerServiceTest
95 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken); in testAddPinCreatesPinned()
96 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken); in testAddPinCreatesPinned()
104 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken); in testRemovePinDestroysPinned()
106 when(mCreatedSliceState.unpin(eq("pkg"), eq(mToken))).thenReturn(false); in testRemovePinDestroysPinned()
107 mService.unpinSlice("pkg", TEST_URI, mToken); in testRemovePinDestroysPinned()
140 mService.pinSlice("pkg", TEST_URI, specs, mToken); in testGetPinnedSpecs()
/frameworks/native/libs/vibrator/
DExternalVibration.cpp49 parcel->writeStrongBinder(mToken); in writeToParcel()
58 mToken = parcel->readStrongBinder(); in readFromParcel()
63 return mToken == rhs.mToken; in operator ==()
/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/media/java/android/media/midi/
DMidiManager.java62 private final IBinder mToken = new Binder(); field in MidiManager
187 mService.registerListener(mToken, deviceListener); in registerDeviceCallback()
203 mService.unregisterListener(mToken, deviceListener); in unregisterDeviceCallback()
257 device = new MidiDevice(deviceInfoF, server, mService, mToken, deviceToken); in openDevice()
266 mService.openDevice(mToken, deviceInfo, callback); in openDevice()
295 device = new MidiDevice(deviceInfo, server, mService, mToken, deviceToken); in openBluetoothDevice()
305 mService.openBluetoothDevice(mToken, bluetoothDevice, callback); in openBluetoothDevice()

123456