Home
last modified time | relevance | path

Searched refs:mTest (Results 1 – 16 of 16) sorted by relevance

/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java54 private final BaseHostJUnit4Test mTest; field in InstallUtilsHost
57 mTest = test; in InstallUtilsHost()
64 return mTest.getDevice().getBooleanProperty("ro.apex.updatable", false); in isApexUpdateSupported()
71 CommandResult result = mTest.getDevice().executeShellV2Command("sm supports-checkpoint"); in isCheckpointSupported()
98 final String errorMessage = mTest.getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary()
102 mTest.getDevice().reboot(); in uninstallShimApexIfNecessary()
114 return mTest.getDevice().getActiveApexes().stream().filter( in getShimApex()
140 return mTest.getDevice().installPackage(pkg, false, "--staged"); in installStagedPackage()
152 String stdout = mTest.getDevice().executeAdbCommand(args); in installApexes()
162 if (!mTest.getDevice().doesFileExist(filePath)) { in waitForFileDeleted()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DActivitySession.java29 private final BiometricTestBase mTest; field in ActivitySession
34 mTest = test; in ActivitySession()
39 mTest.launchActivity(mComponentName); in start()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java70 private TestStrategy mTest; field in PreferredActivitiesTest
230 mTest = test; in setStrategyAndRun()
235 mTest.prepareMimeGroups(); in runTest()
238 mTest.changeMimeGroups(); in runTest()
241 mTest.revertMimeGroupsChange(); in runTest()
252 chooseActivity("TestApp" + mTest.preferredActivity()); in setPreferredActivity()
256 checkPreferredActivity(mTest.isActivityPreferredAfterChange()); in checkPreferredActivityAfterChange()
260 checkPreferredActivity(mTest.isActivityPreferredAfterRevert()); in checkPreferredActivityAfterRevert()
270 sendIntent(mTest.mimeType()); in triggerResolutionDialog()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DRequiredFeatureRule.java33 private final BaseHostJUnit4Test mTest; field in RequiredFeatureRule
37 mTest = test; in RequiredFeatureRule()
46 ITestDevice testDevice = mTest.getDevice(); in apply()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestActivity.java115 private String mTest; field in PolicyTransparencyTestActivity
129 mTest = getIntent().getStringExtra(EXTRA_TEST); in onCreate()
141 if (TEST_CHECK_USER_RESTRICTION.equals(mTest)) { in updateTestInstructions()
149 final PolicyTestItem testItem = POLICY_TEST_ITEMS.get(mTest); in updateTestInstructions()
190 final PolicyTestItem testItem = POLICY_TEST_ITEMS.get(mTest); in onClick()
202 if (TEST_CHECK_USER_RESTRICTION.equals(mTest)) { in onCheckedChanged()
212 final PolicyTestItem testItem = POLICY_TEST_ITEMS.get(mTest); in onCheckedChanged()
221 final PolicyTestItem testItem = POLICY_TEST_ITEMS.get(mTest); in onItemSelected()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java48 private final BaseDevicePolicyTest mTest; field in DeviceAdminFeaturesCheckerRule
53 mTest = test; in DeviceAdminFeaturesCheckerRule()
61 ITestDevice testDevice = mTest.getDevice(); in apply()
122 mTest.assumeTestEnabled(); in apply()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java141 final private DialogTestListItem mTest; field in DialogTestListActivity.DefaultTestCallback
144 mTest = test; in DefaultTestCallback()
149 clearRemainingState(mTest); in onPass()
150 setTestResult(mTest, TestResult.TEST_RESULT_PASSED); in onPass()
155 clearRemainingState(mTest); in onFail()
156 setTestResult(mTest, TestResult.TEST_RESULT_FAILED); in onFail()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java68 private int mTest; field in ActivityTransitionActivity
93 mTest = icicle.getInt(TEST); in onCreate()
104 mTest = intent.getIntExtra(TEST, 0); in onCreate()
152 outState.putInt(TEST, mTest); in onSaveInstanceState()
164 if (mTest == TEST_ARRIVE) { in startTest()
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java578 private TestDescription mTest; field in DalvikTest.DalvikOutputParser
603 mTest = getTestDescription(parts[1]); in processNewLines()
604 mListener.testStarted(mTest); in processNewLines()
606 mListener.testFailed(mTest, processSerializedValue(parts[1])); in processNewLines()
610 mTest = null; in processNewLines()
636 if (mTest != null) { in completeEvents()
637 mListener.testFailed(mTest, "Test started but no end events received."); in completeEvents()
638 mListener.testEnded(mTest, new HashMap<String, Metric>()); in completeEvents()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerServiceHostTest.java243 private final BaseHostJUnit4Test mTest; field in TvInputManagerServiceHostTest.RequiredFeatureRule
247 mTest = test; in RequiredFeatureRule()
256 ITestDevice testDevice = mTest.getDevice(); in apply()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java243 private final PresentationSyncTest mTest; field in PresentationSyncTest.ChoreographedWrapper
250 mTest = test; in ChoreographedWrapper()
258 mTest.runChoreographedTest(mOutput, mFrameDelay); in run()
DEncodeDecodeTest.java189 private EncodeDecodeTest mTest; field in EncodeDecodeTest.BufferToSurfaceWrapper
192 mTest = test; in BufferToSurfaceWrapper()
198 mTest.encodeDecodeVideoFromBuffer(true); in run()
305 private EncodeDecodeTest mTest; field in EncodeDecodeTest.SurfaceToSurfaceWrapper
310 mTest = test; in SurfaceToSurfaceWrapper()
317 if (mTest.shouldSkip()) { in run()
324 mTest.encodeDecodeVideoFromSurfaceToSurface(null, mUseNdk); in run()
335 mTest.encodeDecodeVideoFromSurfaceToSurface(inputSurface, mUseNdk); in run()
DEncodeVirtualDisplayTest.java159 private EncodeVirtualDisplayTest mTest; field in EncodeVirtualDisplayTest.EncodeVirtualWrapper
162 mTest = test; in EncodeVirtualWrapper()
168 mTest.encodeVirtualDisplayTest(); in run()
DDecodeEditEncodeTest.java124 private DecodeEditEncodeTest mTest; field in DecodeEditEncodeTest.VideoEditWrapper
127 mTest = test; in VideoEditWrapper()
133 mTest.videoEditTest(); in run()
DExtractDecodeEditEncodeMuxTest.java181 private ExtractDecodeEditEncodeMuxTest mTest; field in ExtractDecodeEditEncodeMuxTest.TestWrapper
184 mTest = test; in TestWrapper()
190 mTest.extractDecodeEditEncodeMux(); in run()
DAdaptivePlaybackTest.java1743 mTest = instance;
1763 private Test mTest;
1773 return mTest.getFormat(mCodec, ix);
1777 return mTest.getSurface();