Home
last modified time | relevance | path

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

12345678910>>...17

/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/libs/hwui/renderstate/
DOffscreenBufferPool.h122 struct Entry { struct
123 Entry() {} in Entry() argument
125 Entry(const uint32_t layerWidth, const uint32_t layerHeight) in Entry() argument
129 explicit Entry(OffscreenBuffer* layer) in Entry() argument
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/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()
158 Entry entry(tag, IS_TEXT); in addText()
167 Entry entry(tag, flags); in addData()
183 Entry entry(tag, flags, fd); in addFile()
188 DropBoxManager::add(const Entry& entry) in add()
/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/core/java/android/net/
DNetworkStats.java106 public static class Entry { class in NetworkStats
129 public Entry() { in Entry() method in NetworkStats.Entry
133 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry
138 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry
144 public Entry(String iface, int uid, int set, int tag, int metered, int roaming, in Entry() method in NetworkStats.Entry
168 public void add(Entry another) { in add()
195 if (o instanceof Entry) { in equals()
196 final Entry e = (Entry) o; in equals()
282 NetworkStats.Entry entry = null; in clone()
300 return addValues(new Entry( in addValues()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DRemoteInputController.java37 private final ArrayList<Pair<WeakReference<NotificationData.Entry>, Object>> mOpen
54 public void addRemoteInput(NotificationData.Entry entry, Object token) { in addRemoteInput()
75 public void removeRemoteInput(NotificationData.Entry entry, Object token) { in removeRemoteInput()
116 private void apply(NotificationData.Entry entry) { in apply()
128 public boolean isRemoteInputActive(NotificationData.Entry entry) { in isRemoteInputActive()
151 NotificationData.Entry contains, NotificationData.Entry remove, Object removeToken) { in pruneWeakThenRemoveAndContains()
154 NotificationData.Entry item = mOpen.get(i).first.get(); in pruneWeakThenRemoveAndContains()
178 public void remoteInputSent(NotificationData.Entry entry) { in remoteInputSent()
191 ArrayList<NotificationData.Entry> list = new ArrayList<>(mOpen.size()); in closeRemoteInputs()
193 NotificationData.Entry item = mOpen.get(i).first.get(); in closeRemoteInputs()
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java92 public static class Entry implements Parcelable, Closeable { class in DropBoxManager
101 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry
112 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry
127 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry
144 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry
161 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry
225 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() {
226 public Entry[] newArray(int size) { return new Entry[size]; }
227 public Entry createFromParcel(Parcel in) {
232 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/tests/net/java/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/libs/services/include/android/os/
DDropBoxManager.h61 class Entry : public virtual RefBase, public Parcelable {
63 Entry();
64 virtual ~Entry();
70 Entry(const String16& tag, int32_t flags);
71 Entry(const String16& tag, int32_t flags, int fd);
88 Status add(const Entry& 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/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/services/core/java/com/android/server/
DAttributeCache.java51 private final SparseArray<ArrayMap<int[], Entry>> mMap = new SparseArray<>();
58 public final static class Entry { class in AttributeCache
62 public Entry(Context c, TypedArray ta) { in Entry() method in AttributeCache.Entry
93 final ArrayMap<int[], Entry> map = pkg.mMap.valueAt(i); in removePackage()
119 public Entry get(String packageName, int resId, int[] styleable, int userId) { in get()
122 ArrayMap<int[], Entry> map = null; in get()
123 Entry ent = null; in get()
153 ent = new Entry(pkg.context, in get()
/frameworks/base/tools/aapt2/
DStringPool.h65 class Entry; variable
85 explicit Ref(Entry* entry);
87 Entry* entry_;
115 class Entry {
146 using const_iterator = std::vector<std::unique_ptr<Entry>>::const_iterator;
205 void Sort(const std::function<bool(const Entry&, const Entry&)>& cmp);
222 std::vector<std::unique_ptr<Entry>> strings_;
224 std::unordered_multimap<android::StringPiece, Entry*> indexed_strings_;
DFormat.proto60 repeated Entry entries = 3;
75 message Entry { message
138 message Entry { message
147 repeated Entry entries = 3;
151 message Entry { message
156 repeated Entry entries = 1;
160 message Entry { message
165 repeated Entry entries = 1;
178 message Entry { message
184 repeated Entry entries = 1;
/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)> {
DX86GOT.h22 class X86_32GOTEntry : public GOT::Entry<4> {
25 : GOT::Entry<4>(pContent, pParent) {} in X86_32GOTEntry()
44 class X86_64GOTEntry : public GOT::Entry<8> {
47 : GOT::Entry<8>(pContent, pParent) {} in X86_64GOTEntry()
/frameworks/base/libs/hwui/
DLayerUpdateQueue.h35 struct Entry { struct
36 Entry(RenderNode* renderNode, const Rect& damage) in Entry() function
46 const std::vector<Entry>& entries() const { return mEntries; } in entries() argument
48 std::vector<Entry> mEntries;
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java75 public void onEntryRemoved(NotificationData.Entry removed) { in onEntryRemoved()
87 private void onEntryRemovedInternal(NotificationData.Entry removed, in onEntryRemovedInternal()
111 public void onEntryAdded(final NotificationData.Entry added) { in onEntryAdded()
128 HashSet<NotificationData.Entry> childrenCopy = in onEntryAdded()
129 (HashSet<NotificationData.Entry>) group.children.clone(); in onEntryAdded()
130 for (NotificationData.Entry child : childrenCopy) { in onEntryAdded()
138 private void onEntryBecomingChild(NotificationData.Entry entry) { in onEntryBecomingChild()
178 private NotificationData.Entry getIsolatedChild(String groupKey) { in getIsolatedChild()
187 public void onEntryUpdated(NotificationData.Entry entry, in onEntryUpdated()
373 public void onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) { in onHeadsUpStateChanged()
[all …]
/frameworks/base/core/java/android/util/
DMapCollections.java75 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
91 public Map.Entry<K, V> next() { in next()
142 if (!(o instanceof Map.Entry)) { in equals()
145 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals()
168 final class EntrySet implements Set<Map.Entry<K, V>> {
170 public boolean add(Map.Entry<K, V> object) { in add()
175 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll()
177 for (Map.Entry<K, V> entry : collection) { in addAll()
190 if (!(o instanceof Map.Entry)) in contains()
192 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in contains()
[all …]

12345678910>>...17