/system/update_engine/payload_generator/ |
D | payload_properties.cc | 60 base::DictionaryValue properties; in GetPropertiesAsJson() local 61 properties.SetInteger(kPayloadPropertyJsonVersion, version_); in GetPropertiesAsJson() 62 properties.SetInteger(kPayloadPropertyJsonMetadataSize, metadata_size_); in GetPropertiesAsJson() 63 properties.SetString(kPayloadPropertyJsonMetadataSignature, in GetPropertiesAsJson() 65 properties.SetInteger(kPayloadPropertyJsonPayloadSize, payload_size_); in GetPropertiesAsJson() 66 properties.SetString(kPayloadPropertyJsonPayloadHash, payload_hash_); in GetPropertiesAsJson() 67 properties.SetBoolean(kPayloadPropertyJsonIsDelta, is_delta_); in GetPropertiesAsJson() 68 properties.SetString(kPayloadPropertyJsonTargetVersion, target_version_); in GetPropertiesAsJson() 70 properties.SetString(kPayloadPropertyJsonSourceVersion, source_version_); in GetPropertiesAsJson() 73 return base::JSONWriter::Write(properties, json_str); in GetPropertiesAsJson() [all …]
|
/system/tools/hidl/build/ |
D | hidl_interface.go | 140 if t.properties.Language == "inheritance-hierarchy" { 144 additionalInterfaces = append(additionalInterfaces, t.properties.Interfaces...) 181 if t.properties.Language == "lint" { 222 properties hidlGenProperties member 235 for _, input := range g.properties.Inputs { 240 for _, src := range g.properties.Inputs { 246 switch g.properties.Language { 254 for _, output := range g.properties.Outputs { 259 if g.properties.Language == "vts" && isVtsSpecPackage(ctx.ModuleName()) { 271 extraOptions = append(extraOptions, t.properties.Full_root_option) [all …]
|
D | hidl_package_root.go | 40 properties struct { member 61 return "-r" + r.Name() + ":" + *r.properties.Path 69 return proptools.BoolDefault(r.properties.Require_frozen, false) 95 if r.properties.Path == nil { 96 r.properties.Path = proptools.StringPtr(ctx.ModuleDir()) 99 if proptools.BoolDefault(r.properties.Use_current, false) { 100 if *r.properties.Path != ctx.ModuleDir() { 104 "the path of hidl_package_root.", *r.properties.Path, ctx.ModuleDir()) 124 r.AddProperties(&r.properties)
|
/system/update_engine/update_manager/ |
D | real_shill_provider.cc | 49 brillo::VariantDictionary properties; in Init() local 51 if (!manager_proxy->GetProperties(&properties, &error)) in Init() 55 properties.find(shill::kDefaultServiceProperty); in Init() 56 if (prop_default_service != properties.end()) { in Init() 113 brillo::VariantDictionary properties; in ProcessDefaultService() local 115 if (!service->GetProperties(&properties, &error)) { in ProcessDefaultService() 122 const auto& prop_tethering = properties.find(shill::kTetheringProperty); in ProcessDefaultService() 123 if (prop_tethering == properties.end()) { in ProcessDefaultService() 139 const auto& prop_type = properties.find(shill::kTypeProperty); in ProcessDefaultService() 140 if (prop_type == properties.end()) { in ProcessDefaultService() [all …]
|
/system/tools/aidl/build/ |
D | aidl_interface.go | 304 properties aidlGenProperties member 322 srcs, imports := getPaths(ctx, g.properties.Srcs) 335 importPaths = append(importPaths, importedAidl.properties.Full_import_paths...) 385 baseDir := getBaseDir(ctx, src, android.PathForModuleSrc(ctx, g.properties.AidlRoot)) 388 if g.properties.Lang == langJava { 398 if g.properties.Version != "" { 399 optionalFlags = append(optionalFlags, "--version "+g.properties.Version) 413 if g.properties.GenTrace { 416 if g.properties.Stability != nil { 417 optionalFlags = append(optionalFlags, "--stability", *g.properties.Stability) [all …]
|
/system/libbase/ |
D | properties_test.cpp | 32 TEST(properties, smoke) { in TEST() argument 49 TEST(properties, too_long) { in TEST() argument 70 TEST(properties, empty_key) { in TEST() argument 75 TEST(properties, empty_value) { in TEST() argument 88 TEST(properties, GetBoolProperty_true) { in TEST() argument 96 TEST(properties, GetBoolProperty_false) { in TEST() argument 104 TEST(properties, GetBoolProperty_default) { in TEST() argument 147 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() argument 148 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() argument 149 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() argument [all …]
|
/system/update_engine/ |
D | connection_manager.cc | 144 brillo::VariantDictionary properties; in GetDefaultServicePath() local 149 TEST_AND_RETURN_FALSE(manager_proxy->GetProperties(&properties, &error)); in GetDefaultServicePath() 152 properties.find(shill::kDefaultServiceProperty); in GetDefaultServicePath() 153 if (prop_default_service == properties.end()) in GetDefaultServicePath() 168 brillo::VariantDictionary properties; in GetServicePathProperties() local 170 TEST_AND_RETURN_FALSE(service->GetProperties(&properties, &error)); in GetServicePathProperties() 173 const auto& prop_tethering = properties.find(shill::kTetheringProperty); in GetServicePathProperties() 174 if (prop_tethering == properties.end()) { in GetServicePathProperties() 185 const auto& prop_type = properties.find(shill::kTypeProperty); in GetServicePathProperties() 186 if (prop_type == properties.end()) { in GetServicePathProperties() [all …]
|
/system/core/toolbox/ |
D | getprop.cpp | 28 using android::properties::PropertyInfoAreaFile; 39 std::vector<std::pair<std::string, std::string>> properties; in PrintAllProperties() local 45 auto properties = in PrintAllProperties() local 47 properties->emplace_back(name, value); in PrintAllProperties() 51 &properties); in PrintAllProperties() 53 std::sort(properties.begin(), properties.end()); in PrintAllProperties() 56 for (auto& [name, value] : properties) { in PrintAllProperties() 68 for (const auto& [name, value] : properties) { in PrintAllProperties()
|
/system/timezone/distro/tools/ |
D | create-distro.py | 57 with open(properties_file, "w") as properties: 58 properties.write('rules.version=%s\n' % iana_version) 59 properties.write('revision=%s\n' % revision) 60 properties.write('tzdata.file=%s\n' % tzdata_file) 61 properties.write('icu.file=%s\n' % icu_file) 62 properties.write('tzlookup.file=%s\n' % tzlookup_file) 63 properties.write('telephonylookup.file=%s\n' % telephonylookup_file) 64 properties.write('output.distro.dir=%s\n' % output_distro_dir) 65 properties.write('output.version.file=%s\n' % output_version_file)
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 85 Properties properties = loadProperties(f); in main() local 86 String ianaRulesVersion = getMandatoryProperty(properties, "rules.version"); in main() 87 int revision = Integer.parseInt(getMandatoryProperty(properties, "revision")); in main() 105 .setTzDataFile(getMandatoryPropertyFile(properties, "tzdata.file")) in main() 106 .setIcuDataFile(getMandatoryPropertyFile(properties, "icu.file")) in main() 107 .setTzLookupFile(getMandatoryPropertyFile(properties, "tzlookup.file")) in main() 109 getMandatoryPropertyFile(properties, "telephonylookup.file")); in main() 112 File outputDistroDir = getMandatoryPropertyFile(properties, "output.distro.dir"); in main() 113 File outputVersionFile = new File(getMandatoryProperty(properties, "output.version.file")); in main()
|
/system/server_configurable_flags/libflags/ |
D | server_configurable_flags_test.cc | 106 std::vector<std::string> properties = Split(content, ";"); in TEST() local 107 ASSERT_EQ((unsigned long)3, properties.size()); in TEST() 111 ASSERT_EQ(true, contains(properties, prop1)); in TEST() 112 ASSERT_EQ(true, contains(properties, prop2)); in TEST() 113 ASSERT_EQ(true, contains(properties, prop3)); in TEST() 139 std::vector<std::string> properties = Split(content, ";"); in TEST() local 140 ASSERT_EQ((unsigned long)3, properties.size()); in TEST() 144 ASSERT_EQ(true, contains(properties, prop1)); in TEST() 145 ASSERT_EQ(true, contains(properties, prop2)); in TEST() 146 ASSERT_EQ(true, contains(properties, prop3)); in TEST()
|
/system/sepolicy/build/soong/ |
D | cil_compat_map.go | 53 c.AddProperties(&c.properties) 74 properties cilCompatMapProperties member 127 srcFiles := expandSeSources(ctx, c.properties.Bottom_half) 164 android.ExtractSourcesDeps(ctx, c.properties.Bottom_half) 165 if c.properties.Top_half != nil { 166 ctx.AddDependency(c, TopHalfDepTag, String(c.properties.Top_half)) 177 if c.properties.Stem != nil { 178 fmt.Fprintln(w, "LOCAL_INSTALLED_MODULE_STEM :=", String(c.properties.Stem))
|
D | selinux_contexts.go | 75 properties selinuxContextsProperties member 102 return m.properties.InRecovery || m.ModuleBase.InstallInRecovery() 171 if proptools.Bool(m.properties.Reqd_mask) { 176 for _, src := range m.properties.Srcs { 190 &m.properties, 204 srcs = append(srcs, m.properties.Product_variables.Debuggable.Srcs...) 209 srcs = append(srcs, m.properties.Product_variables.Address_sanitize.Srcs...) 214 m.properties.Srcs = append(m.properties.Srcs, srcs...) 248 if proptools.Bool(m.properties.Recovery_available) { 269 m.properties.InRecovery = true [all …]
|
/system/bt/tools/bdtool/ |
D | adapter.c | 26 static bt_property_t* properties = NULL; variable 42 if (properties[i].type == type) { in adapter_get_property() 43 return &properties[i]; in adapter_get_property() 69 property_free_array(properties, property_count); in adapter_properties() 70 properties = property_copy_array(new_properties, num_properties); in adapter_properties() 141 int num_properties, bt_property_t* properties) { in remote_device_properties() argument 146 parse_properties(num_properties, properties); in remote_device_properties()
|
/system/tools/xsdc/build/ |
D | xsdc.go | 72 properties xsdConfigProperties member 125 android.ExtractSourcesDeps(ctx, module.properties.Srcs) 147 if len(module.properties.Srcs) != 1 { 157 srcFiles := ctx.ExpandSources(module.properties.Srcs, nil) 160 pkgName := *module.properties.Package_name 164 if proptools.Bool(module.properties.Gen_writer) { 207 args := " --stub-packages " + *module.properties.Package_name + 212 api_dir := proptools.StringDefault(module.properties.Api_dir, "api") 242 module.AddProperties(&module.properties)
|
/system/bt/service/common/bluetooth/ |
D | characteristic.h | 29 Characteristic(uint16_t handle, const Uuid& uuid, uint8_t properties, in Characteristic() argument 34 properties_(properties), in Characteristic() 47 uint8_t properties() const { return properties_; } in properties() function
|
/system/bt/btcore/src/ |
D | property.cc | 31 bt_property_t* property_copy_array(const bt_property_t* properties, in property_copy_array() argument 33 CHECK(properties != NULL); in property_copy_array() 37 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array() 40 memcpy(clone[i].val, properties[i].val, clone[i].len); in property_copy_array() 124 void property_free_array(bt_property_t* properties, size_t count) { in property_free_array() argument 125 if (properties == NULL) return; in property_free_array() 128 osi_free(properties[i].val); in property_free_array() 131 osi_free(properties); in property_free_array()
|
/system/core/init/ |
D | property_service.cpp | 87 using android::properties::BuildTrie; 88 using android::properties::ParsePropertyInfoFile; 89 using android::properties::PropertyInfoAreaFile; 90 using android::properties::PropertyInfoEntry; 631 std::map<std::string, std::string>* properties) { in LoadProperties() argument 685 load_properties_from_file(expanded_filename->c_str(), key, properties); in LoadProperties() 714 auto it = properties->find(key); in LoadProperties() 715 if (it == properties->end()) { in LoadProperties() 716 (*properties)[key] = value; in LoadProperties() 733 std::map<std::string, std::string>* properties) { in load_properties_from_file() argument [all …]
|
D | persistent_properties_test.cpp | 48 for (const auto& persistent_property_record : persistent_properties.properties()) { in CheckPropertiesEqual() 148 EXPECT_GT(read_back_properties.properties().size(), 0); in TEST() 151 std::find_if(read_back_properties.properties().begin(), in TEST() 152 read_back_properties.properties().end(), [](const auto& entry) { in TEST() 155 EXPECT_FALSE(it == read_back_properties.properties().end()); in TEST()
|
/system/sepolicy/private/ |
D | lmkd.te | 5 # Set sys.lmk.* properties. 8 # Set lmkd.* properties.
|
/system/bt/btif/src/ |
D | btif_core.cc | 551 bt_property_t properties[NUM_ADAPTER_PROPERTIES]; in btif_in_get_adapter_properties() local 565 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDADDR, in btif_in_get_adapter_properties() 567 status = btif_storage_get_adapter_property(&properties[num_props]); in btif_in_get_adapter_properties() 575 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDNAME, in btif_in_get_adapter_properties() 577 btif_storage_get_adapter_property(&properties[num_props]); in btif_in_get_adapter_properties() 581 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], in btif_in_get_adapter_properties() 584 btif_storage_get_adapter_property(&properties[num_props]); in btif_in_get_adapter_properties() 588 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], in btif_in_get_adapter_properties() 591 btif_storage_get_adapter_property(&properties[num_props]); in btif_in_get_adapter_properties() 595 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], in btif_in_get_adapter_properties() [all …]
|
/system/bt/service/hal/ |
D | bluetooth_interface.h | 55 bt_property_t* properties); 59 bt_property_t* properties); 61 bt_property_t* properties);
|
/system/sepolicy/public/ |
D | attributes | 77 # All properties defined in core SELinux policy. Should not be 78 # used by device specific properties 81 # All properties used to configure log filtering. 84 # All properties that are not specific to device but are added from 85 # outside of AOSP. (e.g. OEM-specific properties) 86 # These properties are not accessible from device-specific domains 89 # Properties used for representing ownership. All properties should have one 92 # All properties defined by /system. 95 # All /system-defined properties used only in /system. 98 # All /system-defined properties which can't be written outside /system. [all …]
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | attributes | 77 # All properties defined in core SELinux policy. Should not be 78 # used by device specific properties 81 # All properties used to configure log filtering. 84 # All properties that are not specific to device but are added from 85 # outside of AOSP. (e.g. OEM-specific properties) 86 # These properties are not accessible from device-specific domains 89 # Properties used for representing ownership. All properties should have one 92 # All properties defined by /system. 95 # All /system-defined properties used only in /system. 98 # All /system-defined properties which can't be written outside /system. [all …]
|
/system/bt/bta/gatt/ |
D | database.cc | 71 << ", prop=" << loghex(c.properties) << "\n"; in ToString() 108 {.characteristic = {.properties = charac.properties, in Serialize() 176 .properties = attr.value.characteristic.properties, in Deserialize()
|