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

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DServiceDeclaration.java34 class Entry { class in class:ServiceDeclaration
44 Entry(UUID uuid, int serviceType, int instance) { method in class:ServiceDeclaration.Entry
51 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { method in class:ServiceDeclaration.Entry
59 Entry(UUID uuid, int properties, int permissions, int instance) { method in class:ServiceDeclaration.Entry
67 Entry(UUID uuid, int permissions) { method in class:ServiceDeclaration.Entry
74 List<Entry> mEntries = null;
78 mEntries = new ArrayList<Entry>();
83 mEntries.add(new Entry(uuid, serviceType, instance, advertisePreferred));
92 Entry entry = new Entry(uui
[all...]
H A DSearchQueue.java29 class Entry { class in class:SearchQueue
40 private List<Entry> mEntries = new ArrayList<Entry>();
44 Entry entry = new Entry();
58 Entry entry = new Entry();
70 Entry pop() {
71 Entry entry = mEntries.get(0);
77 for (Iterator<Entry> i
[all...]
H A DScanFilterQueue.java50 class Entry { class in class:ScanFilterQueue
76 Entry other = (Entry) obj;
88 private Set<Entry> mEntries = new HashSet<Entry>();
91 Entry entry = new Entry();
99 Entry entry = new Entry();
105 Entry entr
[all...]
H A DHandleMap.java35 class Entry { class in class:HandleMap
47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { method in class:HandleMap.Entry
56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, method in class:HandleMap.Entry
67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { method in class:HandleMap.Entry
76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { method in class:HandleMap.Entry
87 List<Entry> mEntries = null;
92 mEntries = new ArrayList<Entry>();
103 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred));
108 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle));
112 mEntries.add(new Entry(serverI
[all...]
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java28 private final HashMap<K, Entry<K, V>> mWeakMap =
29 new HashMap<K, Entry<K, V>>();
36 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
42 private static class Entry<K, V> extends WeakReference<V> { class in class:LruCache
45 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:LruCache.Entry
53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
56 entry = (Entry<K, V>) mQueue.poll();
63 Entry<K, V> entry = mWeakMap.put(
64 key, new Entry<
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java27 private final HashMap<K, Entry<K, V>> mWeakMap =
28 new HashMap<K, Entry<K, V>>();
34 private static class Entry<K, V> extends WeakReference<V> { class in class:IdentityCache
37 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:IdentityCache.Entry
44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
47 entry = (Entry<K, V>) mQueue.poll();
53 Entry<K, V> entry = mWeakMap.put(
54 key, new Entry<K, V>(key, value, mQueue));
60 Entry<
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLruCache.java32 private final HashMap<K, Entry<K, V>> mWeakMap =
33 new HashMap<K, Entry<K, V>>();
40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
46 private static class Entry<K, V> extends WeakReference<V> { class in class:LruCache
49 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:LruCache.Entry
57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
60 entry = (Entry<K, V>) mQueue.poll();
72 Entry<K, V> entry = mWeakMap.put(
73 key, new Entry<
[all...]
H A DEntry.java24 public abstract class Entry { class
/packages/apps/Camera2/src/com/android/camera/async/
H A DConcurrentBufferQueue.java58 private static class Entry<T> { class in class:ConcurrentBufferQueue
62 private Entry(T value, boolean closing) { method in class:ConcurrentBufferQueue.Entry
82 private final BlockingQueue<Entry<T>> mQueue;
111 List<Entry<T>> remainingElements = new ArrayList<>();
123 // {@link Entry}s indicating that the sequence has ended so they
135 for (Entry<T> entry : remainingElements) {
156 private T doWithNextEntry(Entry<T> nextEntry) throws BufferQueueClosedException {
169 Entry<T> nextEntry = mQueue.take();
176 Entry<T> nextEntry = mQueue.poll(timeout, unit);
185 Entry<
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadEntry.java18 import com.android.gallery3d.common.Entry;
22 @Entry.Table("download")
23 public class DownloadEntry extends Entry {
26 public static interface Columns extends Entry.Columns {
H A DDownloadCache.java69 private final LruCache<String, Entry> mEntryMap =
70 new LruCache<String, Entry>(LRU_CAPACITY);
89 private Entry findEntryInDatabase(String stringUrl) {
98 Entry entry = null;
102 entry = new Entry(id, file);
114 public Entry download(JobContext jc, URL url) {
121 Entry entry = mEntryMap.get(stringUrl);
131 Entry entry = findEntryInDatabase(stringUrl);
250 public class Entry { class in class:DownloadCache
254 Entry(lon method in class:DownloadCache.Entry
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCachingIconLoader.java43 private final WeakHashMap<String, Entry> mIconCache;
52 mIconCache = new WeakHashMap<String, Entry>();
60 Entry newEntry = null;
65 newEntry = new Entry();
94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) {
100 private static class Entry extends CachedLater<Drawable.ConstantState> class in class:CachingIconLoader
106 public Entry() { method in class:CachingIconLoader.Entry
H A DListSuggestionCursor.java37 private final ArrayList<Entry> mSuggestions;
57 mSuggestions = new ArrayList<Entry>(capacity);
66 mSuggestions.add(new Entry(suggestion));
97 mSuggestions.set(mPos, new Entry(suggestion));
146 for (Entry e : mSuggestions) {
163 private static class Entry { class in class:ListSuggestionCursor
166 public Entry(Suggestion s) { method in class:ListSuggestionCursor.Entry
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java33 * {@link Entry}.
38 private Collection<Entry> mEntries;
42 public static class Entry implements Comparable<Entry> { class in class:PercentageBarChart
47 protected Entry(int order, float percentage, Paint paint) { method in class:PercentageBarChart.Entry
54 public int compareTo(Entry another) {
87 for (final Entry e : mEntries) {
111 for (final Entry e : mEntries) {
150 public static Entry createEntry(int order, float percentage, int color) {
154 return new Entry(orde
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java68 public static class Entry { class in class:WidgetDatabaseHelper
76 private Entry() {} method in class:WidgetDatabaseHelper.Entry
78 private Entry(int id, Cursor cursor) { method in class:WidgetDatabaseHelper.Entry
90 private Entry(Cursor cursor) { method in class:WidgetDatabaseHelper.Entry
110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) {
118 Entry entry = new Entry();
134 Entry entry = new Entry();
147 private void restoreData(SQLiteDatabase db, ArrayList<Entry> dat
[all...]
H A DPhotoAppWidgetProvider.java33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry;
40 static RemoteViews buildWidget(Context context, int id, Entry entry) {
64 Entry entry = helper.getEntry(id);
80 private static RemoteViews buildStackWidget(Context context, int widgetId, Entry entry) {
104 static RemoteViews buildFrameWidget(Context context, int appWidgetId, Entry entry) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dtrie_map.cpp37 const TrieMap::Entry TrieMap::EMPTY_BITMAP_ENTRY = TrieMap::Entry(0, 0);
54 AKLOGI("Entry[%d]: %x, %x", i, readField0(i), readField1(i));
68 const Entry bitmapEntry = readEntry(bitmapEntryIndex);
76 const Entry terminalEntry = readEntry(terminalEntryIndex);
85 if (!writeEntry(Entry(0, terminalEntry.getValue()), valueEntryIndex)) {
117 const Entry bitmapEntry = readEntry(bitmapEntryIndex);
125 const Entry terminalEntry = readEntry(terminalEntryIndex);
130 const Entry nextLevelBitmapEntry = readEntry(terminalEntry.getValueEntryIndex() + 1);
158 const Entry entr
[all...]
H A Dtrie_map.h104 const Entry bitmapEntry = mTrieMap->readEntry(mBaseBitmapEntryIndex);
217 * Entry is one of these entry types. All entries are fixed size and have 2 fields FIELD_0 and
229 struct Entry { struct in class:latinime::TrieMap
233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} function in struct:latinime::TrieMap::Entry
294 static const Entry EMPTY_BITMAP_ENTRY;
300 bool updateValue(const Entry &terminalEntry, const uint64_t value,
305 const Entry &bitmapEntry, const int level) const;
309 const int bitmapEntryIndex, const Entry &bitmapEntry, const int level);
311 const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex,
319 AK_FORCE_INLINE const Entry readEntr
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DLruCache.java92 for (Map.Entry<? extends K, ? extends V> e : m.entrySet()) {
105 protected synchronized boolean removeEldestEntry(Map.Entry<K, V> eldest) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoStore.java50 private final Map<Long, Entry> mEntries;
80 mEntries = new HashMap<Long, Entry>();
110 public Entry get(long key) {
125 Entry entry = new Entry(file);
213 Entry entry = new Entry(target);
257 private void putEntry(long id, Entry entry) {
261 Entry oldEntry = mEntries.get(id);
272 Entry entr
281 public static class Entry { class in class:PhotoStore
291 public Entry(File file) { method in class:PhotoStore.Entry
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoFallbackEffect.java37 public static class Entry { class in class:PhotoFallbackEffect
44 public Entry(Path path, Rect source, RawTexture texture) { method in class:PhotoFallbackEffect.Entry
61 private ArrayList<Entry> mList = new ArrayList<Entry>();
69 mList.add(new Entry(path, rect, texture));
72 public Entry getEntry(Path path) {
74 Entry entry = mList.get(i);
83 Entry entry = mList.get(i);
91 private void drawEntry(GLCanvas canvas, Entry entry) {
165 Entry entr
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
H A DGalleryWidgetMigrator.java33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry;
82 List<Entry> entries = dbHelper.getEntries(WidgetDatabaseHelper.TYPE_ALBUM);
89 HashMap<Integer, Entry> localEntries = new HashMap<Integer, Entry>(entries.size());
90 for (Entry entry : entries) {
107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) {
123 private static void migrateLocalEntries(HashMap<Integer, Entry> entries,
131 private static void updatePath(File root, HashMap<Integer, Entry> entries,
140 Entry entry = entries.remove(oldBucketId);
159 private static void updateEntryUsingRelativePath(Entry entr
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DResolveCache.java106 private static class Entry { class in class:ResolveCache
111 private HashMap<String, Entry> mCache = new HashMap<String, Entry>();
120 * Get the {@link Entry} best associated with the given mimetype and intent,
123 protected Entry getEntry(String mimeType, Intent intent) {
124 Entry entry = mCache.get(mimeType);
126 entry = new Entry();
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java174 private static class Entry { class in class:ThrottleTest.MockTimer
179 private final BlockingQueue<Entry> mTasks = new LinkedBlockingQueue<Entry>();
190 Entry e = new Entry();
203 Entry e = mTasks.peek();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderOperations.java154 Set<Map.Entry<String, Operation>> operationSet = mOperations.entrySet();
155 for (Map.Entry<String, Operation> operationItem : operationSet) {
168 Set<Map.Entry<String, Operation>> operationSet = mOperations.entrySet();
169 for (Map.Entry<String, Operation> operationItem : operationSet) {

Completed in 833 milliseconds

12345