Home
last modified time | relevance | path

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

12

/cts/common/util/tests/src/com/android/compatibility/common/util/
DCaseResultTest.java33 private CaseResult mResult; field in CaseResultTest
37 mResult = new CaseResult(CLASS); in setUp()
42 mResult = null; in tearDown()
46 assertEquals("Incorrect case name", CLASS, mResult.getName()); in testAccessors()
50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation()
52 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation()
53 assertTrue("Expected test result", mResult.getResults().contains(testResult)); in testResultCreation()
55 ITestResult testResult2 = mResult.getOrCreateResult(METHOD_1); in testResultCreation()
57 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation()
61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting()
[all …]
DModuleResultTest.java38 private ModuleResult mResult; field in ModuleResultTest
42 mResult = new ModuleResult(ID); in setUp()
47 mResult = null; in tearDown()
51 assertEquals("Incorrect module ID", ID, mResult.getId()); in testAccessors()
52 assertEquals("Incorrect module ABI", ABI, mResult.getAbi()); in testAccessors()
53 assertEquals("Incorrect module name", NAME, mResult.getName()); in testAccessors()
57 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testResultCreation()
59 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation()
60 assertTrue("Expected test result", mResult.getResults().contains(caseResult)); in testResultCreation()
62 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS); in testResultCreation()
[all …]
DTestResultTest.java30 private TestResult mResult; field in TestResultTest
35 mResult = new TestResult(mCase, METHOD_1); in setUp()
40 mResult = null; in tearDown()
44 assertEquals("Incorrect test name", METHOD_1, mResult.getName()); in testAccessors()
45 assertEquals("Incorrect full name", TEST_1, mResult.getFullName()); in testAccessors()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java70 private View mResult; field in RemoteViewsTest
86 mResult = mRemoteViews.apply(mActivity, null); in setUp()
118 View view = mResult.findViewById(R.id.remoteView_chronometer); in testSetViewVisibility()
122 mRemoteViews.reapply(mActivity, mResult); in testSetViewVisibility()
126 mRemoteViews.reapply(mActivity, mResult); in testSetViewVisibility()
130 mRemoteViews.reapply(mActivity, mResult); in testSetViewVisibility()
135 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextViewText()
140 mRemoteViews.reapply(mActivity, mResult); in testSetTextViewText()
144 mRemoteViews.reapply(mActivity, mResult); in testSetTextViewText()
149 mRemoteViews.reapply(mActivity, mResult); in testSetTextViewText()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateTest.java98 private FpsResult mResult; field in DisplayRefreshRateTest.Renderer
104 mResult = result; in Renderer()
127 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
133 if (mResult.restartNecessary()) { in onDrawFrame()
134 mResult.ackRestart(); in onDrawFrame()
156 private FpsResult mResult; field in DisplayRefreshRateTest
160 mResult = new FpsResult(); in DisplayRefreshRateTest()
166 GLSurfaceViewCtsActivity.setRenderer(new Renderer(mResult)); in setUp()
183 float achievedFps = mResult.waitResult(); in testRefreshRate()
193 mResult.restart(); in testRefreshRate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DActionListenerTest.java58 int mResult; field in ActionListenerTest.Argument
65 mResult = 0; in Argument()
74 mResult = result; in Argument()
83 return (mIsSuccess == arg.mIsSuccess) && (mResult == arg.mResult); in equals()
88 return "isSuccess=" + mIsSuccess + " result=" + mResult; in toString()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java113 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
123 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
132 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
140 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
150 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
162 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
173 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
183 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
216 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
226 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/cts/tests/app/app/src/android/app/stubs/
DCTSActivityTestCaseBase.java27 public int mResult; field in CTSActivityTestCaseBase.Sync
39 mSync.mResult = resultCode; in setResult()
49 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyActivity.java28 private final LinkedBlockingQueue<Integer> mResult = new LinkedBlockingQueue<>(1); field in MyActivity
41 if (mResult.offer(resultCode) == false) { in onActivityResult()
47 return mResult.poll(timeoutMs, TimeUnit.MILLISECONDS); in getResult()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DMyActivity.java28 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); field in MyActivity
54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
63 result = mResult.poll(30, TimeUnit.SECONDS); in getResult()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java113 private IInvocationResult mResult = new InvocationResult(); field in ResultReporter
200 mResult = ResultHandler.findResult(mBuildHelper.getResultsDir(), mRetrySessionId); in initializeResultDirectories()
202 mResult.setStartTime(mBuildHelper.getStartTime()); in initializeResultDirectories()
249 mCurrentModuleResult = mResult.getOrCreateModule(id); in testRunStarted()
354 mResult.mergeModuleResult(moduleResult); in mergeModuleResult()
415 mResult.addDeviceSerial(deviceSerial); in finalizeResults()
425 mResult.addInvocationInfo(key.substring(CTS_PREFIX.length()), value); in finalizeResults()
437 mResult.getOrCreateModule(moduleId); in finalizeResults()
441 mResult.getModuleCompleteCount(), mResult.getModules().size()); in finalizeResults()
445 mResult.countResults(TestStatus.PASS), in finalizeResults()
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionActivity.java30 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); field in BasePermissionActivity
60 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); in onRequestPermissionsResult()
76 return mResult.poll(OPERATION_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getResult()
/cts/common/util/src/com/android/compatibility/common/util/
DTestResult.java25 private TestStatus mResult; field in TestResult
63 return mResult; in getResultStatus()
71 mResult = status; in setResultStatus()
222 mResult = null; in reset()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraUtils.java64 private AtomicBoolean mResult = new AtomicBoolean(false); field in CameraUtils.CameraCallback
69 mResult.set(true); in onOpened()
90 return mResult.get(); in waitForResult()
DCrossProfileWidgetPrimaryUserTest.java59 private Result mResult; field in CrossProfileWidgetPrimaryUserTest
70 mResult = new Result(Looper.getMainLooper()); in setUp()
71 mResultMessenger = new Messenger(mResult); in setUp()
108 return mResult.waitForResult(); in sendMessageToCallbacksService()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java43 private CtsTestStatus mResult; field in Test
69 mResult = CtsTestStatus.NOT_EXECUTED; in Test()
96 return mResult; in getResult()
138 mResult = status; in setResultStatus()
151 serializer.attribute(CtsXmlResultReporter.ns, RESULT_ATTR, mResult.getValue()); in serialize()
217 mResult = CtsTestStatus.getStatus(getAttribute(parser, RESULT_ATTR)); in parse()
DPlanCreator.java64 private TestResults mResult = null; field in PlanCreator
121 for (TestPackageResult pkg : mResult.getPackages()) { in createDerivedPlan()
148 mResult = repo.getResult(mSessionId); in checkFields()
149 if (mResult == null) { in checkFields()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DIntentSenderActivity.java37 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); field in IntentSenderActivity
61 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
71 final Result result = mResult.poll(30, TimeUnit.SECONDS); in getResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java43 private final int mResult; field in TestResult
101 this.mResult = result; in TestResult()
113 return mResult; in getResult()
DTestListAdapter.java274 private final int mResult; field in TestListAdapter.SetTestResultTask
286 mResult = result; in SetTestResultTask()
293 TestResultsProvider.setTestResult(mContext, mTestName, mResult, mDetails, mReportLog); in doInBackground()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp130 handler->mResult = result; in handlePacket()
217 return handler->mResult; in downloadData()
263 return handler->mResult; in startPlayback()
298 return handler->mResult; in startRecording()
325 return handler->mResult; in getDeviceInfo()
342 mResult = true; in handleMessage()
353 mResult = (mThread.mCmds[message.what - AudioProtocol::ECmdStart]) \ in handleMessage()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java316 private Object mResult; field in AsyncQueryHandlerTest.MockAsyncQueryHandler
342 mResult = Integer.valueOf(result); in onDeleteComplete()
354 mResult = uri; in onInsertComplete()
370 mResult = cursor; in onQueryComplete()
382 mResult = Integer.valueOf(result); in onUpdateComplete()
432 return mResult; in getResult()
442 mResult = null; in reset()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java75 private Result mResult; field in LauncherAppsTests
96 mResult = new Result(Looper.getMainLooper()); in setUp()
97 mResultMessenger = new Messenger(mResult); in setUp()
285 return mResult.waitForResult(); in sendMessageToCallbacksService()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java42 private boolean mResult; field in MessengerTest
50 mResult = true;
145 assertTrue(mResult); in testSend()
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h137 bool mResult; variable

12