Home
last modified time | relevance | path

Searched refs:mNames (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java38 private String[] mNames = new String[NameSplitter.MAX_TOKENS]; field in NameLookupBuilder
89 int tokenCount = mSplitter.tokenize(mNames, name); in insertNameLookup()
95 mNames[i] = normalizeName(mNames[i]); in insertNameLookup()
103 Arrays.sort(mNames, 0, tokenCount, new Comparator<String>() { in insertNameLookup()
112 String firstToken = mNames[0]; in insertNameLookup()
114 mNames[0] = mNames[i]; in insertNameLookup()
117 mNames[0] = firstToken; in insertNameLookup()
126 int tokenCount = mSplitter.tokenize(mNames, name); in appendToSearchIndex()
132 builder.appendName(mNames[i]); in appendToSearchIndex()
233 String firstToken = mNames[fromIndex]; in insertNameVariants()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSFriendlyNameElement.java34 private final List<I18Name> mNames; field in HSFriendlyNameElement
39 mNames = names; in HSFriendlyNameElement()
68 return Collections.unmodifiableList(mNames); in getNames()
80 return mNames.equals(that.mNames); in equals()
85 return mNames.hashCode(); in hashCode()
91 "mNames=" + mNames + in toString()
DVenueNameElement.java53 private final List<I18Name> mNames; field in VenueNameElement
58 mNames = names; in VenueNameElement()
90 return Collections.unmodifiableList(mNames); in getNames()
102 return mNames.equals(that.mNames); in equals()
107 return mNames.hashCode(); in hashCode()
112 return "VenueName{ mNames=" + mNames + "}"; in toString()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSizeClustering.java32 private String[] mNames; field in SizeClustering
86 mNames = new String[count]; in run()
98 mNames[k] = String.format( in run()
101 mNames[k] = String.format( in run()
106 mNames[k] = String.format( in run()
135 return mNames[index]; in getClusterName()
DTagClustering.java32 private String[] mNames; field in TagClustering
69 mNames = new String[m + ((untagged.size() > 0) ? 1 : 0)]; in run()
72 mNames[i++] = entry.getKey(); in run()
76 mNames[i++] = mUntaggedString; in run()
93 return mNames[index]; in getClusterName()
DLocationClustering.java42 private ArrayList<String> mNames; field in LocationClustering
119 mNames = new ArrayList<String>(); in run()
125 mNames.add(name); in run()
135 mNames.add(mNoLocationString); in run()
198 return mNames.get(index); in getClusterName()
DTimeClustering.java72 private String[] mNames; field in TimeClustering
151 mNames = new String[m]; in run()
153 mNames[i] = mClusters.get(i).generateCaption(mContext); in run()
174 return mNames[index]; in getClusterName()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java69 private HashMap<String, String> mNames = new HashMap<String, String>(); field in BluetoothOppPreference
98 mNames = (HashMap<String, String>) mNamePreference.getAll(); in init()
113 if (!mNames.isEmpty()) { in getName()
114 String name = mNames.get(identityAddress); in getName()
149 mNames.put(brEdrAddress, name); in setName()
184 mNames.remove(key); in removeName()
189 Log.d(TAG, mNames.toString()); in dump()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DSmsMmsContacts.java51 final HashMap<String, MapContact> mNames = new HashMap<String, MapContact>(10); field in SmsMmsContacts
123 if (mNames != null) { in clearCache()
124 mNames.clear(); in clearCache()
187 MapContact contact = mNames.get(phone); in getContactNameFromPhone()
227 mNames.put(phone, contact); in getContactNameFromPhone()
230 mNames.put(phone, contact); in getContactNameFromPhone()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DSmsMmsContactsTest.java131 mContacts.mNames.put(TEST_PHONE, contact); in clearCache()
139 assertThat(mContacts.mNames).isEmpty(); in clearCache()
185 mContacts.mNames.put(TEST_PHONE, contact); in getContactNameFromPhone_withNonNullContact_andZeroId()
196 mContacts.mNames.put(TEST_PHONE, contact); in getContactNameFromPhone_withNonNullContact_andNullFilter()
205 mContacts.mNames.put(TEST_PHONE, contact); in getContactNameFromPhone_withNonNullContact_andNonMatchingFilter()