Home
last modified time | relevance | path

Searched refs:mExpectedResult (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarFrameworkPackageStubsTest/src/com/android/car/frameworkpackagestubs/test/
DStubsTest.java66 private int mExpectedResult; field in StubsTest
77 mExpectedResult = UNDEFINED_RESULT_CODE; in setUp()
82 mExpectedResult = RESULT_CANCELED; in testManageUnknownAppSources()
89 mExpectedResult = RESULT_CANCELED; in testManageUnknownAppSourcesByPackage()
129 if (mExpectedResult == UNDEFINED_RESULT_CODE) { in checkIfHandleByStub()
134 Log.d(TAG, "startActivityForResult() should return " + mExpectedResult); in checkIfHandleByStub()
136 assertWithMessage(strIntent + " should return " + mExpectedResult) in checkIfHandleByStub()
138 .isEqualTo(mExpectedResult); in checkIfHandleByStub()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DGetFcmTokenWorkerTest.java65 public Result mExpectedResult; field in GetFcmTokenWorkerTest
108 assertThat(result).isEqualTo(mExpectedResult); in startWork_returnsExpectedResult()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java60 private LocationAccessPolicy.LocationPermissionResult mExpectedResult; field in LocationAccessPolicyTest.Scenario.Builder
103 mExpectedResult = expectedResult; in setExpectedResult()
115 mExpectedResult, mName); in build()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java156 String mExpectedResult; field in PasspointProviderTest
169 mExpectedResult = expectedResult; in PasspointProviderTest()
560 assertTrue(TextUtils.equals(mProvider.getRemediationCaCertificateAlias(), mExpectedResult)); in installCertsAndKeysSuccess() local
643 assertTrue(TextUtils.equals(mProvider.getRemediationCaCertificateAlias(), mExpectedResult)); in uninstallCertsAndKeys() local
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java2617 private final int mExpectedResult; field in TetheringTest.ResultListener
2620 mExpectedResult = expectedResult; in ResultListener()
2626 if (resultCode != mExpectedResult) { in onResult()
2627 fail("expected result: " + mExpectedResult + " but actual result: " + resultCode); in onResult()