OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FeedContract
(Results
1 - 15
of
15
) sorted by null
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java
36
private static final String AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
77
return
FeedContract
.Entry.CONTENT_TYPE;
79
return
FeedContract
.Entry.CONTENT_ITEM_TYPE;
101
builder.where(
FeedContract
.Entry._ID + "=?", id);
104
builder.table(
FeedContract
.Entry.TABLE_NAME)
129
long id = db.insertOrThrow(
FeedContract
.Entry.TABLE_NAME, null, values);
130
result = Uri.parse(
FeedContract
.Entry.CONTENT_URI + "/" + id);
155
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
161
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
162
.where(
FeedContract
.Entry._ID + "=?", id
[
all
...]
FeedContract.java
27
public class
FeedContract
{
28
private
FeedContract
() {
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java
36
private static final String AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
77
return
FeedContract
.Entry.CONTENT_TYPE;
79
return
FeedContract
.Entry.CONTENT_ITEM_TYPE;
101
builder.where(
FeedContract
.Entry._ID + "=?", id);
104
builder.table(
FeedContract
.Entry.TABLE_NAME)
129
long id = db.insertOrThrow(
FeedContract
.Entry.TABLE_NAME, null, values);
130
result = Uri.parse(
FeedContract
.Entry.CONTENT_URI + "/" + id);
155
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
161
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
162
.where(
FeedContract
.Entry._ID + "=?", id
[
all
...]
FeedContract.java
27
public class
FeedContract
{
28
private
FeedContract
() {
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
FeedProvider.java
36
private static final String AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
77
return
FeedContract
.Entry.CONTENT_TYPE;
79
return
FeedContract
.Entry.CONTENT_ITEM_TYPE;
101
builder.where(
FeedContract
.Entry._ID + "=?", id);
104
builder.table(
FeedContract
.Entry.TABLE_NAME)
129
long id = db.insertOrThrow(
FeedContract
.Entry.TABLE_NAME, null, values);
130
result = Uri.parse(
FeedContract
.Entry.CONTENT_URI + "/" + id);
155
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
161
count = builder.table(
FeedContract
.Entry.TABLE_NAME)
162
.where(
FeedContract
.Entry._ID + "=?", id
[
all
...]
FeedContract.java
27
public class
FeedContract
{
28
private
FeedContract
() {
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncAdapter.java
36
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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};
222
Uri uri =
FeedContract
.Entry.CONTENT_URI; // Get all entries
245
Uri existingUri =
FeedContract
.Entry.CONTENT_URI.buildUpon()
253
.withValue(
FeedContract
.Entry.COLUMN_NAME_TITLE, match.title)
254
.withValue(
FeedContract
.Entry.COLUMN_NAME_LINK, match.link
[
all
...]
SyncUtils.java
29
import com.example.android.basicsyncadapter.provider.
FeedContract
;
36
private static final String CONTENT_AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
96
FeedContract
.CONTENT_AUTHORITY, // Content authority
EntryListFragment.java
44
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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
220
FeedContract
.Entry.COLUMN_NAME_PUBLISHED + " desc"); // Sort
347
account,
FeedContract
.CONTENT_AUTHORITY)
[
all
...]
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncAdapter.java
36
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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};
222
Uri uri =
FeedContract
.Entry.CONTENT_URI; // Get all entries
245
Uri existingUri =
FeedContract
.Entry.CONTENT_URI.buildUpon()
253
.withValue(
FeedContract
.Entry.COLUMN_NAME_TITLE, match.title)
254
.withValue(
FeedContract
.Entry.COLUMN_NAME_LINK, match.link
[
all
...]
SyncUtils.java
29
import com.example.android.basicsyncadapter.provider.
FeedContract
;
36
private static final String CONTENT_AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
96
FeedContract
.CONTENT_AUTHORITY, // Content authority
EntryListFragment.java
44
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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
220
FeedContract
.Entry.COLUMN_NAME_PUBLISHED + " desc"); // Sort
347
account,
FeedContract
.CONTENT_AUTHORITY)
[
all
...]
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncAdapter.java
36
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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};
222
Uri uri =
FeedContract
.Entry.CONTENT_URI; // Get all entries
245
Uri existingUri =
FeedContract
.Entry.CONTENT_URI.buildUpon()
253
.withValue(
FeedContract
.Entry.COLUMN_NAME_TITLE, match.title)
254
.withValue(
FeedContract
.Entry.COLUMN_NAME_LINK, match.link
[
all
...]
SyncUtils.java
29
import com.example.android.basicsyncadapter.provider.
FeedContract
;
36
private static final String CONTENT_AUTHORITY =
FeedContract
.CONTENT_AUTHORITY;
96
FeedContract
.CONTENT_AUTHORITY, // Content authority
EntryListFragment.java
44
import com.example.android.basicsyncadapter.provider.
FeedContract
;
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
220
FeedContract
.Entry.COLUMN_NAME_PUBLISHED + " desc"); // Sort
347
account,
FeedContract
.CONTENT_AUTHORITY)
[
all
...]
Completed in 384 milliseconds