/frameworks/base/core/java/android/provider/ |
D | SyncStateContract.java | 34 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 …]
|
D | FontsContract.java | 83 public static final class Columns implements BaseColumns { class in FontsContract 86 private Columns() {} in Columns() method in FontsContract.Columns 429 public static final int FAIL_REASON_FONT_NOT_FOUND = Columns.RESULT_CODE_FONT_NOT_FOUND; 434 public static final int FAIL_REASON_FONT_UNAVAILABLE = Columns.RESULT_CODE_FONT_UNAVAILABLE; 439 public static final int FAIL_REASON_MALFORMED_QUERY = Columns.RESULT_CODE_MALFORMED_QUERY; 547 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts() 701 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData() 817 try (Cursor cursor = context.getContentResolver().query(uri, new String[] { Columns._ID, in getFontFromProvider() 818 Columns.FILE_ID, Columns.TTC_INDEX, Columns.VARIATION_SETTINGS, in getFontFromProvider() 819 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider() [all …]
|
D | BrowserContract.java | 513 public static final class SyncState implements SyncStateContract.Columns {
|
D | CalendarContract.java | 2666 protected interface ColorsColumns extends SyncStateContract.Columns { 2787 public static final class SyncState implements SyncStateContract.Columns {
|
D | ContactsContract.java | 688 public interface SyncStateColumns extends SyncStateContract.Columns { 696 public static final class SyncState implements SyncStateContract.Columns { 750 public static final class ProfileSyncState implements SyncStateContract.Columns {
|
/frameworks/ex/common/java/com/android/common/content/ |
D | SyncStateContentProviderHelper.java | 34 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/ |
D | MockFontProvider.java | 19 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 …]
|
D | TestFontsProvider.java | 45 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()
|
D | FontsContractTest.java | 19 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/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |