Searched defs:type_name (Results 1 - 9 of 9) sorted by relevance

/system/extras/simpleperf/
H A Dcmd_list.cpp70 static void PrintEventTypesOfType(uint32_t type, const std::string& type_name, argument
72 printf("List of %s:\n", type_name.c_str());
H A Dcmd_stat.cpp53 std::string type_name; member in struct:__anon1765::CounterSummary
62 CounterSummary(const std::string& type_name, const std::string& modifier, argument
65 : type_name(type_name),
85 return type_name;
87 return type_name + ":" + modifier;
92 if (type_name == "cpu-clock" || type_name == "task-clock") {
132 const CounterSummary* FindSummary(const std::string& type_name, argument
135 if (s.type_name
[all...]
/system/core/libcutils/tests/
H A Dfs_config.cpp116 static bool check_unique(const fs_path_config* paths, const char* type_name, argument
119 config += type_name;
211 void check_two(const fs_path_config* paths, const char* type_name, const char* prefix) { argument
213 ASSERT_FALSE(type_name == nullptr);
215 bool check_internal = check_unique(paths, type_name, prefix);
218 check_unique(std::string("/") + prefix + "etc/fs_config_" + type_name, prefix);
/system/tools/aidl/tests/
H A Daidl_test_client_nullables.cpp92 bool ConfirmNullableType(const sp<ITestService>& s, const string& type_name, argument
96 cout << "... Confirming nullables for " << type_name << " ..." << endl;
103 cerr << "Could not repeat nullable " << type_name << "." << endl;
108 cerr << "Got back null when repeating " << type_name << "." << endl;
113 cerr << "Got back a non-matching value when repeating " << type_name
122 cerr << "Could not repeat null as " << type_name << "." << endl;
127 cerr << "Got back a value when sent null for " << type_name << "."
/system/tools/aidl/
H A Dtype_namespace.cpp73 int kind, const string& package, const string& type_name,
76 type_name_(type_name),
77 canonical_name_((package.empty()) ? type_name
78 : package + "." + type_name),
72 ValidatableType( int kind, const string& package, const string& type_name, const string& decl_file, int decl_line) argument
H A Dtype_namespace.h60 const std::string& package, const std::string& type_name,
157 bool HasTypeByCanonicalName(const std::string& type_name) const {
158 return FindTypeByCanonicalName(type_name) != nullptr;
186 bool IsContainerType(const std::string& type_name) const;
275 const std::string& type_name = aidl_type.GetName(); local
276 if (!IsContainerType(type_name)) {
310 const std::string& type_name) const {
311 const size_t opening_brace = type_name.find('<');
312 const size_t closing_brace = type_name.find('>');
348 for (auto& type_name
[all...]
H A Dtype_cpp.cpp530 bool TypeNamespace::AddListType(const std::string& type_name) { argument
531 const Type* contained_type = FindTypeByCanonicalName(type_name);
533 LOG(ERROR) << "Cannot create List<" << type_name << "> because contained "
538 LOG(ERROR) << "Cannot create List<" << type_name << "> because contained "
552 LOG(ERROR) << "aidl-cpp does not yet support List<" << type_name << ">";
/system/sepolicy/tools/
H A Dcheckfc.c109 static bool is_type_of_attribute_set(policydb_t *policydb, const char *type_name, argument
112 struct type_datum *type = hashtab_search(policydb->p_types.table, (char *)type_name);
114 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", type_name);
119 fprintf(stderr, "Error: \"%s\" is not a type in this policy.\n", type_name);
172 const char *type_name = sepol_context_get_type(ctx); local
176 res = !is_type_of_attribute_set(global_state.sepolicy.pdb, type_name,
179 fprintf(stderr, "Error: type \"%s\" is not of set: ", type_name);
/system/media/camera/src/
H A Dcamera_metadata.c1081 const char *type_name; local
1083 type_name = "unknown";
1085 type_name = camera_metadata_type_names[entry->type];
1092 type_name,

Completed in 212 milliseconds