Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java33 private final ResultCode mResultCode; field in SensorTestDetails
50 mResultCode = resultCode; in SensorTestDetails()
68 mResultCode = resultCode; in SensorTestDetails()
94 mResultCode = resultCode; in SensorTestDetails()
103 return mResultCode; in getResultCode()
116 return String.format("%s|%s|%s", mName, mResultCode.name(), mSummary); in toString()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/broadcastreceivers/
DBroadcastReceivedEvent.java60 IntegerQueryHelper<BroadcastReceivedEventQuery> mResultCode = new IntegerQueryHelper<>( field in BroadcastReceivedEvent.BroadcastReceivedEventQuery
81 return mResultCode; in whereResultCode()
98 if (!mResultCode.matches(event.mResultCode)) { in filter()
127 mEvent.mResultCode = resultCode; in BroadcastReceivedEventLogger()
164 protected int mResultCode; field in BroadcastReceivedEvent
185 + " resultCode=" + mResultCode in toString()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java66 private ResultCode mResultCode = ResultCode.STARTED; field in DeviceInfo
103 if (mResultCode == ResultCode.STARTED) { in testCollectDeviceInfo()
104 mResultCode = ResultCode.COMPLETED; in testCollectDeviceInfo()
112 assertEquals(message, ResultCode.COMPLETED, mResultCode); in testCollectDeviceInfo()
151 mResultCode = ResultCode.ERROR; in error()
157 mResultCode = ResultCode.FAILED; in failed()
163 mResultCode = ResultCode.FAILED; in failed()
/cts/tests/tests/os/src/android/os/cts/
DResultReceiverTest.java54 private int mResultCode; field in ResultReceiverTest.MockResultReceiver
64 mResultCode = resultCode; in onReceiveResult()
72 return mResultCode; in getResultCode()
DActivityTestsBase.java39 private int mResultCode = 0; field in ActivityTestsBase
121 mResultCode = resultCode; in finishWithResult()
188 mResultCode = Activity.RESULT_CANCELED; in waitForResult()
191 return mResultCode; in waitForResult()
196 return mResultCode; in getResultCode()
DLaunchpadActivity.java137 private int mResultCode = RESULT_CANCELED; field in LaunchpadActivity
522 sCallingTest.activityFinished(mResultCode, mData, mResultStack); in finishWithResult()
528 mResultCode = resultCode; in setTestResult()
/cts/tests/app/app/src/android/app/stubs/
DActivityTestsBase.java39 private int mResultCode = 0; field in ActivityTestsBase
134 mResultCode = resultCode; in finishWithResult()
202 mResultCode = Activity.RESULT_CANCELED; in waitForResult()
205 return mResultCode; in waitForResult()
210 return mResultCode; in getResultCode()
DLaunchpadActivity.java142 private int mResultCode = RESULT_CANCELED; field in LaunchpadActivity
520 sCallingTest.activityFinished(mResultCode, mData, mResultStack); in finishWithResult()
526 mResultCode = resultCode; in setTestResult()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMediaProjectionHelper.java69 private int mResultCode; field in MediaProjectionHelper.MediaProjectionActivity
112 mResultCode = resultCode; in onActivityResult()
118 return mResultCode; in getResultCode()
197 private int mResultCode; field in MediaProjectionHelper
256 mResultCode = activity[0].getResultCode(); in authorizeMediaProjection()
276 return mediaProjectionManager.getMediaProjection(mResultCode, mResultData); in startMediaProjection()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveContentMediaProjectionHelper.java69 private int mResultCode; field in SensitiveContentMediaProjectionHelper.MediaProjectionActivity
112 mResultCode = resultCode; in onActivityResult()
118 return mResultCode; in getResultCode()
197 private int mResultCode; field in SensitiveContentMediaProjectionHelper
256 mResultCode = activity[0].getResultCode(); in authorizeMediaProjection()
276 return mediaProjectionManager.getMediaProjection(mResultCode, mResultData); in startMediaProjection()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DActivityResult.java112 private final int mResultCode; field in ActivityResult.Success
117 mResultCode = resultCode; in Success()
122 return mResultCode; in getResultCode()
137 dest.writeInt(mResultCode); in writeToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java71 private int mResultCode = RESULT_CODE_OK; field in AudioAEC
289 mResultCode = RESULT_CODE_NOT_RUN; in startTest()
346 mResultCode = RESULT_CODE_AEC_CREATION_EXCEPTION; in startTest()
356 mResultCode = RESULT_CODE_AEC_NULL; in startTest()
366 mResultCode = RESULT_CODE_AEC_DISABLED; in startTest()
468 mResultCode = RESULT_CODE_OK; in startTest()
471 mResultCode = RESULT_CODE_FAILED; in startTest()
519 (mResultCode == RESULT_CODE_OK), // true if passed in recordTestResults()
529 mResultCode, in recordTestResults()
564 } else if (mResultCode == RESULT_CODE_OK) {
DAudioLoopbackLatencyActivity.java1062 int mResultCode = RESULTCODE_NONE; field in AudioLoopbackLatencyActivity.LoopbackLatencyRequirements
1076 if (!pass && mResultCode == RESULTCODE_NONE) { in setResultCode()
1077 mResultCode = code; in setResultCode()
1085 switch (mResultCode) { in getResultCodeText()
1143 mResultCode = RESULTCODE_NONE; in evaluate()
1293 if (mResultCode > RESULTCODE_PASS) { in evaluate()
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DAttributionSourceTest.kt134 private var mResultCode: Int = Activity.RESULT_OK variable
140 mResultCode = result.getResultCode() in run()
144 return mResultCode in getResultCode()
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java41 private int mResultCode = -1; field in DeviceReportTest.TestInstrumentation
46 mResultCode = resultCode; in sendStatus()
82 assertEquals("Incorrect result code", RESULT_CODE, inst.mResultCode); in testSubmit()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaProjectionActivity.java76 private int mResultCode; field in MediaProjectionActivity
135 mResultCode = resultCode; in onActivityResult()
141 mMediaProjection = mProjectionManager.getMediaProjection(mResultCode, mResultData); in createMediaProjection()
/cts/tests/tests/packageinstaller/packagescheme/src/android/packageinstaller/packagescheme/cts/
DPackageSchemeTestBase.kt71 var mResultCode = RESULT_OK in <lambda>() variable
82 mResultCode = resultCode in <lambda>()
178 val resultCode: Int = it.mResultCode in <lambda>()
/cts/tests/tests/provider/src/android/provider/cts/
DMockFontProvider.java71 mResultCode = resultCode; in Font()
96 return mResultCode; in getResultCode()
113 private int mResultCode; field in MockFontProvider.Font
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java54 private final int mResultCode; field in ActivityContext.ActivityResult
59 mResultCode = resultCode; in ActivityResult()
68 return mResultCode; in getResultCode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DSplitActivityLifecycleTest.java644 private int mResultCode = -1; field in SplitActivityLifecycleTest.SplitTestActivity
665 mResultCode = resultCode; in onActivityResult()
669 return mResultCode; in getResultCode()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java111 private int mResultCode; field in ViewGroupTest
1011 assertEquals(CTSResult.RESULT_OK, mResultCode); in testInvalidateChild()
3555 mResultCode = resultCode; in setResult()