Home
last modified time | relevance | path

Searched refs:mResultCode (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapMessage.java178 private int mResultCode = INVALID_VALUE; field in SapMessage
236 return mResultCode; in getResultCode()
240 this.mResultCode = resultCode; in setResultCode()
340 if (mResultCode != INVALID_VALUE) { in getParamCount()
592 mResultCode = is.read(); in parseParameters()
716 if (mResultCode != INVALID_VALUE) { in write()
717 writeParameter(os, PARAM_RESULT_CODE_ID, mResultCode, PARAM_RESULT_CODE_LENGTH); in write()
950 mResultCode = mapRilErrorCode(error); in createSolicited()
981 mResultCode = INVALID_VALUE; in createSolicited()
992 mResultCode = INVALID_VALUE; in createSolicited()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/shell/
DShellCommandResult.java34 private final int mResultCode; field in ShellCommandResult
39 mResultCode = resultCode; in ShellCommandResult()
49 this(builder.mResultCode, builder.mOut, builder.mErr); in ShellCommandResult()
74 dest.writeInt(mResultCode); in writeToParcel()
81 return mResultCode; in getResultCode()
107 private int mResultCode = RESULT_OK; field in ShellCommandResult.Builder
115 mResultCode = resultCode; in setResultCode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DApiCallStats.java34 private @StatusCode int mResultCode; field in ApiCallStats
50 && mResultCode == apiCallStats.mResultCode; in equals()
62 mResultCode); in hashCode()
90 return mResultCode; in getResultCode()
111 + mResultCode in toString()
160 mBuilding.mResultCode = resultCode; in setResultCode()
DMeasurementReportsStats.java29 private int mResultCode; field in MeasurementReportsStats
46 && mResultCode == measurementReportsStats.getResultCode() in equals()
59 mResultCode, in hashCode()
76 return mResultCode; in getResultCode()
129 mBuilding.mResultCode = resultCode; in setResultCode()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java122 @ResultCode private final int mResultCode; field in AppSearchResult
130 mResultCode = resultCode; in AppSearchResult()
143 return mResultCode; in getResultCode()
184 return mResultCode == otherResult.mResultCode in equals()
191 return Objects.hash(mResultCode, mResultValue, mErrorMessage); in hashCode()
200 return "[FAILURE(" + mResultCode + ")]: " + mErrorMessage; in toString()
DSetSchemaResponse.java342 final int mResultCode; field in SetSchemaResponse.MigrationFailure
355 mResultCode = resultCode; in MigrationFailure()
380 mResultCode = failedResult.getResultCode(); in MigrationFailure()
407 return AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in getAppSearchResult()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEuiccOperationSidecar.java55 private int mResultCode; field in EuiccOperationSidecar
66 mResultCode = getResultCode();
78 mResultCode, mDetailedCode));
90 if (mResultCode == EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_OK) { in onActionReceived()
93 setState(State.ERROR, mResultCode); in onActionReceived()
166 return mResultCode; in getResultCode()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/exceptions/
DAppSearchException.java30 @AppSearchResult.ResultCode private final int mResultCode; field in AppSearchException
68 mResultCode = resultCode; in AppSearchException()
78 return mResultCode; in getResultCode()
84 return AppSearchResult.newFailedResult(mResultCode, getMessage()); in toAppSearchResult()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSandboxLatencyInfo.java134 private @ResultCode int mResultCode = RESULT_CODE_UNSPECIFIED; field in SandboxLatencyInfo
171 mResultCode = in.readInt(); in SandboxLatencyInfo()
195 && mResultCode == that.mResultCode; in equals()
215 mResultCode); in hashCode()
234 out.writeInt(mResultCode); in writeToParcel()
309 mResultCode = resultCode; in setResultCode()
418 return mResultCode; in getResultCode()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DBlockingResultReceiver.java38 private int mResultCode; field in BlockingResultReceiver
55 "send() already called (code=" + mResultCode + ", data=" + mResultData); in send()
56 mResultCode = resultCode; in send()
72 return mResultCode; in getResultCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DShellCommandTestCase.java57 expect.withMessage("resultCode").that(actual.mResultCode).isEqualTo(RESULT_SUCCESS); in expectSuccess()
65 expect.withMessage("resultCode").that(actual.mResultCode).isEqualTo(RESULT_SUCCESS); in expectSuccess()
76 expect.withMessage("resultCode").that(actual.mResultCode).isEqualTo(expectedCommandResult); in expectFailure()
103 public final int mResultCode; field in ShellCommandTestCase.Result
109 mResultCode = resultCode; in Result()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DWaitForResultActivity.java38 private int mResultCode; field in WaitForResultActivity
62 return new Pair<>(mResultCode, mData); in waitForActivityResult()
68 mResultCode = resultCode; in onActivityResult()
/packages/modules/Media/apex/framework/java/android/media/
DSession2Command.java172 private final int mResultCode; field in Session2Command.Result
198 mResultCode = resultCode; in Result()
206 return mResultCode; in getResultCode()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java83 int mResultCode; field in AppSearchResultParcel
155 mResultCode = resultCode; in AppSearchResultParcel()
207 mResultCached = AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in AppSearchResultParcel()
372 @AppSearchResult.ResultCode private final int mResultCode; field in AppSearchResultParcel.Builder
386 mResultCode = resultCode; in Builder()
459 mResultCode, in build()
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DGetTopicsResult.java361 private @AdServicesStatusUtils.StatusCode int mResultCode; field in GetTopicsResult.Builder
375 mResultCode = resultCode; in setResultCode()
456 mResultCode, in build()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java221 private int mResultCode = Integer.MAX_VALUE; field in GrantPermissionsActivity
1057 activity.onLeaderActivityFinished(mResultCode);
1097 mResultCode = resultCode;
1103 mResultCode = Integer.MAX_VALUE;
1237 return mResultCode != Integer.MAX_VALUE;
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java158 private @DataServiceCallback.ResultCode int mResultCode; field in IwlanDataServiceTest
191 mResultCode = resultCode; in onRequestDataCallListComplete()
636 assertEquals(DataServiceCallback.RESULT_SUCCESS, mResultCode); in testRequestDataCallListPass()
679 assertEquals(DataServiceCallback.RESULT_SUCCESS, mResultCode); in testRequestDataCallListEmpty()