Home
last modified time | relevance | path

Searched refs:buildHelper (Results 1 – 25 of 54) sorted by relevance

123

/cts/hostsidetests/content/src/android/content/cts/
DContextCrossProfileHostTest.java81 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in setUp() local
82 mApkFile = buildHelper.getTestFile(TEST_WITH_PERMISSION_APK); in setUp()
113 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser() local
114 File testServiceApkFile = buildHelper.getTestFile(TEST_SERVICE_WITH_PERMISSION_APK); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser()
141 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService() local
142 File testServiceApkFile = buildHelper.getTestFile(TEST_SERVICE_WITH_PERMISSION_APK); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
169 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService() local
170 File testServiceApkFile = buildHelper.getTestFile(TEST_SERVICE_WITH_PERMISSION_APK); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService()
197 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() local
198 File testServiceApkFile = buildHelper.getTestFile(TEST_SERVICE_WITH_PERMISSION_APK); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService()
[all …]
/cts/hostsidetests/packagemanager/installedloadingprogess/hostside/src/com/android/tests/loadingprogress/host/
DIncrementalLoadingProgressTest.java81 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in setUp() local
82 final File base_apk = buildHelper.getTestFile(TEST_APK); in setUp()
84 final File base_v4Signature = buildHelper.getTestFile( in setUp()
87 final File split_apk = buildHelper.getTestFile(TEST_SPLIT_APK); in setUp()
89 final File split_v4Signature = buildHelper.getTestFile( in setUp()
138 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in testGetLoadingProgressDuringMigration() local
139 final File base_apk = buildHelper.getTestFile(TEST_APK); in testGetLoadingProgressDuringMigration()
142 final File split_apk = buildHelper.getTestFile(TEST_SPLIT_APK); in testGetLoadingProgressDuringMigration()
DNonIncrementalLoadingProgressTest.java50 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in setUp() local
51 final File apk = buildHelper.getTestFile(TEST_APK); in setUp()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java249 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in installApp() local
250 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp()
254 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in installInstantApp() local
255 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp()
259 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in installAppAsUser() local
260 assertNull(getDevice().installPackageForUser(buildHelper.getTestFile(apk), false, userId)); in installAppAsUser()
264 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in replaceFullAppAsUser() local
266 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()
DBaseInstallMultiple.java112 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in addFile() local
113 mFilesToAdd.add(DeviceFile.addToSession(buildHelper.getTestFile(file, mAbi))); in addFile()
128 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in renameAndAddFile() local
129 mFilesToAdd.add(DeviceFile.renameAndAddToSession(buildHelper.getTestFile(localFile, mAbi), in renameAndAddFile()
130 buildHelper.getTestFile(remoteFile, mAbi))); in renameAndAddFile()
135 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in pushFile() local
136 mFilesToAdd.add(DeviceFile.pushOnly(buildHelper.getTestFile(file, mAbi))); in pushFile()
141 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in renameAndPushFile() local
142 mFilesToAdd.add(DeviceFile.renameAndPushOnly(buildHelper.getTestFile(localFile, mAbi), in renameAndPushFile()
143 buildHelper.getTestFile(remoteFile, mAbi))); in renameAndPushFile()
DInstantCookieHostTest.java116 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in getTestAppFile() local
117 return buildHelper.getTestFile(fileName); in getTestAppFile()
DListeningPortsTest.java76 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in installDeviceTestPkg() local
77 File apk = buildHelper.getTestFile(DEVICE_TEST_APK); in installDeviceTestPkg()
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalFeatureTest.java71 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in testFeatureWorkingWithInstallation() local
72 final File apk = buildHelper.getTestFile(TEST_APP_BASE_APK_NAME); in testFeatureWorkingWithInstallation()
74 final File idsig = buildHelper.getTestFile(TEST_APP_BASE_APK_IDSIG_NAME); in testFeatureWorkingWithInstallation()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java44 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in setUp() local
47 File app = buildHelper.getTestFile(APKS[i]); in setUp()
/cts/hostsidetests/packagemanager/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java75 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in setUp() local
76 File app = buildHelper.getTestFile(APK_NAME); in setUp()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DPreserveLegacyStorageHostTest.java47 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in installApp() local
50 buildHelper.getTestFile(appFileName), true, true, userId, "-t"); in installApp()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionHostTest.java69 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in installTestPackage() local
73 buildHelper.getTestFile(appFileName), true, grantPermissions, "-t"); in installTestPackage()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java42 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(ctsBuild); in pushApkToRemote() local
43 final File apk = buildHelper.getTestFile(apkName); in pushApkToRemote()
44 final File signature = buildHelper.getTestFile(apkName + SIGNATURE_FILE_SUFFIX); in pushApkToRemote()
DPackageManagerStatsTestsBase.java96 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in getTestFileSize() local
97 final File file = buildHelper.getTestFile(fileName); in getTestFileSize()
DPackageInstallationSessionReportedStatsTests.java232 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testPackageInstallationFailedVersionDowngradeReported() local
233 final String result = getDevice().installPackage(buildHelper.getTestFile(TEST_INSTALL_APK), in testPackageInstallationFailedVersionDowngradeReported()
265 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testPackageInstallationFailedInternalErrorReported() local
266 String result = getDevice().installPackage(buildHelper.getTestFile( in testPackageInstallationFailedInternalErrorReported()
272 result = getDevice().installPackage(buildHelper.getTestFile( in testPackageInstallationFailedInternalErrorReported()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DGfxInfoDumpsysTest.java47 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testGfxinfoFramestats() local
48 File testAppFile = buildHelper.getTestFile(TEST_APK); in testGfxinfoFramestats()
DStoragedDumpsysTest.java71 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in testStoragedOutput() local
72 mDevice.installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true); in testStoragedOutput()
/cts/hostsidetests/calllog/src/android/provider/cts/contacts/hostside/
DShadowCallLogTest.java71 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(getBuild()); in testDirectBootCallLog() local
72 File apkFile = buildHelper.getTestFile(APK); in testDirectBootCallLog()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java89 final CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in testInstallTime() local
98 File app = buildHelper.getTestFile(APK); in testInstallTime()
DTaskSwitchingTest.java85 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in installPackages() local
90 File app = buildHelper.getTestFile(APKS[i]); in installPackages()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerHostSideTest.java91 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in setUp() local
92 File apkFile = buildHelper.getTestFile(TEST_WITH_PERMISSION_APK); in setUp()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java100 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuild); in installApp() local
104 buildHelper.getTestFile(appFileName), in installApp()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java53 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mCtsBuildInfo); in installPackage() local
54 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), true)); in installPackage()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java65 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in addApk() local
66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java65 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuild); in addApk() local
66 mApks.add(buildHelper.getTestFile(apk)); in addApk()

123