Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/provider/
DSyncStateContract.java34 public interface Columns extends BaseColumns { interface in SyncStateContract
54 public static class Constants implements Columns {
59 private static final String[] DATA_PROJECTION = new String[]{Columns.DATA, Columns._ID};
61 Columns.ACCOUNT_NAME + "=? AND " + Columns.ACCOUNT_TYPE + "=?";
85 return c.getBlob(c.getColumnIndexOrThrow(Columns.DATA)); in get()
106 values.put(Columns.DATA, data); in set()
107 values.put(Columns.ACCOUNT_NAME, account.name); in set()
108 values.put(Columns.ACCOUNT_TYPE, account.type); in set()
115 values.put(Columns.DATA, data); in insert()
116 values.put(Columns.ACCOUNT_NAME, account.name); in insert()
[all …]
DFontsContract.java83 public static final class Columns implements BaseColumns { class in FontsContract
86 private Columns() {} in Columns() method in FontsContract.Columns
436 public static final int FAIL_REASON_FONT_NOT_FOUND = Columns.RESULT_CODE_FONT_NOT_FOUND;
441 public static final int FAIL_REASON_FONT_UNAVAILABLE = Columns.RESULT_CODE_FONT_UNAVAILABLE;
446 public static final int FAIL_REASON_MALFORMED_QUERY = Columns.RESULT_CODE_MALFORMED_QUERY;
554 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts()
708 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
824 try (Cursor cursor = context.getContentResolver().query(uri, new String[] { Columns._ID, in getFontFromProvider()
825 Columns.FILE_ID, Columns.TTC_INDEX, Columns.VARIATION_SETTINGS, in getFontFromProvider()
826 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider()
[all …]
DBrowserContract.java513 public static final class SyncState implements SyncStateContract.Columns {
DCalendarContract.java2662 protected interface ColorsColumns extends SyncStateContract.Columns {
2783 public static final class SyncState implements SyncStateContract.Columns {
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java34 SyncStateContract.Columns.ACCOUNT_NAME + "=? AND "
35 + SyncStateContract.Columns.ACCOUNT_TYPE + "=?";
44 new String[]{SyncStateContract.Columns.ACCOUNT_NAME,
45 SyncStateContract.Columns.ACCOUNT_TYPE};
52 + " WHERE " + SyncStateContract.Columns._ID + "=?";
57 + SyncStateContract.Columns._ID + " INTEGER PRIMARY KEY," in createDatabase()
58 + SyncStateContract.Columns.ACCOUNT_NAME + " TEXT NOT NULL," in createDatabase()
59 + SyncStateContract.Columns.ACCOUNT_TYPE + " TEXT NOT NULL," in createDatabase()
60 + SyncStateContract.Columns.DATA + " TEXT," in createDatabase()
61 + "UNIQUE(" + SyncStateContract.Columns.ACCOUNT_NAME + ", " in createDatabase()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java19 import static android.provider.FontsContract.Columns;
154 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK),
158 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK),
162 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK), in map.put()
166 new Font(id++, NO_FILE_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK), in map.put()
174 Columns._ID, Columns.TTC_INDEX, Columns.VARIATION_SETTINGS, Columns.WEIGHT, in buildCursor()
175 Columns.ITALIC, Columns.RESULT_CODE, Columns.FILE_ID}); in buildCursor()
178 builder.add(Columns._ID, font.getId()); in buildCursor()
179 builder.add(Columns.FILE_ID, font.getFileId()); in buildCursor()
180 builder.add(Columns.TTC_INDEX, font.getTtcIndex()); in buildCursor()
[all …]
DTestFontsProvider.java45 private int mResultCode = FontsContract.Columns.RESULT_CODE_OK;
83 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in query()
84 FontsContract.Columns.TTC_INDEX, FontsContract.Columns.VARIATION_SETTINGS, in query()
85 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in query()
86 FontsContract.Columns.RESULT_CODE }); in query()
89 cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID }); in query()
DFontsContractTest.java19 import static android.provider.FontsContract.Columns.RESULT_CODE_FONT_NOT_FOUND;
20 import static android.provider.FontsContract.Columns.RESULT_CODE_FONT_UNAVAILABLE;
21 import static android.provider.FontsContract.Columns.RESULT_CODE_MALFORMED_QUERY;
22 import static android.provider.FontsContract.Columns.RESULT_CODE_OK;
164 MatrixCursor cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in testGetFontFromProvider_resultFontNotFoundSecondRow()
165 FontsContract.Columns.TTC_INDEX, FontsContract.Columns.VARIATION_SETTINGS, in testGetFontFromProvider_resultFontNotFoundSecondRow()
166 FontsContract.Columns.WEIGHT, FontsContract.Columns.ITALIC, in testGetFontFromProvider_resultFontNotFoundSecondRow()
167 FontsContract.Columns.RESULT_CODE }); in testGetFontFromProvider_resultFontNotFoundSecondRow()
196 MatrixCursor cursor = new MatrixCursor(new String[] { FontsContract.Columns._ID, in testGetFontFromProvider_resultFontNotFoundOtherRow()
197 FontsContract.Columns.TTC_INDEX, FontsContract.Columns.VARIATION_SETTINGS, in testGetFontFromProvider_resultFontNotFoundOtherRow()
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dpreloaded-classes5206 android.provider.SyncStateContract$Columns
Dboot-image-profile.txt45434 Landroid/provider/SyncStateContract$Columns;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23425 …ct interface CalendarContract.ColorsColumns implements android.provider.SyncStateContract.Columns {
23569 …atic final class CalendarContract.SyncState implements android.provider.SyncStateContract.Columns {
24569 …nal class ContactsContract.ProfileSyncState implements android.provider.SyncStateContract.Columns {
24746 …atic final class ContactsContract.SyncState implements android.provider.SyncStateContract.Columns {
25530 …public static abstract interface SyncStateContract.Columns implements android.provider.BaseColumns…
25536 …ic static class SyncStateContract.Constants implements android.provider.SyncStateContract.Columns {
/frameworks/base/api/
Dcurrent.txt38471 …tatic interface CalendarContract.ColorsColumns extends android.provider.SyncStateContract.Columns {
38620 …atic final class CalendarContract.SyncState implements android.provider.SyncStateContract.Columns {
39677 …nal class ContactsContract.ProfileSyncState implements android.provider.SyncStateContract.Columns {
39818 …atic final class ContactsContract.SyncState implements android.provider.SyncStateContract.Columns {
39991 public static final class FontsContract.Columns implements android.provider.BaseColumns {
40880 public static interface SyncStateContract.Columns extends android.provider.BaseColumns {
40886 …ic static class SyncStateContract.Constants implements android.provider.SyncStateContract.Columns {