Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java60 private static final Entry[] NO_ENTRIES = {};
65 Entry[] entries = { in testRecord()
66 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package1"), in testRecord()
67 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package2"), in testRecord()
68 new Entry("owning.package1", "/path/file2", 'D', 5, "loading.package1"), in testRecord()
69 new Entry("owning.package2", "/path/file3", 'D', 0, "loading.package2"), in testRecord()
78 Entry owner1Path1Loader1 = in testRecord_returnsHasChanged()
79 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package1"); in testRecord_returnsHasChanged()
80 Entry owner1Path1Loader2 = in testRecord_returnsHasChanged()
81 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package2"); in testRecord_returnsHasChanged()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.tcc12 Entry<32, true>::Entry() { in Entry() function in Entry
17 Entry<32, true>::~Entry() { in ~Entry()
20 void Entry<32, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue()
25 size_t Entry<32, true>::emit(uint8_t* pAddress) const { in emit()
34 Entry<64, true>::Entry() { in Entry() function in Entry
39 Entry<64, true>::~Entry() { in ~Entry()
42 void Entry<64, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue()
47 size_t Entry<64, true>::emit(uint8_t* pAddress) const { in emit()
DELFDynamic.h47 class Entry {};
50 class Entry<32, true> : public EntryIF {
58 inline Entry();
60 inline ~Entry();
62 Entry* clone() const { return new Entry(); } in clone()
81 class Entry<64, true> : public EntryIF {
89 inline Entry();
91 inline ~Entry();
93 Entry* clone() const { return new Entry(); } in clone()
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp34 DropBoxManager::Entry::Entry() in Entry() function in android::os::DropBoxManager::Entry
44 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags) in Entry() function in android::os::DropBoxManager::Entry
53 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags, int fd) in Entry() function in android::os::DropBoxManager::Entry
62 DropBoxManager::Entry::~Entry() in ~Entry()
67 DropBoxManager::Entry::writeToParcel(Parcel* out) const in writeToParcel()
105 DropBoxManager::Entry::readFromParcel(const Parcel* in) in readFromParcel()
147 DropBoxManager::Entry::getData() const in getData()
153 DropBoxManager::Entry::getFd() const in getFd()
159 DropBoxManager::Entry::getFlags() const in getFlags()
165 DropBoxManager::Entry::getTimestamp() const in getTimestamp()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java106 final Map.Entry<FieldDescriptorType, Object> entry = in newFieldMap()
113 for (Map.Entry<FieldDescriptorType, Object> entry : in newFieldMap()
141 private List<Entry> entryList;
184 public Map.Entry<K, V> getArrayEntryAt(int index) {
194 public Iterable<Map.Entry<K, V>> getOverflowEntries() {
196 EmptySet.<Map.Entry<K, V>>iterable() :
252 final Entry lastEntryInArray = entryList.remove(maxArraySize - 1); in put()
256 entryList.add(insertionPoint, new Entry(key, value)); in put()
301 final Iterator<Map.Entry<K, V>> iterator = in removeArrayEntryAt()
303 entryList.add(new Entry(iterator.next())); in removeArrayEntryAt()
[all …]
DLazyField.java34 import java.util.Map.Entry;
91 static class LazyEntry<K> implements Entry<K, Object> {
92 private Entry<K, LazyField> entry;
94 private LazyEntry(Entry<K, LazyField> entry) { in LazyEntry()
127 static class LazyIterator<K> implements Iterator<Entry<K, Object>> {
128 private Iterator<Entry<K, Object>> iterator;
130 public LazyIterator(Iterator<Entry<K, Object>> iterator) { in LazyIterator()
141 public Entry<K, Object> next() { in next()
142 Entry<K, ?> entry = iterator.next(); in next()
144 return new LazyEntry<K>((Entry<K, LazyField>) entry); in next()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java35 private final SparseArray<ArrayList<Entry>> mSessionsByUid = new SparseArray<>();
47 public Entry get(int uid, String sessionId) { in get()
48 ArrayList<Entry> userEntries = mSessionsByUid.get(uid); in get()
52 for (Entry entry : userEntries) { in get()
68 public void add(int uid, Entry entry) { in add()
93 ArrayList<Entry> entries = mSessionsByUid.get(uid); in remove()
97 for (Entry entry : entries) { in remove()
112 ArrayList<Entry> entries = mSessionsByUid.valueAt(i); in size()
127 ArrayList<Entry> entries = mSessionsByUid.valueAt(i); in destroy()
128 for (Entry entry : entries) { in destroy()
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc130 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor()
140 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor()
145 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor()
171 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey()
174 if (bucket_type::getTombstone() == bucket.Entry) { in findKey()
178 if (bucket.Entry->compare(pKey)) in findKey()
213 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash()
214 IB->Entry != bucket_type::getTombstone()) { in doRehash()
218 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash()
219 new_table[new_bucket].Entry = IB->Entry; in doRehash()
[all …]
DHashTable.tcc29 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry && in ~HashTable()
30 bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in ~HashTable()
31 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in ~HashTable()
45 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry) { in clear()
46 if (bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in clear()
47 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in clear()
49 BaseTy::m_Buckets[i].Entry = bucket_type::getEmptyBucket(); in clear()
69 entry_type* entry = bucket.Entry; in insert()
81 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert()
103 m_EntryFactory.destroy(bucket.Entry); in erase()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorageTest.java52 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in size_incrementsAfterAdd()
61 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in size_decrementsAfterRemove()
71 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in remove_overwritesLskfHashMemory()
83 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in remove_overwritesKeyClaimantMemory()
95 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_deletesSpecificSession()
100 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_deletesSpecificSession()
115 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_doesNotDeleteOtherSessions()
120 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_doesNotDeleteOtherSessions()
134 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in destroy_overwritesLskfHashMemory()
146 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in destroy_overwritesKeyClaimantMemory()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp191 struct Entry { in TEST_F() struct
198 const std::array<Entry, 24> testData = { in TEST_F()
201 /* 0 */ Entry{TR_IDENT, TR_IDENT, TR_IDENT, TR_IDENT}, in TEST_F()
202 /* 1 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_90, TR_ROT_90}, in TEST_F()
203 /* 2 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_180, TR_ROT_180}, in TEST_F()
204 /* 3 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_270, TR_ROT_270}, in TEST_F()
206 /* 4 */ Entry{TR_IDENT, TR_FLP_H, TR_IDENT, TR_FLP_H ^ TR_IDENT}, in TEST_F()
207 /* 5 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_90, TR_FLP_H ^ TR_ROT_90}, in TEST_F()
208 /* 6 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_180, TR_FLP_H ^ TR_ROT_180}, in TEST_F()
209 /* 7 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_270, TR_FLP_H ^ TR_ROT_270}, in TEST_F()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java146 public static class Entry { class in NetworkStats
184 public Entry() { in Entry() method in NetworkStats.Entry
188 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry
193 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry
199 public Entry(String iface, int uid, int set, int tag, int metered, int roaming, in Entry() method in NetworkStats.Entry
225 public void add(Entry another) { in add()
253 if (o instanceof Entry) { in equals()
254 final Entry e = (Entry) o; in equals()
335 NetworkStats.Entry entry = null; in clone()
372 return addValues(new Entry( in addValues()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java98 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText()
99 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText()
100 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
130 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before);
180 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
181 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
182 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
183 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis());
243 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); in testAddEntriesInTheFuture()
244 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()); in testAddEntriesInTheFuture()
[all …]
/frameworks/av/media/libnblog/
DWriter.cpp78 if (length > Entry::kMaxLength) { in log()
79 length = Entry::kMaxLength; in log()
144 void Writer::log(const Entry &etr, bool trusted) in log()
153 const size_t need = etr.mLength + Entry::kOverhead; // mEvent, mLength, data[mLength], mLength in log()
159 uint8_t temp[Entry::kMaxLength + Entry::kOverhead]; in log()
173 if (data == NULL || length > Entry::kMaxLength) { in log()
183 Entry etr(event, data, length); in log()
192 char buffer[Entry::kMaxLength + 1 /*NUL*/]; in logvf()
210 if (length > Entry::kMaxLength) { in logStart()
211 length = Entry::kMaxLength; in logStart()
[all …]
DEntry.cpp32 int Entry::copyEntryDataAt(size_t offset) const in copyEntryDataAt()
75 mPtr += mPtr[offsetof(entry, length)] + Entry::kOverhead; in operator ++()
81 mPtr -= mPtr[Entry::kPreviousLengthOffset] + Entry::kOverhead; in operator --()
110 Entry::kOverhead + Entry::kPreviousLengthOffset]; in hasConsistentLength()
115 size_t length = mPtr[offsetof(entry, length)] + Entry::kOverhead; in copyTo()
208 size_t authorEntrySize = Entry::kOverhead + sizeof(author); in copyWithAuthor()
212 authorEntry[authorEntrySize + Entry::kPreviousLengthOffset] = in copyWithAuthor()
247 uint8_t buffer[Entry::kOverhead + sizeof(HistTsEntryWithAuthor)]; in copyWithAuthor()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkListingMap.java44 Map<ChunkHash, Entry> entries = new HashMap(); in readFromProto()
52 entries.put(new ChunkHash(chunk.getHash()), new Entry(start, chunk.getLength())); in readFromProto()
61 private final Map<ChunkHash, Entry> mChunksByHash;
63 private ChunkListingMap(Map<ChunkHash, Entry> chunksByHash) { in ChunkListingMap()
80 public Entry getChunkEntry(ChunkHash hash) { in getChunkEntry()
90 public static final class Entry { class in ChunkListingMap
94 private Entry(long start, int length) { in Entry() method in ChunkListingMap.Entry
/frameworks/base/core/java/android/os/
DDropBoxManager.java107 public static class Entry implements Parcelable, Closeable { class in DropBoxManager
116 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry
127 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry
142 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry
159 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry
176 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry
240 …public static final @android.annotation.NonNull Parcelable.Creator<Entry> CREATOR = new Parcelable…
241 public Entry[] newArray(int size) { return new Entry[size]; }
242 public Entry createFromParcel(Parcel in) {
247 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY);
[all …]
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java45 private final SparseArray<Entry> mEntries = new SparseArray<>(512);
47 private final Entry mOverflowEntry = new Entry("OVERFLOW");
48 private final Entry mHashCollisionEntry = new Entry("HASH_COLLISION");
99 Entry entry = findEntry(msg, /* allowCreateNew= */session != DispatchSession.NOT_SAMPLED); in messageDispatched()
131 Entry entry = findEntry(msg, /* allowCreateNew= */session != DispatchSession.NOT_SAMPLED); in dispatchingThrewException()
153 Entry entry = mEntries.valueAt(i); in getEntries()
174 final Entry entry = new Entry(DEBUG_ENTRY_PREFIX + variableName); in createDebugEntry()
194 private void maybeAddSpecialEntry(List<ExportedEntry> exportedEntries, Entry specialEntry) { in maybeAddSpecialEntry()
229 private Entry findEntry(Message msg, boolean allowCreateNew) { in findEntry()
233 final int id = Entry.idFor(msg, isInteractive); in findEntry()
[all …]
/frameworks/base/rs/java/android/renderscript/
DMesh.java198 class Entry { class in Mesh.Builder
207 Entry[] mVertexTypes;
222 mVertexTypes = new Entry[16]; in Builder()
257 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
278 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
296 Entry indexType = new Entry(); in addIndexSetType()
314 Entry indexType = new Entry(); in addIndexSetType()
334 Entry indexType = new Entry(); in addIndexSetType()
366 Entry entry = mVertexTypes[ct]; in create()
381 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java76 private final HashMap<String, Entry> mEntries = new HashMap<>();
95 private static class Entry { class in DisplayWindowSettings
115 private Entry(String name) { in Entry() method in DisplayWindowSettings.Entry
119 private Entry(String name, Entry copyFrom) { in Entry() method in DisplayWindowSettings.Entry
167 private @Nullable Entry getEntry(DisplayInfo displayInfo) { in getEntry()
169 Entry entry; in getEntry()
182 private Entry getOrCreateEntry(DisplayInfo displayInfo) { in getOrCreateEntry()
183 final Entry entry = getEntry(displayInfo); in getOrCreateEntry()
184 return entry != null ? entry : new Entry(getIdentifier(displayInfo)); in getOrCreateEntry()
192 private Entry updateIdentifierForEntry(Entry entry, DisplayInfo displayInfo) { in updateIdentifierForEntry()
[all …]
DPendingRemoteAnimationRegistry.java36 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>();
49 mEntries.put(packageName, new Entry(packageName, adapter)); in addPendingAnimation()
58 final Entry entry = mEntries.get(callingPackage); in overrideOptionsIfNeeded()
71 private class Entry { class in PendingRemoteAnimationRegistry
75 Entry(String packageName, RemoteAnimationAdapter adapter) { in Entry() method in PendingRemoteAnimationRegistry.Entry
80 final Entry entry = mEntries.get(packageName); in Entry()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
60 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
/frameworks/base/libs/services/include/android/os/
DDropBoxManager.h65 class Entry : public Parcelable {
67 Entry();
68 virtual ~Entry();
79 Entry(const String16& tag, int32_t flags);
80 Entry(const String16& tag, int32_t flags, int fd);
97 Status add(const Entry& entry);
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java21 import static android.net.NetworkStatsHistory.Entry.UNKNOWN;
81 NetworkStatsHistory.Entry entry = null; in testReadOriginalVersion()
110 new NetworkStats.Entry(1024L, 10L, 2048L, 20L, 2L)); in testRecordSingleBucket()
124 new NetworkStats.Entry(1024L, 10L, 128L, 2L, 2L)); in testRecordEqualBuckets()
141 new NetworkStats.Entry(1000L, 2000L, 5000L, 10000L, 100L)); in testRecordTouchingBuckets()
161 new NetworkStats.Entry(128L, 2L, 256L, 4L, 1L)); in testRecordGapBuckets()
163 new NetworkStats.Entry(64L, 1L, 512L, 8L, 2L)); in testRecordGapBuckets()
174 new NetworkStats.Entry(2048L, 4L, 2048L, 4L, 2L)); in testRecordGapBuckets()
191 new NetworkStats.Entry(256L, 2L, 256L, 2L, 1L)); in testRecordOverlapBuckets()
194 new NetworkStats.Entry(1024L, 10L, 1024L, 10L, 10L)); in testRecordOverlapBuckets()
[all …]
/frameworks/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/
DWindowManagerTraceTest.java57 WindowManagerTrace.Entry entry = mTrace.getEntry(241777211939236L); in canDetectAboveAppWindowVisibility()
64 WindowManagerTrace.Entry entry = mTrace.getEntry(241777211939236L); in canDetectBelowAppWindowVisibility()
71 WindowManagerTrace.Entry entry = mTrace.getEntry(241777211939236L); in canDetectAppWindowVisibility()
78 WindowManagerTrace.Entry entry = mTrace.getEntry(241777211939236L); in canFailWithReasonForVisibilityChecks_windowNotFound()
86 WindowManagerTrace.Entry entry = mTrace.getEntry(241777211939236L); in canFailWithReasonForVisibilityChecks_windowNotVisible()
94 WindowManagerTrace.Entry entry = mTrace.getEntry(241778130296410L); in canDetectAppZOrder()
101 WindowManagerTrace.Entry entry = mTrace.getEntry(241778130296410L); in canFailWithReasonForZOrderChecks_windowNotOnTop()

12345678910>>...19