Home
last modified time | relevance | path

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

/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java89 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 …]
DEntryListFragment.java93 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/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java77 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 …]
DFeedContract.java49 public static class Entry implements BaseColumns { class in FeedContract
/development/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()
DNetworkActivity.java35 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/
DFeedParser.java58 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/
DDiskLruCache.java162 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/
DStubGenerator.java30 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()
DSourceGenerator.java31 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/
DAlarmStorage.java90 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in getAlarms()
104 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in deleteAlarm()
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java234 KeyStore.Entry entry = ks.getEntry(mAlias, null); in signData()
319 KeyStore.Entry entry = ks.getEntry(mAlias, null); in verifyData()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java134 for (Map.Entry<String, LatLng> entry: CITY_LOCATIONS.entrySet()) { in getClosestCity()
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java362 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground()
433 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java153 for (Map.Entry<String, List<PermissionInfo>> e : mPermissionMap.entrySet()) { in dump()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java156 for (Map.Entry<String, List<Attraction>> attractionsList : ATTRACTIONS.entrySet()) { in findAttraction()
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DNfcProvisioningFragment.java111 for (Map.Entry<String, String> e : mProvisioningValues.entrySet()) { in createNdefMessage()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java66 protected boolean removeEldestEntry(Map.Entry<String, Bitmap> eldest) {
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1286 Map.Entry<Integer, ImageSaver.ImageSaverBuilder> entry = in dequeueAndSaveImage()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv11555 …ke_Ct_fEv-JS0mKpM2j9VzS8w@fakeemail.com,Add the defaultNetwork parameter to the NetworkStats.Entry.
103855 …s/base,fake_D7cd21DdTOO-L7qCGW_N3Q@fakeemail.com,SysUiLeaks: Detect leaks of NotificationData.Entry