Home
last modified time | relevance | path

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

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java106 mNames[i] = normalizeName(mNames[i]); in insertNameLookup()
123 String firstToken = mNames[0]; in insertNameLookup()
125 mNames[0] = mNames[i]; in insertNameLookup()
128 mNames[0] = firstToken; in insertNameLookup()
149 builder.appendName(mNames[i]); in appendToSearchIndex()
252 mNames[fromIndex] = mNames[i]; in insertNameVariants()
253 mNames[i] = firstToken; in insertNameVariants()
258 mNames[i] = mNames[fromIndex]; in insertNameVariants()
259 mNames[fromIndex] = firstToken; in insertNameVariants()
307 String token = mNames[i]; in insertNicknamePermutations()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DWorkSource.java35 String[] mNames; field in WorkSource
78 mNames = orig.mNames != null ? orig.mNames.clone() : null; in WorkSource()
105 mNames = null; in WorkSource()
212 return mNames != null ? mNames[index] : null; in getPackageName()
335 if (mNames != null && mNames.length >= mNum) { in set()
336 System.arraycopy(other.mNames, 0, mNames, 0, mNum); in set()
338 mNames = other.mNames.clone(); in set()
366 mNames = null; in set()
535 if (mNames == null && other.mNames == null) { in remove()
690 if (mNames == null && other.mNames == null) { in updateLocked()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A 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()
H A 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()
/aosp12/frameworks/native/services/powermanager/include/android/
H A DWorkSource.h35 mNames(names) {
38 std::optional<std::vector<std::optional<String16>>> getNames() const { return mNames; } in getNames()
40 return mUids == ws.mUids && mNames == ws.mNames;
49 std::optional<std::vector<std::optional<String16>>> mNames = {};
/aosp12/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp70 mNames.push_back(name); in addTag()
75 return mNames.size(); in size()
79 if (index >= mNames.size()) { in getTag()
83 *name = mNames.getEntry(index); in getTag()
99 int size = mNames.size(); in detectAndConvert()
102 ALOGV("%s: %s", mNames.getEntry(i), mValues.getEntry(i)); in detectAndConvert()
118 const char *name = mNames.getEntry(i); in detectAndConvert()
157 const char *name = mNames.getEntry(i); in detectAndConvert()
194 const char *name = mNames.getEntry(i); in detectAndConvert()
230 ALOGV("@@@@ %s is ascii", mNames.getEntry(i)); in detectAndConvert()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A 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()
H A 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()
H A 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()
H A 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()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppPreference.java66 private HashMap<String, String> mNames = new HashMap<String, String>(); field in BluetoothOppPreference
94 mNames = (HashMap<String, String>) mNamePreference.getAll(); in init()
108 if (!mNames.isEmpty()) { in getName()
109 String name = mNames.get(remoteDevice.getAddress()); in getName()
142 mNames.put(remoteDevice.getAddress(), name); in setName()
170 Log.d(TAG, mNames.toString()); in dump()
/aosp12/hardware/google/pixel/vibrator/common/
H A DHardwareBase.h86 NamesMap mNames; variable
108 ALOGE("Failed to read %s (%d): %s", mNames[stream].c_str(), errno, strerror(errno)); in get()
123 ALOGE("Failed to read %s (%d): %s", mNames[stream].c_str(), errno, strerror(errno)); in getStr()
126 ALOGE("Invalid %s !", mNames[stream].c_str()); in getStr()
141 ALOGE("Failed to write %s (%d): %s", mNames[stream].c_str(), errno, strerror(errno)); in set()
151 auto path = mPathPrefix + mNames[stream]; in poll()
161 ALOGE("Failed to poll %s (%d): %s", mNames[stream].c_str(), errno, strerror(errno)); in poll()
176 auto path = mPathPrefix + mNames[stream]; in pollStr()
192 ALOGE("Failed to poll string %s (%d): %s", mNames[stream].c_str(), errno, strerror(errno)); in pollStr()
H A DHardwareBase.cpp40 mNames[stream] = name; in saveName()
67 dprintf(fd, " %s\n", r->toString(mNames).c_str()); in debug()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DFont.java66 String[] mNames; field in Font.FontFamily
99 for(int i = 0; i < family.mNames.length; i ++) { in addFamilyToMap()
100 sFontFamilyMap.put(family.mNames[i], family); in addFamilyToMap()
108 sansFamily.mNames = sSansNames; in initFontFamilyMap()
116 serifFamily.mNames = sSerifNames; in initFontFamilyMap()
124 monoFamily.mNames = sMonoNames; in initFontFamilyMap()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DSmsMmsContacts.java43 private final HashMap<String, MapContact> mNames = new HashMap<String, MapContact>(10); field in SmsMmsContacts
104 if (mNames != null) { in clearCache()
105 mNames.clear(); in clearCache()
157 MapContact contact = mNames.get(phone); in getContactNameFromPhone()
194 mNames.put(phone, contact); in getContactNameFromPhone()
197 mNames.put(phone, contact); in getContactNameFromPhone()
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java85 private final String[] mNames; field in BridgeTypedArray
99 mNames = new String[len]; in BridgeTypedArray()
115 mNames[index] = name; in bridgeSetValue()
275 s, mNames[index]), in getInt()
298 s, mNames[index]), in getFloat()
397 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimension()
458 if (ResourceHelper.parseFloatAttribute(mNames[index], s, mValue, true)) { in getDimensionPixelSize()
554 value, mNames[index]), in getFraction()
750 mNames[index], resIdMessage); in getTextArray()
890 map = Bridge.getEnumValues(mNames[index]); in resolveEnumAttribute()
[all …]
/aosp12/frameworks/native/services/powermanager/
H A DWorkSource.cpp33 ?: parcel->readString16Vector(&mNames); in readFromParcel()
46 ?: parcel->writeString16Vector(mNames); in writeToParcel()
/aosp12/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java2223 private final String[] mNames; field in AssistStructure.HtmlInfoNode
2231 if (builder.mNames == null) { in HtmlInfoNode()
2232 mNames = null; in HtmlInfoNode()
2235 mNames = new String[builder.mNames.size()]; in HtmlInfoNode()
2237 builder.mNames.toArray(mNames); in HtmlInfoNode()
2249 if (mAttributes == null && mNames != null) { in getAttributes()
2267 parcel.writeStringArray(mNames); in writeToParcel()
2304 private ArrayList<String> mNames; field in AssistStructure.HtmlInfoNodeBuilder
2313 if (mNames == null) { in addAttribute()
2314 mNames = new ArrayList<>(); in addAttribute()
[all …]
/aosp12/frameworks/av/media/libmedia/include/media/
H A DCharacterEncodingDetector.h53 StringArray mNames; variable
/aosp12/frameworks/rs/
H A DrsContext.cpp682 mNames.push_back(obj); in assignName()
686 for (size_t ct=0; ct < mNames.size(); ct++) { in removeName()
687 if (obj == mNames[ct]) { in removeName()
688 mNames.erase(mNames.begin() + ct); in removeName()
H A DrsContext.h358 std::vector<ObjectBase *> mNames; variable
/aosp12/system/tools/hidl/
H A DMethod.h136 std::set<std::string> mNames;
H A DMethod.cpp336 if (mNames.emplace(v->name()).second) { in add()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityThread.java758 final String[] mNames; field in ActivityThread.ProviderClientRecord
768 mNames = names; in ProviderClientRecord()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt2016 Landroid/app/ActivityThread$ProviderClientRecord;->mNames:[Ljava/lang/String;
3871 Landroid/app/assist/AssistStructure$HtmlInfoNode;->mNames:[Ljava/lang/String;
3875 Landroid/app/assist/AssistStructure$HtmlInfoNodeBuilder;->mNames:Ljava/util/ArrayList;
49094 Landroid/renderscript/Font$FontFamily;->mNames:[Ljava/lang/String;