/system/media/camera/docs/ |
D | metadata_template.mako | 70 <%def name="insert_entry(prop)"> 71 % if prop.is_clone(): 72 <clone entry="${prop.name}" kind="${prop.target_kind}" 73 % if ('hal_version' in prop._property_keys): 74 hal_version="${prop.hal_major_version}.${prop.hal_minor_version}" 78 % if prop.details is not None: 79 <details>${prop.details}</details> 82 % if prop.ndk_details is not None: 83 <ndk_details>${prop.ndk_details}</ndk_details> 86 % if prop.hal_details is not None: [all …]
|
D | html.mako | 151 def entry_cols(prop): 153 if prop.details: cols = cols + 2 154 if prop.hal_details: cols = cols + 2 252 <%def name="insert_entry(prop)"> 253 <tr class="entry" id="${prop.kind}_${prop.name}"> 255 % if prop.deprecated: 258 " rowspan="${entry_cols(prop)}"> 259 ${prop.name | wbr} 262 % if prop.enum: 263 <span class="entry_type_name entry_type_name_enum">${prop.type}</span> [all …]
|
/system/libsysprop/srcs/api/ |
D | PlatformProperties-current.txt | 3 prop { 13 prop { 21 prop { 26 prop { 31 prop { 36 prop { 44 prop { 48 prop { 57 prop { 62 prop { [all …]
|
D | PlatformProperties-latest.txt | 3 prop { 12 prop { 21 prop { 28 prop { 35 prop { 42 prop { 48 prop { 58 prop { 63 prop { 68 prop { [all …]
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 202 std::string GetJavaTypeName(const sysprop::Property& prop); 203 std::string GetJavaEnumTypeName(const sysprop::Property& prop); 206 std::string GetParsingExpression(const sysprop::Property& prop); 207 std::string GetFormattingExpression(const sysprop::Property& prop); 211 std::string GetJavaEnumTypeName(const sysprop::Property& prop) { in GetJavaEnumTypeName() argument 212 return ApiNameToIdentifier(prop.api_name()) + "_values"; in GetJavaEnumTypeName() 215 std::string GetJavaTypeName(const sysprop::Property& prop) { in GetJavaTypeName() argument 216 switch (prop.type()) { in GetJavaTypeName() 230 return GetJavaEnumTypeName(prop); in GetJavaTypeName() 244 return "List<" + GetJavaEnumTypeName(prop) + ">"; in GetJavaTypeName() [all …]
|
D | TypeChecker.cpp | 32 std::string SyspropTypeToContextType(const sysprop::Property& prop) { in SyspropTypeToContextType() argument 33 switch (prop.type()) { in SyspropTypeToContextType() 46 auto prop_values = android::base::Split(prop.enum_values(), "|"); in SyspropTypeToContextType() 56 bool IsCompatible(const sysprop::Property& prop, const std::string& ctx_type) { in IsCompatible() argument 57 if (prop.type() == sysprop::Enum) { in IsCompatible() 59 auto prop_values = ParseEnumValues(prop.enum_values()); in IsCompatible() 73 return SyspropTypeToContextType(prop) == ctx_type; in IsCompatible() 76 std::string GetTypeName(const sysprop::Property& prop) { in GetTypeName() argument 77 if (prop.type() == sysprop::Enum) { in GetTypeName() 78 return "Enum " + prop.enum_values(); in GetTypeName() [all …]
|
D | Common.cpp | 48 const sysprop::Property& prop); 51 const sysprop::Property& prop); 55 const sysprop::Property& prop) { in GenerateDefaultPropName() argument 58 if (prop.access() != sysprop::ReadWrite) ret = "ro."; in GenerateDefaultPropName() 71 ret += prop.api_name(); in GenerateDefaultPropName() 109 const sysprop::Property& prop) { in ValidateProp() argument 110 if (!IsCorrectApiName(prop.api_name())) { in ValidateProp() 111 return Errorf("Invalid API name \"{}\"", prop.api_name()); in ValidateProp() 114 if (prop.type() == sysprop::Enum || prop.type() == sysprop::EnumList) { in ValidateProp() 116 android::base::Split(prop.enum_values(), "|"); in ValidateProp() [all …]
|
D | ApiChecker.cpp | 32 const auto& prop = current.prop(i); in CompareProps() local 33 props[prop.api_name()] = prop; in CompareProps() 34 if (!prop.legacy_prop_name().empty()) { in CompareProps() 35 legacy_props[prop.legacy_prop_name()] = prop; in CompareProps() 43 const auto& latest_prop = latest.prop(i); in CompareProps()
|
/system/tools/sysprop/tests/ |
D | TestProperties.sysprop | 19 prop { 28 prop { 36 prop { 44 prop { 52 prop { 60 prop { 68 prop { 76 prop { 84 prop { 93 prop { [all …]
|
D | InvalidSyspropTest.cpp | 56 module: "odm.invalid.prop.name" 149 prop_name: "long.prop" 160 prop_name: "prop" 164 api_name: "prop" 168 legacy_prop_name: "prop" 182 prop_name: "prop" 186 api_name: "prop"
|
/system/hardware/interfaces/suspend/1.0/default/api/ |
D | SuspendProperties-current.txt | 3 prop { 8 prop { 13 prop { 17 prop { 22 prop { 26 prop { 31 prop {
|
D | SuspendProperties-latest.txt | 3 prop { 8 prop { 13 prop { 17 prop { 22 prop { 26 prop { 31 prop {
|
/system/libufdt/ |
D | ufdt_prop_dict.c | 51 const struct fdt_property *prop = *prop_ptr; in _ufdt_prop_dict_find_index_by_name() local 52 if (prop == NULL) return prop_ptr; in _ufdt_prop_dict_find_index_by_name() 54 const char *prop_name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index_by_name() 63 struct ufdt_prop_dict *dict, const struct fdt_property *prop) { in _ufdt_prop_dict_find_index() argument 64 const char *name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index() 108 const struct fdt_property *prop = dict->props[i]; in _ufdt_prop_dict_enlarge_if_needed() local 109 if (prop == NULL) continue; in _ufdt_prop_dict_enlarge_if_needed() 111 _ufdt_prop_dict_find_index(&temp_dict, prop); in _ufdt_prop_dict_enlarge_if_needed() 117 *new_prop_ptr = prop; in _ufdt_prop_dict_enlarge_if_needed() 129 const struct fdt_property *prop) { in ufdt_prop_dict_add() argument [all …]
|
/system/bt/btif/src/ |
D | btif_core.cc | 286 bt_property_t prop; in btif_enable_bluetooth_evt() local 287 prop.type = BT_PROPERTY_BDADDR; in btif_enable_bluetooth_evt() 288 prop.val = (void*)&local_bd_addr; in btif_enable_bluetooth_evt() 289 prop.len = sizeof(RawAddress); in btif_enable_bluetooth_evt() 290 invoke_adapter_properties_cb(BT_STATUS_SUCCESS, 1, &prop); in btif_enable_bluetooth_evt() 515 static void btif_core_storage_adapter_write(bt_property_t* prop) { in btif_core_storage_adapter_write() argument 516 BTIF_TRACE_EVENT("type: %d, len %d, 0x%x", prop->type, prop->len, prop->val); in btif_core_storage_adapter_write() 517 bt_status_t status = btif_storage_set_adapter_property(prop); in btif_core_storage_adapter_write() 518 invoke_adapter_properties_cb(status, 1, prop); in btif_core_storage_adapter_write() 557 bt_property_t prop; in btif_get_adapter_property() local [all …]
|
D | btif_storage.cc | 186 static int prop2cfg(const RawAddress* remote_bd_addr, bt_property_t* prop) { in prop2cfg() argument 193 if (prop->len <= 0 || prop->len > (int)sizeof(value) - 1) { in prop2cfg() 197 prop->type, prop->len); in prop2cfg() 200 switch (prop->type) { in prop2cfg() 206 int name_length = prop->len > BTM_MAX_LOC_BD_NAME_LEN in prop2cfg() 208 : prop->len; in prop2cfg() 209 strncpy(value, (char*)prop->val, name_length); in prop2cfg() 220 strncpy(value, (char*)prop->val, prop->len); in prop2cfg() 221 value[prop->len] = '\0'; in prop2cfg() 226 *(int*)prop->val); in prop2cfg() [all …]
|
/system/libsysprop/srcs/android/sysprop/ |
D | TelephonyProperties.sysprop | 17 prop { 36 prop { 45 prop { 61 prop { 74 prop { 87 prop { 101 prop { 116 prop { 129 prop { 143 prop { [all …]
|
D | CarProperties.sysprop | 18 prop { 28 prop { 37 prop { 46 prop { 55 prop { 64 prop {
|
D | DisplayProperties.sysprop | 18 prop { 26 prop { 35 prop { 44 prop { 53 prop {
|
D | HdmiProperties.sysprop | 20 prop { 31 prop { 41 prop { 50 prop { 60 prop { 70 prop { 84 prop {
|
/system/core/healthd/api/ |
D | charger_sysprop-latest.txt | 3 prop { 8 prop { 14 prop { 19 prop { 24 prop {
|
/system/core/healthd/ |
D | charger.sysprop | 4 prop { 11 prop { 18 prop { 25 prop { 32 prop {
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SuspendProperties.sysprop | 19 prop { 28 prop { 37 prop { 46 prop { 55 prop { 64 prop { 73 prop {
|
/system/libufdt/tests/src/ |
D | ufdt_gen_test_dts.c | 109 static void output_prop_str(FILE *fp, const char *prop, const char *value) { in output_prop_str() argument 111 fprintf(fp, "%s=\"%s\";\n", prop, value); in output_prop_str() 114 static void output_nodes(FILE *fp, int count, const char *prop, const char *value) { in output_nodes() argument 118 output_prop_str(fp, prop, value); in output_nodes() 124 const char *prop, const char *value) { in output_ref_nodes() argument 128 output_prop_str(fp, prop, value); in output_ref_nodes()
|
/system/bt/gd/rust/topshim/btif/ |
D | btif_shim.cc | 52 …BtProperty prop = {.prop_type = properties[i].type, .len = properties[i].len, .val = std::move(val… in prop_to_vec() local 53 rust_properties.push_back(std::move(prop)); in prop_to_vec() 236 int BluetoothIntf::GetAdapterProperty(int prop) const { in GetAdapterProperty() 237 return intf_->get_adapter_property(static_cast<bt_property_type_t>(prop)); in GetAdapterProperty() 240 static bt_property_t convert_to_cprop(const BtProperty& prop) { in convert_to_cprop() argument 242 .type = static_cast<bt_property_type_t>(prop.prop_type), in convert_to_cprop() 243 .len = prop.len, in convert_to_cprop() 244 .val = reinterpret_cast<void*>(const_cast<unsigned char*>(prop.val.data())), in convert_to_cprop() 250 int BluetoothIntf::SetAdapterProperty(const BtProperty& prop) const { in SetAdapterProperty() 251 bt_property_t c_prop = convert_to_cprop(prop); in SetAdapterProperty() [all …]
|
/system/iorap/src/common/ |
D | cmd_utils.h | 127 inline std::string GetEnvOrProperty(const std::string& prop, const std::string& default_val) { in GetEnvOrProperty() argument 128 std::string env_str = prop; in GetEnvOrProperty() 137 return ::android::base::GetProperty(prop, default_val); in GetEnvOrProperty() 146 inline bool GetBoolEnvOrProperty(const std::string& prop, bool default_val) { in GetBoolEnvOrProperty() argument 147 std::string env_str = prop; in GetBoolEnvOrProperty() 165 return ::android::base::GetBoolProperty(prop, default_val); in GetBoolEnvOrProperty()
|