/frameworks/rs/driver/ |
D | rsdShaderCache.cpp | 123 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/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | MissingCounterTimerLockList.java | 36 private final Map<E, LockListEntry> mEntries; field in MissingCounterTimerLockList 46 mEntries = new HashMap<>(); in MissingCounterTimerLockList() 57 for (Map.Entry<E, LockListEntry> mapEntry : mEntries.entrySet()) { in update() 78 mEntries.put(entry, new LockListEntry(duration)); in add() 87 return mEntries.remove(entry) != null; in remove() 99 LockListEntry blockTimer = mEntries.get(entry); in isLocked() 107 return mEntries.size(); in size() 114 mEntries.clear(); in clear()
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 35 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/services/core/java/com/android/server/wm/ |
D | PendingRemoteAnimationRegistry.java | 34 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>(); field in PendingRemoteAnimationRegistry 47 mEntries.put(packageName, new Entry(packageName, adapter)); in addPendingAnimation() 56 final Entry entry = mEntries.get(callingPackage); in overrideOptionsIfNeeded() 65 mEntries.remove(callingPackage); in overrideOptionsIfNeeded() 78 final Entry entry = mEntries.get(packageName); in Entry() 80 mEntries.remove(packageName); in Entry()
|
D | DisplayWindowSettings.java | 82 private final HashMap<String, Entry> mEntries = new HashMap<>(); field in DisplayWindowSettings 166 if ((entry = mEntries.get(identifier)) != null) { in getEntry() 170 if ((entry = mEntries.get(displayInfo.name)) != null) { in getEntry() 190 mEntries.put(newEntry.mName, newEntry); in updateIdentifierForEntry() 473 mEntries.clear(); in readSettings() 531 mEntries.put(name, entry); in readDisplay() 548 mEntries.put(getIdentifier(displayInfo), changedEntry); in writeSettingsIfNeeded() 572 for (Entry entry : mEntries.values()) { in writeSettings() 633 boolean removed = mEntries.remove(getIdentifier(displayInfo)) != null; in removeEntry() 635 removed |= mEntries.remove(displayInfo.uniqueId) != null; in removeEntry() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | UpdatableListPreferenceDialogFragment.java | 46 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragment 71 mEntries = new ArrayList<>(); in onCreate() 75 mEntries = savedInstanceState.getCharSequenceArrayList(SAVE_STATE_ENTRIES); in onCreate() 85 outState.putCharSequenceArrayList(SAVE_STATE_ENTRIES, mEntries); in onSaveInstanceState() 107 mEntries = entries; in setEntries() 134 mEntries); in onPrepareDialogBuilder() 157 mEntries.clear(); in setPreferenceData() 160 mEntries.add(entry); in setPreferenceData()
|
/frameworks/native/cmds/lshal/ |
D | TableEntry.h | 124 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/packages/BackupEncryption/src/com/android/server/backup/encryption/kv/ |
D | KeyValueListingBuilder.java | 35 private final List<KeyValueListingProto.KeyValueEntry> mEntries = new ArrayList<>(); field in KeyValueListingBuilder 45 mEntries.add(entry); in addPair() 61 if (mEntries.size() == 0) { in build() 66 listing.entries = new KeyValueListingProto.KeyValueEntry[mEntries.size()]; in build() 67 mEntries.toArray(listing.entries); in build()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 140 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 …]
|
D | ZipFile.cpp | 137 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 …]
|
/frameworks/base/identity/java/android/security/identity/ |
D | PersonalizationData.java | 60 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/libs/hwui/ |
D | LayerUpdateQueue.cpp | 25 mEntries.clear(); in clear() 32 for (Entry& entry : mEntries) { in enqueueLayerWithDamage() 38 mEntries.emplace_back(renderNode, damage); in enqueueLayerWithDamage()
|
D | LayerUpdateQueue.h | 47 const std::vector<Entry>& entries() const { return mEntries; } in entries() 50 std::vector<Entry> mEntries;
|
/frameworks/base/core/java/android/preference/ |
D | ListPreference.java | 48 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()
|
D | MultiCheckPreference.java | 46 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()
|
D | MultiSelectListPreference.java | 50 private CharSequence[] mEntries; field in MultiSelectListPreference 63 … mEntries = 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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | UpdatableListPreferenceDialogFragmentTest.java | 50 private ArrayList<CharSequence> mEntries; field in UpdatableListPreferenceDialogFragmentTest 59 mEntries = spy(new ArrayList<>()); in setUp() 60 mUpdatableListPrefDlgFragment.setEntries(mEntries); in setUp() 70 mEntries)); in initAdapter()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | KeyRevocationList.java | 46 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/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobPackageTracker.java | 121 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/com/android/internal/os/ |
D | LooperStats.java | 45 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()
|
D | FuseAppLoop.java | 360 final Map<Long, BytesMapEntry> mEntries = new HashMap<>(); 363 BytesMapEntry entry = mEntries.get(inode); 366 mEntries.put(inode, entry); 373 final BytesMapEntry entry = mEntries.get(inode); 377 mEntries.remove(inode); 382 mEntries.clear();
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 93 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/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 81 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/ |
D | KeyRevocationListTest.java | 65 Assert.assertFalse(blacklist.mEntries.isEmpty()); in testFromJsonString() 68 Assert.assertTrue(blacklist.mEntries.isEmpty()); in testFromJsonString() 102 Assert.assertFalse(blacklist.mEntries.isEmpty()); in testFromUrl()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 473 private RebootEscrowEvent[] mEntries = new RebootEscrowEvent[16]; field in RebootEscrowManager.RebootEscrowEventLog 486 mEntries[index] = event; in addEntryInternal() 487 mNextIndex = (mNextIndex + 1) % mEntries.length; in addEntryInternal() 493 for (int i = 0; i < mEntries.length; ++i) { in dump() 494 RebootEscrowEvent event = mEntries[(i + mNextIndex) % mEntries.length]; in dump()
|