Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java210 private int getResultCode(Throwable e) { in getResultCode() method in EuiccCardController
256 callback.onComplete(getResultCode(e), null); in getAllProfiles()
304 callback.onComplete(getResultCode(e), null); in getProfile()
352 callback.onComplete(getResultCode(e)); in disableProfile()
404 callback.onComplete(getResultCode(e), profile); in switchToProfile()
418 callback.onComplete(getResultCode(e), null); in switchToProfile()
466 callback.onComplete(getResultCode(e)); in setNickname()
518 callback.onComplete(getResultCode(e)); in deleteProfile()
570 callback.onComplete(getResultCode(e)); in resetMemory()
618 callback.onComplete(getResultCode(e), null); in getDefaultSmdpAddress()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java91 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultOK()
107 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_providerDoesntReturnAllFields()
120 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFound()
140 assertEquals(RESULT_CODE_FONT_UNAVAILABLE, font.getResultCode()); in testGetFontFromProvider_resultFontUnavailable()
160 assertEquals(RESULT_CODE_MALFORMED_QUERY, font.getResultCode()); in testGetFontFromProvider_resultMalformedQuery()
184 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
192 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
217 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
225 assertEquals(RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
233 assertEquals(RESULT_CODE_OK, font.getResultCode()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
DMockFontProvider.java128 public int getResultCode() { in getResultCode() method in MockFontProvider.Font
184 builder.add(Columns.RESULT_CODE, font.getResultCode()); in buildCursor()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java132 public final int getResultCode() { in getResultCode() method in BroadcastReceiver.PendingResult
442 public final int getResultCode() { in getResultCode() method in BroadcastReceiver
/frameworks/base/core/java/android/provider/
DFontsContract.java247 public int getResultCode() { in getResultCode() method in FontsContract.FontInfo
547 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in requestFonts()
550 final int resultCode = font.getResultCode(); in requestFonts()
701 if (font.getResultCode() != Columns.RESULT_CODE_OK) { in prepareFontData()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java226 assertEquals(SmsManager.RESULT_ERROR_NULL_PDU, mTestReceiver.getResultCode()); in testSendTextWithInvalidDestAddr()
293 assertEquals(SmsManager.RESULT_ERROR_GENERIC_FAILURE, mTestReceiver.getResultCode()); in testSendMultipartTextWithInvalidText()
/frameworks/base/media/apex/java/android/media/
DSession2Command.java206 public int getResultCode() { in getResultCode() method in Session2Command.Result
DMediaController2.java336 resultReceiver.send(result.getResultCode(), result.getResultData()); in onSessionCommand()
DMediaSession2.java465 resultReceiver.send(result.getResultCode(), result.getResultData()); in onSessionCommand()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java53 int resultCode = getResultCode();
/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/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseActivity.java308 protected int getResultCode() { in getResultCode() method in BaseActivity
DBaseSetupWizardActivity.java308 protected int getResultCode() { in getResultCode() method in BaseSetupWizardActivity
/frameworks/base/core/java/android/app/
DActivityTransitionState.java180 int result = mEnterActivityOptions.getResultCode(); in setEnterActivityOptions()
DActivity.java5215 mToken, mEmbeddedID, requestCode, ar.getResultCode(),
5310 mToken, mEmbeddedID, requestCode, ar.getResultCode(), ar.getResultData());
5348 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsUser()
5382 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsCaller()
5832 ar.getResultCode(), ar.getResultData()); in startActivityFromChild()
5916 ar.getResultCode(), ar.getResultData()); in startActivityForResult()
DActivityOptions.java1108 public int getResultCode() { return mResultCode; } in getResultCode() method in ActivityOptions
DInstrumentation.java1618 public int getResultCode() { in getResultCode() method in Instrumentation.ActivityResult
DActivityThread.java697 info.packageName + " resultCode=" + getResultCode() in toString()
/frameworks/base/core/java/android/os/
DRecoverySystem.java817 if (getResultCode() != EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_OK) { in wipeEuiccData()
911 if (getResultCode() != EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_OK) { in removeEuiccInvisibleSubs()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java174 if (getResultCode() != Activity.RESULT_OK) {
177 + ": canceled: " + getResultCode());
/frameworks/ml/nn/common/
DCpuExecutor.cpp72 int getResultCode() const;
144 int OperationExecutionContext::getResultCode() const { in getResultCode() function in android::nn::__anonec8350e20111::OperationExecutionContext
1718 result = context.getResultCode(); in executeOperation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1502 int rc = getResultCode(); in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2093 if (getResultCode() == Activity.RESULT_OK) {
/frameworks/base/api/
Dcurrent.txt5116 method public int getResultCode();
9239 method public final int getResultCode();
9260 method public final int getResultCode();
26455 method public int getResultCode();
38661 method public int getResultCode();

12