Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 2681) sorted by relevance

12345678910>>...108

/packages/modules/Bluetooth/
DTEST_MAPPING5 "name": "CtsBluetoothTestCases"
8 "name": "BluetoothInstrumentationTests"
11 "name": "GoogleBluetoothInstrumentationTests"
14 "name": "FrameworkBluetoothTests"
17 "name": "ServiceBluetoothTests"
22 // "name": "bluetooth-test-audio-hal-interface"
25 "name": "net_test_audio_a2dp_hw"
28 "name": "net_test_audio_hearing_aid_hw"
32 // "name": "net_test_bluetooth"
35 // "name": "net_test_bta"
[all …]
/packages/modules/Bluetooth/system/test/
DAndroid.bp16 name: "TestMockBtaAg",
23 name: "TestMockBtaAr",
30 name: "TestMockBtaAv",
37 name: "TestMockBtaCsis",
44 name: "TestMockBtaDm",
51 name: "TestMockBtaGatt",
58 name: "TestMockBtaGroups",
65 name: "TestMockBtaHas",
72 name: "TestMockBtaHd",
79 name: "TestMockBtaHearingAid",
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java184 private void putValueIfPresent(ContentValues values, String name, String value) { in putValueIfPresent() argument
186 values.put(name, value); in putValueIfPresent()
345 public void split(Name name, String fullName) { in split() argument
355 split(name, fullName, fullNameStyle); in split()
362 public void split(Name name, String fullName, int fullNameStyle) { in split() argument
367 name.fullNameStyle = fullNameStyle; in split()
371 splitChineseName(name, fullName); in split()
375 splitJapaneseName(name, fullName); in split()
379 splitKoreanName(name, fullName); in split()
383 splitWesternName(name, fullName); in split()
[all …]
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java150 String name = TAG_SAFETY_SOURCES_GROUP; in parseSafetySourcesGroup() local
158 name, in parseSafetySourcesGroup() local
166 name, in parseSafetySourcesGroup() local
174 name, in parseSafetySourcesGroup() local
182 name, in parseSafetySourcesGroup() local
187 throw attributeUnexpected(name, parser.getAttributeName(i)); in parseSafetySourcesGroup()
209 validateElementEnd(parser, name); in parseSafetySourcesGroup()
214 throw elementInvalid(name, e); in parseSafetySourcesGroup()
223 @NonNull String name) in parseSafetySource() argument
232 name, in parseSafetySource() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java205 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeMapXml()
228 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeListXml()
249 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument
251 writeMapXml(val, name, out, null); in writeMapXml()
271 public static final void writeMapXml(Map val, String name, XmlSerializer out, in writeMapXml() argument
281 if (name != null) { in writeMapXml()
282 out.attribute(null, "name", name); in writeMapXml()
334 public static final void writeListXml(List val, String name, XmlSerializer out) in writeListXml() argument
344 if (name != null) { in writeListXml()
345 out.attribute(null, "name", name); in writeListXml()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_sdp.cc87 static bool create_base_record(const uint32_t sdp_handle, const char* name, in create_base_record() argument
90 channel, name, with_obex); in create_base_record()
117 if (name[0] != '\0') { in create_base_record()
120 (uint32_t)strlen(name), (uint8_t*)name)) in create_base_record()
131 sdp_handle, channel, name, with_obex); in create_base_record()
138 stage, channel, name, with_obex); in create_base_record()
145 static int add_sdp_by_uuid(const char* name, const Uuid& uuid, in add_sdp_by_uuid() argument
148 uuid.ToString().c_str(), channel, name); in add_sdp_by_uuid()
154 channel, name); in add_sdp_by_uuid()
170 if (!create_base_record(handle, name, channel, false /* with_obex */)) in add_sdp_by_uuid()
[all …]
Dbtif_storage.cc476 auto name = bd_addr.ToString(); in btif_in_fetch_bonded_devices() local
478 BTIF_TRACE_DEBUG("Remote device:%s", name.c_str()); in btif_in_fetch_bonded_devices()
481 if (btif_config_get_bin(name, "LinkKey", link_key.data(), &size)) { in btif_in_fetch_bonded_devices()
483 if (btif_config_get_int(name, "LinkKeyType", &linkkey_type)) { in btif_in_fetch_bonded_devices()
488 if (btif_config_get_int(name, "DevClass", &cod)) in btif_in_fetch_bonded_devices()
490 btif_config_get_int(name, "PinLength", &pin_length); in btif_in_fetch_bonded_devices()
494 if (btif_config_get_int(name, "DevType", &device_type) && in btif_in_fetch_bonded_devices()
510 if (!btif_in_fetch_bonded_ble_device(name, add, p_bonded_devices) && !bt_linkkey_file_found) { in btif_in_fetch_bonded_devices()
511 LOG_VERBOSE("No link key or ble key found for device:%s", name.c_str()); in btif_in_fetch_bonded_devices()
931 auto name = bd_addr.ToString(); in remove_devices_with_sample_ltk() local
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRenamingDelegatingContext.java135 private String renamedFileName(String name) { in renamedFileName() argument
136 return mFilePrefix + name; in renamedFileName()
140 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
142 if (name.startsWith("/")) { in openOrCreateDatabase()
143 return mFileContext.openOrCreateDatabase(name, mode, factory); in openOrCreateDatabase()
145 final String internalName = renamedFileName(name); in openOrCreateDatabase()
146 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
147 mDatabaseNames.add(name); in openOrCreateDatabase()
154 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
156 if (name.startsWith("/")) { in openOrCreateDatabase()
[all …]
DNameSplitterTest.java245 Name name = new Name(); in testGuessFullNameStyleChineseMixed() local
246 name.prefix = "\u524D"; in testGuessFullNameStyleChineseMixed()
247 name.givenNames = "Du"; in testGuessFullNameStyleChineseMixed()
248 name.middleName = "\u5C0F"; in testGuessFullNameStyleChineseMixed()
249 name.familyName = "Juan"; in testGuessFullNameStyleChineseMixed()
250 name.suffix = "\u540E"; in testGuessFullNameStyleChineseMixed()
251 mNameSplitter.guessNameStyle(name); in testGuessFullNameStyleChineseMixed()
253 assertEquals(FullNameStyle.WESTERN, name.fullNameStyle); in testGuessFullNameStyleChineseMixed()
334 final Name name = new Name(); in assertSplitName() local
335 mNameSplitter.split(name, fullName); in assertSplitName()
[all …]
/packages/modules/adb/daemon/
Dservices.cpp143 [[maybe_unused]] static unique_fd reboot_device(const std::string& name) { in reboot_device() argument
146 auto reboot_service = [name](unique_fd fd) { in reboot_device()
147 std::string reboot_string = android::base::StringPrintf("reboot,%s", name.c_str()); in reboot_device()
159 cmd += name; in reboot_device()
238 asocket* daemon_service_to_socket(std::string_view name) { in daemon_service_to_socket() argument
239 if (name == "jdwp") { in daemon_service_to_socket()
241 } else if (name == "track-jdwp") { in daemon_service_to_socket()
243 } else if (name == "track-app") { in daemon_service_to_socket()
245 } else if (android::base::ConsumePrefix(&name, "sink:")) { in daemon_service_to_socket()
247 if (!ParseUint(&byte_count, name)) { in daemon_service_to_socket()
[all …]
/packages/services/Car/tools/emulator/
DVehicleHalProto_pb2.py20 name='VehicleHalProto.proto',
28 name='MsgType',
34 name='GET_CONFIG_CMD', index=0, number=0,
38 name='GET_CONFIG_RESP', index=1, number=1,
42 name='GET_CONFIG_ALL_CMD', index=2, number=2,
46 name='GET_CONFIG_ALL_RESP', index=3, number=3,
50 name='GET_PROPERTY_CMD', index=4, number=4,
54 name='GET_PROPERTY_RESP', index=5, number=5,
58 name='GET_PROPERTY_ALL_CMD', index=6, number=6,
62 name='GET_PROPERTY_ALL_RESP', index=7, number=7,
[all …]
/packages/modules/Bluetooth/tools/rootcanal/
DCargo.lock6 name = "aho-corasick"
15 name = "ansi_term"
24 name = "atty"
35 name = "autocfg"
41 name = "bindgen"
64 name = "bitflags"
70 name = "bt_packets"
82 name = "bytes"
88 name = "cexpr"
97 name = "cfg-if"
[all …]
/packages/services/Car/tools/hidl_parser/
Dparser.py87 def __init__(self, name): argument
88 self.name = name
91 return self.name
94 def __init__(self, name, arg): argument
95 self.name = name
99 return '%s<%s>' % (self.name, self.arg)
102 def __init__(self, name, base): argument
103 self.name = name
107 return '%s%s' % (self.name, ' %s' % self.base if self.base else '')
110 def __init__(self, name): argument
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/
Ddeclarations.h32 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 …]
/packages/modules/StatsD/
DTEST_MAPPING4 "name" : "FrameworkStatsdTest[com.google.android.os.statsd.apex]"
9 "name" : "FrameworkStatsdTest"
12 "name" : "FrameworkStatsdHostTest"
15 "name" : "LibStatsPullTests"
18 "name" : "libkll_test"
21 "name" : "libstatspull_test"
24 "name" : "libstatssocket_test"
27 "name" : "statsd_test"
32 "name" : "FrameworkStatsdTest"
35 "name" : "FrameworkStatsdHostTest"
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeHeader.java54 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader() argument
55 String[] header = getHeader(name); in getFirstHeader()
62 public void addHeader(String name, String value) throws MessagingException { in addHeader() argument
63 fields.add(new Field(name, value)); in addHeader()
66 public void setHeader(String name, String value) throws MessagingException { in setHeader() argument
67 if (name == null || value == null) { in setHeader()
70 removeHeader(name); in setHeader()
71 addHeader(name, value); in setHeader()
74 public String[] getHeader(String name) throws MessagingException { in getHeader() argument
77 if (field.name.equalsIgnoreCase(name)) { in getHeader()
[all …]
/packages/modules/Connectivity/
DTEST_MAPPING4 "name": "ConnectivityCoverageTests"
8 "name": "FrameworksNetTests"
15 "name": "CtsNetTestCases",
27 "name": "CtsNetTestCasesLatestSdk",
39 "name": "CtsNetTestCasesMaxTargetSdk31",
50 "name": "bpf_existence_test"
53 "name": "connectivity_native_test"
56 "name": "netd_updatable_unit_test"
59 "name": "TetheringTests"
62 "name": "TetheringIntegrationTests"
[all …]
/packages/modules/Bluetooth/system/common/
Dmessage_loop_thread_unittest.cc119 std::string name = "test_thread"; in TEST_F() local
120 MessageLoopThread message_loop_thread(name); in TEST_F()
127 std::string name = "test_thread"; in TEST_F() local
128 MessageLoopThread message_loop_thread(name); in TEST_F()
137 std::string name = "test_thread"; in TEST_F() local
138 MessageLoopThread message_loop_thread(name); in TEST_F()
148 ASSERT_EQ(name, my_name); in TEST_F()
149 ASSERT_EQ(name, message_loop_thread.GetName()); in TEST_F()
153 std::string name = "test_thread"; in TEST_F() local
154 MessageLoopThread message_loop_thread(name); in TEST_F()
[all …]
/packages/modules/adb/
DTEST_MAPPING4 "name": "adbd_test[com.google.android.adbd.apex]"
7 "name": "adb_crypto_test[com.google.android.adbd.apex]"
10 "name": "adb_pairing_auth_test[com.google.android.adbd.apex]"
13 "name": "adb_pairing_connection_test[com.google.android.adbd.apex]"
16 "name": "adb_tls_connection_test[com.google.android.adbd.apex]"
21 "name": "adbd_test"
24 "name": "adb_crypto_test"
27 "name": "adb_pairing_auth_test"
30 "name": "adb_pairing_connection_test"
33 "name": "adb_tls_connection_test"
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java73 public DocumentsProviderHelper(UserId userId, String authority, Context context, String name) { in DocumentsProviderHelper() argument
77 mClient = userId.getContentResolver(context).acquireContentProviderClient(name); in DocumentsProviderHelper()
98 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() argument
99 if (name.contains("/")) { in createDocument()
103 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument()
106 throw new RuntimeException("Couldn't create document: " + name + " with mimetype " in createDocument()
111 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument
113 return createDocument(parentUri, mimeType, name); in createDocument()
116 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() argument
117 return createDocument(root.documentId, mimeType, name); in createDocument()
[all …]
/packages/services/Car/cpp/computepipe/router/include/
DRegistry.h68 std::unique_ptr<PipeHandle<T>> getClientPipeHandle(const std::string& name, in getClientPipeHandle() argument
73 return getPipeHandle(name, std::move(clientHandle)); in getClientPipeHandle()
84 Error RegisterPipe(std::unique_ptr<PipeHandle<T>> h, const std::string& name) { in RegisterPipe() argument
86 if (mPipeRunnerDb.find(name) == mPipeRunnerDb.end()) { in RegisterPipe()
91 name, std::unique_ptr<PipeContext<T>>(new PipeContext<T>(std::move(h), name))); in RegisterPipe()
94 if (!mPipeRunnerDb[name]->isAlive()) { in RegisterPipe()
95 mPipeRunnerDb.erase(name); in RegisterPipe()
100 name, std::unique_ptr<PipeContext<T>>(new PipeContext<T>(std::move(h), name))); in RegisterPipe()
118 std::unique_ptr<PipeHandle<T>> getPipeHandle(const std::string& name, in getPipeHandle() argument
121 if (mPipeRunnerDb.find(name) == mPipeRunnerDb.end()) { in getPipeHandle()
[all …]
/packages/providers/MediaProvider/
DTEST_MAPPING5 // "name": "MediaProviderTests[com.google.android.mediaprovider.apex]"
8 // "name": "MediaProviderTests[com.google.android.mediaprovider.apex]"
11 // "name": "CtsScopedStorageCoreHostTest"
14 // "name": "CtsScopedStorageHostTest"
17 // "name": "CtsScopedStorageDeviceOnlyTest"
20 // "name": "CtsMediaProviderTranscodeTests[com.google.android.mediaprovider.apex]"
25 "name": "MediaProviderTests"
28 "name": "MediaProviderClientTests",
39 "name": "CtsProviderTestCases",
49 "name": "AdoptableHostTest"
[all …]
/packages/services/Car/data/etc/
DAndroid.bp22 name: "allowed_privapp_com.google.android.car.garagemode.testapp",
29 name: "allowed_privapp_com.google.android.car.uxr.sample",
36 name: "allowed_privapp_com.google.android.car.defaultstoragemonitoringcompanionapp",
43 name: "allowed_privapp_com.android.carsystemui",
51 name: "allowed_privapp_android.car.cluster.loggingrenderer",
58 name: "allowed_privapp_android.car.cluster.sample",
65 name: "allowed_privapp_android.car.cluster",
72 name: "allowed_privapp_android.car.usb.handler",
79 name: "allowed_privapp_com.android.car.carlauncher",
86 name: "allowed_privapp_com.android.car.dialer",
[all …]
/packages/modules/Virtualization/microdroid/
DAndroid.bp32 name: "d",
36 name: "etc",
40 name: "bin",
45 name: "microdroid",
126 name: "microdroid_init_rc",
134 name: "microdroid_ueventd_rc",
141 name: "microdroid_build_prop",
156 name: "microdroid_build_prop_gen_x86_64",
172 name: "microdroid_build_prop_gen_arm64",
188 name: "microdroid_vendor",
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py87 name = GetJointStr([i for i in args if i is not None and i != ""], sep=sep)
89 self.name = name
92 uniqueName = name if showZero is False else name + sep + str(startsFrom)
95 uniqueName = name + sep + str(startsFrom)
97 self.name = uniqueName
100 return self.name
105 return isinstance(other, NamedObject) and self.name == other.name
111 return hash(self.name)
114 return self.name < other.name
158 def __init__(self, vt, dimensions, scale, zeroPoint, name="type", skipRenaming=False, argument
[all …]

12345678910>>...108