Home
last modified time | relevance | path

Searched defs:pkg (Results 1 – 25 of 84) sorted by relevance

1234

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackagesTest.java118 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_containsPackageInstalledForUser() local
129 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in installedForUser_doesNotContainPackageNotInstalledForUser() local
171 Package pkg = in install_instrumentedUser_isInstalled() local
183 Package pkg = in install_byteArray_instrumentedUser_isInstalled() local
198 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_inWorkProfile_isInstalled() local
212 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_differentUser_isInstalled() local
225 Package pkg = TestApis.packages().find(TEST_APP_PACKAGE_NAME); in install_byteArray_differentUser_isInstalled() local
269 Package pkg = TestApis.packages().install(mUser, TEST_APP_APK_FILE); in install_alreadyInstalledForUser_installs() local
281 Package pkg = TestApis.packages().install(mUser, TEST_APP_BYTES); in install_byteArray_alreadyInstalledForUser_installs() local
293 Package pkg = null; in install_alreadyInstalledOnOtherUser_installs() local
[all …]
DPackageTest.java137 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstallForAllUsers_isUninstalledForAllUsers() local
150 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsInstalledForDifferentUser_isUninstalledForUser() local
167 Package pkg = TestApis.packages().install(sTestAppApkFile); in uninstall_packageIsUninstalled() local
189 Package pkg = TestApis.packages().find(NON_EXISTING_PACKAGE_NAME); in uninstall_packageDoesNotExist_doesNotThrowException() local
258 Package pkg = TestApis.packages().find(sContext.getPackageName()); in denyPermission_ownPackage_permissionIsNotGranted_doesNotThrowException() local
265 Package pkg = TestApis.packages().find(sContext.getPackageName()); in denyPermission_ownPackage_permissionIsGranted_throwsException() local
350 Package pkg = TestApis.packages().find(sTestApp.packageName()); in installedOnUsers_includesUserWithPackageInstalled() local
363 Package pkg = TestApis.packages().install(sTestAppApkFile); in installedOnUsers_doesNotIncludeUserWithoutPackageInstalled() local
377 Package pkg = TestApis.packages().find(sContext.getPackageName()); in grantedPermission_includesKnownInstallPermission() local
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiCoverage.java31 public void addPackage(ApiPackage pkg) { in addPackage()
32 mPackages.put(pkg.getName(), pkg); in addPackage() local
46 ApiPackage pkg = entry.getValue(); in resolveSuperClasses() local
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java71 public void run(ITestDevice device, String pkg, String apk, String abiName); in run()
86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind()
96 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly()
123 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentStartupAgents()
152 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal()
172 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal()
200 private String getPwd(ITestDevice device, String pkg) throws Exception { in getPwd()
247 private static void runAttachTestCmd(ITestDevice device, String pkg, String agentParams) in runAttachTestCmd()
278 private String installLibToDataData(ITestDevice device, String pkg, String abiName, in installLibToDataData()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser26.java81 AdbPackage pkg = new AdbPackage(parsePackage(packageString)); in parsePackages() local
82 packages.put(pkg.packageName(), pkg); in parsePackages() local
105 AdbPackage.MutablePackage pkg = new AdbPackage.MutablePackage(); in parsePackage() local
128 void parseInstallPermissions(String section, AdbPackage.MutablePackage pkg) { in parseInstallPermissions()
140 void parseUser(String section, AdbPackage.MutablePackage pkg) throws AdbParseException { in parseUser()
DKeepUninstalledPackagesBuilder.java82 public KeepUninstalledPackagesBuilder add(Package pkg) { in add()
91 public KeepUninstalledPackagesBuilder add(String pkg) { in add()
DProcessReference.java30 ProcessReference(Package pkg, int pid, int uid, UserReference user) { in ProcessReference()
43 public Package pkg() { in pkg() method in ProcessReference
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyController.java36 DevicePolicyController(UserReference user, Package pkg, ComponentName componentName) { in DevicePolicyController()
56 public Package pkg() { in pkg() method in DevicePolicyController
/cts/tests/app/src/android/app/cts/
DConditionTest.java88 String pkg = this.getClass().getPackage().toString(); in testIsValidId_noScheme() local
94 String pkg = this.getClass().getPackage().toString(); in testIsValidId_wrongAuthority() local
100 String pkg = this.getClass().getPackage().toString(); in testIsValidId() local
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminLockTaskModeEnteringEvent.java116 DeviceAdminReceiver deviceAdminReceiver, Context context, Intent intent, String pkg) { in logger()
126 Context context, Intent intent, String pkg) { in DeviceAdminLockTaskModeEnteringEventLogger()
161 public DeviceAdminLockTaskModeEnteringEventLogger setPkg(String pkg) { in setPkg()
186 public String pkg() { in pkg() method in DeviceAdminLockTaskModeEnteringEvent
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBroadcastTestBase.java137 String pkg, String cls) throws Exception { in startTestAndWaitForBroadcast()
140 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() local
179 String pkg, String cls) in startTestAndWaitForChange()
188 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForChange() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSuspendPackageTest.java122 private void assertPackageSuspended(String pkg) throws Exception { in assertPackageSuspended()
126 private void assertPackageNotSuspended(String pkg) throws Exception { in assertPackageNotSuspended()
130 private void assertPackageSuspension(String pkg, boolean expected) throws Exception { in assertPackageSuspension()
/cts/tests/tests/app.usage/TestApp1/aidl/android/app/usage/cts/
DITestReceiver.aidl19 boolean isAppInactive(String pkg); in isAppInactive()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionPlatformCtsTest.java515 private void assertPackageCannotAccess(String pkg) throws Exception { in assertPackageCannotAccess()
527 private void assertPackageCanAccess(GenericDocument expectedDocument, String pkg) in assertPackageCanAccess()
540 private void indexGloballySearchableDocument(String pkg) throws Exception { in indexGloballySearchableDocument()
551 private void indexNotGloballySearchableDocument(String pkg) throws Exception { in indexNotGloballySearchableDocument()
562 private void clearData(String pkg) throws Exception { in clearData()
574 String pkg) { in bindToHelperService()
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/fake-framework/src/android/content/
DComponentName.java20 public ComponentName(String pkg, String cls) {} in ComponentName()
/cts/tests/tests/permission/src/android/permission/cts/
DRemovePermissionTest.java136 private void uninstallApp(String pkg) throws InterruptedException { in uninstallApp()
140 private void uninstallApp(String pkg, boolean cleanUp) throws InterruptedException { in uninstallApp()
148 private void grantPermission(String pkg, String permission) { in grantPermission()
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestService.java34 public boolean isAppInactive(String pkg) { in isAppInactive()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DVp9Yuv420BitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp9Yuv420BitstreamsTest()
DVp8BitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp8BitstreamsTest()
DH264Yuv420_8bitMpBitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitMpBitstreamsTest()
DH264Yuv420_8bitHpBitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitHpBitstreamsTest()
DH264Yuv420_8bitBpBitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in H264Yuv420_8bitBpBitstreamsTest()
DHevcYuv420BitstreamsTest.java35 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in HevcYuv420BitstreamsTest()
DHevcYuv444BitstreamsFullTest.java37 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in HevcYuv444BitstreamsFullTest()
DVp8BitstreamsFullTest.java37 BitstreamPackage pkg, BitstreamPackage packageToRun, boolean enforce) { in Vp8BitstreamsFullTest()

1234