/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 77 return FeedContract.Entry.CONTENT_TYPE; in getType() 79 return FeedContract.Entry.CONTENT_ITEM_TYPE; in getType() 101 builder.where(FeedContract.Entry._ID + "=?", id); in query() 104 builder.table(FeedContract.Entry.TABLE_NAME) in query() 129 long id = db.insertOrThrow(FeedContract.Entry.TABLE_NAME, null, values); in insert() 130 result = Uri.parse(FeedContract.Entry.CONTENT_URI + "/" + id); in insert() 155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete() 161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete() 162 .where(FeedContract.Entry._ID + "=?", id) in delete() 187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update() [all …]
|
D | FeedContract.java | 49 public static class Entry implements BaseColumns { class in FeedContract
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 89 FeedContract.Entry._ID, 90 FeedContract.Entry.COLUMN_NAME_ENTRY_ID, 91 FeedContract.Entry.COLUMN_NAME_TITLE, 92 FeedContract.Entry.COLUMN_NAME_LINK, 93 FeedContract.Entry.COLUMN_NAME_PUBLISHED}; 208 final List<FeedParser.Entry> entries = feedParser.parse(stream); in updateLocalFeedData() 215 HashMap<String, FeedParser.Entry> entryMap = new HashMap<String, FeedParser.Entry>(); in updateLocalFeedData() 216 for (FeedParser.Entry e : entries) { in updateLocalFeedData() 222 Uri uri = FeedContract.Entry.CONTENT_URI; // Get all entries in updateLocalFeedData() 240 FeedParser.Entry match = entryMap.get(entryId); in updateLocalFeedData() [all …]
|
D | EntryListFragment.java | 93 FeedContract.Entry._ID, 94 FeedContract.Entry.COLUMN_NAME_TITLE, 95 FeedContract.Entry.COLUMN_NAME_LINK, 96 FeedContract.Entry.COLUMN_NAME_PUBLISHED 114 FeedContract.Entry.COLUMN_NAME_TITLE, 115 FeedContract.Entry.COLUMN_NAME_PUBLISHED 216 FeedContract.Entry.CONTENT_URI, // URI in onCreateLoader() 220 FeedContract.Entry.COLUMN_NAME_PUBLISHED + " desc"); // Sort in onCreateLoader()
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
D | StackOverflowXmlParser.java | 37 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()
|
D | NetworkActivity.java | 35 import com.example.android.networkusage.StackOverflowXmlParser.Entry; 218 List<Entry> entries = null; in loadXmlFromNetwork() 250 for (Entry entry : entries) { in loadXmlFromNetwork()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/net/ |
D | FeedParser.java | 58 public List<Entry> parse(InputStream in) in parse() 79 private List<Entry> readFeed(XmlPullParser parser) in readFeed() 81 List<Entry> entries = new ArrayList<Entry>(); in readFeed() 126 private Entry readEntry(XmlPullParser parser) in readEntry() 163 return new Entry(id, title, link, publishedOn); in readEntry() 265 public static class Entry { class in FeedParser 271 Entry(String id, String title, String link, long published) { in Entry() method in FeedParser.Entry
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | DiskLruCache.java | 162 private final LinkedHashMap<String, Entry> lruEntries 163 = new LinkedHashMap<String, Entry>(0, 0.75f, true); 380 Entry entry = lruEntries.get(key); in readJournalLine() 382 entry = new Entry(key); in readJournalLine() 405 for (Iterator<Entry> i = lruEntries.values().iterator(); i.hasNext(); ) { in processJournal() 406 Entry entry = i.next(); in processJournal() 442 for (Entry entry : lruEntries.values()) { in rebuildJournal() 476 Entry entry = lruEntries.get(key); in get() 520 Entry entry = lruEntries.get(key); in edit() 526 entry = new Entry(key); in edit() [all …]
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | StubGenerator.java | 30 import java.util.Map.Entry; 60 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateStubbedJar() 90 for (Entry<String, byte[]> entry : all.entrySet()) { in createJar()
|
D | SourceGenerator.java | 31 import java.util.Map.Entry; 56 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateSource()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | AlarmStorage.java | 90 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in getAlarms() 104 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in deleteAlarm()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/ |
D | TouristAttractions.java | 134 for (Map.Entry<String, LatLng> entry: CITY_LOCATIONS.entrySet()) { in getClosestCity()
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 234 KeyStore.Entry entry = ks.getEntry(mAlias, null); in signData() 319 KeyStore.Entry entry = ks.getEntry(mAlias, null); in verifyData()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 153 for (Map.Entry<String, List<PermissionInfo>> e : mPermissionMap.entrySet()) { in dump()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | DetailFragment.java | 156 for (Map.Entry<String, List<Attraction>> attractionsList : ATTRACTIONS.entrySet()) { in findAttraction()
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 362 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground() 433 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground()
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | NfcProvisioningFragment.java | 111 for (Map.Entry<String, String> e : mProvisioningValues.entrySet()) { in createNdefMessage()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ImageDownloader.java | 66 protected boolean removeEldestEntry(Map.Entry<String, Bitmap> eldest) {
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | Camera2RawFragment.java | 1286 Map.Entry<Integer, ImageSaver.ImageSaverBuilder> entry = in dequeueAndSaveImage()
|