Home
last modified time | relevance | path

Searched refs:getToken (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/base/core/java/android/view/translation/
DUiTranslationManager.java201 Objects.requireNonNull(activityId.getToken()); in startTranslation()
208 targetSpec, viewIds, activityId.getToken(), activityId.getTaskId(), in startTranslation()
230 Objects.requireNonNull(activityId.getToken()); in finishTranslation()
233 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in finishTranslation()
254 Objects.requireNonNull(activityId.getToken()); in pauseTranslation()
257 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in pauseTranslation()
278 Objects.requireNonNull(activityId.getToken()); in resumeTranslation()
281 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in resumeTranslation()
370 mService.onTranslationFinished(activityDestroyed, activityId.getToken(), componentName, in onTranslationFinished()
/frameworks/base/core/java/android/app/
DInstantAppResolverService.java234 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppResolveInfo()
251 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppIntentFilter()
274 Slog.v(TAG, "[" + request.getToken() + "] Phase1 called; posting"); in onBind()
287 Slog.v(TAG, "[" + request.getToken() + "] Phase2 called; posting"); in onBind()
342 Slog.d(TAG, "[" + request.getToken() + "] Phase1 request;"
356 Slog.d(TAG, "[" + request.getToken() + "] Phase2 request;"
/frameworks/base/core/java/android/os/
DThreadLocalWorkSource.java68 final long token = getToken(); in setUid()
101 private static long getToken() { in getToken() method in ThreadLocalWorkSource
/frameworks/base/core/java/android/hardware/input/
DInputDeviceLightsManager.java79 mGlobal.openLightSession(mDeviceId, mPackageName, session.getToken()); in openSession()
115 mGlobal.requestLights(mDeviceId, request, getToken()); in requestLights()
124 mGlobal.closeLightSession(mDeviceId, getToken()); in close()
/frameworks/base/core/java/android/hardware/lights/
DSystemLightsManager.java104 mService.openSession(session.getToken(), 0); in openSession()
125 mService.openSession(session.getToken(), priority); in openSession()
175 mService.setLightStates(getToken(), ids, states); in requestLights()
190 mService.closeSession(getToken()); in close()
DLightsManager.java132 public @NonNull IBinder getToken() { in getToken() method in LightsManager.LightsSession
/frameworks/base/core/tests/vibrator/src/android/os/
DExternalVibrationTest.java50 assertThat(restored.getToken()).isEqualTo(original.getToken()); in testSerialization()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionSurfaceFrameTest.cpp80 EXPECT_EQ(1, surfaceFrame->getToken()); in PresentedSurfaceFrameForBufferlessTransaction()
114 EXPECT_EQ(1, surfaceFrame->getToken()); in PresentedSurfaceFrameForBufferTransaction()
165 EXPECT_EQ(1, droppedSurfaceFrame->getToken()); in DroppedSurfaceFrameForBufferTransaction()
172 EXPECT_EQ(1, presentedSurfaceFrame->getToken()); in DroppedSurfaceFrameForBufferTransaction()
208 EXPECT_EQ(1, surfaceFrame->getToken()); in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
287 EXPECT_EQ(1, bufferlessSurfaceFrame1->getToken()); in MultipleSurfaceFramesPresentedTogether()
291 EXPECT_EQ(4, bufferlessSurfaceFrame2->getToken()); in MultipleSurfaceFramesPresentedTogether()
295 EXPECT_EQ(3, bufferSurfaceFrameTX->getToken()); in MultipleSurfaceFramesPresentedTogether()
427 EXPECT_EQ(1, droppedSurfaceFrame1->getToken()); in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
434 EXPECT_EQ(FrameTimelineInfo::INVALID_VSYNC_ID, droppedSurfaceFrame2->getToken()); in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer()
[all …]
/frameworks/base/core/java/android/credentials/selection/
DCancelSelectionRequest.java72 public IBinder getToken() { in getToken() method in CancelSelectionRequest
112 mToken = requestToken.getToken(); in CancelSelectionRequest()
DRequestToken.java49 public IBinder getToken() { in getToken() method in RequestToken
/frameworks/native/services/inputflinger/dispatcher/
DFocusResolver.cpp73 if (result == Focusability::OK && resolvedFocusWindow->getToken() == currentFocus) { in setInputWindows()
84 resolvedFocusWindow->getToken(), in setInputWindows()
115 return updateFocusedWindow(displayId, "setFocusedWindow", resolvedFocusWindow->getToken(), in setFocusedWindow()
164 if (window->getToken() != token) { in isTokenFocusable()
DConnection.cpp30 sp<IBinder> Connection::getToken() const { in getToken() function in android::inputdispatcher::Connection
DConnection.h68 sp<IBinder> getToken() const;
DInputDispatcher.cpp376 return first->getToken() == second->getToken(); in haveSameToken()
775 return target.connection->getToken() == window.windowHandle->getToken(); in filterUntrustedTargets()
955 removeInputChannelLocked(connection->getToken(), /*notify=*/false); in ~InputDispatcher()
1075 mAnrTracker.eraseToken(connection->getToken()); in processAnrsLocked()
1085 const sp<WindowInfoHandle> window = getWindowHandleLocked(connection->getToken()); in getDispatchingTimeoutLocked()
1314 getConnectionLocked(windowHandle->getToken()); in shouldPruneInboundQueueLocked()
1818 const sp<IBinder>& token = handle->getToken(); in getInputTargetsFromWindowHandlesLocked()
2041 pilferPointersLocked(mDragState->dragWindow->getToken()); in dispatchMotionLocked()
2097 std::make_unique<DragEntry>(mIdGenerator.nextId(), now(), windowHandle->getToken(), in enqueueDragEventLocked()
2182 windowHandle = getWindowHandleLocked(connection->getToken()); in cancelEventsForAnrLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DGestureMonitorSpyWindow.java58 mWindowHandle.token = mClientChannel.getToken(); in GestureMonitorSpyWindow()
89 + mClientChannel.getToken() + " displayId=" + mWindowHandle.displayId; in dump()
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java150 if (!hasRequest(request.getToken(), request.getRequestType())) { in cancelRequest()
191 return mBaseStateRequest != null && token == mBaseStateRequest.getToken(); in hasRequest()
193 return mRequest != null && token == mRequest.getToken(); in hasRequest()
/frameworks/base/core/java/android/content/
DAttributionSource.java151 current.getAttributionTag(), current.getToken(), in AttributionSource()
213 getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), next); in withNextAttributionSource()
219 getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), getNext()); in withPackageName()
236 getToken(), mAttributionSourceState.renouncedPermissions, getDeviceId(), getNext()); in withPid()
242 getToken(), mAttributionSourceState.renouncedPermissions, deviceId, getNext()); in withDeviceId()
556 public @NonNull IBinder getToken() { in getToken() method in AttributionSource
655 mAttributionSourceState.token = current.getToken(); in Builder()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java183 appOpsManager.startOpNoThrow(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
195 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
208 appOpsManager.startOpNoThrow(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
214 appOpsManager.finishOp(getContext().getAttributionSource().getToken(), in testWatchActiveOpsForExternalDevice()
/frameworks/base/telephony/java/android/telephony/gba/
DGbaService.java104 mCallbacks.put(req.getToken(), req.getCallback()); in handleMessage()
106 onAuthenticationRequest(req.getSubId(), req.getToken(), req.getAppType(), in handleMessage()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DPendingUi.java58 public IBinder getToken() { in getToken() method in PendingUi
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp243 request.token = window->getToken(); in setFocusedWindow()
445 sp<IBinder> getToken() { return mInputReceiver.getToken(); } in getToken() function in android::inputdispatcher::__anon94065d070311::FakeMonitorReceiver
1192 ASSERT_TRUE(mDispatcher->transferTouchGesture(middleForegroundWindow->getToken(), in TEST_F()
1193 rightForegroundWindow->getToken())); in TEST_F()
3892 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
3994 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
4469 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
4563 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
5583 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindowDefaultDisplay->getToken())); in TEST_F()
5780 mDispatcher->transferTouchGesture(firstWindow->getToken(), secondWindow->getToken()); in TEST_F()
[all …]
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceSession.java103 mInterface.createSmartspaceSession(smartspaceConfig, mSessionId, getToken()); in SmartspaceSession()
290 private static IBinder getToken() { in getToken() method in SmartspaceSession
/frameworks/base/core/java/android/view/
DInputEventReceiver.java267 public IBinder getToken() { in getToken() method in InputEventReceiver
271 return mInputChannel.getToken(); in getToken()
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java72 mWindowHandle.token = mClientChannel.getToken(); in InputConsumerImpl()
149 mService.mInputManager.removeInputChannel(mClientChannel.getToken()); in disposeChannelsLw()
/frameworks/base/core/java/android/content/pm/
DKeySet.java43 public IBinder getToken() { in getToken() method in KeySet

123456