/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 74 private LaunchParams mResult; field in TaskLaunchParamsModifierTests 86 mResult = new LaunchParams(); in setUp() 87 mResult.reset(); in setUp() 94 /* activity */ null, /* source */ null, /* options */ null, mCurrent, mResult)); in testReturnsSkipWithEmptyActivity() 105 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testDefaultToPrimaryDisplay() 107 assertEquals(DEFAULT_DISPLAY, mResult.mPreferredDisplayId); in testDefaultToPrimaryDisplay() 115 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testUsesDefaultDisplayIfPreviousDisplayNotExists() 117 assertEquals(DEFAULT_DISPLAY, mResult.mPreferredDisplayId); in testUsesDefaultDisplayIfPreviousDisplayNotExists() 128 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testUsesPreviousDisplayIdIfSet() 130 assertEquals(display.mDisplayId, mResult.mPreferredDisplayId); in testUsesPreviousDisplayIdIfSet() [all …]
|
D | LaunchParamsPersisterTests.java | 95 private LaunchParams mResult; field in LaunchParamsPersisterTests 142 mResult = new LaunchParams(); in setUp() 143 mResult.reset(); in setUp() 148 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsByDefault() 150 mTarget.getLaunchParams(mTestTask, null, mResult); in testReturnsEmptyLaunchParamsByDefault() 152 assertTrue("Default result should be empty.", mResult.isEmpty()); in testReturnsEmptyLaunchParamsByDefault() 159 mTarget.getLaunchParams(mTestTask, null, mResult); in testSavesAndRestoresLaunchParamsInSameInstance() 161 assertEquals(mTestDisplay.mDisplayId, mResult.mPreferredDisplayId); in testSavesAndRestoresLaunchParamsInSameInstance() 162 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testSavesAndRestoresLaunchParamsInSameInstance() 163 assertEquals(TEST_BOUNDS, mResult.mBounds); in testSavesAndRestoresLaunchParamsInSameInstance() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | AsyncLoader.java | 36 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()
|
D | AsyncLoaderCompat.java | 35 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()
|
/frameworks/base/core/java/android/webkit/ |
D | JsDialogHelper.java | 52 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 …]
|
D | JsResult.java | 41 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/src/com/android/rs/unittest/ |
D | UnitTest.java | 63 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/supportlibsrc_gen/com/android/rs/unittest/ |
D | UnitTest.java | 66 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/ |
D | UnitTest.java | 63 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/ |
D | TransceiveResult.java | 35 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/ |
D | DownloadSubscriptionResult.java | 44 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 53 Message mResult; field in RILRequest 72 return mResult; in getResult() 103 rr.mResult = result; in obtain() 191 mResult = null; in release() 246 if (mResult != null) { in onError() 247 AsyncResult.forMessage(mResult, ret, ex); in onError() 248 mResult.sendToTarget(); in onError()
|
D | RadioResponse.java | 330 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse() 347 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2() 378 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_5() 394 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse() 411 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_2() 428 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_4() 459 sendMessageResponse(rr.mResult, dataRegResponse); in getDataRegistrationStateResponse_1_5() 1418 sendMessageResponse(rr.mResult, ret); in requestIccSimAuthenticationResponse() 1459 sendMessageResponse(rr.mResult, ret); in getRadioCapabilityResponse() 1521 sendMessageResponse(rr.mResult, ret); in setAllowedCarriersResponse() [all …]
|
D | IccPhoneBookInterfaceManager.java | 57 Object mResult = null; field in IccPhoneBookInterfaceManager.Request 106 request.mResult = result; 197 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfBySearch() 246 return (boolean) updateRequest.mResult; in updateAdnRecordsInEfByIndex() 272 return getSizeRequest.mResult == null ? new int[3] : (int[]) getSizeRequest.mResult; in getAdnRecordsSize() 308 return (List<AdnRecord>) loadRequest.mResult; in getAdnRecordsInEf()
|
D | RadioConfigResponse.java | 55 RadioResponse.sendMessageResponse(rr.mResult, ret); in getSimSlotsStatusResponse() 81 RadioResponse.sendMessageResponse(rr.mResult, ret); in getSimSlotsStatusResponse_1_2() 104 RadioResponse.sendMessageResponse(rr.mResult, null); in setSimSlotsMappingResponse() 146 RadioResponse.sendMessageResponse(rr.mResult, ret); in getPhoneCapabilityResponse() 169 RadioResponse.sendMessageResponse(rr.mResult, null); in setPreferredDataModemResponse() 193 RadioResponse.sendMessageResponse(rr.mResult, rr.mRequest); in setModemsConfigResponse() 216 RadioResponse.sendMessageResponse(rr.mResult, modemsConfig); in getModemsConfigResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResultException.java | 28 private ResultCode mResult; field in ResultException 55 mResult = result; in ResultException() 82 return mResult; in result() 99 return "result=" + mResult + " additionalInfo=" + mAdditionalInfo + in toString()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrorResult.java | 23 mResult = res; in set() 37 return mResult; in get() 41 int mResult; field in AppErrorResult
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptC_reduce_general_result.java.expect | 125 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/tools/powermodel/src/com/android/powermodel/ |
D | PowerProfile.java | 87 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/layoutlib/bridge/src/android/graphics/text/ |
D | LineBreaker_Delegate.java | 147 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/base/services/backup/java/com/android/server/backup/restore/ |
D | RestoreEngine.java | 34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS); field in RestoreEngine 60 return mResult.get(); in getResult() 64 mResult.set(result); in setResult()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsFileLogger.java | 67 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/ |
D | MockAccountManager.java | 91 T mResult; field in MockAccountManager.MockAccountManagerFuture 94 mResult = result; in MockAccountManagerFuture() 111 return mResult; in getResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordLoader.java | 51 Object mResult; field in AdnRecordLoader 197 mResult = null; in handleMessage() 215 mResult = adn; in handleMessage() 267 mResult = mAdns; in handleMessage() 302 = mResult; in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 48 private int mResult = Session.UNKNOWN; field in SensorLoggerSession 61 mResult = result; in end() 92 sb.append(", mResult=").append(mResult); in toString() 108 proto.result = mResult; in toProto() 159 return mResult; in getResult()
|