Home
last modified time | relevance | path

Searched refs:mPackage (Results 1 – 13 of 13) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DProcessReference.java30 private final Package mPackage; field in ProcessReference
39 mPackage = pkg; in ProcessReference()
49 return mPackage; in pkg()
80 mPackage.disable(user()); in kill()
81 mPackage.enable(user()); in kill()
97 ProcessReference other = mPackage.runningProcess(mUser); in kill()
109 .addOperand(mPackage.packageName()) in crash()
115 Set<String> permissions = mPackage.requestedPermissions(); in getGrantablePermission()
118 mPackage.checkCanGrantOrRevokePermission(mUser, permission); in getGrantablePermission()
124 throw new NeneException("No grantable permission for package " + mPackage); in getGrantablePermission()
[all …]
DComponentReference.java37 final Package mPackage; field in ComponentReference
54 mPackage = packageName; in ComponentReference()
66 return mPackage; in pkg()
80 return new ComponentName(mPackage.packageName(), mClassName); in componentName()
89 .addOperand(mPackage.packageName() + "/" + mClassName) in enable()
118 .addOperand(mPackage.packageName() + "/" + mClassName) in disable()
171 stringBuilder.append("package=" + mPackage); in toString()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/appops/
DAppOps.java40 private final Package mPackage; field in AppOps
44 this.mPackage = pkg; in AppOps()
57 sAppOpsManager.setMode(appOpName, mPackage.uid(mUser), in set()
58 mPackage.packageName(), mode.mValue); in set()
69 maybeConvertPermissionToAppOp(appOpName), mPackage.uid(mUser), in get()
70 mPackage.packageName())); in get()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyController.java33 protected final Package mPackage; field in DevicePolicyController
42 mPackage = pkg; in DevicePolicyController()
57 return mPackage; in pkg()
76 + Objects.hashCode(mPackage) in hashCode()
DDeviceOwner.java93 && TEST_APP_APP_COMPONENT_FACTORY.equals(mPackage.appComponentFactory())) { in remove()
112 if (TEST_APP_APP_COMPONENT_FACTORY.equals(mPackage.appComponentFactory()) in removePreS()
168 && Objects.equals(other.mPackage, mPackage) in equals()
DProfileOwner.java126 && TEST_APP_APP_COMPONENT_FACTORY.equals(mPackage.appComponentFactory()) in remove()
147 if (TEST_APP_APP_COMPONENT_FACTORY.equals(mPackage.appComponentFactory()) in removePreS()
215 && Objects.equals(other.mPackage, mPackage) in equals()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/roles/
DRoleContext.java35 private final Package mPackage; field in RoleContext
41 mPackage = pkg; in RoleContext()
50 mPackage.removeAsRoleHolder(mRole, mUser); in close()
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/
DClassProfile.java33 private final String mPackage; field in ClassProfile
59 mPackage = packageName; in ClassProfile()
88 return Utils.getClassSignature(mPackage, mClass); in getClassSignature()
96 return mPackage; in getPackageName()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveMultiUserTest.java188 assertThat(mArchiveIntentSender.mPackage.get(TIMEOUT_SECONDS, in archiveApp_broadcast_multiuser()
248 assertThat(mArchiveIntentSender.mPackage.get(TIMEOUT_SECONDS, in archiveApp_onlyForOneUser_multiuser()
309 final CompletableFuture<String> mPackage = new CompletableFuture<>(); field in PackageInstallerArchiveMultiUserTest.ArchiveIntentSender
318 mPackage.complete(intent.getStringExtra(PackageInstaller.EXTRA_PACKAGE_NAME)); in send()
DPackageInstallerArchiveTest.java201 assertThat(mArchiveIntentSender.mPackage.get(5, TimeUnit.SECONDS)).isEqualTo( in archiveApp_dataIsKept()
596 assertThat(mUnarchiveIntentSender.mPackage.get(5, TimeUnit.SECONDS)).isEqualTo( in reportUnarchivalState_success()
635 assertThat(mUnarchiveIntentSender.mPackage.get(5, TimeUnit.SECONDS)).isEqualTo( in reportUnarchivalState_error()
1014 final CompletableFuture<String> mPackage = new CompletableFuture<>(); field in PackageInstallerArchiveTest.ArchiveIntentSender
1023 mPackage.complete(intent.getStringExtra(PackageInstaller.EXTRA_PACKAGE_NAME)); in send()
1032 final CompletableFuture<String> mPackage = new CompletableFuture<>(); field in PackageInstallerArchiveTest.UnarchiveIntentSender
1040 mPackage.complete(intent.getStringExtra(PackageInstaller.EXTRA_PACKAGE_NAME)); in send()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java115 private BitstreamPackage mPackage = BitstreamPackage.FULL; field in MediaBitstreamsTest
221 mPackage = pkg; in MediaBitstreamsTest()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java1102 SurfaceControlViewHost.SurfacePackage mPackage; field in SurfaceControlViewHostTests.ForwardingSurfaceView
1110 mPackage.notifyDetachedFromWindow(); in onDetachedFromWindow()
1116 mPackage.notifyConfigurationChanged(newConfig); in onConfigurationChanged()
1122 mPackage = p; in setChildSurfacePackage()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2635 && Objects.equals(ue1.mPackage, ue2.mPackage) in compareEvent()