Home
last modified time | relevance | path

Searched defs:packageName (Results 1 – 25 of 134) sorted by relevance

123456

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DAmUtils.java27 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()
DAppOpsUtils.java46 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()
DPackageUtil.java41 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/
DBaseBackupHostSideTest.java71 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/
DHostsideNetworkTestCase.java85 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/
DValues.java37 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/
DProviderTestUtils.java41 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/
DUtils.java35 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()
DInstantCookieHostTest.java109 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
DInstantAppUserTest.java184 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()
DDocumentsTestCase.java65 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/
DPrivappPermissionsTest.java71 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/
DShortcutManagerDeviceTestBase.java85 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/
DPackageSignatureTest.java57 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/
DShortcutManagerLauncherCallbackTest.java58 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/
DAttestationPackageInfo.java28 private final String packageName; field in AttestationPackageInfo
31 public AttestationPackageInfo(String packageName, long version) { in AttestationPackageInfo()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java75 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/
DUtils.java44 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/
DLauncherCallbackTestsService.java173 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/
DSetPolicyActivity.java83 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/
DAccessibilityLoggingTest.java40 String packageName = context.getPackageName(); in testServiceLogged() local
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DComponentNameUtils.java34 static String buildComponentName(final String packageName, final String className) { in buildComponentName()
/cts/tests/tests/keystore/src/android/server/am/component/
DComponentsBase.java41 final String packageName = getPackageName(componentsClass); in component() local
/cts/tests/framework/base/activitymanager/app_base/src/android/server/am/component/
DComponentsBase.java41 final String packageName = getPackageName(componentsClass); in component() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java73 public void setReportedPackageName(String packageName) { in setReportedPackageName()
99 PackageNameInjector(String packageName) { in PackageNameInjector()

123456