/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AmUtils.java | 27 public static void runMakeUidIdle(String packageName) { in runMakeUidIdle() 32 public static void runKill(String packageName) throws Exception { in runKill() 36 public static void runKill(String packageName, boolean wait) throws Exception { in runKill() 47 private static boolean isProcessRunning(String packageName) { in isProcessRunning() 59 public static void setStandbyBucket(String packageName, int value) { in setStandbyBucket()
|
D | AppOpsUtils.java | 46 public static String reset(String packageName) throws IOException { in reset() 53 public static String setOpMode(String packageName, String opStr, int mode) in setOpMode() 83 public static boolean allowedOperationLogged(String packageName, String opStr) in allowedOperationLogged() 95 public static boolean rejectedOperationLogged(String packageName, String opStr) in rejectedOperationLogged() 106 private static String getOpState(String packageName, String opStr) throws IOException { in getOpState()
|
D | PackageUtil.java | 41 public static boolean exists(String packageName) { in exists() 51 public static boolean exists(String packageName, String sha) { in exists() 64 public static boolean isSystemApp(String packageName) { in isSystemApp() 75 public static String getVersionString(String packageName) { in getVersionString() 91 public static String computePackageSignatureDigest(String packageName) in computePackageSignatureDigest()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseBackupHostSideTest.java | 71 protected String backupNow(String packageName) throws DeviceNotAvailableException { in backupNow() 78 protected void backupNowAndAssertSuccess(String packageName) in backupNowAndAssertSuccess() 88 protected void restoreAndAssertSuccess(String packageName) throws DeviceNotAvailableException { in restoreAndAssertSuccess() 96 protected String restore(String packageName) throws DeviceNotAvailableException { in restore() 111 protected void checkDeviceTest(String packageName, String className, String testName) in checkDeviceTest() 123 protected void assertBackupIsSuccessful(String packageName, String backupnowOutput) { in assertBackupIsSuccessful() 146 protected void assertBackupIsNotAllowed(String packageName, String backupnowOutput) { in assertBackupIsNotAllowed() 173 protected void startActivityInPackageAndWait(String packageName, String className) in startActivityInPackageAndWait() 186 protected void clearBackupDataInLocalTransport(String packageName) in clearBackupDataInLocalTransport() 194 protected void clearPackageData(String packageName) throws DeviceNotAvailableException { in clearPackageData()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 85 protected void uninstallPackage(String packageName, boolean shouldSucceed) in uninstallPackage() 93 protected void assertPackageUninstalled(String packageName) throws DeviceNotAvailableException, in assertPackageUninstalled() 123 protected void runDeviceTests(String packageName, String testClassName) in runDeviceTests() 128 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() 168 protected int getUid(String packageName) throws DeviceNotAvailableException { in getUid()
|
/cts/tests/tests/batterysaving/common/src/android/os/cts/batterysaving/common/ |
D | Values.java | 37 public static ComponentName getCommReceiver(String packageName) { in getCommReceiver() 41 public static ComponentName getTestService(String packageName) { in getTestService()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ProviderTestUtils.java | 41 static void setDefaultSmsApp(boolean setToSmsApp, String packageName, UiAutomation uiAutomation) in setDefaultSmsApp() 108 static void runBackup(String packageName, UiAutomation uiAutomation) throws Exception { in runBackup() 113 static void runRestore(String packageName, UiAutomation uiAutomation) throws Exception { in runRestore() 118 static void wipeBackup(String backupTransport, String packageName, UiAutomation uiAutomation) in wipeBackup()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 35 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 40 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 59 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
|
D | InstantCookieHostTest.java | 109 private String uninstallPackage(String packageName) throws DeviceNotAvailableException { in uninstallPackage() 113 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() 115 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
D | InstantAppUserTest.java | 184 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() 186 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local 189 private void runDeviceTestsAsUser(String packageName, String testClassName, in runDeviceTestsAsUser() 192 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local 216 private void installExistingInstantAppAsUser(String packageName, int userId) throws Exception { in installExistingInstantAppAsUser() 226 private void installExistingFullAppAsUser(String packageName, int userId) throws Exception { in installExistingFullAppAsUser()
|
D | DocumentsTestCase.java | 65 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() 67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PrivappPermissionsTest.java | 71 String packageName = pkg.packageName; in testPrivappPermissionsEnforcement() local 130 private Set<String> getPrivAppPermissions(String packageName) throws IOException { in getPrivAppPermissions() 141 private Set<String> getPrivAppDenyPermissions(String packageName) throws IOException { in getPrivAppDenyPermissions()
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
D | ShortcutManagerDeviceTestBase.java | 85 protected Drawable getIconAsLauncher(String packageName, String shortcutId) { in getIconAsLauncher() 100 protected void assertIconDimensions(String packageName, in assertIconDimensions() 115 protected List<ShortcutInfo> getPackageShortcuts(String packageName) { in getPackageShortcuts()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PackageSignatureTest.java | 57 String packageName = packageInfo.packageName; in testPackageSignatures() local 120 private boolean isWhitelistedPackage(String packageName) { in isWhitelistedPackage() 158 private void writeSignature(String packageName, String fileName) in writeSignature()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 58 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 62 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 66 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged() 80 String packageName, List<ShortcutInfo> shortcuts, UserHandle user) { in onShortcutsChanged()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationPackageInfo.java | 28 private final String packageName; field in AttestationPackageInfo 31 public AttestationPackageInfo(String packageName, long version) { in AttestationPackageInfo()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | InvalidSyncAuthoritiesHostTest.java | 75 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() 77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 44 public static void enableAppOps(String packageName, String operation, in enableAppOps() 49 public static void disableAppOps(String packageName, String operation, in disableAppOps() 60 private static void setAppOps(String packageName, String operation, in setAppOps() 87 protected static void toggleNotificationPolicyAccess(String packageName, in toggleNotificationPolicyAccess()
|
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | LauncherCallbackTestsService.java | 173 String packageName = params.getString(PACKAGE_EXTRA); in eventExists() local 196 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 205 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 214 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | SetPolicyActivity.java | 83 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent() local 89 String packageName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in handleIntent() local
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityLoggingTest.java | 40 String packageName = context.getPackageName(); in testServiceLogged() local
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | ComponentNameUtils.java | 34 static String buildComponentName(final String packageName, final String className) { in buildComponentName()
|
/cts/tests/tests/keystore/src/android/server/am/component/ |
D | ComponentsBase.java | 41 final String packageName = getPackageName(componentsClass); in component() local
|
/cts/tests/framework/base/activitymanager/app_base/src/android/server/am/component/ |
D | ComponentsBase.java | 41 final String packageName = getPackageName(componentsClass); in component() local
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 73 public void setReportedPackageName(String packageName) { in setReportedPackageName() 99 PackageNameInjector(String packageName) { in PackageNameInjector()
|