Home
last modified time | relevance | path

Searched refs:opPackageName (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsDeviceAwareTest.kt70 reset(context.opPackageName) in setUp()
81 .setPackageName(context.opPackageName) in getUidMode_shouldBeInferredFromPermissionState()
95 context.opPackageName, in getUidMode_shouldBeInferredFromPermissionState()
107 context.opPackageName, in getUidMode_shouldBeInferredFromPermissionState()
125 context.opPackageName, in getPackagesForOps_isDeviceAware()
133 .setPackageName(context.opPackageName) in getPackagesForOps_isDeviceAware()
148 packagesOpsForDefaultDevice.find { it.packageName == context.opPackageName } in getPackagesForOps_isDeviceAware()
161 packagesOpsForExternalDevice.find { it.packageName == context.opPackageName } in getPackagesForOps_isDeviceAware()
184 context.opPackageName, in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
192 .setPackageName(context.opPackageName) in getPermissionGroupUsageForPrivacyIndicator_isDeviceAware()
[all …]
DAppOpsTest.kt157 mOpPackageName = mContext.opPackageName in setUp()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DUpdateOwnershipEnforcementMultiUserTest.kt111 "--user ${otherUser.id()} --update-ownership -i " + context.opPackageName in installWithRequestingUpdateOwnership_updateOwnerIsNotTheSame_hasNoUpdateOwner()
166 "pm install-existing --wait --user ${otherUser.id()} " + context.opPackageName in installExistingPackage_updateOwnerIsTheSame_ownerRetained()
171 "pm install-existing --wait --user ${otherUser.id()} " + context.opPackageName in installExistingPackage_updateOwnerIsTheSame_ownerRetained()
174 "--user ${otherUser.id()} --update-ownership -i " + context.opPackageName in installExistingPackage_updateOwnerIsTheSame_ownerRetained()
182 assertEquals(context.opPackageName, sourceInfo.updateOwnerPackageName) in installExistingPackage_updateOwnerIsTheSame_ownerRetained()
DUpdateOwnershipEnforcementTest.kt118 assertEquals(context.opPackageName, sourceInfo.updateOwnerPackageName) in setRequestUpdateOwnership_whenInitialInstall_hasUpdateOwner()
177 installTestPackage("--update-ownership -i " + context.opPackageName) in updateOwnershipEnforcement_updateByOwner_hasNoUserAction()
359 installTestPackage("--update-ownership -i " + context.opPackageName) in setRequestUpdateOwnership_notRequestWhenUpdate_ownerRetained()
368 assertEquals(context.opPackageName, sourceInfo.updateOwnerPackageName) in setRequestUpdateOwnership_notRequestWhenUpdate_ownerRetained()
DIntentTest.kt118 intent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, context.opPackageName) in installWithCallingInstallerPackageName()
125 assertEquals(context.opPackageName, getInstallSourceInfo().installingPackageName) in installWithCallingInstallerPackageName()
136 intent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, context.opPackageName + ".another") in installWithAnotherInstallerPackageName()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/
Dpoc.cpp78 const std::string opPackageName("com.exp.poc"); in main() local
91 attributionSource.packageName = opPackageName; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
Dpoc.cpp49 String16 opPackageName(""); variable
67 opPackageName); in bcfree_helper()
88 opPackageName); in bcfree()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt108 Process.myUid(), context.opPackageName) in openCam()