Home
last modified time | relevance | path

Searched refs:getResultCode (Results 1 – 25 of 30) 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.java129 public final int getResultCode() { in getResultCode() method in BroadcastReceiver.PendingResult
439 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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java228 assertEquals(SmsManager.RESULT_ERROR_NULL_PDU, mTestReceiver.getResultCode()); in testSendTextWithInvalidDestAddr()
295 assertEquals(SmsManager.RESULT_ERROR_GENERIC_FAILURE, mTestReceiver.getResultCode()); in testSendMultipartTextWithInvalidText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java51 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/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java136 int resultCode = getResultCode();
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseSetupWizardActivity.java307 protected int getResultCode() { in getResultCode() method in BaseSetupWizardActivity
DBaseActivity.java308 protected int getResultCode() { in getResultCode() method in BaseActivity
/frameworks/base/core/java/android/app/
DActivityTransitionState.java180 int result = mEnterActivityOptions.getResultCode(); in setEnterActivityOptions()
DActivity.java5197 mToken, mEmbeddedID, requestCode, ar.getResultCode(),
5292 mToken, mEmbeddedID, requestCode, ar.getResultCode(), ar.getResultData());
5330 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsUser()
5364 mToken, mEmbeddedID, -1, ar.getResultCode(), in startActivityAsCaller()
5814 ar.getResultCode(), ar.getResultData()); in startActivityFromChild()
5898 ar.getResultCode(), ar.getResultData()); in startActivityForResult()
DActivityOptions.java1108 public int getResultCode() { return mResultCode; } in getResultCode() method in ActivityOptions
DInstrumentation.java1611 public int getResultCode() { in getResultCode() method in Instrumentation.ActivityResult
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java140 if (getResultCode() != Activity.RESULT_OK) {
143 + ": canceled: " + getResultCode());
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java475 if (getResultCode() == 1) { in processUserData()
/frameworks/ml/nn/common/
DCpuExecutor.cpp61 int getResultCode() const;
133 int OperationExecutionContext::getResultCode() const { in getResultCode() function in android::nn::__anon6e12a00b0111::OperationExecutionContext
1746 result = context.getResultCode(); in executeOperation()
/frameworks/base/core/java/android/os/
DRecoverySystem.java802 if (getResultCode() != EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_OK) { in wipeEuiccData()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1491 int rc = getResultCode(); in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1729 if (getResultCode() == Activity.RESULT_OK) {

12