Home
last modified time | relevance | path

Searched refs:mResult (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java100 private LaunchParams mResult; field in LaunchParamsPersisterTests
147 mResult = new LaunchParams(); in setUp()
148 mResult.reset(); in setUp()
153 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsByDefault()
155 mTarget.getLaunchParams(mTestTask, null, mResult); in testReturnsEmptyLaunchParamsByDefault()
157 assertTrue("Default result should be empty.", mResult.isEmpty()); in testReturnsEmptyLaunchParamsByDefault()
175 mTarget.getLaunchParams(mTestTask, null, mResult); in testSavesAndRestoresLaunchParamsInSameInstance()
177 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testSavesAndRestoresLaunchParamsInSameInstance()
178 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testSavesAndRestoresLaunchParamsInSameInstance()
179 assertEquals(TEST_BOUNDS, mResult.mBounds); in testSavesAndRestoresLaunchParamsInSameInstance()
[all …]
DTaskLaunchParamsModifierTests.java93 private LaunchParams mResult; field in TaskLaunchParamsModifierTests
105 mResult = new LaunchParams(); in setUp()
106 mResult.reset(); in setUp()
125 mResult.mPreferredTaskDisplayArea); in testDefaultToPrimaryDisplayArea()
137 assertEquals(display.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesPreviousDisplayAreaIfSet()
154 mResult.mPreferredTaskDisplayArea); in testUsesSourcesDisplayAreaIfSet()
174 mResult.mPreferredTaskDisplayArea); in testUsesOptionsDisplayIdIfSet()
195 mResult.mPreferredTaskDisplayArea); in testUsesOptionsDisplayAreaTokenIfSet()
216 mResult.mPreferredTaskDisplayArea); in testUsesSourcesDisplayAreaIdPriorToTaskIfSet()
231 mResult.mPreferredTaskDisplayArea); in testUsesTaskDisplayAreaIdIfSet()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DAsyncLoaderCompat.java35 private T mResult; field in AsyncLoaderCompat
43 if (mResult != null) { in onStartLoading()
44 deliverResult(mResult); in onStartLoading()
47 if (takeContentChanged() || mResult == null) { in onStartLoading()
66 final T oldResult = mResult; in deliverResult()
67 mResult = data; in deliverResult()
73 if (oldResult != null && oldResult != mResult) { in deliverResult()
84 if (mResult != null) { in onReset()
85 onDiscardResult(mResult); in onReset()
87 mResult = null; in onReset()
DAsyncLoader.java36 private T mResult; field in AsyncLoader
44 if (mResult != null) { in onStartLoading()
45 deliverResult(mResult); in onStartLoading()
48 if (takeContentChanged() || mResult == null) { in onStartLoading()
67 final T oldResult = mResult; in deliverResult()
68 mResult = data; in deliverResult()
74 if (oldResult != null && oldResult != mResult) { in deliverResult()
85 if (mResult != null) { in onReset()
86 onDiscardResult(mResult); in onReset()
88 mResult = null; in onReset()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java38 private final AppSearchResult<ValueType> mResult; field in AppSearchResultParcel
42 mResult = Objects.requireNonNull(result); in AppSearchResultParcel()
50 mResult = AppSearchResult.newSuccessfulResult(resultValue); in AppSearchResultParcel()
52 mResult = AppSearchResult.newFailedResult(resultCode, errorMessage); in AppSearchResultParcel()
58 return mResult; in getResult()
64 dest.writeInt(mResult.getResultCode()); in writeToParcel()
65 if (mResult.isSuccess()) { in writeToParcel()
66 dest.writeValue(mResult.getResultValue()); in writeToParcel()
70 dest.writeString(mResult.getErrorMessage()); in writeToParcel()
DAppSearchBatchResultParcel.java41 private final AppSearchBatchResult<String, ValueType> mResult; field in AppSearchBatchResultParcel
45 mResult = Objects.requireNonNull(result); in AppSearchBatchResultParcel()
56 mResult = builder.build(); in AppSearchBatchResultParcel()
61 return mResult; in getResult()
69 : mResult.getAll().entrySet()) { in writeToParcel()
/frameworks/base/telephony/java/android/telephony/
DPinResult.java74 private final @PinResultType int mResult; field in PinResult
84 return mResult; in getResult()
124 mResult = result; in PinResult()
134 mResult = in.readInt(); in PinResult()
160 out.writeInt(mResult); in writeToParcel()
178 return Objects.hash(mAttemptsRemaining, mResult); in hashCode()
193 return (mResult == other.mResult in equals()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java52 private final JsPromptResult mResult; field in JsDialogHelper
59 mResult = result; in JsDialogHelper()
67 mResult = result; in JsDialogHelper()
77 return client.onJsAlert(webView, mUrl, mMessage, mResult); in invokeCallback()
79 return client.onJsConfirm(webView, mUrl, mMessage, mResult); in invokeCallback()
81 return client.onJsBeforeUnload(webView, mUrl, mMessage, mResult); in invokeCallback()
83 return client.onJsPrompt(webView, mUrl, mMessage, mDefaultValue, mResult); in invokeCallback()
92 mResult.cancel(); in showDialog()
135 mResult.cancel(); in onCancel()
139 mResult.cancel(); in onClick()
[all …]
DJsResult.java41 private boolean mResult; field in JsResult
47 mResult = false; in cancel()
55 mResult = true; in confirm()
72 return mResult; in getResult()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUnitTest.java66 private UnitTestResult mResult; field in UnitTest
78 mResult = UnitTestResult.UT_NOT_STARTED; in UnitTest()
124 mResult = UnitTestResult.UT_FAIL; in failTest()
128 if (mResult != UnitTestResult.UT_FAIL) { in passTest()
129 mResult = UnitTestResult.UT_SUCCESS; in passTest()
147 return mResult; in getResult()
151 return mResult.toString(); in getResultString()
155 return mResult == UnitTestResult.UT_SUCCESS; in getSuccess()
159 mResult = UnitTestResult.UT_RUNNING; in runTest()
175 switch (mResult) { in runTest()
[all …]
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DUnitTest.java63 private UnitTestResult mResult; field in UnitTest
75 mResult = UnitTestResult.UT_NOT_STARTED; in UnitTest()
121 mResult = UnitTestResult.UT_FAIL; in failTest()
125 if (mResult != UnitTestResult.UT_FAIL) { in passTest()
126 mResult = UnitTestResult.UT_SUCCESS; in passTest()
144 return mResult; in getResult()
148 return mResult.toString(); in getResultString()
152 return mResult == UnitTestResult.UT_SUCCESS; in getSuccess()
156 mResult = UnitTestResult.UT_RUNNING; in runTest()
172 switch (mResult) { in runTest()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUnitTest.java63 private UnitTestResult mResult; field in UnitTest
75 mResult = UnitTestResult.UT_NOT_STARTED; in UnitTest()
121 mResult = UnitTestResult.UT_FAIL; in failTest()
125 if (mResult != UnitTestResult.UT_FAIL) { in passTest()
126 mResult = UnitTestResult.UT_SUCCESS; in passTest()
144 return mResult; in getResult()
148 return mResult.toString(); in getResultString()
152 return mResult == UnitTestResult.UT_SUCCESS; in getSuccess()
156 mResult = UnitTestResult.UT_RUNNING; in runTest()
172 switch (mResult) { in runTest()
[all …]
/frameworks/base/core/java/android/nfc/
DTransceiveResult.java35 final int mResult; field in TransceiveResult
39 mResult = result; in TransceiveResult()
44 switch (mResult) { in getResponseOrThrow()
63 dest.writeInt(mResult); in writeToParcel()
64 if (mResult == RESULT_SUCCESS) { in writeToParcel()
/frameworks/base/telephony/java/android/service/euicc/
DDownloadSubscriptionResult.java44 private final @Result int mResult; field in DownloadSubscriptionResult
50 this.mResult = result; in DownloadSubscriptionResult()
57 return mResult; in getResult()
84 dest.writeInt(mResult); in writeToParcel()
95 this.mResult = in.readInt(); in DownloadSubscriptionResult()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorResult.java23 mResult = res; in set()
37 return mResult; in get()
41 int mResult; field in AppErrorResult
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResultException.java29 private ResultCode mResult; field in ResultException
56 mResult = result; in ResultException()
83 return mResult; in result()
100 return "result=" + mResult + " additionalInfo=" + mAdditionalInfo + in toString()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DPowerProfile.java87 private final PowerProfile mResult; field in PowerProfile.Parser
106 mResult = new PowerProfile(); in Parser()
146 mResult.mComponents.put(Component.AUDIO, mAudio); in parse()
147 mResult.mComponents.put(Component.BLUETOOTH, mBluetooth); in parse()
148 mResult.mComponents.put(Component.CAMERA, mCamera); in parse()
149 mResult.mComponents.put(Component.CPU, mCpuBuilder.build()); in parse()
150 mResult.mComponents.put(Component.FLASHLIGHT, mFlashlight); in parse()
151 mResult.mComponents.put(Component.GPS, mGpsBuilder.build()); in parse()
152 mResult.mComponents.put(Component.MODEM, mModemBuilder.build()); in parse()
153 mResult.mComponents.put(Component.SCREEN, mScreen); in parse()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect125 mResult = result;
139 return mResult;
151 private boolean[] mResult;
161 mResult = outArray;
175 return mResult;
187 private byte[] mResult;
202 mResult = result;
216 return mResult;
228 private Byte2[] mResult;
243 mResult = result;
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS); field in RestoreEngine
60 return mResult.get(); in getResult()
64 mResult.set(result); in setResult()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DLineBreaker_Delegate.java147 return result.mResult.mLineBreakOffset.size(); in nGetLineCount()
153 return result.mResult.mLineBreakOffset.get(idx); in nGetLineBreakOffset()
159 return result.mResult.mLineWidths.get(idx); in nGetLineWidth()
165 return result.mResult.mLineAscents.get(idx); in nGetLineAscent()
171 return result.mResult.mLineDescents.get(idx); in nGetLineDescent()
177 return result.mResult.mLineFlags.get(idx); in nGetLineFlag()
258 final BaseLineBreaker.Result mResult; field in LineBreaker_Delegate.Result
260 mResult = result; in Result()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java367 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse()
384 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2()
415 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_5()
431 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_6()
448 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse()
465 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_2()
482 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_4()
513 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_5()
530 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_6()
1594 sendMessageResponse(rr.mResult, ret); in requestIccSimAuthenticationResponse()
[all …]
DIccPhoneBookInterfaceManager.java65 Object mResult = null; field in IccPhoneBookInterfaceManager.Request
114 request.mResult = result;
226 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfBySearchForSubscriber()
231 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfBySearchForSubscriber()
279 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfByIndex()
284 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfByIndex()
316 return getSizeRequest.mResult == null ? new int[3] : (int[]) getSizeRequest.mResult; in getAdnRecordsSize()
348 return (List<AdnRecord>) loadRequest.mResult; in getAdnRecordsInEf()
354 return (List<AdnRecord>) loadRequest.mResult; in getAdnRecordsInEf()
DRILRequest.java53 Message mResult; field in RILRequest
72 return mResult; in getResult()
103 rr.mResult = result; in obtain()
191 mResult = null; in release()
238 final Message result = mResult; in onError()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java67 private MeasurementResult mResult; field in DiskStatsFileLogger
77 mResult = result; in DiskStatsFileLogger()
101 json.put(PHOTOS_KEY, mResult.imagesSize); in getJsonRepresentation()
102 json.put(VIDEOS_KEY, mResult.videosSize); in getJsonRepresentation()
103 json.put(AUDIO_KEY, mResult.audioSize); in getJsonRepresentation()
106 json.put(MISC_KEY, mResult.miscSize); in getJsonRepresentation()
/frameworks/base/test-mock/src/android/test/mock/
DMockAccountManager.java91 T mResult; field in MockAccountManager.MockAccountManagerFuture
94 mResult = result; in MockAccountManagerFuture()
111 return mResult; in getResult()

1234