Home
last modified time | relevance | path

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

12

/frameworks/rs/driver/
DrsdShaderCache.cpp123 uint32_t entryCount = mEntries.size(); in link()
125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
127 glUseProgram(mEntries[ct]->program); in link()
128 mCurrent = mEntries[ct]; in link()
138 mEntries.push_back(e); in link()
246 int32_t numEntries = (int32_t)mEntries.size(); in cleanupVertex()
251 if (mEntries[ct]->vtx == id) { in cleanupVertex()
252 glDeleteProgram(mEntries[ct]->program); in cleanupVertex()
254 delete mEntries[ct]; in cleanupVertex()
255 mEntries.erase(mEntries.begin() + ct); in cleanupVertex()
[all …]
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp35 size_t size = mEntries.size(); in addEntry()
42 if (mEntries.add(entry) < 0) { in addEntry()
51 ssize_t index = mEntries.indexOfTag(tag); in getEntry()
56 return mEntries[index]; in getEntry()
60 ssize_t index = mEntries.indexOfTag(tag); in removeEntry()
62 mEntries.removeAt(index); in removeEntry()
76 size_t size = mEntries.size(); in checkAndGetOffset()
111 size_t size = mEntries.size(); in writeData()
119 BAIL_ON_FAIL(mEntries[i]->writeTagInfo(valueOffset, out), ret); in writeData()
120 valueOffset += mEntries[i]->getSize(); in writeData()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java58 private final ArrayMap<String, NotificationEntry> mEntries = new ArrayMap<>(); field in NotificationData
168 synchronized (mEntries) { in getNotificationsForCurrentUser()
169 final int len = mEntries.size(); in getNotificationsForCurrentUser()
173 NotificationEntry entry = mEntries.valueAt(i); in getNotificationsForCurrentUser()
185 return mEntries.get(key); in get()
189 synchronized (mEntries) { in add()
190 mEntries.put(entry.notification.getKey(), entry); in add()
199 synchronized (mEntries) { in remove()
200 removed = mEntries.remove(key); in remove()
227 synchronized (mEntries) { in updateAppOp()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPendingRemoteAnimationRegistry.java36 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>(); field in PendingRemoteAnimationRegistry
49 mEntries.put(packageName, new Entry(packageName, adapter)); in addPendingAnimation()
58 final Entry entry = mEntries.get(callingPackage); in overrideOptionsIfNeeded()
67 mEntries.remove(callingPackage); in overrideOptionsIfNeeded()
80 final Entry entry = mEntries.get(packageName); in Entry()
82 mEntries.remove(packageName); in Entry()
DDisplayWindowSettings.java82 private final HashMap<String, Entry> mEntries = new HashMap<>(); field in DisplayWindowSettings
177 if ((entry = mEntries.get(identifier)) != null) { in getEntry()
181 if ((entry = mEntries.get(displayInfo.name)) != null) { in getEntry()
201 mEntries.put(newEntry.mName, newEntry); in updateIdentifierForEntry()
499 mEntries.clear(); in readSettings()
561 mEntries.put(name, entry); in readDisplay()
578 mEntries.put(getIdentifier(displayInfo), changedEntry); in writeSettingsIfNeeded()
602 for (Entry entry : mEntries.values()) { in writeSettings()
675 boolean removed = mEntries.remove(getIdentifier(displayInfo)) != null; in removeEntry()
677 removed |= mEntries.remove(displayInfo.uniqueId) != null; in removeEntry()
[all …]
/frameworks/native/cmds/lshal/
DTableEntry.h124 Entries::iterator begin() { return mEntries.begin(); } in begin()
125 Entries::const_iterator begin() const { return mEntries.begin(); } in begin()
126 Entries::iterator end() { return mEntries.end(); } in end()
127 Entries::const_iterator end() const { return mEntries.end(); } in end()
128 size_t size() const { return mEntries.size(); } in size()
130 void add(TableEntry&& entry) { mEntries.push_back(std::move(entry)); } in add()
143 Entries mEntries; variable
/frameworks/base/tools/aapt/
DStringPool.cpp140 eidx = mEntries.add(entry(value)); in add()
148 entry& ent = mEntries.editItemAt(eidx); in add()
162 entry& ent = mEntries.editItemAt(eidx); in add()
192 entry& ent = mEntries.editItemAt(eidx); in add()
235 mEntries.editItemAt(mEntryArray[idx]).hasStyles = true; in addStyleSpan()
245 const StringPool::entry& lhe = pool.mEntries[pool.mEntryArray[l]]; in operator ()()
246 const StringPool::entry& rhe = pool.mEntries[pool.mEntryArray[r]]; in operator ()()
289 mEntries[mEntryArray[newPosToOriginalPos[i]]].makeConfigsString().string()); in sortByConfig()
290 entries.add(mEntries[mEntryArray[i]]); in sortByConfig()
310 const entry& oldEnt = mEntries[mEntryArray[oldI]]; in sortByConfig()
[all …]
DZipFile.cpp137 if (idx < 0 || idx >= (int) mEntries.size()) in getEntryByIndex()
140 return mEntries[idx]; in getEntryByIndex()
160 for (idx = mEntries.size()-1; idx >= 0; idx--) { in getEntryByName()
161 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
177 int count = mEntries.size(); in discardEntries()
180 delete mEntries[count]; in discardEntries()
182 mEntries.clear(); in discardEntries()
318 mEntries.add(pEntry); in readCentralDir()
377 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon()
519 mEntries.add(pEntry); in addCommon()
[all …]
DZipFile.h164 int getNumEntries(void) const { return mEntries.size(); } in getNumEntries()
265 Vector<ZipEntry*> mEntries; variable
/frameworks/base/identity/java/android/security/identity/
DPersonalizationData.java60 private LinkedHashMap<String, EntryData> mEntries = new LinkedHashMap<>(); field in PersonalizationData.NamespaceData
71 return Collections.unmodifiableCollection(mEntries.keySet()); in getEntryNames()
75 EntryData value = mEntries.get(name); in getAccessControlProfileIds()
83 EntryData value = mEntries.get(name); in getEntryValue()
132 namespaceData.mEntries.put(name, new EntryData(value, accessControlProfileIds)); in putEntry()
/frameworks/base/core/java/android/preference/
DListPreference.java48 private CharSequence[] mEntries; field in ListPreference
61 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); in ListPreference()
97 mEntries = entries; in setEntries()
114 return mEntries; in getEntries()
229 return index >= 0 && mEntries != null ? mEntries[index] : null; in getEntry()
257 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
263 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
DMultiCheckPreference.java46 private CharSequence[] mEntries; field in MultiCheckPreference
58 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); in MultiCheckPreference()
59 if (mEntries != null) { in MultiCheckPreference()
60 setEntries(mEntries); in MultiCheckPreference()
98 mEntries = entries; in setEntries()
117 return mEntries; in getEntries()
252 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
258 builder.setMultiChoiceItems(mEntries, mSetValues, in onPrepareDialogBuilder()
DMultiSelectListPreference.java50 private CharSequence[] mEntries; field in MultiSelectListPreference
63mEntries = a.getTextArray(com.android.internal.R.styleable.MultiSelectListPreference_entries); in MultiSelectListPreference()
91 mEntries = entries; in setEntries()
108 return mEntries; in getEntries()
180 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
187 builder.setMultiChoiceItems(mEntries, checkedItems, in onPrepareDialogBuilder()
/frameworks/base/libs/hwui/
DLayerUpdateQueue.cpp25 mEntries.clear(); in clear()
32 for (Entry& entry : mEntries) { in enqueueLayerWithDamage()
38 mEntries.emplace_back(renderNode, damage); in enqueueLayerWithDamage()
DLayerUpdateQueue.h47 const std::vector<Entry>& entries() const { return mEntries; } in entries()
50 std::vector<Entry> mEntries;
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java46 HashMap<String, RevocationStatus> mEntries; field in KeyRevocationList
59 mEntries = new HashMap<String, RevocationStatus>(); in KeyRevocationList()
68 return mEntries.get(publicKey); in getRevocationStatusForKey()
79 mEntries.put(publicKey, new RevocationStatus(status, reason)); in addEntry()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java121 final SparseArray<ArrayMap<String, PackageEntry>> mEntries = new SparseArray<>(); field in JobPackageTracker.DataSet
142 ArrayMap<String, PackageEntry> uidMap = mEntries.get(uid); in getOrCreateEntry()
145 mEntries.put(uid, uidMap); in getOrCreateEntry()
156 ArrayMap<String, PackageEntry> uidMap = mEntries.get(uid); in getEntry()
226 for (int i = mEntries.size() - 1; i >= 0; i--) { in finish()
227 ArrayMap<String, PackageEntry> uidMap = mEntries.valueAt(i); in finish()
232 … PackageEntry nextPe = next.getOrCreateEntry(mEntries.keyAt(i), uidMap.keyAt(j)); in finish()
259 for (int i = mEntries.size() - 1; i >= 0; i--) { in addTo()
260 ArrayMap<String, PackageEntry> uidMap = mEntries.valueAt(i); in addTo()
263 PackageEntry outPe = out.getOrCreateEntry(mEntries.keyAt(i), uidMap.keyAt(j)); in addTo()
[all …]
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java93 final private HashMap<String, String> mEntries = field in UrlQuerySanitizer
645 return mEntries.keySet(); in getParameterSet()
664 return mEntries.containsKey(parameter); in hasParameter()
676 return mEntries.get(parameter); in getValue()
796 if (mEntries.containsKey(parameter)) { in addSanitizedEntry()
800 mEntries.put(parameter, value); in addSanitizedEntry()
907 mEntries.clear(); in clear()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java45 private final SparseArray<Entry> mEntries = new SparseArray<>(512); field in LooperStats
150 final int size = mEntries.size(); in getEntries()
153 Entry entry = mEntries.valueAt(i); in getEntries()
205 mEntries.clear(); in reset()
236 entry = mEntries.get(id); in findEntry()
240 } else if (mEntries.size() >= mEntriesSizeCap) { in findEntry()
245 mEntries.put(id, entry); in findEntry()
DFuseAppLoop.java359 final Map<Long, BytesMapEntry> mEntries = new HashMap<>();
362 BytesMapEntry entry = mEntries.get(threadId);
365 mEntries.put(threadId, entry);
372 final BytesMapEntry entry = mEntries.get(threadId);
376 mEntries.remove(threadId);
381 mEntries.clear();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java81 private final String[] mEntries; field in DisplayDensityUtils
91 mEntries = null; in DisplayDensityUtils()
172 mEntries = entries; in DisplayDensityUtils()
177 return mEntries; in getEntries()
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java65 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromJsonString()
68 Assert.assertTrue(blocklist.mEntries.isEmpty()); in testFromJsonString()
102 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromUrl()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DAbUpdateInstaller.java56 private Enumeration<? extends ZipEntry> mEntries; field in AbUpdateInstaller
178 mEntries = mPackedUpdateFile.entries(); in setState()
216 while (mEntries.hasMoreElements()) { in updateStateForPayload()
217 ZipEntry entry = mEntries.nextElement(); in updateStateForPayload()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java122 private final @NonNull FontFileResourceEntry[] mEntries; field in FontResourcesParser.FontFamilyFilesResourceEntry
125 mEntries = entries; in FontFamilyFilesResourceEntry()
129 return mEntries; in getEntries()
/frameworks/av/media/img_utils/include/img_utils/
DTiffIfd.h157 SortedEntryVector mEntries; variable

12