Searched defs:mToken (Results 1 - 25 of 82) sorted by relevance

1234

/frameworks/support/transition/src/main/java/androidx/transition/
H A DWindowIdApi14.java23 private final IBinder mToken; field in class:WindowIdApi14
26 mToken = token;
31 return o instanceof WindowIdApi14 && ((WindowIdApi14) o).mToken.equals(this.mToken);
36 return mToken.hashCode();
/frameworks/base/core/java/android/os/
H A DSystemVibrator.java32 private final Binder mToken = new Binder(); field in class:SystemVibrator
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
93 mService.cancelVibrate(mToken);
H A DUpdateLock.java41 IBinder mToken; field in class:UpdateLock
77 mToken = new Binder();
94 synchronized (mToken) {
107 synchronized (mToken) {
116 sService.acquireUpdateLock(mToken, mTag);
131 synchronized (mToken) {
140 sService.releaseUpdateLock(mToken);
154 synchronized (mToken) {
159 sService.releaseUpdateLock(mToken);
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DOverlayControl.java33 private final IBinder mToken = new Binder(); field in class:OverlayControl
52 mToken, null, UserHandle.USER_ALL);
54 mToken, null, UserHandle.USER_ALL);
H A DPendingUi.java36 private final IBinder mToken; field in class:PendingUi
48 mToken = token;
59 return mToken;
80 return mToken.equals(token);
85 return "PendingUi: [token=" + mToken + ", sessionId=" + sessionId + ", state="
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DBinderUtilTest.java36 private long mToken; field in class:BinderUtilTest
43 mToken = Binder.clearCallingIdentity();
51 Binder.restoreCallingIdentity(mToken);
91 Binder.restoreCallingIdentity(mToken);
/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DRestoreFileRunnable.java37 private final int mToken; field in class:RestoreFileRunnable
44 mToken = token;
60 mToken, mBackupManagerService.getBackupManagerBinder());
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DAppWindowTokenTests.java59 WindowTestUtils.TestAppWindowToken mToken; field in class:AppWindowTokenTests
67 mToken = WindowTestUtils.createTestAppWindowToken(mDisplayContent);
69 mTask.addChild(mToken, 0);
75 assertEquals(0, mToken.getWindowsCount());
77 final WindowState win1 = createWindow(null, TYPE_APPLICATION, mToken, "win1");
78 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, mToken,
80 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, mToken, "baseWin");
81 final WindowState win4 = createWindow(null, TYPE_APPLICATION, mToken, "win4");
84 assertEquals(4, mToken.getWindowsCount());
85 assertTrue(mToken
[all...]
H A DDragDropControllerTests.java63 private IBinder mToken; field in class:DragDropControllerTests
132 if (mToken != null) {
133 mTarget.cancelDragAndDrop(mToken);
173 mToken = mTarget.performDrag(
176 assertNotNull(mToken);
179 mToken = mWindow.mClient.asBinder();
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
H A DPinnedSliceStateTest.java67 private IBinder mToken = new Binder(); field in class:PinnedSliceStateTest
105 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken);
119 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken);
122 assertTrue(mPinnedSliceManager.unpin("pkg", mToken));
131 mPinnedSliceManager.pin("pkg", FIRST_SPECS, mToken);
135 assertFalse(mPinnedSliceManager.unpin("pkg", mToken));
H A DSliceManagerServiceTest.java69 private IBinder mToken = new Binder(); field in class:SliceManagerServiceTest
94 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken);
95 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken);
103 mService.pinSlice("pkg", TEST_URI, EMPTY_SPECS, mToken);
105 when(mCreatedSliceState.unpin(eq("pkg"), eq(mToken))).thenReturn(false);
106 mService.unpinSlice("pkg", TEST_URI, mToken);
/frameworks/base/core/java/android/app/
H A DPresentation.java156 private final IBinder mToken = new Binder(); field in class:Presentation
193 attr.token = mToken;
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java37 private IVirtualDisplayCallback mToken; field in class:VirtualDisplay
44 mToken = token;
76 mGlobal.setVirtualDisplaySurface(mToken, surface);
90 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi);
101 if (mToken != null) {
102 mGlobal.releaseVirtualDisplay(mToken);
103 mToken = null;
109 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken
/frameworks/base/media/java/android/media/midi/
H A DMidiOutputPort.java42 private final IBinder mToken; field in class:MidiOutputPort
97 mToken = token;
136 mDeviceServer.closePort(mToken);
H A DMidiInputPort.java39 private final IBinder mToken; field in class:MidiInputPort
55 mToken = token;
125 return mToken;
150 mDeviceServer.closePort(mToken);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java29 private final Binder mToken; field in class:NfcExecutionEnvironment
124 mToken = new Binder();
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken);
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken));
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java79 private final IBinder mToken; field in class:RingtonePlayer.Client
83 mToken = token;
92 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken);
94 mClients.remove(mToken);
131 client.mToken.unlinkToDeath(client, 0);
233 pw.print(" mToken=");
234 pw.print(client.mToken);
/frameworks/base/core/java/android/app/slice/
H A DSliceManager.java106 private final IBinder mToken = new Binder(); field in class:SliceManager
135 specs.toArray(new SliceSpec[specs.size()]), mToken);
166 mService.unpinSlice(mContext.getPackageName(), uri, mToken);
/frameworks/base/core/java/android/service/quicksettings/
H A DTile.java62 private IBinder mToken; field in class:Tile
89 mToken = stub;
182 mService.updateQsTile(this, mToken);
/frameworks/base/core/java/android/view/
H A DInputQueue.java108 e.mCallback.onFinishedInputEvent(e.mToken, handled);
119 e.mToken = token;
130 public Object mToken; field in class:InputQueue.ActiveInputEvent
134 mToken = null;
H A DWindowId.java41 private final IWindowId mToken; field in class:WindowId
124 return mToken.isFocused();
135 if (observer.mRegistrations.containsKey(mToken.asBinder())) {
139 observer.mRegistrations.put(mToken.asBinder(), this);
141 mToken.registerFocusObserver(observer.mIObserver);
152 if (observer.mRegistrations.remove(mToken.asBinder()) == null) {
156 mToken.unregisterFocusObserver(observer.mIObserver);
170 return mToken.asBinder().equals(((WindowId) otherObj).mToken.asBinder());
177 return mToken
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DInputConsumerController.java84 private final IBinder mToken; field in class:InputConsumerController
96 mToken = new Binder();
150 mWindowManager.createInputConsumer(mToken, mName, inputChannel);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DKeyValueAdbRestoreEngine.java49 int mToken; field in class:KeyValueAdbRestoreEngine
59 mToken = token;
99 agent.doRestore(backupData, info.version, newState, mToken,
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java32 private IBinder mToken = null; field in class:UinputBridge
59 mToken = token;
69 close(mToken);
71 mToken = null;
89 return mToken;
93 return mToken.equals(token);
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputConsumerImpl.java37 final IBinder mToken; field in class:InputConsumerImpl
45 mToken = token;
87 if (mToken == null) {
92 mToken.linkToDeath(this, 0);
99 if (mToken == null) {
103 mToken.unlinkToDeath(this, 0);

Completed in 285 milliseconds

1234