Searched defs:func (Results 1 - 25 of 66) sorted by relevance

123

/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/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DTransformations.java36 * The given function {@code func} will be executed on the main thread.
39 * @param func a function to apply
45 public static <X, Y> LiveData<Y> map(LiveData<X> source, final Function<X, Y> func) { argument
50 result.setValue(func.apply(x));
67 * The given function {@code func} will be executed on the main thread.
70 * @param func a function which creates "backing" LiveData
76 final Function<X, LiveData<Y>> func) {
83 LiveData<Y> newLiveData = func.apply(x);
75 switchMap(LiveData<X> trigger, final Function<X, LiveData<Y>> func) argument
/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp32 test_func func; member in struct:Test
90 t->result = t->func();
/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
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainerController.java67 boolean checkCallingPermission(String permission, String func) { argument
68 return mService.checkCallingPermission(permission, func);
/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/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/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/native/include/binder/
H A DBpBinder.h55 object_cleanup_func func);
73 IBinder::object_cleanup_func func);
87 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 DBpBinder.h55 object_cleanup_func func);
73 IBinder::object_cleanup_func func);
87 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/cpu_ref/
H A DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : argument
25 mClosure(closure), mSi(si), mFunc(func) {}
/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DTunerCallback.java64 private void dispatch(RunnableThrowingRemoteException func) { argument
66 func.run();
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp63 friend inline Formatter& operator<<(Formatter& to, FormaterManipFunc func) { argument
64 return (*func)(to);
/frameworks/rs/cpp/
H A DRenderScript.cpp270 void RS::setErrorHandler(ErrorHandlerFunc_t func) { argument
271 mErrorFunc = func;
274 void RS::setMessageHandler(MessageHandlerFunc_t func) { argument
275 mMessageFunc = func;
/frameworks/rs/rsov/compiler/
H A DBuiltin.cpp333 FunctionInst *func = local
337 // const char *name = func->getName();
338 const char *name = getModule()->lookupNameByInstruction(func);
H A DGlobalAllocSPIRITPass.cpp142 FunctionInst *func = local
144 const char *name = getModule()->lookupNameByInstruction(func);
/frameworks/av/media/libstagefright/
H A DMediaExtractor.cpp261 void MediaExtractor::RegisterSniffer_l(SnifferFunc func) { argument
264 if (*it == func) {
269 gSniffers.push_back(func);
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.h191 ANDROID_API void enqueueFrameWork(std::function<void()>&& func);
268 std::function<void()> func; member in struct:android::uirenderer::renderthread::CanvasContext::FuncTask
/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/compile/libbcc/lib/
H A DRSScriptGroupFusion.cpp44 Function* func = newModule->getFunction(functionName); local
47 newModule->materialize(func);
48 return func;
/frameworks/native/libs/binder/
H A DBinder.cpp161 object_cleanup_func func)
178 e->mObjects.attach(objectID, object, cleanupCookie, func);
159 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
H A DBpBinder.cpp46 IBinder::object_cleanup_func func)
51 e.func = func;
80 if (e.func != NULL) {
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie);
288 object_cleanup_func func)
292 mObjects.attach(objectID, object, cleanupCookie, func);
44 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument
286 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
H A DDebug.cpp150 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) argument
155 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer);
161 debugPrintFunc func, void* cookie)
168 if (func == NULL) func = defaultPrintFunc;
175 if (singleLineBytesCutoff < 0) func(cookie, "\n");
176 func(cookie, "(NULL)");
181 if (singleLineBytesCutoff < 0) func(cookie, "\n");
182 func(cooki
158 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument
[all...]

Completed in 8974 milliseconds

123