/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFDynamic.tcc | 12 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()
|
D | ELFDynamic.h | 51 class Entry 55 class Entry<32, true> : public EntryIF 64 inline Entry(); 66 inline ~Entry(); 68 Entry* clone() const in clone() 69 { return new Entry(); } in clone() 92 class Entry<64, true> : public EntryIF 101 inline Entry(); 103 inline ~Entry(); 105 Entry* clone() const in clone() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationData.java | 33 public static final class Entry { class in NotificationData 42 public Entry() {} in Entry() method in NotificationData.Entry 43 public Entry(IBinder key, StatusBarNotification n, StatusBarIconView ic) { in Entry() method in NotificationData.Entry 86 private final ArrayList<Entry> mEntries = new ArrayList<Entry>(); 87 private final Comparator<Entry> mEntryCmp = new Comparator<Entry>() { 89 public int compare(Entry a, Entry b) { 103 public Entry get(int i) { in get() 107 public Entry findByKey(IBinder key) { in findByKey() 108 for (Entry e : mEntries) { in findByKey() 116 public int add(Entry entry) { in add() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 68 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/native/include/utils/ |
D | LruCache.h | 74 struct Entry { struct 77 Entry* parent; argument 78 Entry* child; argument 80 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry() argument 85 void attachToCache(Entry& entry); argument 86 void detachFromCache(Entry& entry); 89 UniquePtr<BasicHashtable<TKey, Entry> > mTable; 91 Entry* mOldest; 92 Entry* mYoungest; 100 mNullValue(NULL), mTable(new BasicHashtable<TKey, Entry>), mYoungest(NULL), mOldest(NULL), in LruCache() [all …]
|
D | GenerationCache.h | 36 struct Entry: public LightRefBase<Entry<EntryKey, EntryValue> > { struct 37 Entry(const Entry<EntryKey, EntryValue>& e) : in Entry() argument 40 Entry(const EntryKey& key, const EntryValue& value) : in Entry() function 46 sp<Entry<EntryKey, EntryValue> > parent; // next older entry argument 47 sp<Entry<EntryKey, EntryValue> > child; // next younger entry argument 81 KeyedVector<K, sp<Entry<K, V> > > mCache; 86 sp<Entry<K, V> > mOldest; 87 sp<Entry<K, V> > mYoungest; 89 void attachToCache(const sp<Entry<K, V> >& entry); 90 void detachFromCache(const sp<Entry<K, V> >& entry); [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | HashBase.tcc | 143 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor() 153 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor() 159 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor() 187 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey() 190 if (bucket_type::getTombstone() == bucket.Entry) { in findKey() 195 if (bucket.Entry->compare(pKey)) in findKey() 232 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash() 233 IB->Entry != bucket_type::getTombstone()) { in doRehash() 237 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash() 238 new_table[new_bucket].Entry = IB->Entry; in doRehash() [all …]
|
D | HashTable.tcc | 30 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 …]
|
D | HashIterator.h | 44 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase() 48 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase() 94 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 100 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 126 if (bucket_type::getTombstone() == bucket.Entry || in advance() 127 bucket_type::getEmptyBucket() == bucket.Entry) { in advance() 205 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 211 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry() 228 } while(bucket_type::getEmptyBucket() == m_pHashTable->m_Buckets[m_Index].Entry || in advance() 229 bucket_type::getTombstone() == m_pHashTable->m_Buckets[m_Index].Entry); in advance()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 89 public static class Entry implements Parcelable, Closeable { class in DropBoxManager 98 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry 109 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry 124 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry 141 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry 158 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry 222 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() { 223 public Entry[] newArray(int size) { return new Entry[size]; } 224 public Entry createFromParcel(Parcel in) { 229 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY); [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 74 public static class Entry { class in NetworkStats 85 public Entry() { in Entry() method in NetworkStats.Entry 89 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry 94 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry 116 public void add(Entry another) { in add() 141 if (o instanceof Entry) { in equals() 142 final Entry e = (Entry) o; in equals() 198 NetworkStats.Entry entry = null; in clone() 216 return addValues(new Entry( in addValues() 224 public NetworkStats addValues(Entry entry) { in addValues() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | AttributeCache.java | 45 private final SparseArray<HashMap<int[], Entry>> mMap 46 = new SparseArray<HashMap<int[], Entry>>(); 53 public final static class Entry { class in AttributeCache 57 public Entry(Context c, TypedArray ta) { in Entry() method in AttributeCache.Entry 97 public Entry get(String packageName, int resId, int[] styleable) { in get() 100 HashMap<int[], Entry> map = null; in get() 101 Entry ent = null; in get() 125 map = new HashMap<int[], Entry>(); in get() 130 ent = new Entry(pkg.context, in get()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Mesh.java | 195 class Entry { class in Mesh.Builder 204 Entry[] mVertexTypes; 219 mVertexTypes = new Entry[16]; in Builder() 254 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 275 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 293 Entry indexType = new Entry(); in addIndexSetType() 311 Entry indexType = new Entry(); in addIndexSetType() 331 Entry indexType = new Entry(); in addIndexSetType() 363 Entry entry = mVertexTypes[ct]; in create() 375 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create() [all …]
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
D | MockCache.java | 30 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/ |
D | IdleCache.java | 32 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/ |
D | NetworkStatsHistoryTest.java | 26 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/ |
D | HistogramPredictor.java | 35 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/ |
D | X86PLT.h | 63 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)>
|
D | X86GOT.h | 25 class X86_32GOTEntry : public GOT::Entry<4> 29 : GOT::Entry<4>(pContent, pParent) in X86_32GOTEntry() 55 class X86_64GOTEntry : public GOT::Entry<8> 59 : GOT::Entry<8>(pContent, pParent) in X86_64GOTEntry()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | StackOverflowXmlParser.java | 37 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/ |
D | CacheTestUtils.java | 17 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/volley/tests/src/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 49 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/java/com/android/server/wm/ |
D | DisplaySettings.java | 46 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()
|
/frameworks/volley/src/com/android/volley/ |
D | Cache.java | 31 public Entry get(String key); in get() 38 public void put(String key, Entry entry); in put() 67 public static class Entry { class
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 78 final NetworkStats.Entry entry = new NetworkStats.Entry(); in readNetworkStatsSummaryDev() 134 final NetworkStats.Entry entry = new NetworkStats.Entry(); in readNetworkStatsSummaryXt() 197 final NetworkStats.Entry entry = new NetworkStats.Entry(); in javaReadNetworkStatsDetail() 249 NetworkStats.Entry expectedRow = null; in assertEquals() 250 NetworkStats.Entry actualRow = null; in assertEquals()
|