Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 28) sorted by relevance

12

/system/bt/gd/packet/
Dpython3_module.cc67 .def(py::init([](std::vector<uint8_t> bytes) { return std::make_unique<RawBuilder>(bytes); })) in PYBIND11_MODULE()
68 .def("Serialize", [](RawBuilder& builder) { in PYBIND11_MODULE()
87 .def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE()
92 .def("GetBytes", [](const PacketView<kLittleEndian> view) { in PYBIND11_MODULE()
99 …py::class_<PacketView<!kLittleEndian>>(m, "PacketViewBigEndian").def(py::init([](std::vector<uint8… in PYBIND11_MODULE()
109 .def(py::init<>()) in PYBIND11_MODULE()
110 .def("__repr__", [](const Address& a) { return a.ToString(); }) in PYBIND11_MODULE()
111 .def("__str__", [](const Address& a) { return a.ToString(); }); in PYBIND11_MODULE()
114 .def(py::init<>()) in PYBIND11_MODULE()
115 .def("__repr__", [](const ClassOfDevice& c) { return c.ToString(); }) in PYBIND11_MODULE()
[all …]
/system/core/fs_mgr/liblp/include/liblp/
Dmock_property_fetcher.h36 ON_CALL(*this, GetProperty(_, _)).WillByDefault(Invoke([](const auto&, const auto& def) { in MockPropertyFetcher()
37 return def; in MockPropertyFetcher()
39 ON_CALL(*this, GetBoolProperty(_, _)).WillByDefault(Invoke([](const auto&, auto def) { in MockPropertyFetcher()
40 return def; in MockPropertyFetcher()
/system/bt/gd/packet/parser/
Ddeclarations.h32 void AddTypeDef(std::string name, TypeDef* def) { in AddTypeDef() argument
37 type_defs_.insert(std::pair(name, def)); in AddTypeDef()
38 type_defs_queue_.push_back(std::pair(name, def)); in AddTypeDef()
50 void AddPacketDef(std::string name, PacketDef def) { in AddPacketDef() argument
55 packet_defs_.insert(std::pair(name, def)); in AddPacketDef()
56 packet_defs_queue_.push_back(std::pair(name, def)); in AddPacketDef()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
Dprofiling.gradle3 def abiFiltersForWrapScript = []
18 def exclude_abis = ["armeabi", "armeabi-v7a", "arm64-v8a",
41 def writeWrapScriptToFullyCompileJavaApp(wrapFile) {
50 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
52 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/
Dprofiling.gradle3 def abiFiltersForWrapScript = []
19 def exclude_abis = ["armeabi", "armeabi-v7a", "arm64-v8a",
42 def writeWrapScriptToFullyCompileJavaApp(wrapFile) {
51 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/
Dprofiling.gradle3 def abiFiltersForWrapScript = []
19 def exclude_abis = ["armeabi", "armeabi-v7a", "arm64-v8a",
42 def writeWrapScriptToFullyCompileJavaApp(wrapFile) {
51 def dir = new File("app/profiling_apk_add_dir/lib/" + abi)
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/tests/kernel.config/
Daslr_test.cpp159 unsigned int AslrMmapTest::def, AslrMmapTest::min, AslrMmapTest::max; member in AslrMmapTest
166 def = 32; in SetUpTestCase()
178 def = 16; in SetUpTestCase()
194 def = 24; in SetUpTestCase()
207 def = 16; in SetUpTestCase()
225 set_mmap_rnd_bits(def, false); in TearDown()
238 EXPECT_GE(def, calc_mmap_entropy(path, lib, 16)); in TEST_F()
Daslr_rec_test.cpp28 EXPECT_EQ(def, get_mmap_rnd_bits(false)); in TEST_F()
124 EXPECT_EQ(def, calc_mmap_entropy(path, lib, 16)); in TEST_F()
Daslr_test.h47 static unsigned int def, min, max; variable
/system/libhidl/transport/include/hidl/
DConcurrentMap.h39 const V &get(const K &k, const V &def) const { in get() argument
43 return def; in get()
72 const V& getLocked(const K& k, const V& def) const { in getLocked() argument
75 return def; in getLocked()
/system/core/llkd/tests/
Dllkd_test.cpp41 milliseconds GetUintProperty(const std::string& key, milliseconds def) { in GetUintProperty() argument
42 return milliseconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
43 static_cast<uint64_t>(def.max().count()))); in GetUintProperty()
46 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty() argument
47 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
48 static_cast<uint64_t>(def.max().count()))); in GetUintProperty()
/system/media/camera/docs/
Dhtml.mako113 def br(text):
118 def html_anchor(node):
123 def html_link(target, target_ndk, shortname):
140 def md_html(text):
144 def linkify_tags(metadata):
145 def linkify_filter(text):
151 def entry_cols(prop):
161 <%def name="insert_toc_body(node)">
172 </%def>
238 <%def name="insert_body(node)">
[all …]
Dmetadata_template.mako54 <%def name="insert_body(node)">
62 </%def>
64 <%def name="insert_namespace(namespace)">
68 </%def>
70 <%def name="insert_entry(prop)">
221 </%def>
DCameraMetadataEnums.mako27 <%def name="generate_enum(entry, target_class)">\
54 </%def>\
57 <%def name="single_kind_keys(xml_name, target_class)">\
85 </%def>\
DCameraMetadataKeys.mako29 <%def name="generate_key(entry)">\
73 </%def>\
76 <%def name="single_kind_keys(java_name, xml_name)">\
96 </%def>\
DACameraMetadata.mako19 <%def name="single_kind_keys(kind_name)">\
45 </%def>\
Dcamera_metadata_tags.mako31 def annotated_type(entry):
Dndk_camera_metadata_tags.mako47 def annotated_type(entry):
DHidlMetadata.mako18 def annotated_type(entry):
/system/core/llkd/
Dlibllkd.cpp205 dirent* read(enum level index = proc, dirent* def = nullptr) { in read() argument
206 if (!fill(index)) return def; in read()
580 milliseconds GetUintProperty(const std::string& key, milliseconds def) { in GetUintProperty() argument
581 return milliseconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
582 static_cast<uint64_t>(def.max().count()))); in GetUintProperty()
585 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty() argument
586 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
587 static_cast<uint64_t>(def.max().count()))); in GetUintProperty()
658 std::unordered_set<std::string> llkSplit(const std::string& prop, const std::string& def) { in llkSplit() argument
659 auto s = android::base::GetProperty(prop, def); in llkSplit()
[all …]
/system/core/init/
Dutil.cpp322 size_t def = prop_name.find(":-"); in ExpandProps() local
323 if (def < prop_name.size()) { in ExpandProps()
324 def_val = prop_name.substr(def + 2); in ExpandProps()
325 prop_name = prop_name.substr(0, def); in ExpandProps()
/system/core/fastboot/fuzzy_fastboot/
Dextensions.cpp87 bool def = false) { in XMLYesNo() argument
89 *res = def; in XMLYesNo()
/system/core/liblog/
Dproperties.cpp524 int __android_log_is_loggable_len(int prio, const char*, size_t, int def) { in __android_log_is_loggable_len() argument
525 return __android_log_is_loggable(prio, nullptr, def); in __android_log_is_loggable_len()
/system/keymaster/ng/include/
Dkeymaster_tags.h338 std::remove_reference_t<Wrapped> defaultOr(NullOr<Wrapped>&& optional, Default&& def) {
343 return def;
/system/extras/simpleperf/doc/
Dandroid_application_profiling.md89 def dir = new File("app/wrap_sh_lib_dir/lib/" + abi)
91 def wrapFile = new File(dir, "wrap.sh")

12