Searched refs:Entry (Results 1 - 25 of 104) sorted by relevance

12345

/frameworks/base/core/java/android/os/
H A DDropBoxManager.aidl19 parcelable DropBoxManager.Entry;
H A DDropBoxManager.java48 /** Flag value: Entry's content was deleted to save space. */
89 public static class Entry implements Parcelable, Closeable { class in class:DropBoxManager
97 /** Create a new empty Entry with no contents. */
98 public Entry(String tag, long millis) { method in class:DropBoxManager.Entry
108 /** Create a new Entry with plain text contents. */
109 public Entry(String tag, long millis, String text) { method in class:DropBoxManager.Entry
121 * Create a new Entry with byte array contents.
124 public Entry(String tag, long millis, byte[] data, int flags) { method in class:DropBoxManager.Entry
138 * Create a new Entry with streaming data contents.
141 public Entry(Strin method in class:DropBoxManager.Entry
158 public Entry(String tag, long millis, File data, int flags) throws IOException { method in class:DropBoxManager.Entry
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java33 public static final class Entry { class in class:NotificationData
41 public Entry() {} method in class:NotificationData.Entry
42 public Entry(IBinder key, StatusBarNotification n, StatusBarIconView ic) { method in class:NotificationData.Entry
48 private final ArrayList<Entry> mEntries = new ArrayList<Entry>();
49 private final Comparator<Entry> mEntryCmp = new Comparator<Entry>() {
50 public int compare(Entry a, Entry b) {
64 public Entry ge
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DIDropBoxManagerService.aidl35 void add(in DropBoxManager.Entry entry);
41 DropBoxManager.Entry getNextEntry(String tag, long millis);
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java45 private final SparseArray<HashMap<int[], Entry>> mMap
46 = new SparseArray<HashMap<int[], Entry>>();
53 public final static class Entry { class in class:AttributeCache
57 public Entry(Context c, TypedArray ta) { method in class:AttributeCache.Entry
97 public Entry get(String packageName, int resId, int[] styleable) {
100 HashMap<int[], Entry> map = null;
101 Entry ent = null;
125 map = new HashMap<int[], Entry>();
130 ent = new Entry(pkg.context,
/frameworks/base/include/binder/
H A DPermissionCache.h41 struct Entry { struct in class:android::PermissionCache
45 inline bool operator < (const Entry& e) const {
54 SortedVector< Entry > mCache;
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java32 class Entry { class in class:IdleCache
46 private Entry[] mEntries = new Entry[IDLE_CACHE_MAX];
58 mEntries[i] = new Entry();
78 Entry entry = mEntries[i];
102 Entry entry = mEntries[i];
119 Entry entry = mEntries[i];
133 Entry entry = mEntries[i];
/frameworks/base/include/utils/
H A DGenerationCache.h36 struct Entry: public LightRefBase<Entry<EntryKey, EntryValue> > { struct in namespace:android
37 Entry() { } function in struct:android::Entry
38 Entry(const Entry<EntryKey, EntryValue>& e): argument
40 Entry(sp<Entry<EntryKey, EntryValue> > e): function in struct:android::Entry
46 sp<Entry<EntryKey, EntryValue> > parent;
47 sp<Entry<EntryKey, EntryValue> > child;
48 }; // struct Entry
[all...]
/frameworks/base/libs/hwui/
H A DShapeCache.h307 template<typename Entry>
308 class ShapeCache: public OnEntryRemoved<Entry, PathTexture*> {
317 void operator()(Entry& path, PathTexture*& texture);
338 PathTexture* addTexture(const Entry& entry, const SkPath *path, const SkPaint* paint);
340 PathTexture* get(Entry entry) {
346 GenerationCache<Entry, PathTexture*> mCache;
403 template<class Entry>
404 ShapeCache<Entry>::ShapeCache(const char* name, const char* propertyName, float defaultSize):
423 template<class Entry>
424 ShapeCache<Entry>
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java68 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
69 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
70 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
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);
204 DropBoxManager.Entry e
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java76 public static class Entry { class in class:NetworkStats
87 public Entry() { method in class:NetworkStats.Entry
91 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { method in class:NetworkStats.Entry
96 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, method in class:NetworkStats.Entry
171 NetworkStats.Entry entry = null;
189 return addValues(new Entry(
194 * Add new stats entry, copying from given {@link Entry}. The {@link Entry}
197 public NetworkStats addValues(Entry entry) {
228 public Entry getValue
[all...]
H A DLinkCapabilities.java26 import java.util.Map.Entry;
268 * an instance of {@link Map.Entry}. As the set is backed by this map,
273 public Set<Entry<Integer, String>> entrySet() {
307 for (Entry<Integer, String> entry : mCapabilities.entrySet()) {
328 for (Entry<Integer, String> entry : mCapabilities.entrySet()) {
H A DNetworkStatsHistory.java26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN;
78 public static class Entry { class in class:NetworkStatsHistory
241 public Entry getValues(int i, Entry recycle) {
242 final Entry entry = recycle != null ? recycle : new Entry();
260 recordData(start, end, new NetworkStats.Entry(
268 public void recordData(long start, long end, NetworkStats.Entry entry) {
320 final NetworkStats.Entry entry = new NetworkStats.Entry(
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DMesh.java180 class Entry { class in class:Mesh.Builder
189 Entry[] mVertexTypes;
203 mVertexTypes = new Entry[16];
235 mVertexTypes[mVertexTypeCount] = new Entry();
255 mVertexTypes[mVertexTypeCount] = new Entry();
272 Entry indexType = new Entry();
289 Entry indexType = new Entry();
308 Entry indexTyp
384 class Entry { class in class:Mesh.AllocationBuilder
[all...]
/frameworks/ex/common/tests/src/com/android/common/
H A DRfc822ValidatorTest.java54 for (Map.Entry<String, String> e : fixes.entrySet()) {
69 for (Map.Entry<String, String> e : fixes.entrySet()) {
85 for (Map.Entry<String, String> e : fixes.entrySet()) {
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN;
71 NetworkStatsHistory.Entry entry = null;
99 new NetworkStats.Entry(1024L, 10L, 2048L, 20L, 2L));
112 new NetworkStats.Entry(1024L, 10L, 128L, 2L, 2L));
128 new NetworkStats.Entry(1000L, 2000L, 5000L, 10000L, 100L));
147 new NetworkStats.Entry(128L, 2L, 256L, 4L, 1L));
149 new NetworkStats.Entry(64L, 1L, 512L, 8L, 2L));
160 new NetworkStats.Entry(2048L, 4L, 2048L, 4L, 2L));
176 new NetworkStats.Entry(256L, 2L, 256L, 2L, 1L));
179 new NetworkStats.Entry(102
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java99 Iterator<Map.Entry<String, ArrayList<Long>>> iter = mSmsStamp.entrySet().iterator();
101 Map.Entry<String, ArrayList<Long>> entry = iter.next();
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
H A DDataIdleTest.java20 import android.net.NetworkStats.Entry;
96 Entry statsEntry = stats.getValues(i, null);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DImportTestProvider.java35 import java.util.Map.Entry;
97 for (Entry<String, Object> entry : actualContentValues.valueSet()) {
183 for (Entry<String, Object> entry : contentValues.valueSet()) {
198 for (Entry<String, String> entry : sortedMap.entrySet()) {
218 for (Entry<String, Object> entry : expected.valueSet()) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java23 import android.net.NetworkStats.Entry;
307 Map<Integer, Entry> totalStats = new HashMap<Integer, Entry>();
309 Entry statsEntry = stats.getValues(i, null);
314 Entry mapEntry = null;
335 for (Entry entry : totalStats.values()) {
/frameworks/base/libs/binder/
H A DPermissionCache.cpp40 Entry e;
54 Entry e;
/frameworks/base/tools/aapt/
H A DResourceTable.h77 class Entry;
259 class Entry : public RefBase { class in class:ResourceTable
261 Entry(const String16& name, const SourcePos& pos) function in class:ResourceTable::Entry
265 virtual ~Entry() { }
381 void addEntry(const ResTable_config& config, const sp<Entry>& entry) {
385 const DefaultKeyedVector<ConfigDescription, sp<Entry> >& getEntries() const { return mEntries; }
394 DefaultKeyedVector<ConfigDescription, sp<Entry> > mEntries;
435 sp<Entry> getEntry(const String16& entry,
523 sp<Entry> getEntry(const String16& package,
530 sp<const Entry> getEntr
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java110 final NetworkStats.Entry entry = new NetworkStats.Entry();
169 final NetworkStats.Entry entry = new NetworkStats.Entry();
261 final NetworkStats.Entry entry = new NetworkStats.Entry();
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/
H A DPerformanceTest.java56 for (Map.Entry<String, Double> e : mSingleStats.entrySet()) {
66 for (Map.Entry<String, Double> e : mDataMap.entrySet()) {
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQueryBuilder.java27 import java.util.Map.Entry;
597 Set<Entry<String, String>> entrySet = mProjectionMap.entrySet();
599 Iterator<Entry<String, String>> entryIter = entrySet.iterator();
603 Entry<String, String> entry = entryIter.next();

Completed in 706 milliseconds

12345