/system/libsysprop/srcs/api/ |
D | PlatformProperties-current.txt | 3 prop { 12 prop { 17 prop { 22 prop { 27 prop { 32 prop { 37 prop { 42 prop { 47 prop { 52 prop { [all …]
|
D | PlatformProperties-latest.txt | 3 prop { 12 prop { 21 prop { 28 prop { 34 prop { 44 prop { 49 prop { 54 prop { 60 prop { 65 prop { [all …]
|
/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 | 155 def entry_cols(prop): 157 if prop.details: cols = cols + 2 158 if prop.hal_details: cols = cols + 2 256 <%def name="insert_entry(prop)"> 257 <tr class="entry" id="${prop.kind}_${prop.name}"> 259 % if prop.deprecated: 262 " rowspan="${entry_cols(prop)}"> 263 ${prop.name | wbr} 266 % if prop.enum: 267 <span class="entry_type_name entry_type_name_enum">${prop.type}</span> [all …]
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 203 std::string GetJavaTypeName(const sysprop::Property& prop); 204 std::string GetJavaEnumTypeName(const sysprop::Property& prop); 207 std::string GetParsingExpression(const sysprop::Property& prop); 208 std::string GetFormattingExpression(const sysprop::Property& prop); 212 std::string GetJavaEnumTypeName(const sysprop::Property& prop) { in GetJavaEnumTypeName() argument 213 return ApiNameToIdentifier(prop.api_name()) + "_values"; in GetJavaEnumTypeName() 216 std::string GetJavaTypeName(const sysprop::Property& prop) { in GetJavaTypeName() argument 217 switch (prop.type()) { in GetJavaTypeName() 231 return GetJavaEnumTypeName(prop); in GetJavaTypeName() 245 return "List<" + GetJavaEnumTypeName(prop) + ">"; in GetJavaTypeName() [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 | 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 | 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() 109 const struct fdt_property *prop = dict->props[i]; in _ufdt_prop_dict_enlarge_if_needed() local 110 if (prop == NULL) continue; in _ufdt_prop_dict_enlarge_if_needed() 112 _ufdt_prop_dict_find_index(&temp_dict, prop); in _ufdt_prop_dict_enlarge_if_needed() 118 *new_prop_ptr = prop; in _ufdt_prop_dict_enlarge_if_needed() 130 const struct fdt_property *prop) { in ufdt_prop_dict_add() argument [all …]
|
/system/librustutils/ |
D | system_properties_fuzzer.rs | 42 Writable { prop: WritableProperty }, 55 Property::Writable { prop } => prop.to_string(), in fmt() 71 Read { prop: Property }, 72 Write { prop: WritableProperty, value: String }, 73 WatcherRead { prop: Property }, 80 Command::Read { prop } => { 81 system_properties::read(&prop.to_string()); 83 Command::Write { prop, value } => { 84 system_properties::write(&prop.to_string(), &value); 86 Command::WatcherRead { prop } => { [all …]
|
/system/libsysprop/srcs/android/sysprop/ |
D | BluetoothProperties.sysprop | 18 prop { 27 prop { 38 prop { 47 prop { 59 prop { 73 prop { 84 prop { 92 prop { 100 prop { 112 prop { [all …]
|
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 | InputProperties.sysprop | 20 prop { 30 prop { 39 prop { 49 prop { 59 prop { 68 prop { 77 prop { 87 prop { 97 prop {
|
D | CarProperties.sysprop | 18 prop { 28 prop { 37 prop { 46 prop { 55 prop { 64 prop { 73 prop {
|
D | MediaProperties.sysprop | 17 prop { 24 prop { 31 prop { 38 prop { 45 prop {
|
D | DisplayProperties.sysprop | 18 prop { 26 prop { 35 prop { 44 prop { 54 prop {
|
D | OtaProperties.sysprop | 17 prop { 26 prop { 34 prop { 42 prop { 56 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()
|