Home
last modified time | relevance | path

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

1234567891011

/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.tcc12 Entry<32, true>::Entry() in Entry() function in Entry
18 Entry<32, true>::~Entry() in ~Entry()
22 void Entry<32, true>::setValue(uint64_t pTag, uint64_t pValue) in setValue()
28 size_t Entry<32, true>::emit(uint8_t* pAddress) const in emit()
38 Entry<64, true>::Entry() in Entry() function in Entry
44 Entry<64, true>::~Entry() in ~Entry()
48 void Entry<64, true>::setValue(uint64_t pTag, uint64_t pValue) in setValue()
54 size_t Entry<64, true>::emit(uint8_t* pAddress) const in emit()
DELFDynamic.h48 class Entry
52 class Entry<32, true> : public EntryIF
61 inline Entry();
63 inline ~Entry();
65 Entry* clone() const in clone()
66 { return new Entry(); } in clone()
89 class Entry<64, true> : public EntryIF
98 inline Entry();
100 inline ~Entry();
102 Entry* clone() const in clone()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java68 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText()
69 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText()
70 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
95 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before);
141 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
142 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
143 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
144 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis());
203 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); in testAddEntriesInTheFuture()
204 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()); in testAddEntriesInTheFuture()
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc146 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor()
156 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor()
162 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor()
190 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey()
193 if (bucket_type::getTombstone() == bucket.Entry) { in findKey()
198 if (bucket.Entry->compare(pKey)) in findKey()
235 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash()
236 IB->Entry != bucket_type::getTombstone()) { in doRehash()
240 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash()
241 new_table[new_bucket].Entry = IB->Entry; in doRehash()
[all …]
DHashTable.tcc30 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry && in ~HashTable()
31 bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry ) { in ~HashTable()
32 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in ~HashTable()
47 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry ) { in clear()
48 if (bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry ) { in clear()
49 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in clear()
51 BaseTy::m_Buckets[i].Entry = bucket_type::getEmptyBucket(); in clear()
70 entry_type* entry = bucket.Entry; in insert()
82 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert()
103 m_EntryFactory.destroy(bucket.Entry); in erase()
[all …]
DHashIterator.h41 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase()
45 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase()
91 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
97 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
123 if (bucket_type::getTombstone() == bucket.Entry || in advance()
124 bucket_type::getEmptyBucket() == bucket.Entry) { in advance()
202 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
208 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
225 } while(bucket_type::getEmptyBucket() == m_pHashTable->m_Buckets[m_Index].Entry || in advance()
226 bucket_type::getTombstone() == m_pHashTable->m_Buckets[m_Index].Entry); in advance()
/frameworks/base/core/java/android/os/
DDropBoxManager.java86 public static class Entry implements Parcelable, Closeable { class in DropBoxManager
95 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry
106 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry
121 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry
138 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry
155 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry
219 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() {
220 public Entry[] newArray(int size) { return new Entry[size]; }
221 public Entry createFromParcel(Parcel in) {
226 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java40 public static final class Entry { class in NotificationData
53 public Entry(StatusBarNotification n, StatusBarIconView ic) { in Entry() method in NotificationData.Entry
92 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>();
93 private final ArrayList<Entry> mSortedAndFiltered = new ArrayList<>();
98 private final Comparator<Entry> mRankingComparator = new Comparator<Entry>() {
103 public int compare(Entry a, Entry b) {
155 public ArrayList<Entry> getActiveNotifications() { in getActiveNotifications()
159 public Entry get(String key) { in get()
163 public void add(Entry entry, RankingMap ranking) { in add()
168 public Entry remove(String key, RankingMap ranking) { in remove()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java46 private final SparseArray<HashMap<int[], Entry>> mMap
47 = new SparseArray<HashMap<int[], Entry>>();
54 public final static class Entry { class in AttributeCache
58 public Entry(Context c, TypedArray ta) { in Entry() method in AttributeCache.Entry
98 public Entry get(String packageName, int resId, int[] styleable, int userId) { in get()
101 HashMap<int[], Entry> map = null; in get()
102 Entry ent = null; in get()
127 map = new HashMap<int[], Entry>(); in get()
132 ent = new Entry(pkg.context, in get()
/frameworks/base/core/java/android/net/
DNetworkStats.java79 public static class Entry { class in NetworkStats
90 public Entry() { in Entry() method in NetworkStats.Entry
94 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry
99 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry
121 public void add(Entry another) { in add()
146 if (o instanceof Entry) { in equals()
147 final Entry e = (Entry) o; in equals()
220 NetworkStats.Entry entry = null; in clone()
238 return addValues(new Entry( in addValues()
246 public NetworkStats addValues(Entry entry) { in addValues()
[all …]
/frameworks/base/rs/java/android/renderscript/
DMesh.java193 class Entry { class in Mesh.Builder
202 Entry[] mVertexTypes;
217 mVertexTypes = new Entry[16]; in Builder()
252 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
273 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
291 Entry indexType = new Entry(); in addIndexSetType()
309 Entry indexType = new Entry(); in addIndexSetType()
329 Entry indexType = new Entry(); in addIndexSetType()
361 Entry entry = mVertexTypes[ct]; in create()
373 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create()
[all …]
/frameworks/volley/tests/src/com/android/volley/mock/
DMockCache.java30 private Entry mFakeEntry = null;
32 public void setEntryToReturn(Entry entry) { in setEntryToReturn()
37 public Entry get(String key) { in get()
44 public Entry entryPut = null;
47 public void put(String key, Entry entry) { in put()
/frameworks/base/core/java/android/net/http/
DIdleCache.java32 class Entry { class in IdleCache
46 private Entry[] mEntries = new Entry[IDLE_CACHE_MAX];
58 mEntries[i] = new Entry(); in IdleCache()
78 Entry entry = mEntries[i]; in cacheConnection()
102 Entry entry = mEntries[i]; in getConnection()
119 Entry entry = mEntries[i]; in clear()
133 Entry entry = mEntries[i]; in clearIdle()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsHistoryTest.java26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN;
69 NetworkStatsHistory.Entry entry = null; in testReadOriginalVersion()
97 new NetworkStats.Entry(1024L, 10L, 2048L, 20L, 2L)); in testRecordSingleBucket()
110 new NetworkStats.Entry(1024L, 10L, 128L, 2L, 2L)); in testRecordEqualBuckets()
126 new NetworkStats.Entry(1000L, 2000L, 5000L, 10000L, 100L)); in testRecordTouchingBuckets()
145 new NetworkStats.Entry(128L, 2L, 256L, 4L, 1L)); in testRecordGapBuckets()
147 new NetworkStats.Entry(64L, 1L, 512L, 8L, 2L)); in testRecordGapBuckets()
158 new NetworkStats.Entry(2048L, 4L, 2048L, 4L, 2L)); in testRecordGapBuckets()
174 new NetworkStats.Entry(256L, 2L, 256L, 2L, 1L)); in testRecordOverlapBuckets()
177 new NetworkStats.Entry(1024L, 10L, 1024L, 10L, 10L)); in testRecordOverlapBuckets()
[all …]
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java35 import java.util.Map.Entry;
124 for(Map.Entry<String, Integer> entry : in getClassScores()
188 for (Map.Entry<String, HashMap<String, Integer> > entry : in toString()
202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { in findTopClasses()
208 for (Map.Entry<String, HistogramCounter> entry : mPredictor.entrySet()) { in findTopClasses()
221 for (Map.Entry<String, Double> item : scoreMap.entrySet()) { in findTopClasses()
233 for (Map.Entry<String, Double> entry : appScores.entrySet()) { in findTopClasses()
255 List<Map.Entry<String, Double> > appList = in findTopClasses()
256 new ArrayList<Map.Entry<String, Double> >(appCandidates.size()); in findTopClasses()
258 Collections.sort(appList, new Comparator<Map.Entry<String, Double> >() { in findTopClasses()
[all …]
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.h63 class X86_32DynPLT0 : public PLT::Entry<sizeof(x86_32_dyn_plt0)>
69 class X86_32DynPLT1 : public PLT::Entry<sizeof(x86_32_dyn_plt1)>
75 class X86_32ExecPLT0 : public PLT::Entry<sizeof(x86_32_exec_plt0)>
81 class X86_32ExecPLT1 : public PLT::Entry<sizeof(x86_32_exec_plt1)>
90 class X86_64PLT0 : public PLT::Entry<sizeof(x86_64_plt0)>
96 class X86_64PLT1 : public PLT::Entry<sizeof(x86_64_plt1)>
DX86GOT.h22 class X86_32GOTEntry : public GOT::Entry<4>
26 : GOT::Entry<4>(pContent, pParent) in X86_32GOTEntry()
47 class X86_64GOTEntry : public GOT::Entry<8>
51 : GOT::Entry<8>(pContent, pParent) in X86_64GOTEntry()
/frameworks/base/graphics/java/android/graphics/
DAtlas.java59 public static class Entry { class in Atlas
120 public Entry pack(int width, int height) { in pack()
137 public Entry pack(int width, int height, Entry entry) { in pack()
138 if (entry == null) entry = new Entry(); in pack()
164 abstract Entry pack(int width, int height, Entry entry); in pack()
280 Entry pack(int width, int height, Entry entry) { in pack()
364 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) { in insert()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { in parse()
49 private List<Entry> readFeed(XmlPullParser parser) throws XmlPullParserException, IOException { in readFeed()
50 List<Entry> entries = new ArrayList<Entry>(); in readFeed()
70 public static class Entry { class in StackOverflowXmlParser
75 private Entry(String title, String summary, String link) { in Entry() method in StackOverflowXmlParser.Entry
85 private Entry readEntry(XmlPullParser parser) throws XmlPullParserException, IOException { in readEntry()
105 return new Entry(title, summary, link); in readEntry()
/frameworks/volley/tests/src/com/android/volley/utils/
DCacheTestUtils.java17 public static Cache.Entry makeRandomCacheEntry( in makeRandomCacheEntry()
20 Cache.Entry entry = new Cache.Entry(); in makeRandomCacheEntry()
37 public static Cache.Entry makeRandomCacheEntry(byte[] data) { in makeRandomCacheEntry()
/frameworks/base/libs/hwui/
DAssetAtlas.h51 struct Entry { struct
96 Entry(SkBitmap* bitmap, int x, int y, bool rotated, in Entry() argument
102 ~Entry() { in ~Entry() argument
163 Entry* getEntry(const SkBitmap* bitmap) const;
189 KeyedVector<const SkBitmap*, Entry*> mEntries;
/frameworks/support/v4/java/android/support/v4/util/
DMapCollections.java71 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
87 public Map.Entry<K, V> next() { in next()
137 if (!(o instanceof Map.Entry)) { in equals()
140 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals()
163 final class EntrySet implements Set<Map.Entry<K, V>> {
165 public boolean add(Map.Entry<K, V> object) { in add()
170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
172 for (Map.Entry<K, V> entry : collection) { in addAll()
185 if (!(o instanceof Map.Entry)) in contains()
187 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in contains()
[all …]
/frameworks/base/core/java/android/util/
DMapCollections.java73 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
89 public Map.Entry<K, V> next() { in next()
139 if (!(o instanceof Map.Entry)) { in equals()
142 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals()
165 final class EntrySet implements Set<Map.Entry<K, V>> {
167 public boolean add(Map.Entry<K, V> object) { in add()
172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
174 for (Map.Entry<K, V> entry : collection) { in addAll()
187 if (!(o instanceof Map.Entry)) in contains()
189 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in contains()
[all …]
/frameworks/volley/tests/src/com/android/volley/toolbox/
DHttpHeaderParserTest.java49 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_noHeaders()
61 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_headersSet()
72 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_etag()
83 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_normalExpire()
97 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_expiresInPast()
114 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_serverRelative()
126 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlOverridesExpires()
140 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlNoCache()
151 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlMustRevalidate()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java46 private final HashMap<String, Entry> mEntries = new HashMap<String, Entry>();
48 public static class Entry { class in DisplaySettings
55 public Entry(String _name) { in Entry() method in DisplaySettings.Entry
68 Entry entry = mEntries.get(name); in getOverscanLocked()
86 Entry entry = mEntries.get(name); in setOverscanLocked()
88 entry = new Entry(name); in setOverscanLocked()
173 Entry entry = new Entry(name); in readDisplay()
198 for (Entry entry : mEntries.values()) { in writeSettingsLocked()

1234567891011