/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncDispatch.h | 41 struct CallbackToken : ftl::DefaultConstructible<CallbackToken, size_t>, struct 42 ftl::Equatable<CallbackToken>, 43 ftl::Incrementable<CallbackToken> { 72 virtual CallbackToken registerCallback(Callback, std::string callbackName) = 0; 80 virtual void unregisterCallback(CallbackToken token) = 0; 135 virtual std::optional<ScheduleResult> schedule(CallbackToken token, 148 virtual std::optional<ScheduleResult> update(CallbackToken token, 158 virtual CancelResult cancel(CallbackToken token) = 0; 191 std::optional<VSyncDispatch::CallbackToken> mToken;
|
D | VSyncDispatchTimerQueue.h | 130 CallbackToken registerCallback(Callback, std::string callbackName) final; 131 void unregisterCallback(CallbackToken) final; 132 std::optional<ScheduleResult> schedule(CallbackToken, ScheduleTiming) final; 133 std::optional<ScheduleResult> update(CallbackToken, ScheduleTiming) final; 134 CancelResult cancel(CallbackToken) final; 143 ftl::SmallMap<CallbackToken, std::shared_ptr<VSyncDispatchTimerQueueEntry>, 5>; 151 std::optional<ScheduleResult> scheduleLocked(CallbackToken, ScheduleTiming) REQUIRES(mMutex); 165 CallbackToken mCallbackToken GUARDED_BY(mMutex);
|
D | VSyncDispatchTimerQueue.cpp | 392 VSyncDispatchTimerQueue::CallbackToken VSyncDispatchTimerQueue::registerCallback( in registerCallback() 403 void VSyncDispatchTimerQueue::unregisterCallback(CallbackToken token) { in unregisterCallback() 419 std::optional<ScheduleResult> VSyncDispatchTimerQueue::schedule(CallbackToken token, in schedule() 426 CallbackToken token, ScheduleTiming scheduleTiming) { in scheduleLocked() 450 std::optional<ScheduleResult> VSyncDispatchTimerQueue::update(CallbackToken token, in update() 466 CancelResult VSyncDispatchTimerQueue::cancel(CallbackToken token) { in cancel()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVSyncDispatch.h | 30 MOCK_METHOD(CallbackToken, registerCallback, (Callback, std::string), (override)); 31 MOCK_METHOD(void, unregisterCallback, (CallbackToken), (override)); 32 MOCK_METHOD(std::optional<scheduler::ScheduleResult>, schedule, (CallbackToken, ScheduleTiming), 34 MOCK_METHOD(std::optional<scheduler::ScheduleResult>, update, (CallbackToken, ScheduleTiming), 36 MOCK_METHOD(scheduler::CancelResult, cancel, (CallbackToken token), (override));
|
/frameworks/base/core/java/android/app/contextualsearch/ |
D | CallbackToken.java | 49 public final class CallbackToken implements Parcelable { class 51 private static final String TAG = CallbackToken.class.getSimpleName(); 57 public CallbackToken() { in CallbackToken() method in CallbackToken 61 private CallbackToken(Parcel in) { in CallbackToken() method in CallbackToken 134 public static final Creator<CallbackToken> CREATOR = new Creator<>() { 136 public CallbackToken createFromParcel(Parcel in) { 137 return new CallbackToken(in); 141 public CallbackToken[] newArray(int size) { 142 return new CallbackToken[size];
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncCallbackRegistrationTest.cpp | 35 VSyncDispatch::CallbackToken mCallbackToken{7}; 39 VSyncDispatch::CallbackToken mCallbackToken2{42}; 48 const std::optional<VSyncDispatch::CallbackToken>& token) { in assertToken()
|
D | MessageQueueTest.cpp | 35 using CallbackToken = scheduler::VSyncDispatch::CallbackToken; typedef 88 const CallbackToken mCallbackToken{5};
|
D | EventThreadTest.cpp | 123 scheduler::ScheduleResult (*)(scheduler::VSyncDispatch::CallbackToken, 127 scheduler::ScheduleResult (*)(scheduler::VSyncDispatch::CallbackToken, 131 scheduler::VSyncDispatch::CallbackToken (*)(scheduler::VSyncDispatch::Callback, 133 mVSyncCallbackRegisterRecorder{scheduler::VSyncDispatch::CallbackToken(0)}; 134 AsyncCallRecorder<void (*)(scheduler::VSyncDispatch::CallbackToken)>
|
D | VSyncDispatchTimerQueueTest.cpp | 123 operator VSyncDispatch::CallbackToken() const { return mToken; } in operator VSyncDispatch::CallbackToken() 132 VSyncDispatch::CallbackToken mToken; 150 operator VSyncDispatch::CallbackToken() const { return mToken; } in operator VSyncDispatch::CallbackToken() 186 VSyncDispatch::CallbackToken mToken; 615 VSyncDispatch::CallbackToken tmp; in TEST_F() 628 VSyncDispatch::CallbackToken tmp; in TEST_F() 729 VSyncDispatch::CallbackToken token(100); in TEST_F()
|
D | VSyncReactorTest.cpp | 123 VSyncDispatch::CallbackToken const mFakeToken{2398};
|
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/ |
D | ContextualSearchManagerService.java | 45 import android.app.contextualsearch.CallbackToken; 289 private Intent getContextualSearchIntent(int entrypoint, CallbackToken mToken) { in getContextualSearchIntent() 409 private @Nullable CallbackToken mToken; 424 mToken = new CallbackToken(); in issueToken()
|
/frameworks/base/core/api/ |
D | test-current.txt | 822 …@FlaggedApi("android.app.contextualsearch.flags.enable_service") public final class CallbackToken …
|
D | system-current.txt | 2179 …@FlaggedApi("android.app.contextualsearch.flags.enable_service") public final class CallbackToken … 2180 ctor public CallbackToken(); 2184 …lic static final android.os.Parcelable.Creator<android.app.contextualsearch.CallbackToken> CREATOR;
|