/system/extras/simpleperf/runtest/ |
D | runtest.conf | 2 <test name="one_function"> 3 <executable name="simpleperf_runtest_one_function"/> 6 <symbol name="Function1()" min="90" max="100"/> 10 <symbol name="main" min="90" max="100"/> 14 <symbol name="Function1()"> 15 <symbol name="main"/> 20 <test name="two_functions"> 21 <executable name="simpleperf_runtest_two_functions"/> 24 <symbol name="Function1()" min="30" max="70"/> 25 <symbol name="Function2()" min="30" max="70"/> [all …]
|
/system/bt/ |
D | TEST_MAPPING | 4 "name" : "bluetooth_test_common" 7 "name" : "bluetoothtbd_test" 10 "name" : "net_test_audio_a2dp_hw" 13 "name" : "net_test_avrcp" 16 "name" : "net_test_btcore" 19 "name" : "net_test_btif" 22 "name" : "net_test_btif_profile_queue" 25 "name" : "net_test_btpackets" 28 "name" : "net_test_device" 31 "name" : "net_test_hci" [all …]
|
/system/core/ |
D | TEST_MAPPING | 4 "name": "adbd_test" 7 "name": "adb_crypto_test" 10 "name": "adb_pairing_auth_test" 13 "name": "adb_pairing_connection_test" 16 "name": "adb_tls_connection_test" 19 "name": "CtsFsMgrTestCases" 22 "name": "CtsInitTestCases" 25 "name": "CtsLiblogTestCases" 28 "name": "CtsLogdTestCases" 31 "name": "debuggerd_test" [all …]
|
/system/core/toolbox/ |
D | generate-input.h-labels.py | 46 name = m.group(1) variable 47 if name.startswith("INPUT_PROP_"): 48 input_prop_list.append(name) 49 elif name.startswith("EV_"): 50 ev_list.append(name) 51 elif name.startswith("SYN_"): 52 syn_list.append(name) 53 elif name.startswith("KEY_") or name.startswith("BTN_"): 54 key_list.append(name) 55 elif name.startswith("REL_"): [all …]
|
D | toolbox.c | 7 #define TOOL(name) int name##_main(int, char**); argument 12 const char* name; member 15 #define TOOL(name) { #name, name##_main }, argument 36 char* name = cmd ? (cmd + 1) : argv[0]; in main() local 38 for (size_t i = 0; tools[i].name; i++) { in main() 39 if (!strcmp(tools[i].name, name)) { in main() 55 for (size_t i = 1; tools[i].name; i++) { in toolbox_main() 56 printf("%s%c", tools[i].name, tools[i+1].name ? ' ' : '\n'); in toolbox_main()
|
/system/core/libsysutils/src/ |
D | ServiceManager.cpp | 48 int ServiceManager::start(const char *name) { in start() argument 49 if (strlen(name) > SERVICE_NAME_MAX) { in start() 50 SLOGE("Service name '%s' is too long", name); in start() 54 if (isRunning(name)) { in start() 55 SLOGW("Service '%s' is already running", name); in start() 59 SLOGD("Starting service '%s'", name); in start() 60 android::base::SetProperty("ctl.start", name); in start() 66 if (isRunning(name)) in start() 70 SLOGW("Timed out waiting for service '%s' to start", name); in start() 74 SLOGD("Sucessfully started '%s'", name); in start() [all …]
|
/system/tools/xsdc/tests/resources/predefined_types/ |
D | predefined_types.xsd | 2 <xs:complexType name="stringTypes"> 4 <xs:element name="string" type="xs:string" /> 5 <xs:element name="token" type="xs:token"/> 6 <xs:element name="normalizedString" type="xs:normalizedString"/> 7 <xs:element name="language" type="xs:language"/> 8 <xs:element name="entity" type="xs:ENTITY"/> 9 <xs:element name="entities" type="xs:ENTITIES"/> 10 <xs:element name="id" type="xs:ID"/> 11 <xs:element name="name" type="xs:Name"/> 12 <xs:element name="ncname" type="xs:NCName"/> [all …]
|
/system/tools/xsdc/tests/resources/simple_complex_content/ |
D | simple_complex_content.xsd | 2 <xs:complexType name="address"> 3 <xs:annotation name="Deprecated"/> 5 <xs:element name="name" type="xs:string"> 6 <xs:annotation name="final"/> 8 <xs:element name="street" type="xs:string"/> 9 <xs:element name="city" type="xs:string"/> 12 <xs:complexType name="USAddressP"> 13 <xs:annotation name="final"/> 17 <xs:element name="state" type="xs:string"/> 18 <xs:element name="zipcode" type="xs:positiveInteger"/> [all …]
|
/system/core/libbacktrace/testdata/arm64/ |
D | offline_testdata | 2 map: start: 557066e000 end: 55706ee000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test64 3 map: start: 55706ef000 end: 55706f2000 offset: 80000 load_bias: 0 flags: 1 name: /data/backtrace_te… 4 map: start: 55706f2000 end: 55706f3000 offset: 83000 load_bias: 0 flags: 3 name: /data/backtrace_te… 5 map: start: 7014200000 end: 7014600000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: 701464c000 end: 701465c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/libcutil… 7 map: start: 701465c000 end: 701465d000 offset: 0 load_bias: 0 flags: 0 name: 8 map: start: 701465d000 end: 701465e000 offset: 10000 load_bias: 0 flags: 1 name: /system/lib64/libc… 9 map: start: 701465e000 end: 701465f000 offset: 11000 load_bias: 0 flags: 3 name: /system/lib64/libc… 10 map: start: 7014691000 end: 70146b5000 offset: 0 load_bias: 0 flags: 5 name: /system/lib64/liblzma.… 11 map: start: 70146b5000 end: 70146b6000 offset: 23000 load_bias: 0 flags: 1 name: /system/lib64/libl… [all …]
|
/system/sepolicy/ |
D | Android.bp | 15 cc_defaults { name: "selinux_policy_version", cflags: ["-DSEPOLICY_VERSION=30"], } 18 name: "26.0.board.compat.map", 25 name: "27.0.board.compat.map", 32 name: "28.0.board.compat.map", 39 name: "29.0.board.compat.map", 46 name: "30.0.board.compat.map", 53 name: "26.0.board.ignore.map", 60 name: "27.0.board.ignore.map", 67 name: "28.0.board.ignore.map", 74 name: "29.0.board.ignore.map", [all …]
|
/system/core/libbacktrace/testdata/arm/ |
D | offline_testdata | 2 map: start: aad19000 end: aad6c000 offset: 0 load_bias: 0 flags: 5 name: /data/backtrace_test32 3 map: start: aad6c000 end: aad6e000 offset: 52000 load_bias: 0 flags: 1 name: /data/backtrace_test32 4 map: start: aad6e000 end: aad6f000 offset: 54000 load_bias: 0 flags: 3 name: /data/backtrace_test32 5 map: start: e7380000 end: e7400000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 6 map: start: e745f000 end: e7463000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libnetd_client… 7 map: start: e7463000 end: e7464000 offset: 3000 load_bias: 0 flags: 1 name: /system/lib/libnetd_cli… 8 map: start: e7464000 end: e7465000 offset: 4000 load_bias: 0 flags: 3 name: /system/lib/libnetd_cli… 9 map: start: e7480000 end: e7500000 offset: 0 load_bias: 0 flags: 3 name: [anon:libc_malloc] 10 map: start: e7558000 end: e756c000 offset: 0 load_bias: 0 flags: 5 name: /system/lib/libunwind.so 11 map: start: e756c000 end: e756d000 offset: 0 load_bias: 0 flags: 0 name: [all …]
|
/system/bt/gd/packet/parser/ |
D | declarations.h | 32 void AddTypeDef(std::string name, TypeDef* def) { in AddTypeDef() argument 33 auto it = type_defs_.find(name); in AddTypeDef() 35 ERROR() << "Redefinition of Type " << name; in AddTypeDef() 37 type_defs_.insert(std::pair(name, def)); in AddTypeDef() 38 type_defs_queue_.push_back(std::pair(name, def)); in AddTypeDef() 41 TypeDef* GetTypeDef(const std::string& name) { in GetTypeDef() argument 42 auto it = type_defs_.find(name); in GetTypeDef() 50 void AddPacketDef(std::string name, PacketDef def) { in AddPacketDef() argument 51 auto it = packet_defs_.find(name); in AddPacketDef() 53 ERROR() << "Redefinition of Packet " << name; in AddPacketDef() [all …]
|
D | enum_def.cc | 25 EnumDef::EnumDef(std::string name, int size) : TypeDef(name, size) {} in EnumDef() argument 27 void EnumDef::AddEntry(std::string name, uint32_t value) { in AddEntry() argument 28 if (!util::IsEnumCase(name)) { in AddEntry() 29 …ERROR() << __func__ << ": Enum " << name << "(" << value << ") should be all uppercase with unders… in AddEntry() 32 …ERROR() << __func__ << ": Value of " << name << "(" << value << ") is greater than the max possibl… in AddEntry() 36 constants_.insert(std::pair(value, name)); in AddEntry() 37 entries_.insert(name); in AddEntry() 40 PacketField* EnumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() argument 41 return new EnumField(name, *this, "What is this for", loc); in GetNewField() 44 bool EnumDef::HasEntry(std::string name) const { in HasEntry() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/cpp/ |
D | CppSimpleType.java | 20 final private String name; field in CppSimpleType 26 CppSimpleType(String name, String rawParsingExpression, boolean list, boolean isEnum) { in CppSimpleType() argument 29 this.name = name; in CppSimpleType() 30 this.fullName = list ? String.format("std::vector<%s>", name) : name; in CppSimpleType() 34 CppSimpleType(String name, String rawParsingExpression, boolean list) { in CppSimpleType() argument 35 this(name, rawParsingExpression, list, false); in CppSimpleType() 44 return new CppSimpleType(name, rawParsingExpression, true); in newListType() 48 return name; in getTypeName() 69 this.name.equals("std::string") ? "&" : "", in getParsingExpression() 76 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument [all …]
|
/system/core/libnetutils/include/netutils/ |
D | ifc.h | 29 extern int ifc_get_ifindex(const char *name, int *if_indexp); 30 extern int ifc_get_hwaddr(const char *name, void *ptr); 32 extern int ifc_up(const char *name); 33 extern int ifc_down(const char *name); 44 extern int ifc_get_addr(const char *name, in_addr_t *addr); 45 extern int ifc_set_addr(const char *name, in_addr_t addr); 46 extern int ifc_act_on_address(int action, const char* name, const char* address, int prefixlen, 48 extern int ifc_add_address(const char *name, const char *address, 50 extern int ifc_del_address(const char *name, const char *address, 52 extern int ifc_set_prefixLength(const char *name, int prefixLength); [all …]
|
/system/bt/btif/src/ |
D | btif_sock_sdp.cc | 100 static bool create_base_record(const uint32_t sdp_handle, const char* name, in create_base_record() argument 103 channel, name, with_obex); in create_base_record() 130 if (name[0] != '\0') { in create_base_record() 133 (uint32_t)strlen(name), (uint8_t*)name)) in create_base_record() 144 sdp_handle, channel, name, with_obex); in create_base_record() 151 stage, channel, name, with_obex); in create_base_record() 158 static int add_sdp_by_uuid(const char* name, const Uuid& uuid, in add_sdp_by_uuid() argument 161 uuid.ToString().c_str(), channel, name); in add_sdp_by_uuid() 167 channel, name); in add_sdp_by_uuid() 183 if (!create_base_record(handle, name, channel, false /* with_obex */)) in add_sdp_by_uuid() [all …]
|
/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 71 std::string name; in TYPED_TEST_P() local 73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 74 ASSERT_EQ("fake_function", name); in TYPED_TEST_P() 77 name.clear(); in TYPED_TEST_P() 78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 79 ASSERT_EQ("fake_function", name); in TYPED_TEST_P() 83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 99 std::string name; in TYPED_TEST_P() local 101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() [all …]
|
/system/core/adb/daemon/ |
D | services.cpp | 144 [[maybe_unused]] static unique_fd reboot_device(const std::string& name) { in reboot_device() argument 147 auto reboot_service = [name](unique_fd fd) { in reboot_device() 148 std::string reboot_string = android::base::StringPrintf("reboot,%s", name.c_str()); in reboot_device() 160 cmd += name; in reboot_device() 239 asocket* daemon_service_to_socket(std::string_view name) { in daemon_service_to_socket() argument 240 if (name == "jdwp") { in daemon_service_to_socket() 242 } else if (name == "track-jdwp") { in daemon_service_to_socket() 244 } else if (name == "track-app") { in daemon_service_to_socket() 246 } else if (android::base::ConsumePrefix(&name, "sink:")) { in daemon_service_to_socket() 248 if (!ParseUint(&byte_count, name)) { in daemon_service_to_socket() [all …]
|
/system/apex/tests/ |
D | TEST_MAPPING | 4 "name": "apex_rollback_tests" 7 "name": "apex_targetprep_tests" 10 "name": "adbd_e2e_tests" 13 "name": "apexd_host_tests" 16 "name": "conscrypt_e2e_tests" 19 "name": "sdkextensions_e2e_tests" 22 "name": "timezone_data_e2e_tests" 25 "name": "ipsec_e2e_tests" 33 "name": "media_e2e_tests", 37 "name": "media_swcodec_e2e_tests", [all …]
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 56 bool DeviceMapper::CreateDevice(const std::string& name, const std::string& uuid) { in CreateDevice() argument 57 if (name.empty()) { in CreateDevice() 61 if (name.size() >= DM_NAME_LEN) { in CreateDevice() 62 LOG(ERROR) << "[" << name << "] is too long to be device mapper name"; in CreateDevice() 67 InitIo(&io, name); in CreateDevice() 73 PLOG(ERROR) << "DM_DEV_CREATE failed for [" << name << "]"; in CreateDevice() 79 CHECK(io.target_count == 0) << "Unexpected targets for newly created [" << name << "] device"; in CreateDevice() 80 CHECK(io.open_count == 0) << "Unexpected opens for newly created [" << name << "] device"; in CreateDevice() 86 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() argument 88 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExists() [all …]
|
/system/core/libcutils/include/cutils/ |
D | trace.h | 165 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name) argument 166 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument 170 atrace_begin_body(name); in atrace_begin() 194 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 195 atrace_async_begin(ATRACE_TAG, name, cookie) 196 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument 201 atrace_async_begin_body(name, cookie); in atrace_async_begin() 209 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 210 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 214 atrace_async_end_body(name, cookie); in atrace_async_end() [all …]
|
/system/core/libcutils/include_vndk/cutils/ |
D | trace.h | 165 #define ATRACE_BEGIN(name) atrace_begin(ATRACE_TAG, name) argument 166 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument 170 atrace_begin_body(name); in atrace_begin() 194 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 195 atrace_async_begin(ATRACE_TAG, name, cookie) 196 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument 201 atrace_async_begin_body(name, cookie); in atrace_async_begin() 209 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 210 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 214 atrace_async_end_body(name, cookie); in atrace_async_end() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaComplexType.java | 20 final private String name; field in JavaComplexType 22 JavaComplexType(String name) { in JavaComplexType() argument 23 this.name = name; in JavaComplexType() 33 return name; in getName() 38 return name; in getNullableName() 43 return String.format("%s value = %s.read(parser);\n", name, name); in getParsingExpression() 47 public String getWritingExpression(String getValue, String name) { in getWritingExpression() argument 48 return String.format("%s.write(out, \"%s\");\n", getValue, name); in getWritingExpression()
|
/system/libziparchive/ |
D | zip_cd_entry_map.cc | 39 static uint32_t ComputeHash(std::string_view name) { in ComputeHash() argument 40 return static_cast<uint32_t>(std::hash<std::string_view>{}(name)); in ComputeHash() 44 std::pair<ZipError, uint64_t> CdEntryMapZip32::GetCdEntryOffset(std::string_view name, in GetCdEntryOffset() argument 46 const uint32_t hash = ComputeHash(name); in GetCdEntryOffset() 51 if (hash_table_[ent].ToStringView(start) == name) { in GetCdEntryOffset() 57 ALOGV("Zip: Unable to find entry %.*s", static_cast<int>(name.size()), name.data()); in GetCdEntryOffset() 61 ZipError CdEntryMapZip32::AddToMap(std::string_view name, const uint8_t* start) { in AddToMap() argument 62 const uint64_t hash = ComputeHash(name); in AddToMap() 70 if (hash_table_[ent].ToStringView(start) == name) { in AddToMap() 72 ALOGW("Zip: Found duplicate entry %.*s", static_cast<int>(name.size()), name.data()); in AddToMap() [all …]
|
/system/core/libbacktrace/testdata/x86_64/ |
D | offline_testdata | 2 map: start: 7fd5aa784000 end: 7fd5aa93e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 3 map: start: 7fd5aa93e000 end: 7fd5aab3e000 offset: 1ba000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 4 map: start: 7fd5aab3e000 end: 7fd5aab42000 offset: 1ba000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 5 map: start: 7fd5aab42000 end: 7fd5aab44000 offset: 1be000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 6 map: start: 7fd5aab44000 end: 7fd5aab49000 offset: 0 load_bias: 0 flags: 3 name: 7 map: start: 7fd5aab49000 end: 7fd5aac4e000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… 8 map: start: 7fd5aac4e000 end: 7fd5aae4d000 offset: 105000 load_bias: 0 flags: 0 name: /lib/x86_64-l… 9 map: start: 7fd5aae4d000 end: 7fd5aae4e000 offset: 104000 load_bias: 0 flags: 1 name: /lib/x86_64-l… 10 map: start: 7fd5aae4e000 end: 7fd5aae4f000 offset: 105000 load_bias: 0 flags: 3 name: /lib/x86_64-l… 11 map: start: 7fd5aae4f000 end: 7fd5aae65000 offset: 0 load_bias: 0 flags: 5 name: /lib/x86_64-linux-… [all …]
|