Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java115 private View mResult; field in RemoteViewsTest
123 mResult = mRemoteViews.apply(mContext, null); in setup()
132 mResult.setLayoutParams(lp); in setup()
134 root.addView(mResult); in setup()
168 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription()
174 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetContentDescription()
180 View view = mResult.findViewById(R.id.remoteView_chronometer); in testSetViewVisibility()
184 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
188 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
192 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/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()
/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/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/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java127 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
137 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
146 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
154 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
164 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
176 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
187 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
197 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
221 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
231 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/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/tests/tests/appwidget/src/android/appwidget/cts/
DRequestPinAppWidgetTest.java84 assertTrue(setupReceiver.mResult.getBooleanExtra(Constants.EXTRA_SUCCESS, false)); in runPinWidgetTest()
85 assertEquals(launcherPkg, setupReceiver.mResult.getStringExtra(Constants.EXTRA_PACKAGE)); in runPinWidgetTest()
89 setupReceiver.mResult.getParcelableExtra(Constants.EXTRA_REQUEST); in runPinWidgetTest()
106 assertEquals("dummy-2", resultReceiver.mResult.getStringExtra("dummy")); in runPinWidgetTest()
164 private Intent mResult; field in RequestPinAppWidgetTest.BlockingReceiver
168 mResult = new Intent(intent); in onReceive()
/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/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarColorVerifier.java64 public final ResultType mResult; field in NavigationBarColorVerifier.Result
69 mResult = result; in Result()
75 return mResult; in getResult()
DLightNavigationBarVerifier.java67 public final ResultType mResult; field in LightNavigationBarVerifier.Result
73 mResult = result; in Result()
79 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/appsecurity/test-apps/ClassLoaderSplitApp/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java137 private final CompletableFuture<Bundle> mResult = new CompletableFuture<>(); field in SplitAppTest.ExtrasResultReceiver
141 mResult.complete(getResultExtras(true)); in onReceive()
145 return mResult.get(5000, TimeUnit.SECONDS); in get()
/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/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/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java71 private Result mResult; field in LauncherAppsTests
92 mResult = new Result(Looper.getMainLooper()); in setUp()
93 mResultMessenger = new Messenger(mResult); in setUp()
329 return mResult.waitForResult(); in sendMessageToCallbacksService()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java43 private boolean mResult; field in MessengerTest
51 mResult = true;
146 assertTrue(mResult); in testSend()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java268 private final CompletableFuture<Bundle> mResult = new CompletableFuture<>(); field in SplitAppTest.ExtrasResultReceiver
272 mResult.complete(getResultExtras(true)); in onReceive()
276 return mResult.get(5000, TimeUnit.SECONDS); in get()

12