Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/system/tools/hidl/build/
Dhidl_interface.go83 properties hidlGenProperties member
96 for _, input := range g.properties.Inputs {
100 for _, output := range g.properties.Outputs {
104 if g.properties.Language == "vts" && isVtsSpecPackage(ctx.ModuleName()) {
116 fullRootOptions = append(fullRootOptions, t.properties.Full_root_option)
136 if g.properties.Language == "java" {
148 "fqName": g.properties.FqName,
149 "language": g.properties.Language,
172 ctx.AddDependency(ctx.Module(), nil, g.properties.FqName+hidlInterfaceSuffix)
173 ctx.AddDependency(ctx.Module(), nil, wrap("", g.properties.Interfaces, hidlInterfaceSuffix)...)
[all …]
Dhidl_package_root.go32 properties struct { member
47 return "-r" + r.Name() + ":" + *r.properties.Path
55 if r.properties.Path == nil {
56 r.properties.Path = proptools.StringPtr(ctx.ModuleDir())
59 if proptools.BoolDefault(r.properties.Use_current, false) {
73 r.AddProperties(&r.properties)
/system/update_engine/update_manager/
Dreal_shill_provider.cc49 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/core/base/
Dproperties_test.cpp30 TEST(properties, smoke) { in TEST() argument
47 TEST(properties, empty) { in TEST() argument
61 TEST(properties, GetBoolProperty_true) { in TEST() argument
69 TEST(properties, GetBoolProperty_false) { in TEST() argument
77 TEST(properties, GetBoolProperty_default) { in TEST() argument
120 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() argument
121 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() argument
122 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() argument
123 TEST(properties, GetIntProperty_int64_t) { CheckGetIntProperty<int64_t>(); } in TEST() argument
125 TEST(properties, GetUintProperty_uint8_t) { CheckGetUintProperty<uint8_t>(); } in TEST() argument
[all …]
/system/update_engine/
Dconnection_manager.cc152 brillo::VariantDictionary properties; in GetDefaultServicePath() local
157 TEST_AND_RETURN_FALSE(manager_proxy->GetProperties(&properties, &error)); in GetDefaultServicePath()
160 properties.find(shill::kDefaultServiceProperty); in GetDefaultServicePath()
161 if (prop_default_service == properties.end()) in GetDefaultServicePath()
176 brillo::VariantDictionary properties; in GetServicePathProperties() local
178 TEST_AND_RETURN_FALSE(service->GetProperties(&properties, &error)); in GetServicePathProperties()
181 const auto& prop_tethering = properties.find(shill::kTetheringProperty); in GetServicePathProperties()
182 if (prop_tethering == properties.end()) { in GetServicePathProperties()
193 const auto& prop_type = properties.find(shill::kTypeProperty); in GetServicePathProperties()
194 if (prop_type == properties.end()) { in GetServicePathProperties()
[all …]
/system/core/toolbox/
Dgetprop.cpp28 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/
Dcreate-distro.py64 with open(properties_file, "w") as properties:
65 properties.write('rules.version=%s\n' % iana_version)
66 properties.write('revision=%s\n' % revision)
67 properties.write('tzdata.file=%s\n' % tzdata_file)
68 properties.write('icu.file=%s\n' % icu_file)
69 properties.write('tzlookup.file=%s\n' % tzlookup_file)
70 properties.write('output.distro.dir=%s\n' % output_distro_dir)
71 properties.write('output.version.file=%s\n' % output_version_file)
/system/server_configurable_flags/libflags/
Dserver_configurable_flags_test.cc106 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/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
DCreateTimeZoneDistro.java83 Properties properties = loadProperties(f); in main() local
84 String ianaRulesVersion = getMandatoryProperty(properties, "rules.version"); in main()
85 int revision = Integer.parseInt(getMandatoryProperty(properties, "revision")); in main()
103 .setTzDataFile(getMandatoryPropertyFile(properties, "tzdata.file")) in main()
104 .setIcuDataFile(getMandatoryPropertyFile(properties, "icu.file")) in main()
105 .setTzLookupFile(getMandatoryPropertyFile(properties, "tzlookup.file")); in main()
108 File outputDistroDir = getMandatoryPropertyFile(properties, "output.distro.dir"); in main()
109 File outputVersionFile = new File(getMandatoryProperty(properties, "output.version.file")); in main()
/system/core/init/
Dproperty_service.cpp78 using android::properties::BuildTrie;
79 using android::properties::ParsePropertyInfoFile;
80 using android::properties::PropertyInfoAreaFile;
81 using android::properties::PropertyInfoEntry;
606 std::map<std::string, std::string>* properties) { in LoadProperties() argument
652 load_properties_from_file(expanded_filename.c_str(), key, properties); in LoadProperties()
681 auto it = properties->find(key); in LoadProperties()
682 if (it == properties->end()) { in LoadProperties()
683 (*properties)[key] = value; in LoadProperties()
700 std::map<std::string, std::string>* properties) { in load_properties_from_file() argument
[all …]
Dpersistent_properties_test.cpp48 for (const auto& persistent_property_record : persistent_properties.properties()) { in CheckPropertiesEqual()
145 EXPECT_GT(read_back_properties.properties().size(), 0); in TEST()
148 std::find_if(read_back_properties.properties().begin(), in TEST()
149 read_back_properties.properties().end(), [](const auto& entry) { in TEST()
152 EXPECT_FALSE(it == read_back_properties.properties().end()); in TEST()
/system/bt/tools/bdtool/
Dadapter.c26 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/
Dxsdc.go66 properties xsdConfigProperties member
114 android.ExtractSourcesDeps(ctx, module.properties.Srcs)
118 if len(module.properties.Srcs) != 1 {
128 srcFiles := ctx.ExpandSources(module.properties.Srcs, nil)
131 pkgName := *module.properties.Package_name
169 args := " --stub-packages " + *module.properties.Package_name +
174 api_dir := proptools.StringDefault(module.properties.Api_dir, "api")
204 module.AddProperties(&module.properties)
/system/sepolicy/build/soong/
Dcil_compat_map.go55 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))
/system/bt/service/common/bluetooth/
Dcharacteristic.h29 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/
Dproperty.cc31 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/bt/btif/src/
Dbtif_core.cc551 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/
Dbluetooth_interface.h55 bt_property_t* properties);
59 bt_property_t* properties);
61 bt_property_t* properties);
Dbluetooth_interface.cc78 bt_property_t* properties) { in AdapterPropertiesCallback() argument
84 AdapterPropertiesCallback(status, num_properties, properties)); in AdapterPropertiesCallback()
90 bt_property_t* properties) { in RemoteDevicePropertiesCallback() argument
98 status, remote_bd_addr, num_properties, properties)); in RemoteDevicePropertiesCallback()
101 void DeviceFoundCallback(int num_properties, bt_property_t* properties) { in DeviceFoundCallback() argument
105 FOR_EACH_BLUETOOTH_OBSERVER(DeviceFoundCallback(num_properties, properties)); in DeviceFoundCallback()
/system/bt/bta/gatt/
Ddatabase.cc71 << ", prop=" << loghex(c.properties) << "\n"; in ToString()
108 {.characteristic = {.properties = charac.properties, in Serialize()
174 .properties = attr.value.characteristic.properties, in Deserialize()
/system/core/property_service/property_info_checker/
Dproperty_info_checker.cpp16 using android::properties::BuildTrie;
17 using android::properties::ParsePropertyInfoFile;
18 using android::properties::PropertyInfoArea;
19 using android::properties::PropertyInfoEntry;
/system/sepolicy/prebuilts/api/29.0/private/
Datrace.te21 # atrace sets debug.atrace.* properties
25 # SYSPROPS_TRANSACTION, to tell them to reload the debug.atrace.* properties.
44 # trace-related system properties have changed.
52 # trace-related system properties have changed.
/system/sepolicy/private/
Datrace.te21 # atrace sets debug.atrace.* properties
25 # SYSPROPS_TRANSACTION, to tell them to reload the debug.atrace.* properties.
44 # trace-related system properties have changed.
52 # trace-related system properties have changed.
/system/sepolicy/prebuilts/api/28.0/private/
Dproperty_contexts80 # selinux non-persistent properties
86 # data partition encryption properties
96 # ctl properties
117 # NFC properties
120 # These properties are not normally set by processes other than init.
131 # Lowpan properties
135 # hwservicemanager properties
138 # Common default properties for vendor and odm.
/system/bt/service/
Dadapter.cc48 bt_property_t* properties) { in ParseRemoteDeviceProps() argument
57 bt_property_t* property = properties + i; in ParseRemoteDeviceProps()
185 const RemoteDeviceProps& properties) { in OnGetRemoteDeviceProperties() argument
190 const RemoteDeviceProps& properties) { in OnDeviceFound() argument
524 bt_property_t* properties) override { in AdapterPropertiesCallback() argument
531 bt_property_t* property = properties + i; in AdapterPropertiesCallback()
543 bt_property_t* property = properties + i; in AdapterPropertiesCallback()
608 bt_property_t* properties) override { in RemoteDevicePropertiesCallback() argument
620 ParseRemoteDeviceProps(num_properties, properties); in RemoteDevicePropertiesCallback()
632 bt_property_t* properties) override { in DeviceFoundCallback() argument
[all …]

12345678910>>...12