Searched refs:fn (Results 51 - 63 of 63) sorted by relevance

123

/system/extras/perfprofd/binder_interface/
H A Dperfprofd_binder.cc93 template <typename ProtoLoaderFn> Status StartProfilingProtobuf(ProtoLoaderFn fn);
184 Status PerfProfdNativeService::StartProfilingProtobuf(ProtoLoaderFn fn) { argument
186 if (!fn(proto_config)) {
/system/extras/verity/fec/
H A Dimage.cpp157 for (const auto& fn : filenames) {
158 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE));
161 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno));
H A Dmain.cpp192 for (const auto& fn : inp_filenames) {
193 INFO("\t%zu: '%s'\n", n++, fn.c_str());
/system/core/adb/
H A Dtransport.h225 // Stops iteration and returns false if fn returns false, otherwise returns true.
226 bool iterate_transports(std::function<bool(const atransport*)> fn);
H A Dtransport.cpp482 bool iterate_transports(std::function<bool(const atransport*)> fn) { argument
485 if (!fn(t)) {
490 if (!fn(t)) {
/system/tools/aidl/
H A Daidl.cpp78 string fn; local
82 if (!IoDelegate::GetAbsolutePath(filename, &fn)) {
102 len = fn.length();
106 p = fn.c_str() + (len - expected.length());
/system/core/init/
H A Dproperty_service.cpp570 char *key, *value, *eol, *sol, *tmp, *fn; local
599 fn = key + 7;
600 while (isspace(*fn)) fn++;
602 key = strchr(fn, ' ');
608 load_properties_from_file(fn, key);
H A Dutil.cpp246 const std::function<void(const std::string&, const std::string&, bool)>& fn) {
253 fn(pieces[0], pieces[1], in_qemu);
245 import_kernel_cmdline(bool in_qemu, const std::function<void(const std::string&, const std::string&, bool)>& fn) argument
H A Dinit.cpp133 void register_epoll_handler(int fd, void (*fn)()) { argument
136 ev.data.ptr = reinterpret_cast<void*>(fn);
/system/core/liblog/
H A Dpmsg_reader.c274 __android_log_pmsg_file_read_fn fn, void* arg) {
299 if (!fn) {
582 r = (*fn)(names->id, names->prio, names->name, buf, len, arg);
273 __android_log_pmsg_file_read(log_id_t logId, char prio, const char* prefix, __android_log_pmsg_file_read_fn fn, void* arg) argument
/system/netd/server/
H A DWakeupControllerTest.cpp63 MOCK_METHOD2(subscribe, netdutils::Status(uint16_t nfLogGroup, const DispatchFn& fn));
65 netdutils::Status(uint16_t nfLogGroup, uint32_t copyRange, const DispatchFn& fn));
/system/core/fastboot/
H A Dfastboot.cpp1226 static void do_send_signature(const std::string& fn) { argument
1227 std::size_t extension_loc = fn.find(".img");
1230 std::string fs_sig = fn.substr(0, extension_loc) + ".sig";
/system/core/liblog/tests/
H A Dliblog_test.cpp2828 static void create_android_logger(const char* (*fn)(uint32_t tag,
2847 const char* expected_string = (*fn)(1005, expected_len);

Completed in 223 milliseconds

123