Home
last modified time | relevance | path

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

123

/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/
DBaseTransaction.java24 return mResult; in getResult()
32 return mResult.equals(TestAppTransaction.Success); in isTransactionSuccessful()
35 TestAppTransaction mResult; field in BaseTransaction
43 .append(mResult) in toString()
60 return this.mResult == that.mResult in equals()
69 return Objects.hash(mResult, mException); in hashCode()
DCallExceptionTransaction.java34 mResult = result; in CallExceptionTransaction()
39 mResult = result; in CallExceptionTransaction()
44 mResult = result; in CallExceptionTransaction()
55 dest.writeParcelable(mResult, flags); in writeToParcel()
DNoDataTransaction.java27 mResult = result; in NoDataTransaction()
31 mResult = result; in NoDataTransaction()
42 dest.writeParcelable(mResult, flags); in writeToParcel()
DBooleanTransaction.java33 mResult = result; in BooleanTransaction()
38 mResult = result; in BooleanTransaction()
49 dest.writeParcelable(mResult, flags); in writeToParcel()
DCallEndpointTransaction.java34 mResult = result; in CallEndpointTransaction()
39 mResult = result; in CallEndpointTransaction()
50 dest.writeParcelable(mResult, flags); in writeToParcel()
DPhoneAccountTransaction.java34 mResult = result; in PhoneAccountTransaction()
39 mResult = result; in PhoneAccountTransaction()
50 dest.writeParcelable(mResult, flags); in writeToParcel()
DAvailableEndpointsTransaction.java37 mResult = result; in AvailableEndpointsTransaction()
42 mResult = result; in AvailableEndpointsTransaction()
53 dest.writeParcelable(mResult, flags); in writeToParcel()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDataServiceCallbackTest.java96 int mResult; field in DataServiceCallbackTest
104 mResult = result; in onSetupDataCallComplete()
109 mResult = result; in onDeactivateDataCallComplete()
113 mResult = result; in onSetInitialAttachApnComplete()
117 mResult = result; in onSetDataProfileComplete()
121 mResult = result; in onRequestDataCallListComplete()
130 mResult = result; in onHandoverStarted()
134 mResult = result; in onHandoverCancelled()
158 assertThat(RESULT).isEqualTo(mResult); in testOnSetupDataCallComplete()
165 assertThat(RESULT).isEqualTo(mResult); in testOnDeactivateDataCallComplete()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsSizeMapTest.java82 private View mResult; field in RemoteViewsSizeMapTest
125 mResult = mRemoteViews.apply(mContext, null, null, initialSize); in applyRemoteViewOnUiThread()
133 mResult.setLayoutParams(lp); in applyRemoteViewOnUiThread()
135 root.addView(mResult); in applyRemoteViewOnUiThread()
146 assertEquals("1", mResult.<TextView>findViewById(R.id.remoteView_text).getText()); in apply_withoutSize_shouldReturnSmallestLayout()
153 assertEquals("1", mResult.<TextView>findViewById(R.id.remoteView_text).getText()); in apply_withSmallSize_shouldReturnSmallLayout()
160 assertEquals("4", mResult.<TextView>findViewById(R.id.remoteView_text).getText()); in apply_withLargeSize_shouldReturnLargestLayout()
167 assertEquals("2", mResult.<TextView>findViewById(R.id.remoteView_text).getText()); in apply_withSize_shouldReturnClosestFittingLayoutWithMargin()
174 assertEquals("3", mResult.<TextView>findViewById(R.id.remoteView_text).getText()); in apply_withSize_shouldReturnClosestFittingLayout()
182 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in reapply_withoutSize_shouldReturnSmallestLayout()
[all …]
DRemoteViewsTest.java176 private View mResult; field in RemoteViewsTest
189 mResult = mRemoteViews.apply(mContext, null); in setUp()
198 mResult.setLayoutParams(lp); in setUp()
200 root.addView(mResult); in setUp()
240 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription()
246 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetContentDescription()
252 View view = mResult.findViewById(R.id.remoteView_chronometer); in testSetViewVisibility()
256 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
260 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
264 mActivityRule.runOnUiThread(() -> mRemoteViews.reapply(mContext, mResult)); in testSetViewVisibility()
[all …]
DRemoteViewsRecyclingTest.java81 private View mResult; field in RemoteViewsRecyclingTest
104 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical()
111 container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical()
135 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in doesntRecycleWhenNotAskingForRecycling()
141 container = mResult.findViewById(R.id.remoteViews_recycle_container); in doesntRecycleWhenNotAskingForRecycling()
164 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenInsertView()
174 container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenInsertView()
199 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenRemovingMiddleView()
209 container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenRemovingMiddleView()
232 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenAddingAtEnd()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java77 private FpsResult mResult; field in DisplayRefreshRateCtsActivity.Renderer
83 mResult = result; in Renderer()
106 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
112 if (mResult.restartNecessary()) { in onDrawFrame()
113 mResult.ackRestart(); in onDrawFrame()
135 private FpsResult mResult = new FpsResult(); field in DisplayRefreshRateCtsActivity
139 mView.setRenderer(new Renderer(mResult)); in configureGLSurfaceView()
144 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/hostsidetests/tagging/common/src/android/cts/tagging/
DServiceRunnerActivity.java38 private int mResult; field in ServiceRunnerActivity
41 public synchronized int getResult() { return mResult; } in getResult()
54 mActivity.mResult = msg.arg1; in handleMessage()
92 mResult = TestingService.RESULT_TEST_CRASHED;
116 mResult = TestingService.RESULT_TEST_UNKNOWN; in runServiceCommon()
122 mResult = TestingService.RESULT_TEST_BIND_FAILED; in runServiceCommon()
131 while (mResult == TestingService.RESULT_TEST_UNKNOWN) { in runServiceCommon()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java43 private int mResult; field in TestImsSmsImpl
78 mResult = result; in acknowledgeSms()
86 mResult = result; in acknowledgeSmsReport()
95 mResult = result; in acknowledgeSms()
122 assertEquals("Invalid result in acknowledgeSms. Result = " + mResult, in receiveSmsWaitForAcknowledgeMemoryFull()
123 DELIVER_STATUS_ERROR_NO_MEMORY, mResult); in receiveSmsWaitForAcknowledgeMemoryFull()
138 assertEquals("Invalid result in acknowledgeSms. Result = " + mResult, in receiveSmsWaitForAcknowledge()
139 DELIVER_STATUS_OK, mResult); in receiveSmsWaitForAcknowledge()
152 assertEquals("Status mismatch.", STATUS_REPORT_STATUS_OK, mResult); in sendReportWaitForAcknowledgeSmsReportR()
168 assertEquals("Status mismatch.", STATUS_REPORT_STATUS_OK, mResult); in sendReportWaitForAcknowledgeSmsReportPQ()
/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/hostsidetests/tagging/sdk_30/src/android/cts/tagging/sdk30/
DTestActivity.java37 private int mResult; field in TestActivity
47 mResult = resultCode; in onActivityResult()
54 return mResult != RESULT_TEST_SUCCESS && mResult != RESULT_TEST_IGNORED; in failed()
/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/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.java153 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
163 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
172 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
180 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
190 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
202 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
213 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
223 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
247 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
257 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/cts/tests/tests/gameservice/src/android/service/games/testing/
DGetResultActivity.java37 public LinkedBlockingQueue<Result> mResult = new LinkedBlockingQueue<>(); field in GetResultActivity
41 mResult.offer(new Result(requestCode, resultCode, data)); in onActivityResult()
48 result = mResult.poll(20, TimeUnit.SECONDS); in getResult()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DGetResultActivity.java33 private LinkedBlockingQueue<Result> mResult; field in GetResultActivity
70 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
77 mResult = new LinkedBlockingQueue<>(); in clearResult()
83 return mResult.poll(5, TimeUnit.SECONDS); 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/gwp_asan/common/android/cts/gwp_asan/
DTestActivityLauncher.java27 private int mResult; field in TestActivityLauncher
37 mResult = resultCode; in onActivityResult()
77 if (mResult != Utils.TEST_SUCCESS) { in callActivityAndCheckSuccess()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DCameraUtils.java63 private AtomicBoolean mResult = new AtomicBoolean(false); field in CameraUtils.CameraCallback
68 mResult.set(true); in onOpened()
89 return mResult.get(); in waitForResult()

123