/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 115 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/ |
D | DisplayRefreshRateCtsActivity.java | 75 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/ |
D | ActionListenerTest.java | 58 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/ |
D | DeviceIdleControllerTest.java | 35 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/ |
D | CTSActivityTestCaseBase.java | 28 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/ |
D | MyActivity.java | 28 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/ |
D | BaseResultsDialog.java | 42 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/ |
D | ScrollingMovementMethodTest.java | 127 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/ |
D | MyActivity.java | 28 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/ |
D | BasePermissionActivity.java | 30 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/ |
D | CameraUtils.java | 64 private AtomicBoolean mResult = new AtomicBoolean(false); field in CameraUtils.CameraCallback 69 mResult.set(true); in onOpened() 90 return mResult.get(); in waitForResult()
|
D | CrossProfileWidgetPrimaryUserTest.java | 59 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/ |
D | RequestPinAppWidgetTest.java | 84 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/ |
D | IntentSenderActivity.java | 37 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/ |
D | TestResult.java | 43 private final int mResult; field in TestResult 101 this.mResult = result; in TestResult() 113 return mResult; in getResult()
|
D | TestListAdapter.java | 274 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/ |
D | NavigationBarColorVerifier.java | 64 public final ResultType mResult; field in NavigationBarColorVerifier.Result 69 mResult = result; in Result() 75 return mResult; in getResult()
|
D | LightNavigationBarVerifier.java | 67 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/ |
D | RemoteAudio.cpp | 130 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/ |
D | SplitAppTest.java | 137 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/ |
D | AsyncQueryHandlerTest.java | 316 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/ |
D | RenderTarget.java | 193 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/ |
D | LauncherAppsTests.java | 71 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/ |
D | MessengerTest.java | 43 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/ |
D | SplitAppTest.java | 268 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()
|