Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java116 private View mResult; field in RemoteViewsTest
124 mResult = mRemoteViews.apply(mContext, null); in setup()
133 mResult.setLayoutParams(lp); in setup()
135 root.addView(mResult); in setup()
169 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription()
175 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetContentDescription()
181 View view = mResult.findViewById(R.id.remoteView_chronometer); in testSetViewVisibility()
185 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
189 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
193 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java75 private FpsResult mResult; field in DisplayRefreshRateCtsActivity.Renderer
81 mResult = result; in Renderer()
104 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
110 if (mResult.restartNecessary()) { in onDrawFrame()
111 mResult.ackRestart(); in onDrawFrame()
133 private FpsResult mResult = new FpsResult(); field in DisplayRefreshRateCtsActivity
137 mView.setRenderer(new Renderer(mResult)); in configureGLSurfaceView()
142 return mResult; in getFpsResult()
/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.java128 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
138 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
147 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
155 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
165 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
177 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
188 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
198 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
222 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
232 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/cts/tests/tests/security/src/android/security/cts/
DDeviceIdleControllerTest.java35 int mResult; field in DeviceIdleControllerTest
43 mResult = 0; in testAddWhiteList()
51 mResult = resultCode; in testAddWhiteList()
61 assertEquals(-1, mResult); in testAddWhiteList()
DRenderTarget.java197 private T mResult; field in RenderTarget.GenericFuture
204 mResult = result; in setResult()
214 return mResult; in get()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java42 private int mResult; field in TestImsSmsImpl
75 mResult = result; in acknowledgeSms()
83 mResult = result; in acknowledgeSmsReport()
99 assertEquals("Invalid result in acknowledgeSms.", DELIVER_STATUS_OK, mResult); in receiveSmsWaitForAcknowledge()
112 assertEquals("Status mismatch.", STATUS_REPORT_STATUS_OK, mResult); in sendReportWaitForAcknowledgeSmsReportR()
128 assertEquals("Status mismatch.", STATUS_REPORT_STATUS_OK, mResult); in sendReportWaitForAcknowledgeSmsReportPQ()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DBaseResultsDialog.java42 protected ResultObject mResult; field in BaseResultsDialog
48 mResult = result; in setup()
56 for (ResultType resultType : mResult.getResults().keySet()) { in onCreateDialog()
57 if (mResult.getResults().get(resultType)) { in onCreateDialog()
/cts/tests/app/app/src/android/app/stubs/
DCTSActivityTestCaseBase.java28 public int mResult; field in CTSActivityTestCaseBase.Sync
40 mSync.mResult = resultCode; in setResult()
50 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/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/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/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DDirectShellCommand.java102 private Result mResult; field in DirectShellCommand.MyResultReceiver
135 mResult = new Result(resultCode, resultData, joiner.toString(), resultException); in onReceiveResult()
143 if (mResult == null) { in getResult()
149 return mResult; in getResult()
/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/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/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/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarColorVerifier.java65 public final ResultType mResult; field in NavigationBarColorVerifier.Result
70 mResult = result; in Result()
76 return mResult; in getResult()
DLightNavigationBarVerifier.java68 public final ResultType mResult; field in LightNavigationBarVerifier.Result
74 mResult = result; in Result()
80 return mResult; in getResult()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java135 private final CompletableFuture<Bundle> mResult = new CompletableFuture<>(); field in SplitAppTest.ExtrasResultReceiver
139 mResult.complete(getResultExtras(true)); in onReceive()
143 return mResult.get(5000, TimeUnit.SECONDS); in get()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java45 private final int mResult; field in TestResult
122 this.mResult = result; in TestResult()
136 return mResult; in getResult()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRenderTarget.java193 private T mResult; field in RenderTarget.GenericFuture
200 mResult = result; in setResult()
210 return mResult; in get()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java39 private boolean mResult; field in MessengerTest
47 mResult = true;
101 assertTrue(mResult); in testSend()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java90 private Result mResult; field in LauncherAppsTests
111 mResult = new Result(Looper.getMainLooper()); in setUp()
112 mResultMessenger = new Messenger(mResult); in setUp()
471 return mResult.waitForResult(); in sendMessageToCallbacksService()

12