/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanFilterQueue.java | 49 class Entry { class in ScanFilterQueue 62 private Set<Entry> mEntries = new HashSet<Entry>(); 65 Entry entry = new Entry(); in addDeviceAddress() 73 Entry entry = new Entry(); in addServiceChanged() 79 Entry entry = new Entry(); in addUuid() 87 Entry entry = new Entry(); in addUuid() 95 Entry entry = new Entry(); in addSolicitUuid() 103 Entry entry = new Entry(); in addSolicitUuid() 111 Entry entry = new Entry(); in addName() 118 Entry entry = new Entry(); in addManufacturerData() [all …]
|
D | HandleMap.java | 36 class Entry { class in HandleMap 48 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() method in HandleMap.Entry 57 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, in Entry() method in HandleMap.Entry 68 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() method in HandleMap.Entry 76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() method in HandleMap.Entry 86 List<Entry> mEntries = null; 91 mEntries = new ArrayList<Entry>(); in HandleMap() 102 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); in addService() 107 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle)); in addCharacteristic() 111 mEntries.add(new Entry(serverIf, TYPE_DESCRIPTOR, handle, uuid, serviceHandle, in addDescriptor() [all …]
|
D | AdvertiseManager.java | 127 Map.Entry<IBinder, AdvertiserInfo> findAdvertiser(int advertiserId) { in findAdvertiser() 128 Map.Entry<IBinder, AdvertiserInfo> entry = null; in findAdvertiser() 129 for (Map.Entry<IBinder, AdvertiserInfo> e : mAdvertisers.entrySet()) { in findAdvertiser() 146 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(regId); in onAdvertisingSetStarted() 174 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onAdvertisingEnabled() 218 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onOwnAddressRead() 303 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onAdvertisingDataSet() 319 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onScanResponseDataSet() 337 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onAdvertisingParametersUpdated() 353 Map.Entry<IBinder, AdvertiserInfo> entry = findAdvertiser(advertiserId); in onPeriodicAdvertisingParametersUpdated() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.cpp | 37 const TrieMap::Entry TrieMap::EMPTY_BITMAP_ENTRY = TrieMap::Entry(0, 0); 68 const Entry bitmapEntry = readEntry(bitmapEntryIndex); in getNextLevelBitmapEntryIndex() 76 const Entry terminalEntry = readEntry(terminalEntryIndex); in getNextLevelBitmapEntryIndex() 85 if (!writeEntry(Entry(0, terminalEntry.getValue()), valueEntryIndex)) { in getNextLevelBitmapEntryIndex() 117 const Entry bitmapEntry = readEntry(bitmapEntryIndex); in remove() 125 const Entry terminalEntry = readEntry(terminalEntryIndex); in remove() 130 const Entry nextLevelBitmapEntry = readEntry(terminalEntry.getValueEntryIndex() + 1); in remove() 158 const Entry entry = readEntry(entryIndex); in iterateNext() 170 const Entry valueEntry = readEntry(valueEntryIndex); in iterateNext() 204 if (!writeEntry(Entry(value >> (FIELD1_SIZE * CHAR_BIT), value), valueEntryIndex)) { in writeValue() [all …]
|
D | trie_map.h | 104 const Entry bitmapEntry = mTrieMap->readEntry(mBaseBitmapEntryIndex); in TrieMapIterator() 229 struct Entry { struct 233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} in Entry() argument 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 readEntry(const int entryIndex) const { in readEntry() 320 return Entry(readField0(entryIndex), readField1(entryIndex)); in readEntry() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetDatabaseHelper.java | 68 public static class Entry { class in WidgetDatabaseHelper 76 private Entry() {} in Entry() method in WidgetDatabaseHelper.Entry 78 private Entry(int id, Cursor cursor) { in Entry() method in WidgetDatabaseHelper.Entry 90 private Entry(Cursor cursor) { in Entry() method in WidgetDatabaseHelper.Entry 110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) { in saveData() 118 Entry entry = new Entry(); in saveData() 134 Entry entry = new Entry(); in saveData() 147 private void restoreData(SQLiteDatabase db, ArrayList<Entry> data) { in restoreData() 150 for (Entry entry : data) { in restoreData() 169 ArrayList<Entry> data = new ArrayList<Entry>(); in onUpgrade() [all …]
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | ConcurrentBufferQueue.java | 58 private static class Entry<T> { class in ConcurrentBufferQueue 62 private Entry(T value, boolean closing) { in Entry() method in ConcurrentBufferQueue.Entry 82 private final BlockingQueue<Entry<T>> mQueue; 111 List<Entry<T>> remainingElements = new ArrayList<>(); in close() 135 for (Entry<T> entry : remainingElements) { in close() 156 private T doWithNextEntry(Entry<T> nextEntry) throws BufferQueueClosedException { in doWithNextEntry() 169 Entry<T> nextEntry = mQueue.take(); in getNext() 176 Entry<T> nextEntry = mQueue.poll(timeout, unit); in getNext() 185 Entry<T> nextEntry = mQueue.peek(); in peekNext() 198 Entry<T> nextEntry = mQueue.remove(); in discardNext() [all …]
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | LruCache.java | 28 private final HashMap<K, Entry<K, V>> mWeakMap = 29 new HashMap<K, Entry<K, V>>(); 36 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { in LruCache() 42 private static class Entry<K, V> extends WeakReference<V> { class in LruCache 45 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry() method in LruCache.Entry 53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 56 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 63 Entry<K, V> entry = mWeakMap.put( in put() 64 key, new Entry<K, V>(key, value, mQueue)); in put() 72 Entry<K, V> entry = mWeakMap.get(key); in get()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | LruCache.java | 32 private final HashMap<K, Entry<K, V>> mWeakMap = 33 new HashMap<K, Entry<K, V>>(); 40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) { in LruCache() 46 private static class Entry<K, V> extends WeakReference<V> { class in LruCache 49 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry() method in LruCache.Entry 57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 60 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 72 Entry<K, V> entry = mWeakMap.put( in put() 73 key, new Entry<K, V>(key, value, mQueue)); in put() 81 Entry<K, V> entry = mWeakMap.get(key); in get()
|
D | EntrySchema.java | 50 public EntrySchema(Class<? extends Entry> clazz) { in EntrySchema() 103 public <T extends Entry> T cursorToObject(Cursor cursor, T object) { in cursorToObject() 154 public <T extends Entry> T valuesToObject(ContentValues values, T object) { in valuesToObject() 192 public void objectToValues(Entry object, ContentValues values) { in objectToValues() 229 public String toDebugString(Entry entry) { in toDebugString() 246 public String toDebugString(Entry entry, String... columnNames) { in toDebugString() 267 public boolean queryWithId(SQLiteDatabase db, long id, Entry entry) { in queryWithId() 279 public long insertOrReplace(SQLiteDatabase db, Entry entry) { in insertOrReplace() 450 Entry.Table table = clazz.getAnnotation(Entry.Table.class); in parseTableName() 478 Entry.Column info = ((AnnotatedElement) field).getAnnotation(Entry.Column.class); in parseColumnInfo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | IdentityCache.java | 27 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 IdentityCache 37 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry() method in IdentityCache.Entry 44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 47 entry = (Entry<K, V>) mQueue.poll(); in cleanUpWeakMap() 53 Entry<K, V> entry = mWeakMap.put( in put() 54 key, new Entry<K, V>(key, value, mQueue)); in put() 60 Entry<K, V> entry = mWeakMap.get(key); in get()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoStore.java | 51 private final Map<Long, Entry> mEntries; 81 mEntries = new ArrayMap<Long, Entry>(); in PhotoStore() 111 public Entry get(long key) { in get() 126 Entry entry = new Entry(file); in initialize() 214 Entry entry = new Entry(target); in insert() 258 private void putEntry(long id, Entry entry) { in putEntry() 262 Entry oldEntry = mEntries.get(id); in putEntry() 273 Entry entry = mEntries.get(id); in removeEntry() 282 public static class Entry { class in PhotoStore 292 public Entry(File file) { in Entry() method in PhotoStore.Entry
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PercentageBarChart.java | 38 private Collection<Entry> mEntries; 42 public static class Entry implements Comparable<Entry> { class in PercentageBarChart 47 protected Entry(int order, float percentage, Paint paint) { in Entry() method in PercentageBarChart.Entry 54 public int compareTo(Entry another) { in compareTo() 87 for (final Entry e : mEntries) { in onDraw() 111 for (final Entry e : mEntries) { in onDraw() 150 public static Entry createEntry(int order, float percentage, int color) { in createEntry() 154 return new Entry(order, percentage, p); in createEntry() 157 public void setEntries(Collection<Entry> entries) { in setEntries()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PercentageBarChart.java | 38 private Collection<Entry> mEntries; 42 public static class Entry implements Comparable<Entry> { class in PercentageBarChart 47 protected Entry(int order, float percentage, Paint paint) { in Entry() method in PercentageBarChart.Entry 54 public int compareTo(Entry another) { in compareTo() 87 for (final Entry e : mEntries) { in onDraw() 111 for (final Entry e : mEntries) { in onDraw() 150 public static Entry createEntry(int order, float percentage, int color) { in createEntry() 154 return new Entry(order, percentage, p); in createEntry() 157 public void setEntries(Collection<Entry> entries) { in setEntries()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 81 Entry entry = mCache.get(cacheKey); in getThumbnail() 93 Entry entry = mCache.get(cacheKey); in getThumbnail() 106 Entry entry = mCache.get(cacheKey); in getThumbnail() 136 Entry entry = new Entry(thumbnail, lastModified); in putThumbnail() 221 private static Result obtain(@Status int status, Point size, Entry entry) { in obtain() 284 private static final class Entry { class in ThumbnailCache 288 private Entry(Bitmap thumbnail, long lastModified) { in Entry() method in ThumbnailCache.Entry 294 private final class Cache extends LruCache<Pair<Uri, Point>, Entry> { 301 protected int sizeOf(Pair<Uri, Point> key, Entry value) { in sizeOf() 307 boolean evicted, Pair<Uri, Point> key, Entry oldValue, Entry newValue) { in entryRemoved()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 69 private final LruCache<String, Entry> mEntryMap = 70 new LruCache<String, Entry>(LRU_CAPACITY); 89 private Entry findEntryInDatabase(String stringUrl) { in findEntryInDatabase() 98 Entry entry = null; in findEntryInDatabase() 102 entry = new Entry(id, file); in findEntryInDatabase() 114 public Entry download(JobContext jc, URL url) { in download() 121 Entry entry = mEntryMap.get(stringUrl); in download() 131 Entry entry = findEntryInDatabase(stringUrl); in download() 250 public class Entry { class in DownloadCache 254 Entry(long id, File cacheFile) { in Entry() method in DownloadCache.Entry [all …]
|
/packages/services/Car/procfs-inspector/server/ |
D | directory.cpp | 28 bool procfsinspector::Directory::Entry::isEmpty() const { in isEmpty() 32 procfsinspector::Directory::Entry::Entry(std::string parent, std::string child) : in Entry() function in procfsinspector::Directory::Entry 41 std::string procfsinspector::Directory::Entry::str() { in str() 45 uid_t procfsinspector::Directory::Entry::getOwnerUserId() { in getOwnerUserId() 57 procfsinspector::Directory::Entry procfsinspector::Directory::next(unsigned char type) { in next() 66 return Entry(mPath, entry->d_name); in next() 71 return Entry(); in next()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | BrowseAdapter.java | 49 private @NonNull List<Entry> mPrograms = new ArrayList<>(); 83 private class Entry { class in BrowseAdapter 88 Entry(Program program, boolean isFavorite) { in Entry() method in BrowseAdapter.Entry 128 List<Entry> remove = new ArrayList<>(); in setProgramList() 129 for (Entry entry : mPrograms) { in setProgramList() 142 .map(pi -> new Entry(Program.fromProgramInfo(pi), false)) in setProgramList() 172 for (Entry entry : mPrograms) { in onFavoritesChanged() 179 favMap.values().stream().map(p -> new Entry(p, true)).forEachOrdered(mPrograms::add); in onFavoritesChanged() 209 Entry entry = getEntryLocked(position); in onBindViewHolder() 221 private Entry getEntryLocked(int position) { in getEntryLocked() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoFallbackEffect.java | 37 public static class Entry { class in PhotoFallbackEffect 44 public Entry(Path path, Rect source, RawTexture texture) { in Entry() method in PhotoFallbackEffect.Entry 61 private ArrayList<Entry> mList = new ArrayList<Entry>(); 69 mList.add(new Entry(path, rect, texture)); in addEntry() 72 public Entry getEntry(Path path) { in getEntry() 74 Entry entry = mList.get(i); in getEntry() 83 Entry entry = mList.get(i); in draw() 91 private void drawEntry(GLCanvas canvas, Entry entry) { in drawEntry() 165 Entry entry = mList.get(i); in setPositionProvider() 174 Entry entry = mList.get(i); in acceptSlot()
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
D | GalleryWidgetMigrator.java | 33 import com.android.gallery3d.gadget.WidgetDatabaseHelper.Entry; 82 List<Entry> entries = dbHelper.getEntries(WidgetDatabaseHelper.TYPE_ALBUM); in migrateGalleryWidgetsInternal() 89 HashMap<Integer, Entry> localEntries = new HashMap<Integer, Entry>(entries.size()); in migrateGalleryWidgetsInternal() 90 for (Entry entry : entries) { in migrateGalleryWidgetsInternal() 107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) { in migrateLocalEntries() 123 private static void migrateLocalEntries(HashMap<Integer, Entry> entries, in migrateLocalEntries() 131 private static void updatePath(File root, HashMap<Integer, Entry> entries, in updatePath() 140 Entry entry = entries.remove(oldBucketId); in updatePath() 159 private static void updateEntryUsingRelativePath(Entry entry, WidgetDatabaseHelper dbHelper) { in updateEntryUsingRelativePath()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModeBackendTest.java | 59 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime( in updateState_checkRuleOrderingDescending() 72 Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesAscendingCreationTime( in updateState_checkRuleOrderingAscending() 86 …Map.Entry<String, AutomaticZenRule>[] rules = populateAutoZenRulesDescendingCreationTime(NUM_RULES, in updateState_checkRuleOrderingDescending_withDefaultRules() 131 private Map.Entry<String, AutomaticZenRule>[] populateAutoZenRulesAscendingCreationTime( in populateAutoZenRulesAscendingCreationTime() 148 Map.Entry<String, AutomaticZenRule>[] toReturn = new Map.Entry[ruleMap.size()]; in populateAutoZenRulesAscendingCreationTime() 153 private Map.Entry<String, AutomaticZenRule>[] populateAutoZenRulesDescendingCreationTime( in populateAutoZenRulesDescendingCreationTime() 170 Map.Entry<String, AutomaticZenRule>[] toReturn = new Map.Entry[ruleMap.size()]; in populateAutoZenRulesDescendingCreationTime()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceControllerTest.java | 112 NetworkStats.Entry entry1 = new NetworkStats.Entry(); in onDataLoaded_statsLoaded_hasTwoPreference() 116 NetworkStats.Entry entry2 = new NetworkStats.Entry(); in onDataLoaded_statsLoaded_hasTwoPreference() 130 NetworkStats.Entry entry1 = new NetworkStats.Entry(); in onDataLoaded_statsLoaded_hasOnePreference() 134 NetworkStats.Entry entry2 = new NetworkStats.Entry(); in onDataLoaded_statsLoaded_hasOnePreference()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
D | Interop.java | 34 private static class Entry { class in Interop 38 Entry(int workaroundId, String address) { in Entry() method in Interop.Entry 47 private static List<Entry> sEntries = null; 65 sEntries = new ArrayList<Entry>(); in lazyInitInteropDatabase() 68 sEntries.add(new Entry(INTEROP_MAP_ASCIIONLY, "00:26:e8")); in lazyInitInteropDatabase() 82 for (Entry entry : sEntries) { in matchByAddress()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | ListSuggestionCursor.java | 37 private final ArrayList<Entry> mSuggestions; 57 mSuggestions = new ArrayList<Entry>(capacity); in ListSuggestionCursor() 66 mSuggestions.add(new Entry(suggestion)); in add() 97 mSuggestions.set(mPos, new Entry(suggestion)); in replaceRow() 146 for (Entry e : mSuggestions) { in getExtraColumns() 163 private static class Entry { class in ListSuggestionCursor 166 public Entry(Suggestion s) { in Entry() method in ListSuggestionCursor.Entry
|
D | CachingIconLoader.java | 43 private final WeakHashMap<String, Entry> mIconCache; 52 mIconCache = new WeakHashMap<String, Entry>(); in CachingIconLoader() 60 Entry newEntry = null; in getIcon() 65 newEntry = new Entry(); in getIcon() 94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) { 100 private static class Entry extends CachedLater<Drawable.ConstantState> 106 public Entry() {
|