/system/bt/gd/packet/ |
D | python3_module.cc | 67 .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/ |
D | mock_property_fetcher.h | 36 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/ |
D | declarations.h | 32 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/ |
D | profiling.gradle | 3 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/ |
D | profiling.gradle | 3 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/ |
D | profiling.gradle | 3 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/ |
D | aslr_test.cpp | 159 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()
|
D | aslr_rec_test.cpp | 28 EXPECT_EQ(def, get_mmap_rnd_bits(false)); in TEST_F() 124 EXPECT_EQ(def, calc_mmap_entropy(path, lib, 16)); in TEST_F()
|
D | aslr_test.h | 47 static unsigned int def, min, max; variable
|
/system/libhidl/transport/include/hidl/ |
D | ConcurrentMap.h | 39 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/ |
D | llkd_test.cpp | 41 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/ |
D | html.mako | 113 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 …]
|
D | metadata_template.mako | 54 <%def name="insert_body(node)"> 62 </%def> 64 <%def name="insert_namespace(namespace)"> 68 </%def> 70 <%def name="insert_entry(prop)"> 221 </%def>
|
D | CameraMetadataEnums.mako | 27 <%def name="generate_enum(entry, target_class)">\ 54 </%def>\ 57 <%def name="single_kind_keys(xml_name, target_class)">\ 85 </%def>\
|
D | CameraMetadataKeys.mako | 29 <%def name="generate_key(entry)">\ 73 </%def>\ 76 <%def name="single_kind_keys(java_name, xml_name)">\ 96 </%def>\
|
D | ACameraMetadata.mako | 19 <%def name="single_kind_keys(kind_name)">\ 45 </%def>\
|
D | camera_metadata_tags.mako | 31 def annotated_type(entry):
|
D | ndk_camera_metadata_tags.mako | 47 def annotated_type(entry):
|
D | HidlMetadata.mako | 18 def annotated_type(entry):
|
/system/core/llkd/ |
D | libllkd.cpp | 205 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/ |
D | util.cpp | 322 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/ |
D | extensions.cpp | 87 bool def = false) { in XMLYesNo() argument 89 *res = def; in XMLYesNo()
|
/system/core/liblog/ |
D | properties.cpp | 524 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/ |
D | keymaster_tags.h | 338 std::remove_reference_t<Wrapped> defaultOr(NullOr<Wrapped>&& optional, Default&& def) { 343 return def;
|
/system/extras/simpleperf/doc/ |
D | android_application_profiling.md | 89 def dir = new File("app/wrap_sh_lib_dir/lib/" + abi) 91 def wrapFile = new File(dir, "wrap.sh")
|