/system/tools/hidl/host_utils/include/hidl-util/ |
D | Formatter.h | 46 Formatter& indent(size_t level, const std::function<void(void)>& func); 52 Formatter& indent(const std::function<void(void)>& func); 66 Formatter& block(const std::function<void(void)>& func); 79 Formatter& sIf(const std::string& cond, const std::function<void(void)>& block); 80 Formatter& sElseIf(const std::string& cond, const std::function<void(void)>& block); 81 Formatter& sElse(const std::function<void(void)>& block); 86 Formatter& sFor(const std::string& stmts, const std::function<void(void)>& block); 96 Formatter& sTry(const std::function<void(void)>& block); 97 Formatter& sCatch(const std::string& exception, const std::function<void(void)>& block); 98 Formatter& sFinally(const std::function<void(void)>& block); [all …]
|
/system/core/init/ |
D | test_function_map.h | 32 using BuiltinFunctionNoArgs = std::function<void(void)>; 33 void Add(const std::string& name, const BuiltinFunctionNoArgs function) { in Add() argument 34 Add(name, 0, 0, false, [function](const BuiltinArguments&) { in Add() 35 function(); in Add() 41 bool run_in_subcontext, const BuiltinFunction function) { in Add() argument 43 make_tuple(min_parameters, max_parameters, make_pair(run_in_subcontext, function)); in Add()
|
/system/extras/simpleperf/ |
D | workload.h | 39 static std::unique_ptr<Workload> CreateWorkload(const std::function<void ()>& function); 55 void SetKillFunction(const std::function<void (pid_t)>& kill_function) { in SetKillFunction() 60 explicit Workload(const std::vector<std::string>& args, const std::function<void ()>& function); 69 std::function<void ()> child_proc_function_; 73 std::function<void (pid_t)> kill_function_;
|
D | IOEventLoop.h | 45 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback); 49 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback); 53 bool AddSignalEvent(int sig, const std::function<bool()>& callback); 57 const std::function<bool()>& callback); 61 IOEventRef AddPeriodicEvent(timeval duration, const std::function<bool()>& callback); 81 const std::function<bool()>& callback);
|
D | InplaceSamplerClient.h | 36 bool StartPolling(IOEventLoop& loop, const std::function<bool(Record*)>& record_callback, 37 const std::function<bool()>& close_callback); 38 bool StopProfiling(IOEventLoop& loop, const std::function<bool()>& close_callback); 51 std::function<bool(Record*)> record_callback_;
|
D | IOEventLoop.cpp | 28 std::function<bool()> callback; 31 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) in IOEvent() 113 const std::function<bool()>& callback) { in AddReadEvent() 121 const std::function<bool()>& callback) { in AddWriteEvent() 129 const std::function<bool()>& callback) { in AddSignalEvent() 134 const std::function<bool()>& callback) { in AddSignalEvents() 143 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback) { in AddPeriodicEvent() 148 const std::function<bool()>& callback) { in AddEvent()
|
D | workload.cpp | 29 std::unique_ptr<Workload> workload(new Workload(args, std::function<void ()>())); in CreateWorkload() 36 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void ()>& function) { in CreateWorkload() argument 37 std::unique_ptr<Workload> workload(new Workload(std::vector<std::string>(), function)); in CreateWorkload() 54 Workload::Workload(const std::vector<std::string>& args, const std::function<void ()>& function) in Workload() argument 57 child_proc_function_(function), in Workload()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_model.h | 35 TestModel(std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> evtScheduler, 36 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 38 …std::function<void(AsyncTaskId)> cancel, std::function<int(const std::string&, int)> connect_to_re… 87 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> schedule_task_; 88 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 90 std::function<void(AsyncTaskId)> cancel_task_; 91 std::function<int(const std::string&, int)> connect_to_remote_;
|
D | test_channel_transport.h | 49 …void RegisterCommandHandler(const std::function<void(const std::string&, const std::vector<std::st… 54 void OnCommandReady(int fd, std::function<void(void)> unwatch); 57 std::function<void(const std::string&, const std::vector<std::string>&)> command_handler_;
|
/system/extras/simpleperf/scripts/ |
D | report_html.py | 155 function = lib.get_function(func_id) 156 function.subtree_event_count += event_count 159 function.event_count += event_count 160 function.sample_count += 1 162 function.build_addr_hit_map(addr, event_count if i == 0 else 0, event_count) 181 for function in lib.functions.values(): 182 if function.subtree_event_count < min_func_limit: 183 to_del_funcs.append(function.func_id) 185 hit_func_ids.add(function.func_id) 212 function = self.functions.get(func_id) [all …]
|
D | pprof_proto_generator.py | 78 for i in range(len(p.function)): 80 self.show_function(p.function[i], sub_space) 151 function = self.profile.function[function_id - 1] 152 self.show_function(function, space) 154 def show_function(self, function, space=''): argument 155 print('%sid: %d' % (space, function.id)) 156 print('%sname: %s' % (space, self.string(function.name))) 157 print('%ssystem_name: %s' % (space, self.string(function.system_name))) 158 print('%sfilename: %s' % (space, self.string(function.filename))) 159 print('%sstart_line: %d' % (space, function.start_line)) [all …]
|
/system/tools/hidl/host_utils/ |
D | Formatter.cpp | 49 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { in indent() 56 Formatter& Formatter::indent(const std::function<void(void)>& func) { in indent() 60 Formatter& Formatter::block(const std::function<void(void)>& func) { in block() 78 Formatter& Formatter::sIf(const std::string& cond, const std::function<void(void)>& block) { in sIf() 83 Formatter& Formatter::sElseIf(const std::string& cond, const std::function<void(void)>& block) { in sElseIf() 88 Formatter& Formatter::sElse(const std::function<void(void)>& block) { in sElse() 93 Formatter& Formatter::sFor(const std::string& stmts, const std::function<void(void)>& block) { in sFor() 98 Formatter& Formatter::sTry(const std::function<void(void)>& block) { in sTry() 103 Formatter& Formatter::sCatch(const std::string& exception, const std::function<void(void)>& block) { in sCatch() 108 Formatter& Formatter::sFinally(const std::function<void(void)>& block) { in sFinally() [all …]
|
/system/core/libbacktrace/testdata/arm/ |
D | offline_testdata_for_libart | 5 function: start: 3a2121 end: 3a217a name: art_quick_invoke_stub_internal 6 function: start: 3a66a5 end: 3a6787 name: art_quick_invoke_static_stub 7 function: start: a7129 end: a72f1 name: art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigne… 8 function: start: 2fbd35 end: 2fc789 name: art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRun… 9 function: start: 2fcf75 end: 2fd88d name: art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable … 10 function: start: 2a089d end: 2a08bb name: art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobje…
|
/system/connectivity/wificond/ |
D | looper_backed_event_loop.cpp | 27 explicit EventLoopCallback(const std::function<void()>& callback) in EventLoopCallback() 38 const std::function<void()> callback_; 45 explicit WatchFdCallback(const std::function<void(int)>& callback) in WatchFdCallback() 60 const std::function<void(int)> callback_; 79 void LooperBackedEventLoop::PostTask(const std::function<void()>& callback) { in PostTask() 86 const std::function<void()>& callback, in PostDelayedTask() 95 const std::function<void(int)>& callback) { in WatchFileDescriptor()
|
D | event_loop.h | 37 virtual void PostTask(const std::function<void()>& callback) = 0; 42 virtual void PostDelayedTask(const std::function<void()>& callback, 53 const std::function<void(int)>& callback_) = 0;
|
D | looper_backed_event_loop.h | 34 void PostTask(const std::function<void()>& callback) override; 37 void PostDelayedTask(const std::function<void()>& callback, 43 const std::function<void(int)>& callback) override;
|
/system/netd/libnetdutils/ |
D | LogTest.cpp | 22 return android::netdutils::LogEntry().function(__FUNCTION__); in globalFunctionName() 35 return LogEntry().function(__FUNCTION__); in functionName() 49 return LogEntry().function(__FUNCTION__); in functionName() 61 return LogEntry().function(__FUNCTION__); in functionName() 115 .function("testFunc") in TEST() 124 .function("testFunc") in TEST() 133 const LogEntry entry = LogEntry().function("testFunc").arg(buf); in TEST() 138 const LogEntry entry = LogEntry().function("testFunc").args("hello", 42, false); in TEST()
|
/system/netd/client/ |
D | NetdClient.cpp | 316 extern "C" void netdClientInitAccept4(Accept4FunctionType* function) { in netdClientInitAccept4() argument 317 if (function && *function) { in netdClientInitAccept4() 318 libcAccept4 = *function; in netdClientInitAccept4() 319 *function = netdClientAccept4; in netdClientInitAccept4() 323 extern "C" void netdClientInitConnect(ConnectFunctionType* function) { in netdClientInitConnect() argument 324 if (function && *function) { in netdClientInitConnect() 325 libcConnect = *function; in netdClientInitConnect() 326 *function = netdClientConnect; in netdClientInitConnect() 330 extern "C" void netdClientInitSocket(SocketFunctionType* function) { in netdClientInitSocket() argument 331 if (function && *function) { in netdClientInitSocket() [all …]
|
/system/connectivity/wificond/scanning/offload/ |
D | hidl_call_util.h | 38 struct functionArgSaver<std::function<void(ArgT)>> final { 42 std::function<void(ArgT)> saveArgs = [this](ArgT arg) { 54 struct functionArgSaver<std::function<void(Arg1T, Arg2T)>> final { 61 std::function<void(Arg1T, Arg2T)> saveArgs = [this](Arg1T arg1, Arg2T arg2) { 73 struct functionArgSaver<std::function<void(ArgT...)>> final { 77 std::function<void(ArgT...)> saveArgs = [this](ArgT... arg) {
|
/system/security/keystore/ |
D | keymaster_worker.h | 128 struct MakeKeymasterWorkerCB<ErrorType, std::function<void(Args...)>> { 129 using type = std::function<void(ErrorType, std::tuple<std::decay_t<Args>...>&&)>; 133 using type = std::function<void(ErrorType)>; 146 void unwrap_tuple(KMFn kmfn, std::function<void(ErrorType)> cb, 153 void unwrap_tuple(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb, 163 void addRequest(KMFn kmfn, std::function<void(ErrorType)> cb, Args&&... args) { 171 void addRequest(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb, 212 using worker_begin_cb = std::function<void(::android::security::keymaster::OperationResult)>; 217 using update_cb = std::function<void(::android::security::keymaster::OperationResult)>; 221 using finish_cb = std::function<void(::android::security::keymaster::OperationResult)>; [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.h | 83 …void RegisterEventChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_e… 85 …void RegisterAclChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_acl… 87 …void RegisterScoChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_sco… 90 …const std::function<void(std::shared_ptr<packets::LinkLayerPacketBuilder>, Phy::Type)>& send_to_re… 94 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> event_scheduler); 97 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 100 void RegisterTaskCancel(std::function<void(AsyncTaskId)> cancel); 216 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> schedule_task_; 217 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 219 std::function<void(AsyncTaskId)> cancel_task_; [all …]
|
D | dual_mode_controller.h | 76 …void RegisterTaskScheduler(std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback… 79 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 82 void RegisterTaskCancel(std::function<void(AsyncTaskId)> cancel); 85 …void RegisterEventChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_e… 87 …void RegisterAclChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_acl… 89 …void RegisterScoChannel(const std::function<void(std::shared_ptr<std::vector<uint8_t>>)>& send_sco… 388 std::function<void(std::shared_ptr<std::vector<uint8_t>>)> send_acl_; 389 std::function<void(std::shared_ptr<std::vector<uint8_t>>)> send_event_; 390 std::function<void(std::shared_ptr<std::vector<uint8_t>>)> send_sco_; 395 std::unordered_map<uint16_t, std::function<void(packets::PacketView<true>)>> active_hci_commands_;
|
/system/media/audio_utils/include/audio_utils/ |
D | Balance.h | 48 std::function<float(float)> curve = [](float x) { return x * (x + 0.2f); }) 143 static std::function<T(T)> normalize(std::function<T(T)> f) { in normalize() 173 const std::function<float(float)> mCurve; // monotone volume transfer func [0, 1] -> [0, 1]
|
/system/connectivity/wificond/net/ |
D | netlink_manager.h | 62 typedef std::function<void( 75 typedef std::function<void( 87 typedef std::function<void( 104 typedef std::function<void( 117 typedef std::function<void( 125 typedef std::function<void( 149 std::function<void(std::unique_ptr<const NL80211Packet>)> handler); 306 std::function<void(std::unique_ptr<const NL80211Packet>)>> message_handlers_;
|
/system/extras/perfprofd/ |
D | perfprofdcore.h | 73 using HandlerFn = std::function<bool(android::perfprofd::PerfprofdRecord* proto, 77 void ProfilingLoop(std::function<Config*()> config_fn, 78 std::function<void()> update_fn,
|