Home
last modified time | relevance | path

Searched refs:install (Results 1 – 25 of 143) sorted by relevance

123456

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSplitPermissionTest.java147 public void install(@NonNull String apkFile) { in install() method in SplitPermissionTest
148 PermissionUtils.install(apkFile); in install()
162 install(APK_LOCATION_29); in permissionsDoNotSplitWithHighTargetSDK()
176 install(APK_CONTACTS_16); in permissionsDoNotSplitWithHighTargetSDKPreM()
187 install(APK_LOCATION_28); in permissionsSplitWithLowTargetSDK()
200 install(APK_CONTACTS_15); in permissionsSplitWithLowTargetSDKPreM()
211 install(APK_LOCATION_29); in nonInheritedStateHighTargetSDK()
221 install(APK_CONTACTS_15); in nonInheritedStateHighLowTargetSDKPreM()
232 install(APK_LOCATION_28); in nonInheritedStateLowTargetSDK()
248 install(APK_CONTACTS_15); in nonInheritedStateLowTargetSDKPreM()
[all …]
DSharedUidPermissionsTest.java22 import static android.permission.cts.PermissionUtils.install;
67 install(APK_THAT_REQUESTS_PERMISSIONS); in packageGainsRuntimePermissionsWhenJoiningSharedUid()
69 install(APK_THAT_REQUESTS_NO_PERMISSIONS); in packageGainsRuntimePermissionsWhenJoiningSharedUid()
77 install(APK_THAT_REQUESTS_PERMISSIONS); in packageGainsNormalPermissionsWhenJoiningSharedUid()
78 install(APK_THAT_REQUESTS_NO_PERMISSIONS); in packageGainsNormalPermissionsWhenJoiningSharedUid()
86 install(APK_THAT_REQUESTS_PERMISSIONS); in grantingRuntimePermissionAffectsAllPackageInSharedUid()
87 install(APK_THAT_REQUESTS_NO_PERMISSIONS); in grantingRuntimePermissionAffectsAllPackageInSharedUid()
96 install(APK_THAT_REQUESTS_PERMISSIONS); in revokingRuntimePermissionAffectsAllPackageInSharedUid()
97 install(APK_THAT_REQUESTS_NO_PERMISSIONS); in revokingRuntimePermissionAffectsAllPackageInSharedUid()
108 install(APK_THAT_REQUESTS_PERMISSIONS); in runtimePermissionsCanBeRevokedOnPackageThatDoesNotDeclarePermission()
[all …]
DPermissionFlagsTest.java34 import static android.permission.cts.PermissionUtils.install;
91 install(APK_LOCATION_28); in implicitPermission()
99 install(APK_STORAGE_22); in implicitPermissionPreM()
109 install(APK_LOCATION_28); in regularPermission()
116 install(APK_CONTACTS_15); in regularPermissionPreM()
124 install(APK_CONTACTS_15); in clearRegularPermissionPreM()
139 install(APK_CONTACTS_15); in clearImplicitPermissionPreM()
154 install(APK_LOCATION_28); in clearRegularPermission()
169 install(APK_LOCATION_28); in clearImplicitPermission()
184 install(APK_CONTACTS_15); in reinstallPreM()
[all …]
DNearbyDevicesPermissionTest.java24 import static android.permission.cts.PermissionUtils.install;
113 install(APK_BLUETOOTH_30); in testRequestBluetoothPermission30_Default()
122 install(APK_BLUETOOTH_30); in testRequestBluetoothPermission30_GrantLocation()
131 install(APK_BLUETOOTH_31); in testRequestBluetoothPermission31_Default()
140 install(APK_BLUETOOTH_31); in testRequestBluetoothPermission31_GrantNearby()
149 install(APK_BLUETOOTH_31); in testRequestBluetoothPermission31_GrantLocation()
160 install(APK_BLUETOOTH_31); in testRequestBluetoothPermission31_GrantNearby_GrantLocation()
171 install(APK_BLUETOOTH_NEVER_FOR_LOCATION_31); in testRequestBluetoothPermissionNeverForLocation31_Default()
180 install(APK_BLUETOOTH_NEVER_FOR_LOCATION_31); in testRequestBluetoothPermissionNeverForLocation31_GrantNearby()
189 install(APK_BLUETOOTH_NEVER_FOR_LOCATION_31); in testRequestBluetoothPermissionNeverForLocation31_GrantLocation()
[all …]
DDuplicatePermissionDefinitionsTest.kt83 private fun install(apk: String) { in install() method in android.permission.cts.DuplicatePermissionDefinitionsTest
102 install(APK_DEFINING_PERM_A) in canInstallAppsDefiningSamePermissionWhenSameCert()
103 install(APK_ALSO_DEFINING_PERM_A) in canInstallAppsDefiningSamePermissionWhenSameCert()
112 install(APK_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()
113 install(APK_ALSO_DEFINING_PERM_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()
123 install(APK_DEFINING_PERM_A) in canInstallAppsDefiningSamePermissionGroupWhenDifferentCertIfSdk30()
124 install(APK_ALSO_DEFINING_PERM_GROUP_A_DIFFERENT_CERT_SDK_30) in canInstallAppsDefiningSamePermissionGroupWhenDifferentCertIfSdk30()
138 install(APK_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()
139 install(APK_ALSO_DEFINING_PERM_GROUP_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()
151 install(APK_DEFINING_PERM_IN_PLATFORM_GROUP) in canInstallAppsDefiningPermissionInPlatformGroup()
[all …]
DBackgroundPermissionsTest.java29 import static android.permission.cts.PermissionUtils.install;
128 install(APK_LOCATION_BACKGROUND_29); in appOpGetsDowngradedWhenBgPermIsNotRequestedAnymore()
131 install(APK_LOCATION_29v4); in appOpGetsDowngradedWhenBgPermIsNotRequestedAnymore()
145 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfNoLocPermIsGranted()
160 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfOnlyCoarseLocPermIsGranted()
176 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfCoarseAndBgLocPermIsGranted()
193 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfOnlyFineLocPermIsGranted()
210 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfFineAndBgLocPermIsGranted()
227 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfFineAndCoarseLocPermIsGranted()
245 install(APK_LOCATION_BACKGROUND_29); in appOpIsSetIfFineCoarseAndBgLocPermIsGranted()
DMinMaxSdkVersionTest.kt23 import android.permission.cts.PermissionUtils.install
52 install(TEST_APP_PATH) in givenMinSdkVersionInRangeThenPermissionIsRequested()
59 install(TEST_APP_PATH) in givenMinSdkVersionOutOfRangeThenPermissionIsNotRequested()
66 install(TEST_APP_PATH) in givenMaxSdkVersionInRangeThenPermissionIsRequested()
73 install(TEST_APP_PATH) in givenMaxSdkVersionOutOfRangeThenPermissionIsNotRequested()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/
DTestAppUtils.kt20 import android.permission.cts.PermissionUtils.install
53 fun installTestAppThatRequestsLocation() = install(LOCATION_PERM_USER_APK) in installTestAppThatRequestsLocation()
55 fun installTestAppThatUsesCameraPermission() = install(CAMERA_PERM_USER_APK) in installTestAppThatRequestsLocation()
57 fun installTestAppThatUsesHealthConnectPermission() = install(HEALTH_CONNECT_PERMISSION_USER_APK) in installTestAppThatRequestsLocation()
60 install(INVALID_HEALTH_CONNECT_PERMISSION_USER_APK) in installTestAppThatRequestsLocation()
62 fun installTestAppThatUsesAdditionalPermission() = install(ADDITIONAL_PERM_USER_APK) in installTestAppThatRequestsLocation()
64 fun installTestAppThatUsesTwoAdditionalPermissions() = install(TWO_ADDITIONAL_PERM_USER_APK) in installTestAppThatRequestsLocation()
66 fun installTestAppThatDefinesAdditionalPermissions() = install(ADDITIONAL_PERM_DEFINER_APK) in installTestAppThatRequestsLocation()
DAllAppPermissionsFragmentTest.kt20 import android.permission.cts.PermissionUtils.install
69 install(ONE_PERMISSION_DEFINER_APK) in startManageAppPermissionsActivity()
70 install(PERMISSION_USER_APK) in startManageAppPermissionsActivity()
95 install(TWO_PERMISSION_USER_APK) in permissionsAreAddedWhenAppIsUpdated()
101 install(TWO_PERMISSION_USER_APK) in permissionsAreRemovedWhenAppIsUpdated()
104 install(PERMISSION_USER_APK) in permissionsAreRemovedWhenAppIsUpdated()
DAppPermissionFragmentTest.kt22 import android.permission.cts.PermissionUtils.install
67 install(ONE_PERMISSION_DEFINER_APK) in installApps()
68 install(PERMISSION_USER_APK) in installApps()
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/
DManageStandardPermissionsFragmentTest.kt23 import android.permission.cts.PermissionUtils.install
113 install(LOCATION_USER_APK) in groupSummaryGetsUpdatedWhenAppGetsInstalled()
127 install(LOCATION_USER_APK) in groupSummaryGetsUpdatedWhenAppGetsUninstalled()
144 install(LOCATION_USER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()
164 install(LOCATION_USER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
187 install(ADDITIONAL_DEFINER_APK) in additionalPermissionSummaryGetUpdateWhenAppGetsInstalled()
188 install(ADDITIONAL_USER_APK) in additionalPermissionSummaryGetUpdateWhenAppGetsInstalled()
201 install(ADDITIONAL_DEFINER_APK) in additionalPermissionSummaryGetUpdateWhenUserGetsUninstalled()
202 install(ADDITIONAL_USER_APK) in additionalPermissionSummaryGetUpdateWhenUserGetsUninstalled()
219 install(ADDITIONAL_DEFINER_APK) in additionalPermissionSummaryGetUpdateWhenDefinerGetsUninstalled()
[all …]
DManageCustomPermissionsFragmentTest.kt21 import android.permission.cts.PermissionUtils.install
66 install(ONE_PERMISSION_DEFINER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()
67 install(PERMISSION_USER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsGranted()
81 install(ONE_PERMISSION_DEFINER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
82 install(PERMISSION_USER_APK) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
/packages/modules/Bluetooth/system/build/dpkg/floss/
Dbuild-dpkg64 echo Run the following to build and install:
73 echo Run the following to build and install:
92 echo Run the following to build and install:
102 echo Run the following to build and install:
103 echo cargo install cxxbridge-cmd || ctrl_c
111 echo Run the following to build and install:
112 echo cargo install cargo-proc-macro || ctrl_c
Dinstall-dependencies33 ${DRY_RUN} sudo apt install ${APT_REQUIRED}
40 ${DRY_RUN} cargo install cxxbridge-cmd --version 1.0.42 || ctrl_c
41 ${DRY_RUN} cargo install cargo-proc-macro || ctrl_c
/packages/providers/MediaProvider/tests/
DAndroid.bp14 "cts-install-lib",
33 "cts-install-lib",
52 "cts-install-lib",
71 "cts-install-lib",
90 "cts-install-lib",
109 "cts-install-lib",
128 "cts-install-lib",
147 "cts-install-lib",
209 "cts-install-lib",
/packages/services/Telecomm/scripts/
Dtelecom_testing.sh20 local install=false
39 install=true;;
41 install=true
71 if [ $install = true ] ; then
102 adb install -r -t "out/target/product/$canonical_product/$apk_loc"
/packages/modules/Bluetooth/floss/build/
DDockerfile11 # First install all required apt packages.
13 apt-get install -y \
61 # Next install the Rust toolchain. Download the toolchain to the local folder
70 RUN cargo install --locked cxxbridge-cmd@1.0.94 pdl-compiler@0.1.1 grpcio-compiler@0.13.0
71 RUN cargo install --git https://android.googlesource.com/platform/build#8f9ca807 aconfig
78 # At this point, the base container is ready. Now we need to build and install
DREADME.md10 install these requisite packages.
12 sudo apt-get install \
27 https://docs.docker.com/engine/install/, such as
28 https://docs.docker.com/engine/install/debian/.
/packages/apps/Car/systemlibs/tools/
Dgo_rotary.sh41 function install { function
44 adb install -g $TMP_OUTDIR/CarRotaryController.apk
45 adb install -g $TMP_OUTDIR/RotaryPlayground.apk
65 install
/packages/modules/Bluetooth/system/
Dsetup.py21 from setuptools.command.install import install
53 class InstallLocalPackagesForInstallation(install):
68 install.run(self)
/packages/modules/Bluetooth/
DREADME.md22 sudo apt-get install repo git-core gnupg flex bison gperf build-essential \
38 instructions on [Rustup](https://rustup.rs/) to install a recent version.
61 This will install your bootstrapped build environment to `~/.floss`. If you want
67 via a package manager. You may have to build these from source and install them
80 # Build and install modp_b64
86 # Build and install libchrome
97 Run the following to install Rust dependencies:
99 cargo install cxxbridge-cmd
/packages/apps/TV/tests/jank/
DREADME.md12 adb install -r ${OUT}/system/priv-app/LiveTv/LiveTv.apk
13 adb install -r ${OUT}/system/app/TVTestInput/TVTestInput.apk
14 adb install -r ${OUT}/testcases/TVJankTests/TVJankTests.apk
/packages/services/Car/tools/telemetry/lua-interpreter/
DREADME.md10 sudo apt install nodejs
11 npm install
16 sudo apt install bazel
/packages/modules/Bluetooth/android/pandora/mmi2grpc/
DREADME.md8 pip install -e . # With editable mode
10 pip install . # Without editable mode
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedStoragePermissionSharedUidTest.java131 void install() { in install() method in RestrictedStoragePermissionSharedUidTest.TestApp
173 public void install() { in install() method in RestrictedStoragePermissionSharedUidTest.NoApp
232 app1.install(); in checkExceptedStorageStateForAppsSharingUid()
233 app2.install(); in checkExceptedStorageStateForAppsSharingUid()

123456