Home
last modified time | relevance | path

Searched refs:mCtsBuild (Results 1 – 25 of 28) sorted by relevance

12

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPermissionsHostTest.java39 private IBuildInfo mCtsBuild; field in PermissionsHostTest
48 mCtsBuild = buildInfo; in setBuild()
56 assertNotNull(mCtsBuild); in setUp()
71 MigrationHelper.getTestFile(mCtsBuild, APK_23), false, false)); in testFail()
83 MigrationHelper.getTestFile(mCtsBuild, APK_23), false, false)); in testKill()
94 MigrationHelper.getTestFile(mCtsBuild, APK_22), in testCompatDefault22()
102 MigrationHelper.getTestFile(mCtsBuild, APK_22), in testCompatRevoked22()
116 MigrationHelper.getTestFile(mCtsBuild, APK_22), in testNoRuntimePrompt22()
124 MigrationHelper.getTestFile(mCtsBuild, APK_23), false, false)); in testDefault23()
131 MigrationHelper.getTestFile(mCtsBuild, APK_23), false, false)); in testGranted23()
[all …]
DUsesLibraryHostTest.java38 private IBuildInfo mCtsBuild; field in UsesLibraryHostTest
47 mCtsBuild = buildInfo; in setBuild()
55 assertNotNull(mCtsBuild); in setUp()
69 MigrationHelper.getTestFile(mCtsBuild, APK), false, false)); in testUsesLibrary()
75 MigrationHelper.getTestFile(mCtsBuild, APK), false, false)); in testMissingLibrary()
81 MigrationHelper.getTestFile(mCtsBuild, APK), false, false)); in testDuplicateLibrary()
DPrivilegedUpdateTests.java50 private IBuildInfo mCtsBuild; field in PrivilegedUpdateTests
59 mCtsBuild = buildInfo; in setBuild()
67 assertNotNull(mCtsBuild); in setUp()
73 MigrationHelper.getTestFile(mCtsBuild, TEST_APK), false)); in setUp()
89 MigrationHelper.getTestFile(mCtsBuild, SHIM_UPDATE_FAIL_APK), true)); in testPrivilegedAppUpgradeRestricted()
105 MigrationHelper.getTestFile(mCtsBuild, SHIM_UPDATE_APK), true)); in testPrivilegedAppUpgradePriorities()
124 MigrationHelper.getTestFile(mCtsBuild, SHIM_UPDATE_APK), true)); in testDisableUpdatedSystemApp()
DDocumentsTestCase.java35 protected IBuildInfo mCtsBuild; field in DocumentsTestCase
44 mCtsBuild = buildInfo; in setBuild()
52 assertNotNull(mCtsBuild); in setUp()
57 MigrationHelper.getTestFile(mCtsBuild, CLIENT_APK), false)); in setUp()
DDirectBootHostTest.java51 private IBuildInfo mCtsBuild; field in DirectBootHostTest
60 mCtsBuild = buildInfo; in setBuild()
68 assertNotNull(mCtsBuild); in setUp()
233 super(getDevice(), mCtsBuild, mAbi); in InstallMultiple() local
DExternalStorageHostTest.java56 private IBuildInfo mCtsBuild; field in ExternalStorageHostTest
65 mCtsBuild = buildInfo; in setBuild()
69 return MigrationHelper.getTestFile(mCtsBuild, fileName); in getTestAppFile()
77 assertNotNull(mCtsBuild); in setUp()
DAppSecurityTests.java82 private IBuildInfo mCtsBuild; field in AppSecurityTests
94 mCtsBuild = buildInfo; in setBuild()
98 return MigrationHelper.getTestFile(mCtsBuild, fileName); in getTestAppFile()
105 assertNotNull(mCtsBuild); in setUp()
DPkgInstallSignatureVerificationTest.java51 private IBuildInfo mCtsBuild; field in PkgInstallSignatureVerificationTest
55 mCtsBuild = buildInfo; in setBuild()
62 assertNotNull(mCtsBuild); in setUp()
DKeySetHostTest.java104 return MigrationHelper.getTestFile(mCtsBuild, fileName); in getTestAppFile()
227 private IBuildInfo mCtsBuild; field in KeySetHostTest
234 mCtsBuild = buildInfo; in setBuild()
241 assertNotNull(mCtsBuild); in setUp()
DAdoptableHostTest.java44 private IBuildInfo mCtsBuild; field in AdoptableHostTest
53 mCtsBuild = buildInfo; in setBuild()
61 assertNotNull(mCtsBuild); in setUp()
357 super(getDevice(), mCtsBuild, mAbi); in InstallMultiple() local
DDocumentsTest.java36 MigrationHelper.getTestFile(mCtsBuild, PROVIDER_APK), false)); in setUp()
DSplitTests.java90 private IBuildInfo mCtsBuild; field in SplitTests
99 mCtsBuild = buildInfo; in setBuild()
107 assertNotNull(mCtsBuild); in setUp()
311 super(getDevice(), mCtsBuild, mAbi); in InstallMultiple() local
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DJarHostTest.java61 private CtsBuildHelper mCtsBuild = null; field in JarHostTest
79 mCtsBuild = CtsBuildHelper.createBuildHelper(buildInfo); in setBuild()
90 mCtsBuild = buildHelper; in setBuildHelper()
99 return mCtsBuild; in getBuildHelper()
211 deviceTest.setTestAppPath(mCtsBuild.getTestCasesDir().getAbsolutePath()); in runTest()
303 File jarFile = mCtsBuild.getTestApp(mJarFileName); in loadClass()
358 if (mCtsBuild == null) { in checkFields()
362 mCtsBuild.getTestApp(mJarFileName); in checkFields()
366 mCtsBuild.getRootDir().getAbsolutePath())); in checkFields()
DCtsInstrumentationApkTest.java45 protected CtsBuildHelper mCtsBuild = null; field in CtsInstrumentationApkTest
60 mCtsBuild = CtsBuildHelper.createBuildHelper(build); in setBuild()
86 if (mCtsBuild == null) { in run()
95 File apkFile = mCtsBuild.getTestApp(apkFileName); in run()
DJUnitDeviceTest.java73 private CtsBuildHelper mCtsBuild = null; field in JUnitDeviceTest
159 jarFile = mCtsBuild.getTestApp(f); in installJars()
184 mCtsBuild = CtsBuildHelper.createBuildHelper(buildInfo); in setBuild()
203 if (mCtsBuild == null) { in checkFields()
209 mCtsBuild.getTestApp(f); in checkFields()
213 mCtsBuild.getRootDir().getAbsolutePath())); in checkFields()
DTestNGDeviceTest.java69 private CtsBuildHelper mCtsBuild = null; field in TestNGDeviceTest
155 jarFile = mCtsBuild.getTestApp(f); in installJars()
182 mCtsBuild = CtsBuildHelper.createBuildHelper(buildInfo); in setBuild()
201 if (mCtsBuild == null) { in checkFields()
207 mCtsBuild.getTestApp(f); in checkFields()
211 mCtsBuild.getRootDir().getAbsolutePath())); in checkFields()
DWrappedGTest.java44 private CtsBuildHelper mCtsBuild; field in WrappedGTest
69 mCtsBuild = CtsBuildHelper.createBuildHelper(buildInfo); in setBuild()
94 File testApp = mCtsBuild.getTestApp(String.format("%s.apk", mName)); in installTest()
DGeeTest.java53 private CtsBuildHelper mCtsBuild; field in GeeTest
125 File nativeExe = new File(mCtsBuild.getTestCasesDir(), mExeName); in installTest()
179 mCtsBuild = CtsBuildHelper.createBuildHelper(buildInfo); in setBuild()
DCtsTest.java215 private CtsBuildHelper mCtsBuild = null; field in CtsTest
465 mCtsBuild = CtsBuildHelper.createBuildHelper(build); in setBuild()
475 mCtsBuild = buildHelper; in setBuildHelper()
522 collectDeviceInfo(getDevice(), mCtsBuild, listener); in run() local
845 IRemoteTest testForPackage = testPackageDef.createTest(mCtsBuild.getTestCasesDir()); in setupTestPackageList()
883 File ctsPlanFile = mCtsBuild.getTestPlanFile(mPlanName); in getAvailableTestPackages()
1041 File apkFile = mCtsBuild.getTestApp(apkName); in installPrerequisiteApks()
1126 return new TestPackageRepo(mCtsBuild.getTestCasesDir(), mIncludeKnownFailures); in createTestCaseRepo()
1164 return planCreator.createDerivedPlan(mCtsBuild, AbiUtils.getAbisSupportedByCompatibility()); in createPlan()
1192 if (mCtsBuild == null) { in checkFields()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java49 private IBuildInfo mCtsBuild; field in HostsideNetworkTestCase
58 mCtsBuild = buildInfo; in setBuild()
66 assertNotNull(mCtsBuild); in setUp()
83 assertNull(getDevice().installPackage(MigrationHelper.getTestFile(mCtsBuild, apk), false)); in installPackage()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java64 private IBuildInfo mCtsBuild; field in OsHostTests
73 mCtsBuild = buildInfo; in setBuild()
149 return MigrationHelper.getTestFile(mCtsBuild, fileName); in getTestAppFile()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java55 private IBuildInfo mCtsBuild; field in NumberBlockingTest
89 mCtsBuild = iBuildInfo; in setBuild()
152 File testAppFile = MigrationHelper.getTestFile(mCtsBuild, TEST_APK); in installTestAppForUser()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java121 private IBuildInfo mCtsBuild; field in AtraceHostTest
128 mCtsBuild = buildInfo; in setBuild()
204 File testAppFile = MigrationHelper.getTestFile(mCtsBuild, TEST_APK); in testTracingContent()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java71 protected IBuildInfo mCtsBuild; field in BaseDevicePolicyTest
88 mCtsBuild = buildInfo; in setBuild()
94 assertNotNull(mCtsBuild); // ensure build has been set before test is run. in setUp()
134 MigrationHelper.getTestFile(mCtsBuild, appFileName), true, grantPermissions, in installAppAsUser()
DCustomDeviceOwnerTest.java138 final File apk = MigrationHelper.getTestFile(mCtsBuild, TEST_APP_APK); in testSilentPackageInstall()

12