Home
last modified time | relevance | path

Searched refs:Columns (Results 1 – 21 of 21) 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.java91 public static final class Columns implements BaseColumns { class in FontsContract
94 private Columns() {} in Columns() method in FontsContract.Columns
460 public static final int FAIL_REASON_FONT_NOT_FOUND = Columns.RESULT_CODE_FONT_NOT_FOUND;
465 public static final int FAIL_REASON_FONT_UNAVAILABLE = Columns.RESULT_CODE_FONT_UNAVAILABLE;
470 public static final int FAIL_REASON_MALFORMED_QUERY = Columns.RESULT_CODE_MALFORMED_QUERY;
578 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts()
732 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
848 try (Cursor cursor = context.getContentResolver().query(uri, new String[] { Columns._ID, in getFontFromProvider()
849 Columns.FILE_ID, Columns.TTC_INDEX, Columns.VARIATION_SETTINGS, in getFontFromProvider()
850 Columns.WEIGHT, Columns.ITALIC, Columns.RESULT_CODE }, in getFontFromProvider()
[all …]
DBrowserContract.java514 public static final class SyncState implements SyncStateContract.Columns {
DCalendarContract.java2671 protected interface ColorsColumns extends SyncStateContract.Columns {
2792 public static final class SyncState implements SyncStateContract.Columns {
DContactsContract.java705 public interface SyncStateColumns extends SyncStateContract.Columns {
713 public static final class SyncState implements SyncStateContract.Columns {
767 public static final class ProfileSyncState 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/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt198 !values.containsKey(Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID) in <lambda>()
209 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID in <lambda>()
220 values.getAsString(Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID) in <lambda>()
223 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID in <lambda>()
255 Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID, in <lambda>()
256 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID, in <lambda>()
257 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_NAME, in <lambda>()
280 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.ID, in <lambda>()
281 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.NAME, in <lambda>()
282 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.ICON, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/
DCustomizationProviderClient.kt211 put(Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID, slotId) in insertSelection()
213 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID, in insertSelection()
235 Contract.LockScreenQuickAffordances.SlotTable.Columns.ID in querySlots()
239 Contract.LockScreenQuickAffordances.SlotTable.Columns.CAPACITY in querySlots()
272 cursor.getColumnIndex(Contract.FlagsTable.Columns.NAME) in queryFlags()
274 cursor.getColumnIndex(Contract.FlagsTable.Columns.VALUE) in queryFlags()
315 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.ID in queryAffordances()
319 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.NAME in queryAffordances()
323 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.ICON in queryAffordances()
327 Contract.LockScreenQuickAffordances.AffordanceTable.Columns in queryAffordances()
[all …]
DCustomizationProviderContract.kt61 object Columns { object
87 object Columns { object
145 object Columns { object
190 object Columns { object
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DCustomizationProviderTest.kt364 Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID, in <lambda>()
406 put(Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID, slotId) in <lambda>()
408 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID, in <lambda>()
428 Contract.LockScreenQuickAffordances.SelectionTable.Columns.SLOT_ID in <lambda>()
432 Contract.LockScreenQuickAffordances.SelectionTable.Columns.AFFORDANCE_ID in <lambda>()
436 Contract.LockScreenQuickAffordances.SelectionTable.Columns in <lambda>()
474 Contract.LockScreenQuickAffordances.SlotTable.Columns.ID in <lambda>()
478 Contract.LockScreenQuickAffordances.SlotTable.Columns.CAPACITY in <lambda>()
510 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.ID in <lambda>()
514 Contract.LockScreenQuickAffordances.AffordanceTable.Columns.NAME in <lambda>()
[all …]
/frameworks/av/media/tests/benchmark/
DREADME.md214 ## CSV Columns
/frameworks/base/core/api/
Dcurrent.txt33721 …tatic interface CalendarContract.ColorsColumns extends android.provider.SyncStateContract.Columns {
33870 …atic final class CalendarContract.SyncState implements android.provider.SyncStateContract.Columns {
34955 …nal class ContactsContract.ProfileSyncState implements android.provider.SyncStateContract.Columns {
35117 …atic final class ContactsContract.SyncState implements android.provider.SyncStateContract.Columns {
35290 …@Deprecated public static final class FontsContract.Columns implements android.provider.BaseColumn…
35832 public static interface SyncStateContract.Columns extends android.provider.BaseColumns {
35838 …ic static class SyncStateContract.Constants implements android.provider.SyncStateContract.Columns {
/frameworks/base/boot/
Dpreloaded-classes6222 android.provider.SyncStateContract$Columns
Dboot-image-profile.txt28709 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/config/
Dpreloaded-classes6226 android.provider.SyncStateContract$Columns
Dboot-image-profile.txt38677 Landroid/provider/SyncStateContract$Columns;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt42003 Landroid/provider/FontsContract$Columns;-><init>()V