Home
last modified time | relevance | path

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

12

/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/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/media/camera/docs/
Dcamera_metadata_asserts.mako24 def annotated_enum_type(entry):
31 def aidl_namespace(path):
34 def aidl_camera_metadata_section(id):
37 def aidl_camera_metadata_section_start(id):
40 def aidl_camera_metadata_tag(id):
43 def aidl_enum_name(entry):
Dhtml.mako113 def br(text):
118 def html_anchor(node):
123 def html_link(target, target_ndk, shortname):
144 def md_html(text):
148 def linkify_tags(metadata):
149 def linkify_filter(text):
155 def entry_cols(prop):
165 <%def name="insert_toc_body(node)">
176 </%def>
242 <%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)">
229 </%def>
DCameraMetadataEnums.mako27 <%def name="generate_enum(entry, target_class)">\
60 </%def>\
63 <%def name="single_kind_keys(xml_name, target_class)">\
93 </%def>\
DCameraMetadataKeys.mako29 <%def name="generate_key(entry)">\
80 </%def>\
83 <%def name="single_kind_keys(java_name, xml_name)">\
103 </%def>\
DACameraMetadata.mako19 <%def name="single_kind_keys(kind_name)">\
45 </%def>\
DHidlMetadata.mako18 def annotated_type(entry):
28 def annotated_enum_type(entry):
Dndk_camera_metadata_asserts.mako29 def annotated_enum_type(entry):
Dcamera_metadata_tags.mako31 def annotated_type(entry):
Dndk_camera_metadata_tags.mako61 def annotated_type(entry):
/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/aidl/
DCameraMetadataEnum.mako18 def annotated_type(entry):
28 def annotated_enum_type(entry):
36 def val_id_to_literal(entry, id):
DCameraMetadataTag.mako18 def annotated_type(entry):
28 def annotated_enum_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/logging/liblog/
Dproperties.cpp310 int __android_log_is_loggable_len(int prio, const char*, size_t, int def) { in __android_log_is_loggable_len() argument
311 return __android_log_is_loggable(prio, nullptr, def); in __android_log_is_loggable_len()
/system/core/init/
Dutil.cpp317 size_t def = prop_name.find(":-"); in ExpandProps() local
318 if (def < prop_name.size()) { in ExpandProps()
319 def_val = prop_name.substr(def + 2); in ExpandProps()
320 prop_name = prop_name.substr(0, def); in ExpandProps()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h48 template<typename T> inline bool IsTheSameAs(T e, T def) { return e == def; } in IsTheSameAs() argument
53 template<typename T> inline bool IsFloatTheSameAs(T e, T def) { in IsFloatTheSameAs() argument
54 return (e == def) || ((def != def) && (e != e)); in IsFloatTheSameAs()
56 template<> inline bool IsTheSameAs<float>(float e, float def) {
57 return IsFloatTheSameAs(e, def);
59 template<> inline bool IsTheSameAs<double>(double e, double def) {
60 return IsFloatTheSameAs(e, def);
1361 template<typename T> void AddElement(voffset_t field, T e, T def) {
1363 if (IsTheSameAs(e, def) && !force_defaults_) return;
2546 template<typename T> bool SetField(voffset_t field, T val, T def) {
[all …]
/system/core/fastboot/fuzzy_fastboot/
Dextensions.cpp87 bool def = false) { in XMLYesNo() argument
89 *res = def; in XMLYesNo()
/system/keymaster/ng/include/
Dkeymaster_tags.h336 std::remove_reference_t<Wrapped> defaultOr(NullOr<Wrapped>&& optional, Default&& def) {
341 return def;
/system/extras/simpleperf/doc/
Dandroid_application_profiling.md74 def dir = new File("app/wrap_sh_lib_dir/lib/" + abi)
76 def wrapFile = new File(dir, "wrap.sh")

12