Searched refs:func (Results 1 - 25 of 103) sorted by relevance

12345

/frameworks/rs/tests/lldb/tests/harness/
H A Ddecorators.py44 def __call__(self, func):
45 @functools.wraps(func)
53 print("skipping %r - %s" % (func, self._message))
55 return func(args[0])
75 def wimpy(func):
81 func.wimpy = True
83 return func
91 def __call__(self, func):
92 func.test_order = self._order
93 return func
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_agree.rs46 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \
47 volatile type func##_rand_##abbrev##1_##abbrev##1; \
48 volatile type##2 func##_rand_##abbrev##2_##abbrev##2; \
49 volatile type##3 func##_rand_##abbrev##3_##abbrev##3; \
50 volatile type##4 func##_rand_##abbrev##4_##abbrev##4;
51 #define DECLARE_REFERENCE_SET_VEC_SCL(type, abbrev, func) \
52 volatile type##2 func##_rand_##abbrev##2_##abbrev##1; \
53 volatile type##3 func##_rand_##abbrev##3_##abbrev##1; \
54 volatile type##4 func##_rand_##abbrev##4_##abbrev##1;
56 #define DECLARE_ALL_REFERENCE_SETS_VEC_VEC(func) \
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dbuilder.cpp32 FunctionDefinition *func, const char *name) {
33 return new EntryPointDefinition(this, execModel, func, name);
43 FunctionInst *func = MakeFunction(retType, ctrl, funcType); local
45 return new FunctionDefinition(this, func, end);
31 MakeEntryPointDefinition(ExecutionModel execModel, FunctionDefinition *func, const char *name) argument
H A Dbuilder.h30 FunctionDefinition *func,
/frameworks/wilhelm/src/
H A Dassert.cpp30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
33 failedexpr, file, line, func);
/frameworks/base/libs/hwui/thread/
H A DWorkQueue.h84 void postAt(nsecs_t time, F&& func) { argument
85 enqueue(WorkItem{time, std::function<void()>(std::forward<F>(func))});
89 void postDelayed(nsecs_t delay, F&& func) { argument
90 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))});
94 void post(F&& func) { argument
95 postAt(0, std::forward<F>(func));
99 auto async(F&& func) -> std::future<decltype(func())> {
100 typedef std::packaged_task<decltype(func())()> task_t;
101 auto task = std::make_shared<task_t>(std::forward<F>(func));
107 auto runSync(F&& func) -> decltype(func()) { function in class:android::uirenderer::WorkQueue
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/textservice/
H A DLazyIntToIntMapTest.java42 final IntUnaryOperator func = mock(IntUnaryOperator.class);
43 when(func.applyAsInt(eq(1))).thenReturn(11);
44 when(func.applyAsInt(eq(2))).thenReturn(22);
46 final LazyIntToIntMap map = new LazyIntToIntMap(func);
48 verify(func, never()).applyAsInt(anyInt());
51 verify(func, times(0)).applyAsInt(eq(1));
52 verify(func, times(1)).applyAsInt(eq(2));
56 verify(func, times(0)).applyAsInt(eq(1));
57 verify(func, times(1)).applyAsInt(eq(2));
/frameworks/base/tools/aapt2/
H A DFlags.cpp34 auto func = [value](const StringPiece& arg) -> bool { local
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
46 auto func = [value](const StringPiece& arg) -> bool { local
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
58 auto func = [value](const StringPiece& arg) -> bool { local
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false});
70 auto func = [value](const StringPiece& arg) -> bool { local
75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false});
82 auto func = [value](const StringPiece& arg) -> bool { local
87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, fals
93 auto func = [value](const StringPiece& arg) -> bool { local
[all...]
/frameworks/native/include/binder/
H A DDebug.h34 debugPrintFunc func = 0, void* cookie = 0);
39 debugPrintFunc func = 0, void* cookie = 0);
H A DBpBinder.h60 object_cleanup_func func);
86 IBinder::object_cleanup_func func);
100 IBinder::object_cleanup_func func; member in struct:android::BpBinder::ObjectManager::entry_t
H A DTextOutput.h78 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
170 inline TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func) argument
172 return (*func)(to);
/frameworks/native/libs/binder/include/binder/
H A DDebug.h34 debugPrintFunc func = 0, void* cookie = 0);
39 debugPrintFunc func = 0, void* cookie = 0);
H A DBpBinder.h60 object_cleanup_func func);
86 IBinder::object_cleanup_func func);
100 IBinder::object_cleanup_func func; member in struct:android::BpBinder::ObjectManager::entry_t
H A DTextOutput.h78 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
170 inline TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func) argument
172 return (*func)(to);
/frameworks/rs/tests/lldb/tests/testcases/
H A Dreduce_common.py82 for func, typename in funcname_types:
86 if not func.endswith(".combiner"):
92 expected_regex=[breakpoint_match % (script_soname, func)]
100 script_soname, func)
/frameworks/native/cmds/lshal/
H A DTimeout.h32 BackgroundTaskState(std::function<void(void)> &&func) argument
33 : mFunc(std::forward<decltype(func)>(func)) {}
64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { argument
66 BackgroundTaskState state{std::forward<decltype(func)>(func)};
82 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, argument
86 auto boundFunc = std::bind(std::forward<Function>(func),
99 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { argument
100 return timeoutIPC(IPC_CALL_WAIT, interfaceObject, func, arg
[all...]
/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp32 test_func func; member in struct:Test
90 t->result = t->func();
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : argument
25 mClosure(closure), mSi(si), mFunc(func) {}
H A DrsCpuRuntimeMath.cpp30 #define EXPORT_F32_FN_F32(func) \
31 float __attribute__((overloadable)) SC_##func(float v) { \
32 return func(v); \
35 #define EXPORT_F32_FN_F32_F32(func) \
36 float __attribute__((overloadable)) SC_##func(float t, float v) { \
37 return func(t, v); \
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerCallback.java44 static void dispatch(RunnableThrowingRemoteException func) { argument
46 func.run();
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
H A DBasePerfTest.java91 protected void runPerfFunction(LongSupplier func) { argument
96 elapsedTimeNs = func.getAsLong();
/frameworks/native/cmds/servicemanager/
H A Dbinder.h26 void (*func)(struct binder_state *bs, void *ptr); member in struct:binder_death
73 void binder_loop(struct binder_state *bs, binder_handler func);
/frameworks/base/native/android/
H A Dstorage_manager.cpp73 ObbCallback* registerObbCallback(AStorageManager_obbCallbackFunc func, void* data) { argument
74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data);
128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, argument
137 ObbCallback* cb = registerObbCallback(func, data);
144 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument
145 ObbCallback* cb = registerObbCallback(func, data);
/frameworks/base/libs/hwui/renderthread/
H A DCacheManager.cpp92 std::function<void()> func; member in struct:android::uirenderer::renderthread::CacheManager::SkiaTaskProcessor::SkiaTask
95 virtual void add(std::function<void(void)> func) override {
97 task->func = func;
103 t->func();
H A DCanvasContext.h185 ANDROID_API void enqueueFrameWork(std::function<void()>&& func);
193 void addFrameCompleteListener(std::function<void(int64_t)>&& func) { argument
194 mFrameCompleteCallbacks.push_back(std::move(func));
267 std::function<void()> func; member in struct:android::uirenderer::renderthread::CanvasContext::FuncTask

Completed in 279 milliseconds

12345