Searched refs:RESULT_CODE_OK (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 22 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()
|
D | MockFontProvider.java | 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() argument 166 new Font(id++, NO_FILE_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK), in map.put() argument
|
D | TestFontsProvider.java | 45 private int mResultCode = FontsContract.Columns.RESULT_CODE_OK;
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 137 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/ |
D | ContentCaptureManagerService.java | 23 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/ |
D | ContentCaptureManager.java | 155 public static final int RESULT_CODE_OK = 0; field in ContentCaptureManager
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 38500 field public static final int RESULT_CODE_OK = 0; // 0x0
|
/frameworks/base/api/ |
D | current.txt | 38644 field public static final int RESULT_CODE_OK = 0; // 0x0
|