Home
last modified time | relevance | path

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

12345678910>>...16

/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/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java70 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText()
71 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText()
72 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
99 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before);
145 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
146 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
147 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
148 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis());
207 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); in testAddEntriesInTheFuture()
208 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()); in testAddEntriesInTheFuture()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java98 public static class Entry { class in NetworkStats
115 public Entry() { in Entry() method in NetworkStats.Entry
119 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry
124 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry
130 public Entry(String iface, int uid, int set, int tag, int roaming, long rxBytes, in Entry() method in NetworkStats.Entry
153 public void add(Entry another) { in add()
179 if (o instanceof Entry) { in equals()
180 final Entry e = (Entry) o; in equals()
257 NetworkStats.Entry entry = null; in clone()
275 return addValues(new Entry( in addValues()
[all …]
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.h122 struct Entry { struct
123 Entry() {} in Entry() function
125 Entry(const uint32_t layerWidth, const uint32_t layerHeight) in Entry() function
129 Entry(OffscreenBuffer* layer) in Entry() function
135 static int compare(const Entry& lhs, const Entry& rhs);
137 bool operator==(const Entry& other) const {
141 bool operator!=(const Entry& other) const {
145 bool operator<(const Entry& other) const {
146 return Entry::compare(*this, other) < 0;
154 std::multiset<Entry> mPool;
/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 …]
DHashIterator.h38 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase()
41 if (bucket.Entry->compare(pKey)) { in ChainIteratorBase()
86 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
92 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
118 if (bucket_type::getTombstone() == bucket.Entry || in advance()
119 bucket_type::getEmptyBucket() == bucket.Entry) { in advance()
190 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
196 return m_pHashTable->m_Buckets[m_Index].Entry; in getEntry()
214 m_pHashTable->m_Buckets[m_Index].Entry || in advance()
216 m_pHashTable->m_Buckets[m_Index].Entry); in advance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DRemoteInputController.java34 private final ArrayList<WeakReference<NotificationData.Entry>> mOpen = new ArrayList<>();
44 public void addRemoteInput(NotificationData.Entry entry) { in addRemoteInput()
56 public void removeRemoteInput(NotificationData.Entry entry) { in removeRemoteInput()
76 private void apply(NotificationData.Entry entry) { in apply()
88 public boolean isRemoteInputActive(NotificationData.Entry entry) { in isRemoteInputActive()
107 NotificationData.Entry contains, NotificationData.Entry remove) { in pruneWeakThenRemoveAndContains()
110 NotificationData.Entry item = mOpen.get(i).get(); in pruneWeakThenRemoveAndContains()
126 public void remoteInputSent(NotificationData.Entry entry) { in remoteInputSent()
139 ArrayList<NotificationData.Entry> list = new ArrayList<>(mOpen.size()); in closeRemoteInputs()
141 NotificationData.Entry item = mOpen.get(i).get(); in closeRemoteInputs()
[all …]
DNotificationData.java48 public static final class Entry { class in NotificationData
66 public Entry(StatusBarNotification n, StatusBarIconView ic) { in Entry() method in NotificationData.Entry
170 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>();
171 private final ArrayList<Entry> mSortedAndFiltered = new ArrayList<>();
182 private final Comparator<Entry> mRankingComparator = new Comparator<Entry>() {
187 public int compare(Entry a, Entry b) {
252 public ArrayList<Entry> getActiveNotifications() { in getActiveNotifications()
256 public Entry get(String key) { in get()
260 public void add(Entry entry, RankingMap ranking) { in add()
268 public Entry remove(String key, RankingMap ranking) { in remove()
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java91 public static class Entry implements Parcelable, Closeable { class in DropBoxManager
100 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry
111 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry
126 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry
143 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry
160 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry
224 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() {
225 public Entry[] newArray(int size) { return new Entry[size]; }
226 public Entry createFromParcel(Parcel in) {
231 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY);
[all …]
/frameworks/base/rs/java/android/renderscript/
DMesh.java194 class Entry { class in Mesh.Builder
203 Entry[] mVertexTypes;
218 mVertexTypes = new Entry[16]; in Builder()
253 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
274 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType()
292 Entry indexType = new Entry(); in addIndexSetType()
310 Entry indexType = new Entry(); in addIndexSetType()
330 Entry indexType = new Entry(); in addIndexSetType()
362 Entry entry = mVertexTypes[ct]; in create()
377 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create()
[all …]
/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/base/tools/aapt2/
DStringPool.h50 class Entry; variable
68 Ref(Entry* entry);
70 Entry* mEntry;
96 class Entry {
127 using const_iterator = std::vector<std::unique_ptr<Entry>>::const_iterator;
185 void sort(const std::function<bool(const Entry&, const Entry&)>& cmp);
200 std::vector<std::unique_ptr<Entry>> mStrings;
202 std::multimap<StringPiece16, Entry*> mIndexedStrings;
DFormat.proto60 repeated Entry entries = 3;
74 message Entry { message
137 message Entry { message
146 repeated Entry entries = 3;
150 message Entry { message
155 repeated Entry entries = 1;
159 message Entry { message
164 repeated Entry entries = 1;
177 message Entry { message
183 repeated Entry entries = 1;
/frameworks/volley/src/test/java/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/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/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/graphics/java/android/graphics/
DAtlas.java59 public static class Entry { class in Atlas
115 public Entry pack(int width, int height) { in pack()
132 public Entry pack(int width, int height, Entry entry) { in pack()
133 if (entry == null) entry = new Entry(); in pack()
159 abstract Entry pack(int width, int height, Entry entry); in pack()
273 Entry pack(int width, int height, Entry entry) { in pack()
356 private boolean insert(Cell cell, Cell prev, int width, int height, Entry entry) { in insert()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java74 public void onEntryRemoved(NotificationData.Entry removed) { in onEntryRemoved()
86 private void onEntryRemovedInternal(NotificationData.Entry removed, in onEntryRemovedInternal()
110 public void onEntryAdded(final NotificationData.Entry added) { in onEntryAdded()
127 HashSet<NotificationData.Entry> childrenCopy = in onEntryAdded()
128 (HashSet<NotificationData.Entry>) group.children.clone(); in onEntryAdded()
129 for (NotificationData.Entry child : childrenCopy) { in onEntryAdded()
137 private void onEntryBecomingChild(NotificationData.Entry entry) { in onEntryBecomingChild()
143 public void onEntryBundlingUpdated(final NotificationData.Entry updated, in onEntryBundlingUpdated()
184 private NotificationData.Entry getIsolatedChild(String groupKey) { in getIsolatedChild()
193 public void onEntryUpdated(NotificationData.Entry entry, in onEntryUpdated()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java50 private final SparseArray<ArrayMap<int[], Entry>> mMap = new SparseArray<>();
57 public final static class Entry { class in AttributeCache
61 public Entry(Context c, TypedArray ta) { in Entry() method in AttributeCache.Entry
94 final ArrayMap<int[], Entry> map = pkg.mMap.valueAt(i); in removePackage()
121 public Entry get(String packageName, int resId, int[] styleable, int userId) { in get()
125 ArrayMap<int[], Entry> map = null; in get()
126 Entry ent = null; in get()
156 ent = new Entry(pkg.context, in get()
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.h59 class X86_32DynPLT0 : public PLT::Entry<sizeof(x86_32_dyn_plt0)> {
64 class X86_32DynPLT1 : public PLT::Entry<sizeof(x86_32_dyn_plt1)> {
69 class X86_32ExecPLT0 : public PLT::Entry<sizeof(x86_32_exec_plt0)> {
74 class X86_32ExecPLT1 : public PLT::Entry<sizeof(x86_32_exec_plt1)> {
82 class X86_64PLT0 : public PLT::Entry<sizeof(x86_64_plt0)> {
87 class X86_64PLT1 : public PLT::Entry<sizeof(x86_64_plt1)> {
/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/src/test/java/com/android/volley/toolbox/
DHttpHeaderParserTest.java55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders()
68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet()
79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag()
91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire()
106 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast()
123 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative()
135 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires()
153 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate()
167 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache()
178 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlMustRevalidateNoMaxAge()
[all …]
/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 …]

12345678910>>...16