Home
last modified time | relevance | path

Searched refs:RESULT_CODE_OK (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java22 import static android.provider.FontsContract.Columns.RESULT_CODE_OK;
91 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultOK()
107 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_providerDoesntReturnAllFields()
168 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundSecondRow()
184 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
200 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
203 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
217 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
233 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
DMockFontProvider.java154 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() argument
166 new Font(id++, NO_FILE_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK), in map.put() argument
DTestFontsProvider.java45 private int mResultCode = FontsContract.Columns.RESULT_CODE_OK;
/frameworks/base/core/java/android/provider/
DFontsContract.java137 public static final int RESULT_CODE_OK = 0; field in FontsContract.Columns
547 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts()
701 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
834 ? cursor.getInt(resultCodeColumnIndex) : Columns.RESULT_CODE_OK; in getFontFromProvider()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java23 import static android.view.contentcapture.ContentCaptureManager.RESULT_CODE_OK;
582 result.send(RESULT_CODE_OK, bundleFor(connectedServiceComponentName)); in getServiceComponentName()
633 result.send(RESULT_CODE_OK, bundleFor(componentName)); in getServiceSettingsActivity()
654 result.send(RESULT_CODE_OK, bundleFor(conditions)); in getContentCaptureConditions()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureManager.java155 public static final int RESULT_CODE_OK = 0; field in ContentCaptureManager
/frameworks/base/non-updatable-api/
Dcurrent.txt38500 field public static final int RESULT_CODE_OK = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt38644 field public static final int RESULT_CODE_OK = 0; // 0x0