Home
last modified time | relevance | path

Searched defs:Callback (Results 1 – 25 of 2298) sorted by relevance

12345678910>>...92

/aosp_15_r20/art/runtime/
H A Druntime_callbacks_test.cc119 struct Callback : public ThreadLifecycleCallback { struct in art::ThreadLifecycleCallbackRuntimeCallbacksTest
120 void ThreadStart(Thread* self) override { in ThreadStart()
133 void ThreadDeath(Thread* self) override { in ThreadDeath()
145 Thread* stored_self;
146 CallbackState state = CallbackState::kBase;
261 struct Callback : public ClassLoadCallback { struct in art::ClassLoadCallbackRuntimeCallbacksTest
262 void ClassPreDefine(const char* descriptor, in ClassPreDefine()
277 void ClassLoad(Handle<mirror::Class> klass) override REQUIRES_SHARED(Locks::mutator_lock_) { in ClassLoad()
283 void ClassPrepare(Handle<mirror::Class> temp_klass, in ClassPrepare()
291 std::vector<std::string> data;
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.stoptoken/stopcallback/
H A Ddtor.pass.cpp97 struct Callback { in main() struct
98 std::atomic<bool>& started_; in main()
99 std::atomic<bool>& waitDone_; in main()
100 std::atomic<bool>& finished_; in main()
101 bool moved = false; in main()
103 Callback(std::atomic<bool>& started, std::atomic<bool>& waitDone, std::atomic<bool>& finished) in main() function
105Callback(Callback&& other) : started_(other.started_), waitDone_(other.waitDone_), finished_(other… in main() argument
109 void operator()() const { in main()
121 ~Callback() { in main()
/aosp_15_r20/frameworks/av/camera/ndk/ndk_vendor/impl/
H A DACameraManager.h102 struct Callback { struct
103 explicit Callback(const ACameraManager_AvailabilityCallbacks *callback) : in Callback() function
111 explicit Callback(const ACameraManager_ExtendedAvailabilityCallbacks *callback) : in Callback() function
148 ACameraManager_AvailabilityCallback mAvailable; argument
149 ACameraManager_AvailabilityCallback mUnavailable; argument
150 ACameraManager_AccessPrioritiesChangedCallback mAccessPriorityChanged; argument
151 ACameraManager_PhysicalCameraAvailabilityCallback mPhysicalCamAvailable; argument
152 ACameraManager_PhysicalCameraAvailabilityCallback mPhysicalCamUnavailable; argument
161 std::set<Callback> mCallbacks; argument
/aosp_15_r20/frameworks/av/camera/ndk/impl/
H A DACameraManager.h155 struct Callback { struct
156 explicit Callback(const DeviceContext& deviceContext, in Callback() argument
166 explicit Callback(const DeviceContext& deviceContext, in Callback() function
213 ACameraManager_AvailabilityCallback mAvailable; argument
214 ACameraManager_AvailabilityCallback mUnavailable; argument
215 ACameraManager_AccessPrioritiesChangedCallback mAccessPriorityChanged; argument
216 ACameraManager_PhysicalCameraAvailabilityCallback mPhysicalCamAvailable; argument
217 ACameraManager_PhysicalCameraAvailabilityCallback mPhysicalCamUnavailable; argument
226 std::set<Callback> mCallbacks; argument
/aosp_15_r20/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp25 RefactoringCallback &Callback) { in expectRewritten()
42 ReplaceStmtWithText Callback("id", ";"); in TEST() local
49 ReplaceStmtWithText Callback("id", ";"); in TEST() local
56 ReplaceStmtWithText Callback("id", ";"); in TEST() local
63 ReplaceStmtWithText Callback("id", "2"); in TEST() local
71 ReplaceStmtWithStmt Callback("always-false", "should-be"); in TEST() local
82 ReplaceIfStmtWithItsBody Callback("id", true); in TEST() local
93 ReplaceIfStmtWithItsBody Callback("id", false); in TEST() local
/aosp_15_r20/external/rust/android-crates-io/crates/rayon/src/iter/
Dfold_chunks_with.rs104 struct Callback<CB, T, F> { in with_producer() struct
105 chunk_size: usize, in with_producer()
106 len: usize, in with_producer()
107 item: T, in with_producer()
108 fold_op: F, in with_producer()
109 callback: CB, in with_producer()
112 impl<T, U, F, CB> ProducerCallback<T> for Callback<CB, U, F> in with_producer() implementation
Dfold_chunks.rs106 struct Callback<CB, ID, F> { in with_producer() struct
107 chunk_size: usize, in with_producer()
108 len: usize, in with_producer()
109 identity: ID, in with_producer()
110 fold_op: F, in with_producer()
111 callback: CB, in with_producer()
114 impl<T, CB, ID, U, F> ProducerCallback<T> for Callback<CB, ID, F> in with_producer() implementation
Dlen.rs66 struct Callback<CB> { in with_producer() struct
67 callback: CB, in with_producer()
68 min: usize, in with_producer()
71 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
200 struct Callback<CB> { in with_producer() struct
201 callback: CB, in with_producer()
202 max: usize, in with_producer()
205 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dmap_with.rs90 struct Callback<CB, U, F> { in with_producer() struct
91 callback: CB, in with_producer()
92 item: U, in with_producer()
93 map_op: F, in with_producer()
96 impl<T, U, F, R, CB> ProducerCallback<T> for Callback<CB, U, F> in with_producer() implementation
419 struct Callback<CB, INIT, F> { in with_producer() struct
420 callback: CB, in with_producer()
421 init: INIT, in with_producer()
422 map_op: F, in with_producer()
425 impl<T, INIT, U, F, R, CB> ProducerCallback<T> for Callback<CB, INIT, F> in with_producer() implementation
Dstep_by.rs72 struct Callback<CB> { in with_producer() struct
73 callback: CB, in with_producer()
74 step: usize, in with_producer()
75 len: usize, in with_producer()
78 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dtake.rs67 struct Callback<CB> { in with_producer() struct
68 callback: CB, in with_producer()
69 n: usize, in with_producer()
72 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dskip.rs68 struct Callback<CB> { in with_producer() struct
69 callback: CB, in with_producer()
70 n: usize, in with_producer()
73 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Dchunks.rs77 struct Callback<CB> { in with_producer() struct
78 size: usize, in with_producer()
79 len: usize, in with_producer()
80 callback: CB, in with_producer()
83 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
Drev.rs63 struct Callback<CB> { in with_producer() struct
64 callback: CB, in with_producer()
65 len: usize, in with_producer()
68 impl<T, CB> ProducerCallback<T> for Callback<CB> in with_producer() implementation
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowBluetoothLeBroadcast.java105 int reason, Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStartFailed()
118 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStarted()
129 int reason, Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStopFailed()
142 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastStopped()
155 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastUpdateFailed()
168 Map<BluetoothLeBroadcast.Callback, Executor> callbackExecutorMap) { in sendOnBroadcastUpdated()
/aosp_15_r20/external/rust/android-crates-io/crates/gdbstub/src/target/ext/
Dlldb_register_info_override.rs13 pub struct Callback<'a> { struct
15 pub(crate) token: CallbackToken<'a>, argument
18 impl<'a> Callback<'a> { implementation
/aosp_15_r20/external/leveldb/util/
H A Denv_test.cc104 struct Callback { in TEST_F() struct
105 RunState* state_; // Pointer to shared state. in TEST_F()
106 const int id_; // Order# for the execution of this callback. in TEST_F()
108 Callback(RunState* s, int id) : state_(s), id_(id) {} in TEST_F() function
110 static void Run(void* arg) { in TEST_F()
/aosp_15_r20/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cc28 struct Callback : DDCallback { struct
29 ThreadState *thr;
30 uptr pc;
32 Callback(ThreadState *thr, uptr pc) in Callback() function
39 u32 Unwind() override { return CurrentStackId(thr, pc); } in Unwind()
40 int UniqueTid() override { return thr->unique_id; } in UniqueTid()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dinterpreter.cpp499 struct Callback { in runTemplate() struct
500 Callback( in runTemplate() function
509 void operator()(c10::ivalue::Future& /* unused */) { in runTemplate()
518 c10::intrusive_ptr<InterpreterStateImpl> stateImpl_; in runTemplate()
519 InterpreterState state_; in runTemplate()
520 Stack stack_; in runTemplate()
521 int64_t dist_autograd_context_id_; in runTemplate()
523 at::ThreadLocalState tls_state_; in runTemplate()
/aosp_15_r20/cts/tests/surfacecontrol/jni/
H A DChoreographerTestUtils.h57 struct Callback { struct
58 Callback(const char* name) : name(name) {} in Callback() function
64 struct VsyncCallback : Callback { argument
/aosp_15_r20/external/clang/test/Rewriter/
H A Drewrite-interface-locals.mm9 typedef void (^Callback)(NSData *data, NSError *error); category
11 - (void)doSomething:(NSData *)data callback:(Callback)callback; argument
16 - (void)doSomething:(NSData *)data callback:(Callback)callback { argument
/aosp_15_r20/system/tools/aidl/tests/
Daidl_test_client_nested.cpp53 struct Callback : INestedService::BnCallback { in TEST_F() struct
54 optional<NestedStatus> result; in TEST_F()
55 Status done(NestedStatus st) override { in TEST_F()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/ASTMatchers/
DASTMatchFinder.h304 internal::CollectMatchesCallback Callback; in match() local
320 internal::CollectMatchesCallback Callback; in match() local
330 internal::CollectMatchesCallback Callback; in matchDynamic() local
346 internal::CollectMatchesCallback Callback; in matchDynamic() local
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/ASTMatchers/
DASTMatchFinder.h304 internal::CollectMatchesCallback Callback; in match() local
320 internal::CollectMatchesCallback Callback; in match() local
330 internal::CollectMatchesCallback Callback; in matchDynamic() local
346 internal::CollectMatchesCallback Callback; in matchDynamic() local
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/ASTMatchers/
DASTMatchFinder.h304 internal::CollectMatchesCallback Callback; in match() local
320 internal::CollectMatchesCallback Callback; in match() local
330 internal::CollectMatchesCallback Callback; in matchDynamic() local
346 internal::CollectMatchesCallback Callback; in matchDynamic() local

12345678910>>...92