/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ConfigUtils.java | 65 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 …]
|
D | DeviceUtils.java | 83 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/ |
D | HostsideStatsdAtomTests.java | 128 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/ |
D | PackageManagerMultiUserTestBase.java | 68 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/ |
D | CtsAngleDeveloperOptionHostTest.java | 46 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/ |
D | CompatChangeGatingTestCase.java | 123 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/ |
D | BaseMediaHostSideTest.java | 74 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/ |
D | CVE_2021_39738.java | 53 final String pkgName = "com.android.car.settings"; in testPocCVE_2021_39738() local
|
D | CVE_2022_20234.java | 55 final String pkgName = "com.android.car.settings"; in testPocCVE_2022_20234() local
|
D | CVE_2023_20927.java | 65 final String pkgName = "com.android.car"; in testPocCVE_2023_20927() local
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppSecurityTests.java | 319 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()
|
D | KeySetHostTest.java | 156 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/ |
D | DeviceTest.java | 76 String pkgName = context.getPackageName(); in testPocCVE_2023_40092() local
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 149 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/ |
D | ManifestGenerator.java | 43 String pkgName = null; in main() local 113 String pkgName, in generate()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2024_23713/ |
D | CVE_2024_23713.java | 98 String pkgName = context.getPackageName(); in testPocCVE_2024_23713() local
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 53 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/ |
D | DeviceTest.java | 45 String pkgName = settingsComponent != null ? settingsComponent.getPackageName() in getSettingsPkgName() local
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Bug_261036568.java | 78 private boolean runDeviceTestsWithArgs(String pkgName, String testClassName, in runDeviceTestsWithArgs()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/ |
D | TelephonyUtils.java | 259 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/ |
D | ContextHelperTest.java | 109 String pkgName, String activityClassName) { in launchVirtualDisplayIdTestActivity()
|
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/ |
D | BroadcastResponseStatsTest.java | 2165 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/ |
D | CVE_2023_20953.java | 62 final String pkgName = context.getPackageName(); in testCliboardIfUserSetupNotComplete() local
|
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/ |
D | PreferredActivityTests.java | 115 private boolean runDeviceTestsWithArgs(String pkgName, String testClassName, in runDeviceTestsWithArgs()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 110 String pkgName = mContext.getPackageName(); in assertDeviceOwner() local
|