/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ConfigUtils.java | 66 public static StatsdConfig.Builder createConfigBuilder(String pkgName) { in createConfigBuilder() 97 boolean uidInAttributionChain, String pkgName) { in addEventMetricForUidAtom() 154 boolean uidInAttributionChain, String pkgName) { in addGaugeMetricForUidAtom() 166 int atomId, boolean uidInAttributionChain, String pkgName, in addGaugeMetricForUidAtomWithDimensions() 198 boolean filterByUid, boolean uidInAttributionChain, @Nullable String pkgName, in addGaugeMetricInternal() 244 String pkgName) { in createUidFvm() 300 public static void uploadConfigForPushedAtomWithUid(ITestDevice device, String pkgName, in uploadConfigForPushedAtomWithUid() 308 public static void uploadConfigForPulledAtomWithUid(ITestDevice device, String pkgName, in uploadConfigForPulledAtomWithUid() 316 public static void uploadConfigForPushedAtom(ITestDevice device, String pkgName, int atomId) in uploadConfigForPushedAtom() 323 public static void uploadConfigForPushedAtoms(ITestDevice device, String pkgName, int[] atomIds) in uploadConfigForPushedAtoms() [all …]
|
D | DeviceUtils.java | 78 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests() 139 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp() 152 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices() 168 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp() 226 public static int getAppUid(ITestDevice device, String pkgName) in getAppUid() 261 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity() 276 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity() 279 try (AutoCloseable a = withActivity(device, pkgName, activity, actionKey, actionValue)) { in runActivity() argument 295 public static AutoCloseable withActivity(ITestDevice device, String pkgName, String activity, in withActivity()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 40 …private void setAndValidateAngleDevOptionPkgDriver(String pkgName, String driverValue) throws Exce… in setAndValidateAngleDevOptionPkgDriver() 44 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_PKGS, pkgName); in setAndValidateAngleDevOptionPkgDriver() local 60 … private void setAndValidatePkgDriver(String pkgName, OpenGlDriverChoice driver) throws Exception { in setAndValidatePkgDriver() 61 stopPackage(getDevice(), pkgName); in setAndValidatePkgDriver() local
|
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | PackageManagerMultiUserTestBase.java | 66 String pkgName, @Nullable String testClassName, in runDeviceTestAsUser() 76 pkgName, in runDeviceTestAsUser() local 122 protected void installExistingPackageForUser(String pkgName, int userId) throws Exception { in installExistingPackageForUser() 129 protected boolean isPackageInstalledForUser(String pkgName, int userId) throws Exception { in isPackageInstalledForUser()
|
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/ |
D | HostsideStatsdAtomTests.java | 118 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity() 133 public static void runActivity(ITestDevice device, String pkgName, String activity, in runActivity() 136 try (AutoCloseable a = withActivity(device, pkgName, activity, actionKey, actionValue)) { in runActivity() argument 152 public static AutoCloseable withActivity(ITestDevice device, String pkgName, String activity, in withActivity()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppSecurityTests.java | 299 private void runCrossPackageInstallerDeviceTest(String pkgName, String testMethodName) in runCrossPackageInstallerDeviceTest() 303 runDeviceTests(getDevice(), null, pkgName, pkgName + ".ModifyInstallerCrossPackageTest", in runCrossPackageInstallerDeviceTest() local 352 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()
|
D | AppDataIsolationTests.java | 390 private void runDeviceTests(String pkgName, String testClassName, String testMethodName, in runDeviceTests() 392 runDeviceTests(getDevice(), null, pkgName, testClassName, testMethodName, null, in runDeviceTests() local
|
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | CompatChangeGatingTestCase.java | 125 protected void runDeviceCompatTest(@Nonnull String pkgName, @Nonnull String testClassName, in runDeviceCompatTest() 146 … protected void runDeviceCompatTestReported(@Nonnull String pkgName, @Nonnull String testClassName, in runDeviceCompatTestReported() 233 protected void createAndUploadStatsdConfig(long configId, String pkgName) in createAndUploadStatsdConfig() 327 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/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/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 126 protected int getAppUid(String pkgName) throws Exception { in getAppUid() 137 protected void addAssistRoleHolder(String pkgName, int userId) throws Exception { in addAssistRoleHolder() 143 protected void removeAssistRoleHolder(String pkgName, int userId) throws Exception { in removeAssistRoleHolder()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyUtils.java | 77 public static void enableCompatCommand(Instrumentation instr, String pkgName, in enableCompatCommand() 83 public static void disableCompatCommand(Instrumentation instr, String pkgName, in disableCompatCommand() 89 public static void resetCompatCommand(Instrumentation instr, String pkgName, in resetCompatCommand()
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 51 String pkgName = InstrumentationRegistry.getArguments().getString(ARG_PACKAGE_NAME); in testUninstallExistingPackage() local
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 108 String pkgName = mContext.getPackageName(); in assertDeviceOwner() local
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | PackageManagerStatsTestsBase.java | 78 protected int getAppUid(String pkgName) throws Exception { in getAppUid()
|
/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/statsdatom/src/android/cts/statsdatom/statsd/ |
D | BaseTestCase.java | 129 protected TestRunResult runDeviceTests(@Nonnull String pkgName, in runDeviceTests()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ApplicationHiddenTest.java | 141 String pkgName = uri.getSchemeSpecificPart(); in onReceive() local
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 120 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() 127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 1250 private CountDownLatch startChildProcessInPackage(String pkgName, String[] cmdline) { in startChildProcessInPackage() 1276 final CountDownLatch stopChildProcess(String pkgName, long timeout) { in stopChildProcess() 1302 final CountDownLatch initWaitingForChildProcessGone(String pkgName, long timeout) { in initWaitingForChildProcessGone() 1466 final String pkgName = PACKAGE_NAME_APP1; in testTrimMemActivityBg() local
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileContactsTest.java | 210 private void runDeviceTestsAsUser(String pkgName, String testClassName, in runDeviceTestsAsUser()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | RemovePermissionTest.java | 114 private boolean permissionGranted(String pkgName, String permName) in permissionGranted()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ProtoDumpTestCase.java | 128 protected void runDeviceTests(@Nonnull String pkgName, in runDeviceTests()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/ |
D | AppExitHostTest.java | 137 private int getAppUid(String pkgName) throws Exception { in getAppUid()
|