Home
last modified time | relevance | path

Searched refs:getResultCode (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/support/compat/tests/java/android/support/v4/provider/
DFontsContractCompatTest.java175 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultOK()
188 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_providerDoesntReturnAllFields()
200 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFound()
213 assertEquals(RESULT_CODE_FONT_UNAVAILABLE, font.getResultCode()); in testGetFontFromProvider_resultFontUnavailable()
226 assertEquals(RESULT_CODE_MALFORMED_QUERY, font.getResultCode()); in testGetFontFromProvider_resultMalformedQuery()
240 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
243 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
257 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
260 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
263 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
[all …]
DMockFontProvider.java96 public int getResultCode() { in getResultCode() method in MockFontProvider.Font
196 font.getWeight(), font.getItalic(), font.getResultCode(), font.getFileId() }); in buildCursor()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java89 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultOK()
105 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_providerDoesntReturnAllFields()
118 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFound()
138 assertEquals(RESULT_CODE_FONT_UNAVAILABLE, font.getResultCode()); in testGetFontFromProvider_resultFontUnavailable()
158 assertEquals(RESULT_CODE_MALFORMED_QUERY, font.getResultCode()); in testGetFontFromProvider_resultMalformedQuery()
182 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
190 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
215 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
223 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
231 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
DMockFontProvider.java132 public int getResultCode() { in getResultCode() method in MockFontProvider.Font
188 builder.add(Columns.RESULT_CODE, font.getResultCode()); in buildCursor()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DFontRequestEmojiCompatConfig.java134 if (font.getResultCode() != FontsContractCompat.Columns.RESULT_CODE_OK) { in run()
135 throwException("fetchFonts result is not OK. (" + font.getResultCode() + ")"); in run()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java114 public final int getResultCode() { in getResultCode() method in BroadcastReceiver.PendingResult
424 public final int getResultCode() { in getResultCode() method in BroadcastReceiver
/frameworks/base/core/java/android/provider/
DFontsContract.java250 public int getResultCode() { in getResultCode() method in FontsContract.FontInfo
542 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts()
545 final int resultCode = font.getResultCode(); in requestFonts()
650 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
/frameworks/support/compat/java/android/support/v4/provider/
DFontsContractCompat.java333 public int getResultCode() { in getResultCode() method in FontsContractCompat.FontInfo
532 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFont()
535 final int resultCode = font.getResultCode(); in requestFont()
599 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java194 public int getResultCode() { in getResultCode() method in ActivityTestsBase
DBroadcastTest.java292 assertEquals("Incorrect code: " + broadcastReceiver.getResultCode(), in testResult()
293 3, broadcastReceiver.getResultCode()); in testResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java129 int resultCode = getResultCode();
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java530 return r.getResultCode() == 1; in invokePMFreeStorage()
632 … if (localLOGV) Log.i(TAG, "Got notification: clear cache succeeded "+getResultCode()); in onReceive()
665 assertEquals(receiver.getResultCode(), 1); in testFreeStorage()
/frameworks/base/core/java/android/app/
DActivityTransitionState.java169 int result = mEnterActivityOptions.getResultCode(); in setEnterActivityOptions()
DActivity.java4477 mToken, mEmbeddedID, requestCode, ar.getResultCode(), in startActivityForResult()
4571 mToken, mEmbeddedID, requestCode, ar.getResultCode(), ar.getResultData()); in startActivityForResultAsUser()
4608 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsUser()
4641 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsCaller()
5084 ar.getResultCode(), ar.getResultData()); in startActivityFromChild()
5159 ar.getResultCode(), ar.getResultData()); in startActivityForResult()
DActivityOptions.java1005 public int getResultCode() { return mResultCode; } in getResultCode() method in ActivityOptions
DInstrumentation.java1518 public int getResultCode() { in getResultCode() method in Instrumentation.ActivityResult
DActivityThread.java492 info.packageName + " resultCode=" + getResultCode() in toString()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java134 if (getResultCode() != Activity.RESULT_OK) {
137 + ": canceled: " + getResultCode());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1316 int rc = getResultCode(); in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1524 if (getResultCode() == Activity.RESULT_OK) {
/frameworks/support/api/
D26.0.0-beta1.txt7907 method public int getResultCode();
D26.0.0-SNAPSHOT.txt8058 method public int getResultCode();
D26.0.0-beta2.txt8047 method public int getResultCode();
/frameworks/base/api/
Dcurrent.txt4954 method public int getResultCode();
8367 method public final int getResultCode();
8388 method public final int getResultCode();
34304 method public int getResultCode();
Dsystem-current.txt5136 method public int getResultCode();
8868 method public final int getResultCode();
8889 method public final int getResultCode();
37248 method public int getResultCode();

12