Home
last modified time | relevance | path

Searched defs:pkgName (Results 1 – 25 of 55) sorted by relevance

123

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java65 public static StatsdConfig.Builder createConfigBuilder(String pkgName) { in createConfigBuilder()
95 boolean uidInAttributionChain, String pkgName) { in addEventMetricForUidAtom()
152 boolean uidInAttributionChain, String pkgName) { in addGaugeMetricForUidAtom()
164 int atomId, boolean uidInAttributionChain, String pkgName, in addGaugeMetricForUidAtomWithDimensions()
196 boolean filterByUid, boolean uidInAttributionChain, @Nullable String pkgName, in addGaugeMetricInternal()
242 String pkgName) { in createUidFvm()
303 public static void uploadConfigForPushedAtomWithUid(ITestDevice device, String pkgName, in uploadConfigForPushedAtomWithUid()
311 public static void uploadConfigForPulledAtomWithUid(ITestDevice device, String pkgName, in uploadConfigForPulledAtomWithUid()
319 public static void uploadConfigForPushedAtom(ITestDevice device, String pkgName, int atomId) in uploadConfigForPushedAtom()
326 public static void uploadConfigForPushedAtoms(ITestDevice device, String pkgName, int[] atomIds) in uploadConfigForPushedAtoms()
[all …]
DDeviceUtils.java83 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests()
101 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests()
108 private static @Nonnull TestRunResult internalRunDeviceTests(ITestDevice device, String pkgName, in internalRunDeviceTests()
177 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp()
190 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices()
206 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp()
271 public static int getAppUid(ITestDevice device, String pkgName) in getAppUid()
280 public static int getAppUidForUser(ITestDevice device, String pkgName, int userId) in getAppUidForUser()
323 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity()
338 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity()
[all …]
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/
DHostsideStatsdAtomTests.java128 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity()
143 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity()
146 try (AutoCloseable a = withActivity(device, pkgName, activity, actionKey, actionValue)) { in runActivity() argument
162 public static AutoCloseable withActivity(ITestDevice device, String pkgName, String activity, in withActivity()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java68 String pkgName, @Nullable String testClassName, in runDeviceTestAsUser()
78 pkgName, in runDeviceTestAsUser() local
131 protected void installExistingPackageForUser(String pkgName, int userId) throws Exception { in installExistingPackageForUser()
138 protected boolean isPackageInstalledForUser(String pkgName, int userId) throws Exception { in isPackageInstalledForUser()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleDeveloperOptionHostTest.java46 private void setAndValidateAngleDevOptionPkgDriver(String pkgName, String driverValue) in setAndValidateAngleDevOptionPkgDriver()
51 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_PKGS, pkgName); in setAndValidateAngleDevOptionPkgDriver() local
67 private void setAndValidatePkgDriver(String pkgName, OpenGlDriverChoice driver) in setAndValidatePkgDriver()
69 stopPackage(getDevice(), pkgName); in setAndValidatePkgDriver() local
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java123 protected void runDeviceCompatTest(@Nonnull String pkgName, @Nonnull String testClassName, in runDeviceCompatTest()
144 … protected void runDeviceCompatTestReported(@Nonnull String pkgName, @Nonnull String testClassName, in runDeviceCompatTestReported()
231 protected void createAndUploadStatsdConfig(long configId, String pkgName) in createAndUploadStatsdConfig()
330 private Map<Long, Boolean> getReportedChanges(long configId, String pkgName) in getReportedChanges()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java74 String pkgName, @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests()
113 String pkgName, String testClassName, String testMethodName) { in getTestRunner()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_39738.java53 final String pkgName = "com.android.car.settings"; in testPocCVE_2021_39738() local
DCVE_2022_20234.java55 final String pkgName = "com.android.car.settings"; in testPocCVE_2022_20234() local
DCVE_2023_20927.java65 final String pkgName = "com.android.car"; in testPocCVE_2023_20927() local
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityTests.java319 private void runCrossPackageInstallerDeviceTest(String pkgName, String testMethodName) in runCrossPackageInstallerDeviceTest()
323 runDeviceTests(getDevice(), null, pkgName, pkgName + ".ModifyInstallerCrossPackageTest", in runCrossPackageInstallerDeviceTest() local
374 private void enableAlertWindowAppOp(String pkgName) throws Exception { in enableAlertWindowAppOp()
DKeySetHostTest.java156 private boolean runDeviceTests(String pkgName) throws DeviceNotAvailableException { in runDeviceTests()
167 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests()
180 private TestRunResult doRunTests(String pkgName, String testClassName, in doRunTests()
201 private String testPackageUpgrade(String pkgName, String firstApk, in testPackageUpgrade()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/
DDeviceTest.java76 String pkgName = context.getPackageName(); in testPocCVE_2023_40092() local
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java149 protected int getAppUid(String pkgName) throws Exception { in getAppUid()
160 protected void addAssistRoleHolder(String pkgName, int userId) throws Exception { in addAssistRoleHolder()
182 protected void removeAssistRoleHolder(String pkgName, int userId) throws Exception { in removeAssistRoleHolder()
188 protected void revokePermission(String pkgName, String permissionName, int userId) in revokePermission()
/cts/tools/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java43 String pkgName = null; in main() local
113 String pkgName, in generate()
/cts/tests/tests/security/src/android/security/cts/CVE_2024_23713/
DCVE_2024_23713.java98 String pkgName = context.getPackageName(); in testPocCVE_2024_23713() local
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/
DPackageManagerMultiUserTest.java53 String pkgName = InstrumentationRegistry.getArguments().getString(ARG_PACKAGE_NAME); in testUninstallExistingPackage() local
/cts/hostsidetests/securitybulletin/test-apps/CVE_2023_20904/src/android/security/cts/CVE_2023_20904/
DDeviceTest.java45 String pkgName = settingsComponent != null ? settingsComponent.getPackageName() in getSettingsPkgName() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DBug_261036568.java78 private boolean runDeviceTestsWithArgs(String pkgName, String testClassName, in runDeviceTestsWithArgs()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java259 public static void enableCompatCommand(Instrumentation instr, String pkgName, in enableCompatCommand()
265 public static void disableCompatCommand(Instrumentation instr, String pkgName, in disableCompatCommand()
271 public static void resetCompatCommand(Instrumentation instr, String pkgName, in resetCompatCommand()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/
DContextHelperTest.java109 String pkgName, String activityClassName) { in launchVirtualDisplayIdTestActivity()
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java2165 private void launchTestActivityAndWaitToBeResumed(String pkgName, String className) in launchTestActivityAndWaitToBeResumed()
2179 protected void addAssistRoleHolder(String pkgName, int userId) { in addAssistRoleHolder()
2205 private void addRoleHolderAsUser(String roleName, String pkgName, int userId) in addRoleHolderAsUser()
2214 protected void removeAssistRoleHolder(String pkgName, int userId) { in removeAssistRoleHolder()
2240 private void removeRoleHolderAsUser(String roleName, String pkgName, int userId) in removeRoleHolderAsUser()
2249 protected boolean isAssistantRoleHolder(String pkgName, int userId) { in isAssistantRoleHolder()
2255 private void waitForPackageToBeExempted(String pkgName) { in waitForPackageToBeExempted()
2269 private Intent createTestActivityIntent(String pkgName, String className) { in createTestActivityIntent()
/cts/tests/tests/security/src/android/security/cts/CVE_2023_20953/
DCVE_2023_20953.java62 final String pkgName = context.getPackageName(); in testCliboardIfUserSetupNotComplete() local
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/
DPreferredActivityTests.java115 private boolean runDeviceTestsWithArgs(String pkgName, String testClassName, in runDeviceTestsWithArgs()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java110 String pkgName = mContext.getPackageName(); in assertDeviceOwner() local

123