Home
last modified time | relevance | path

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

/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/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/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/tests/app/src/android/app/cts/
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/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java112 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
122 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
131 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
139 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
149 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
161 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
172 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
182 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
215 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
225 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyActivity.java32 private final LinkedBlockingQueue<Integer> mResult = new LinkedBlockingQueue<>(1); field in MyActivity
45 if (mResult.offer(resultCode) == false) { in onActivityResult()
51 return mResult.poll(timeoutMs, TimeUnit.MILLISECONDS); in getResult()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/
DMyActivity.java27 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); field in MyActivity
54 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); in onRequestPermissionsResult()
62 return mResult.take(); 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
52 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
60 return mResult.take(); in getResult()
/cts/tests/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java58 private boolean mResult; field in AlertDialog_BuilderTest
72 mResult = true;
78 mResult = true;
84 mResult = true;
103 mResult = true;
174 assertTrue(mResult); in testSetPositiveButtonWithParamInt()
189 assertTrue(mResult); in testSetPositiveButtonWithParamCharSequence()
204 assertTrue(mResult); in testSetNegativeButtonWithParamCharSequence()
219 assertTrue(mResult); in testSetNegativeButtonWithParamInt()
234 assertTrue(mResult); in testSetNeutralButtonWithParamInt()
[all …]
/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/tests/tests/nativeopengl/standalone/jni/tests/
DEGLCleanup_test.cpp79 mTestType(testType), mIteration(0), mResult(true) { in ChainedThread()
108 return mResult; in getResult()
120 bool mResult; member in android::ChainedThread
181 mResult = false; in doWork()
189 mResult = false; in doWork()
/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/tools/tradefed-host/src/com/android/cts/tradefed/result/
DPlanCreator.java65 private TestResults mResult = null; field in PlanCreator
122 for (TestPackageResult pkg : mResult.getPackages()) { in createDerivedPlan()
149 mResult = repo.getResult(mSessionId); in checkFields()
150 if (mResult == null) { in checkFields()
DTest.java54 private CtsTestStatus mResult; field in Test
82 mResult = CtsTestStatus.NOT_EXECUTED; in Test()
109 return mResult; in getResult()
159 mResult = status; in setResultStatus()
172 serializer.attribute(CtsXmlResultReporter.ns, RESULT_ATTR, mResult.getValue()); in serialize()
339 mResult = CtsTestStatus.getStatus(getAttribute(parser, RESULT_ATTR)); in parse()
/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.java41 private boolean mResult; field in MessengerTest
49 mResult = true;
139 assertTrue(mResult); in testSend()
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h137 bool mResult; variable
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java55 public boolean mResult = false; field in AudioTrackTest.TestResults
59 mResult = b; in TestResults()
133 assertTrue("testConstructorMono16MusicStream: " + res.mResultLog, res.mResult); in testConstructorMono16MusicStream()
144 assertTrue("testConstructorStereo16MusicStream: " + res.mResultLog, res.mResult); in testConstructorStereo16MusicStream()
155 assertTrue("testConstructorMono16MusicStatic: " + res.mResultLog, res.mResult); in testConstructorMono16MusicStatic()
166 assertTrue("testConstructorStereo16MusicStatic: " + res.mResultLog, res.mResult); in testConstructorStereo16MusicStatic()
181 assertTrue("testConstructorMono8MusicStream: " + res.mResultLog, res.mResult); in testConstructorMono8MusicStream()
192 assertTrue("testConstructorStereo8MusicStream: " + res.mResultLog, res.mResult); in testConstructorStereo8MusicStream()
203 assertTrue("testConstructorMono8MusicStatic: " + res.mResultLog, res.mResult); in testConstructorMono8MusicStatic()
214 assertTrue("testConstructorStereo8MusicStatic: " + res.mResultLog, res.mResult); in testConstructorStereo8MusicStatic()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java720 private String mResult;
733 return mResult;
743 mResult = result;
861 private String mResult;
866 mResult = result;
877 return mResult;
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java1396 private final TotalCaptureResult mResult; field in ReprocessCaptureTest.ImageResultHolder
1400 mResult = result; in ImageResultHolder()
1408 return mResult; in getTotalCaptureResult()