Home
last modified time | relevance | path

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

123

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java36 public static void runDeviceTests(ITestDevice device, String packageName) in runDeviceTests()
41 public static void runDeviceTests(ITestDevice device, String packageName, int userId) 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()
56 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
61 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
DDocumentsTestCase.java67 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests()
69 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DAppSecurityTests.java292 private void runDeviceTests(String packageName) throws DeviceNotAvailableException { in runDeviceTests()
293 Utils.runDeviceTests(getDevice(), packageName); in runDeviceTests() local
296 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests()
298 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DUsesLibraryHostTest.java85 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests()
87 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DPrivilegedUpdateTests.java134 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests()
136 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DExternalStorageHostTest.java247 private void runDeviceTests(String packageName, String testClassName, int userId) in runDeviceTests()
249 Utils.runDeviceTests(getDevice(), packageName, testClassName, userId); in runDeviceTests() local
252 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests()
254 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTests() local
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java86 protected void uninstallPackage(String packageName, boolean shouldSucceed) in uninstallPackage()
94 protected void assertPackageUninstalled(String packageName) throws DeviceNotAvailableException, in assertPackageUninstalled()
124 protected void runDeviceTests(String packageName, String testClassName) in runDeviceTests()
129 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests()
169 protected int getUid(String packageName) throws DeviceNotAvailableException { in getUid()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java32 public static void enableAppOps(String packageName, String operation, in enableAppOps()
37 public static void disableAppOps(String packageName, String operation, in disableAppOps()
48 private static void setAppOps(String packageName, String operation, in setAppOps()
75 protected static void toggleNotificationPolicyAccess(String packageName, in toggleNotificationPolicyAccess()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DDisplaySizeTest.java137 private void forceStopPackage(String packageName) throws DeviceNotAvailableException { in forceStopPackage()
142 private void startActivity(String packageName, String activityName) in startActivity()
147 private void startOtherActivityOnTop(String packageName, String activityName) in startOtherActivityOnTop()
154 private String getStartCommand(String packageName, String activityName) { in getStartCommand()
/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/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java55 String packageName = packageInfo.packageName; in testPackageSignatures() local
121 private boolean isWhitelistedPackage(String packageName) { in isWhitelistedPackage()
159 private void writeSignature(String packageName, String fileName) in writeSignature()
/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/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/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DPackageFilter.java38 public boolean accept(String packageName) { in accept()
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
DLaunchToSideActivity.java22 String packageName = getApplicationContext().getPackageName(); in onNewIntent() local
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadExternalStorageTest.java48 final String packageName = getContext().getPackageName(); in testAllWalkingUpTreeReadOnly() local
/cts/tests/tests/content/src/android/content/res/cts/
DResourceNameTest.java34 final String packageName = res.getResourcePackageName(R.configVarying.simple); in testGetResourceName() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/
DVideoPresentation.java55 String packageName = getContext().getPackageName(); in onCreate() local
/cts/tests/tests/accounts/src/android/accounts/cts/
DAuthenticatorDescriptionTest.java10 private String packageName = "com.android.my.app"; field in AuthenticatorDescriptionTest
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java125 String packageName = info.baseActivity.getPackageName(); in setReplicaIslandTask() local
140 String packageName = info.baseActivity.getPackageName(); in isReplicaIslandRunning() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java40 String packageName = getPackageName(); in onStartCommand() local
51 private void start(String packageName, Intent intent) { in start()
/cts/tests/tests/car/src/android/car/cts/
DCarPackageManagerTest.java86 String packageName = info.packageName; in testSystemActivitiesAllowed() local
/cts/tests/tests/dpi/src/android/dpi/cts/
DDefaultManifestAttributesTest.java41 protected String packageName; field in DefaultManifestAttributesTest
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DBaseDeviceAdminTest.java50 final String packageName = mContext.getPackageName(); in getTargetApiLevel() local
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedAppDisableTest.java76 private void assertPackageEnabledState(String packageName, int expectedState) { in assertPackageEnabledState()

123