Home
last modified time | relevance | path

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

12345678910>>...63

/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 …]
DContactLocaleUtils.java188 public String getSortKey(String name) { in getSortKey() argument
189 return name; in getSortKey()
205 public int getBucketIndex(String name) { in getBucketIndex() argument
207 final int length = name.length(); in getBucketIndex()
210 int codePoint = Character.codePointAt(name, offset); in getBucketIndex()
236 name = HanziToPinyin.getInstance().transliterate(name); in getBucketIndex()
238 final int bucket = mAlphabeticIndex.getBucketIndex(name); in getBucketIndex()
273 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
349 public int getBucketIndex(String name) { in getBucketIndex() argument
350 final int bucketIndex = super.getBucketIndex(name); in getBucketIndex()
[all …]
DDataRowHandlerForStructuredName.java53 String name = values.getAsString(StructuredName.DISPLAY_NAME); in insert() local
55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, in insert()
80 String name = augmented.getAsString(StructuredName.DISPLAY_NAME); in update() local
83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name, in update()
127 NameSplitter.Name name = new NameSplitter.Name(); in fixStructuredNameComponents() local
128 mSplitter.split(name, unstruct); in fixStructuredNameComponents()
129 name.toValues(update); in fixStructuredNameComponents()
136 NameSplitter.Name name = new NameSplitter.Name(); in fixStructuredNameComponents() local
137 name.fromValues(augmented); in fixStructuredNameComponents()
139 name.fullNameStyle = FullNameStyle.UNDEFINED; in fixStructuredNameComponents()
[all …]
/packages/services/Car/tools/emulator/
DVehicleHalProto_pb2.py15 name='VehicleHalProto.proto',
20 name='MsgType',
26 name='GET_CONFIG_CMD', index=0, number=0,
30 name='GET_CONFIG_RESP', index=1, number=1,
34 name='GET_CONFIG_ALL_CMD', index=2, number=2,
38 name='GET_CONFIG_ALL_RESP', index=3, number=3,
42 name='GET_PROPERTY_CMD', index=4, number=4,
46 name='GET_PROPERTY_RESP', index=5, number=5,
50 name='GET_PROPERTY_ALL_CMD', index=6, number=6,
54 name='GET_PROPERTY_ALL_RESP', index=7, number=7,
[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 …]
DBaseDatabaseHelperUpgradeTest.java46 public String name; field in BaseDatabaseHelperUpgradeTest.TableColumn
58 public TableColumn(String name, String type, boolean notnull, String defaultValue) { in TableColumn() argument
59 this.name = name; in TableColumn()
84 column.name = cursor.getString(nameIndex); in TableStructure()
100 mColumns.put(column.name, column); in addColumn()
103 public void assertHasColumn(String name, String type, boolean notnull, in assertHasColumn() argument
105 final TableColumn column = mColumns.get(name); in assertHasColumn()
107 throw new AssertionFailedError("Table " + mName + ": Column missing: " + name); in assertHasColumn()
110 throw new AssertionFailedError("Table " + mName + ": Column " + name + " type:" in assertHasColumn()
114 throw new AssertionFailedError("Table " + mName + ": Column " + name + " notnull:" in assertHasColumn()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java94 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() argument
95 if (name.contains("/")) { in createDocument()
99 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument()
102 throw new RuntimeException("Couldn't create document: " + name + " with mimetype " in createDocument()
107 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument
109 return createDocument(parentUri, mimeType, name); in createDocument()
112 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() argument
113 return createDocument(root.documentId, mimeType, name); in createDocument()
116 public Uri createDocumentWithFlags(String documentId, String mimeType, String name, int flags, in createDocumentWithFlags() argument
123 in.putString(Document.COLUMN_DISPLAY_NAME, name); in createDocumentWithFlags()
[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 …]
DMimeBodyPart.java55 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader() argument
56 return header.getFirstHeader(name); in getFirstHeader()
60 public void addHeader(String name, String value) throws MessagingException { in addHeader() argument
61 header.addHeader(name, value); in addHeader()
65 public void setHeader(String name, String value) throws MessagingException { in setHeader() argument
66 header.setHeader(name, value); in setHeader()
70 public String[] getHeader(String name) throws MessagingException { in getHeader() argument
71 return header.getHeader(name); in getHeader()
75 public void removeHeader(String name) throws MessagingException { in removeHeader() argument
76 header.removeHeader(name); in removeHeader()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryEntry.java126 public String name; field in BatteryEntry
132 String name; field in BatteryEntry.UidToDetail
143 name = context.getResources().getString(R.string.power_idle); in BatteryEntry()
147 name = context.getResources().getString(R.string.power_cell); in BatteryEntry()
151 name = context.getResources().getString(R.string.power_phone); in BatteryEntry()
155 name = context.getResources().getString(R.string.power_wifi); in BatteryEntry()
159 name = context.getResources().getString(R.string.power_bluetooth); in BatteryEntry()
163 name = context.getResources().getString(R.string.power_screen); in BatteryEntry()
167 name = context.getResources().getString(R.string.power_flashlight); in BatteryEntry()
175 name = sipper.packageWithHighestDrain; in BatteryEntry()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java126 public String name; field in BatteryEntry
132 String name; field in BatteryEntry.UidToDetail
143 name = context.getResources().getString(R.string.power_idle); in BatteryEntry()
147 name = context.getResources().getString(R.string.power_cell); in BatteryEntry()
151 name = context.getResources().getString(R.string.power_phone); in BatteryEntry()
155 name = context.getResources().getString(R.string.power_wifi); in BatteryEntry()
159 name = context.getResources().getString(R.string.power_bluetooth); in BatteryEntry()
163 name = context.getResources().getString(R.string.power_screen); in BatteryEntry()
167 name = context.getResources().getString(R.string.power_flashlight); in BatteryEntry()
175 name = sipper.packageWithHighestDrain; in BatteryEntry()
[all …]
/packages/services/Car/tools/hidl_parser/
Dparser.py85 def __init__(self, name): argument
86 self.name = name
89 return self.name
92 def __init__(self, name, arg): argument
93 self.name = name
97 return '%s<%s>' % (self.name, self.arg)
100 def __init__(self, name, base): argument
101 self.name = name
105 return '%s%s' % (self.name, ' %s' % self.base if self.base else '')
108 def __init__(self, name): argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryBoldingUtil.java59 @Nullable String query, @NonNull String name, @NonNull Context context) { in getNameWithQueryBolded() argument
61 return name; in getNameWithQueryBolded()
64 if (!QueryFilteringUtil.nameMatchesT9Query(query, name, context)) { in getNameWithQueryBolded()
66 Matcher matcher = pattern.matcher(name.toLowerCase()); in getNameWithQueryBolded()
69 return getBoldedString(name, matcher.start(), query.length()); in getNameWithQueryBolded()
72 return name; in getNameWithQueryBolded()
76 int indexOfT9Match = QueryFilteringUtil.getIndexOfT9Substring(query, name, context); in getNameWithQueryBolded()
82 for (int i = indexOfT9Match; i <= indexOfT9Match + numBolded && i < name.length(); i++) { in getNameWithQueryBolded()
83 if (!Character.isLetter(name.charAt(i))) { in getNameWithQueryBolded()
87 return getBoldedString(name, indexOfT9Match, numBolded); in getNameWithQueryBolded()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java56 public BluetoothMapFolderElement(String name, BluetoothMapFolderElement parrent) { in BluetoothMapFolderElement() argument
57 this.mName = name; in BluetoothMapFolderElement()
132 public BluetoothMapFolderElement getFolderByName(String name) { in getFolderByName() argument
136 folderElement = folderElement.getSubFolder(name); in getFolderByName()
189 public BluetoothMapFolderElement addFolder(String name) { in addFolder() argument
190 name = name.toLowerCase(Locale.US); in addFolder()
191 BluetoothMapFolderElement newFolder = mSubFolders.get(name); in addFolder()
194 Log.i(TAG, "addFolder():" + name); in addFolder()
196 newFolder = new BluetoothMapFolderElement(name, this); in addFolder()
197 mSubFolders.put(name, newFolder); in addFolder()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceControllerTest.java58 OTHER_ENGINE_INFO.name = "com.android.car.settings.tts.test.Engine1";
60 CURRENT_ENGINE_INFO.name = "com.android.car.settings.tts.test.Engine2";
87 when(mEnginesHelper.getEngineInfo(OTHER_ENGINE_INFO.name)).thenReturn(OTHER_ENGINE_INFO); in setUp()
88 when(mEnginesHelper.getEngineInfo(CURRENT_ENGINE_INFO.name)).thenReturn( in setUp()
100 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in onCreate_populatesGroup()
107 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_currentEngineInfoSummarySet()
112 mPreferenceGroup.findPreference(CURRENT_ENGINE_INFO.name).getSummary()).isEqualTo( in refreshUi_currentEngineInfoSummarySet()
118 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_otherEngineInfoSummaryEmpty()
122 assertThat(mPreferenceGroup.findPreference(OTHER_ENGINE_INFO.name).getSummary()).isEqualTo( in refreshUi_otherEngineInfoSummaryEmpty()
128 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_currentEngine_returnFalse()
[all …]
/packages/apps/TV/libs/
DAndroid.bp16 name: "tv-auto-common-jar",
23 name: "tv-auto-factory-jar",
30 name: "tv-auto-factory",
46 name: "tv-auto-value-jar",
53 name: "tv-auto-value",
62 name: "tv-error-prone-annotations-jar",
68 name: "tv-google-java-format-jar",
75 name: "tv-guava-android-jar",
81 name: "tv-guava-jre-jar",
88 name: "tv-guava-failureaccess-jar",
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestModel.java72 public DocumentInfo createFile(String name) { in createFile() argument
74 name, in createFile()
80 public DocumentInfo createFile(String name, int flags) { in createFile() argument
82 name, in createFile()
83 guessMimeType(name), in createFile()
87 public DocumentInfo createFolder(String name) { in createFolder() argument
89 name, in createFolder()
96 public DocumentInfo createFolder(String name, int flags) { in createFolder() argument
98 name, in createFolder()
103 public DocumentInfo createDocument(String name, String mimeType, int flags) { in createDocument() argument
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java228 String name = requireAttributeValue(parser, ATTRIBUTE_NAME, TAG_PERMISSION_SET); in parsePermissionSet() local
229 if (name == null) { in parsePermissionSet()
259 return new PermissionSet(name, permissions); in parsePermissionSet()
266 String name = requireAttributeValue(parser, ATTRIBUTE_NAME, TAG_ROLE); in parseRole() local
267 if (name == null) { in parseRole()
339 throwOrLogMessage("showNone=\"true\" is invalid for a non-exclusive role: " + name); in parseRole()
364 throwOrLogMessage("Duplicate <required-components> in role: " + name); in parseRole()
372 throwOrLogMessage("Duplicate <permissions> in role: " + name); in parseRole()
380 throwOrLogMessage("Duplicate <app-ops> in role: " + name); in parseRole()
388 throwOrLogMessage("Duplicate <preferred-activities> in role: " + name); in parseRole()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowSecureSettings.java38 public static boolean putStringForUser(ContentResolver resolver, String name, String value, in putStringForUser() argument
43 userTable.put(userHandle, name, value); in putStringForUser()
45 userTable.remove(userHandle, name); in putStringForUser()
52 public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { in getStringForUser() argument
55 return (String) userTable.get(userHandle, name); in getStringForUser()
60 public static boolean putIntForUser(ContentResolver resolver, String name, int value, in putIntForUser() argument
64 userTable.put(userHandle, name, value); in putIntForUser()
70 public static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser() argument
74 final Object object = userTable.get(userHandle, name); in getIntForUser()
80 public static boolean putLongForUser(ContentResolver resolver, String name, long value, in putLongForUser() argument
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h83 GenericValue<Encoding, Allocator> name; //!< name of member (must be a string) member
713 … typename RhsType::ConstMemberIterator rhsMemberItr = rhs.FindMember(lhsMemberItr->name);
844 …rnal::IsSame<typename internal::RemoveConst<T>::Type, Ch> >),(GenericValue&)) operator[](T* name) {
845 GenericValue n(StringRef(name));
849 …e, Ch> >),(const GenericValue&)) operator[](T* name) const { return const_cast<GenericValue&>(*thi…
861 GenericValue& operator[](const GenericValue<Encoding, SourceAllocator>& name) {
862 MemberIterator member = FindMember(name);
872 …const GenericValue<Encoding, SourceAllocator>& name) const { return const_cast<GenericValue&>(*thi…
876 …ericValue& operator[](const std::basic_string<Ch>& name) { return (*this)[GenericValue(StringRef(n…
877 …cValue& operator[](const std::basic_string<Ch>& name) const { return (*this)[GenericValue(StringRe…
[all …]
/packages/apps/Calendar/
Dmkprojectfile8 <name>CalendarAndroid</name>
14 <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
19 <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
24 <name>org.eclipse.jdt.core.javabuilder</name>
29 <name>com.android.ide.eclipse.adt.ApkBuilder</name>
40 <name>src_ex_common</name>
45 <name>src_opt_calendar</name>
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java307 jsonWriter.name("provider").value(location.getProvider()); in storeLocation()
308 jsonWriter.name("latitude").value(location.getLatitude()); in storeLocation()
309 jsonWriter.name("longitude").value(location.getLongitude()); in storeLocation()
311 jsonWriter.name("altitude").value(location.getAltitude()); in storeLocation()
314 jsonWriter.name("speed").value(location.getSpeed()); in storeLocation()
317 jsonWriter.name("bearing").value(location.getBearing()); in storeLocation()
320 jsonWriter.name("accuracy").value(location.getAccuracy()); in storeLocation()
323 jsonWriter.name("verticalAccuracy").value( in storeLocation()
327 jsonWriter.name("speedAccuracy").value( in storeLocation()
331 jsonWriter.name("bearingAccuracy").value( in storeLocation()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneInfoPicker.java118 String name = timeZoneInfo.getExemplarLocation(); in createTitle() local
119 if (name == null) { in createTitle()
120 name = timeZoneInfo.getGenericName(); in createTitle()
122 if (name == null && timeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in createTitle()
123 name = timeZoneInfo.getDaylightName(); in createTitle()
125 if (name == null) { in createTitle()
126 name = timeZoneInfo.getStandardName(); in createTitle()
128 if (name == null) { in createTitle()
129 name = String.valueOf(timeZoneInfo.getGmtOffset()); in createTitle()
131 return name; in createTitle()
[all …]
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneInfoPicker.java118 String name = timeZoneInfo.getExemplarLocation(); in createTitle() local
119 if (name == null) { in createTitle()
120 name = timeZoneInfo.getGenericName(); in createTitle()
122 if (name == null && timeZoneInfo.getTimeZone().inDaylightTime(new Date())) { in createTitle()
123 name = timeZoneInfo.getDaylightName(); in createTitle()
125 if (name == null) { in createTitle()
126 name = timeZoneInfo.getStandardName(); in createTitle()
128 if (name == null) { in createTitle()
129 name = String.valueOf(timeZoneInfo.getGmtOffset()); in createTitle()
131 return name; in createTitle()
[all …]

12345678910>>...63