/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/ |
H A D | AppDataRollbackHelperTest.java | 38 import com.android.server.pm.Installer; 64 Installer installer = mock(Installer.class); in testSnapshotAppData() local 65 AppDataRollbackHelper helper = spy(new AppDataRollbackHelper(installer, mApexManager)); in testSnapshotAppData() 77 InOrder inOrder = Mockito.inOrder(installer); in testSnapshotAppData() 78 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData() 79 eq("com.foo.bar"), eq(10), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 80 inOrder.verify(installer).snapshotAppData( in testSnapshotAppData() 81 eq("com.foo.bar"), eq(11), eq(5), eq(Installer.FLAG_STORAGE_DE)); in testSnapshotAppData() 87 when(installer.snapshotAppData(anyString(), anyInt(), anyInt(), anyInt())).thenReturn(true); in testSnapshotAppData() 94 inOrder = Mockito.inOrder(installer); in testSnapshotAppData() [all …]
|
/aosp_15_r20/build/soong/cc/ |
H A D | installer.go | 67 var _ installer = (*baseInstaller)(nil) 69 func (installer *baseInstaller) installerProps() []interface{} { 70 return []interface{}{&installer.Properties} 73 func (installer *baseInstaller) installDir(ctx ModuleContext) android.InstallPath { 74 dir := installer.dir 75 if ctx.toolchain().Is64Bit() && installer.dir64 != "" { 76 dir = installer.dir64 79 if installer.installInRoot() { 81 } else if installer.installInXbin() { 90 if installer.location == InstallInData && ctx.InVendorOrProduct() { [all …]
|
/aosp_15_r20/system/apex/apexd/ |
H A D | apexservice_test.cpp | 373 std::string GetDebugStr(PrepareTestApexForInstall* installer) { in GetDebugStr() argument 376 if (installer != nullptr) { in GetDebugStr() 377 log << "test_input=" << installer->test_input << " "; in GetDebugStr() 378 log << "test_file=" << installer->test_file << " "; in GetDebugStr() 379 log << "test_installed_file=" << installer->test_installed_file << " "; in GetDebugStr() 380 log << "package=" << installer->package << " "; in GetDebugStr() 381 log << "version=" << installer->version << " "; in GetDebugStr() 503 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F() local 506 if (!installer.Prepare()) { in TEST_F() 525 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F() local [all …]
|
/aosp_15_r20/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/ |
D | AppSetupPreparerTest.java | 90 TestAppInstallSetup installer = mock(TestAppInstallSetup.class); in setUp_unresolvedAppUri_installs() local 93 .setInstaller(installer) in setUp_unresolvedAppUri_installs() 99 verify(installer).addTestFile(new File(appUri)); in setUp_unresolvedAppUri_installs() 104 TestAppInstallSetup installer = mock(TestAppInstallSetup.class); in tearDown_forwardsToInstaller() local 105 AppSetupPreparer preparer = new PreparerBuilder().setInstaller(installer).build(); in tearDown_forwardsToInstaller() 110 verify(installer).tearDown(testInfo, null); in tearDown_forwardsToInstaller() 115 TestAppInstallSetup installer = mock(TestAppInstallSetup.class); in setUp_withinRetryLimit_doesNotThrowException() local 118 .when(installer) in setUp_withinRetryLimit_doesNotThrowException() 122 .setInstaller(installer) in setUp_withinRetryLimit_doesNotThrowException() 131 TestAppInstallSetup installer = mock(TestAppInstallSetup.class); in setUp_exceedsRetryLimit_throwsException() local [all …]
|
/aosp_15_r20/external/python/cpython3/Tools/msi/ |
D | README.txt | 4 For testing, the installer should be built with the Tools/msi/build.bat 9 For an official release, the installer should be built with the 19 See the Building the Installer section for more information. 24 Python is distributed on Windows as an installer that will configure the 28 The main tasks of the installer are: 38 Structure of the Installer 41 The installer is structured as a 'layout', which consists of a number of 44 The EXE is the main entry point into the installer. It contains the UI 57 associated MSI is not downloaded. This allows the installer to offer 61 Building the Installer [all …]
|
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcastHelper.kt | 67 * Return list of [FirstScreenBroadcastModel] for each installer and their in <lambda>() 104 // create broadcast for each installer, with extras for each item category in <lambda>() 105 allInstallers.forEach { installer -> in <lambda>() method 106 val installingItems = pendingItemInstallerMap[installer] in <lambda>() 108 FirstScreenBroadcastModel(installerPackage = installer).apply { in <lambda>() 110 addInstalledItems(installer, installedItemInstallerMap) in <lambda>() 111 addAllScreenWidgets(installer, allInstalledWidgetsMap) in <lambda>() 172 /** Maps Installer packages to Set of app packages from install sessions */ in <lambda>() 180 val installer = entry.value.installerPackageName in <lambda>() constant 182 if (installer.isNullOrEmpty() || appPackage.isNullOrEmpty()) return@forEach in <lambda>() [all …]
|
/aosp_15_r20/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/ |
H A D | PackageSessionTests.kt | 48 * whereas this test uses the installer on device. in <lambda>() 77 private val installer = context.packageManager.packageInstaller in <lambda>() constant 183 installer.mySessions.asSequence() in <lambda>() 187 installer.abandonSession(it) in <lambda>() 202 installer.unregisterSessionCallback(this) in <lambda>() 220 assertThat(installer.getSessionInfo(it)?.appLabel) in <lambda>() 233 assertThat(installer.getSessionInfo(it)?.appPackageName) in <lambda>() 246 // If a custom installer name is dropped, it defaults to the caller in <lambda>() 247 assertThat(installer.getSessionInfo(it)?.installerPackageName) in <lambda>() 259 assertThat(installer.getSessionInfo(it)?.whitelistedRestrictedPermissions!!) in <lambda>() [all …]
|
/aosp_15_r20/external/perfetto/src/profiling/common/ |
H A D | producer_support_unittest.cc | 61 const char* installer) { in PackageListLine() argument 65 uid, debuggable, profileable_from_shell, profileable, installer); in PackageListLine() 73 /*profileable=*/false, /*installer=*/"@system"); in TEST() 94 /*profileable=*/false, /*installer=*/"@system"); in TEST() 98 // Debuggable apps can always be profiled (without installer constraint) in TEST() 109 /*profileable=*/false, /*installer=*/"@system"); in TEST() 124 /*profileable=*/true, /*installer=*/"@system"); in TEST() 139 /*profileable=*/true, /*installer=*/"@system"); in TEST() 154 /*profileable=*/true, /*installer=*/"@system"); in TEST() 170 // As ProfileableFromShellApp, but with installer constraints [all …]
|
/aosp_15_r20/external/clang/unittests/Sema/ |
H A D | ExternalSemaSourceTest.cpp | 224 std::unique_ptr<ExternalSemaSourceInstaller> Installer( in TEST() local 227 Installer->PushWatcher(&Watcher); in TEST() 230 Installer.release(), "namespace AAA { } using namespace AAB;", Args)); in TEST() 237 std::unique_ptr<ExternalSemaSourceInstaller> Installer( in TEST() local 241 Installer->PushSource(&Provider); in TEST() 242 Installer->PushWatcher(&Watcher); in TEST() 245 Installer.release(), "namespace AAA { } using namespace AAB;", Args)); in TEST() 253 std::unique_ptr<ExternalSemaSourceInstaller> Installer( in TEST() local 259 Installer->PushSource(&First); in TEST() 260 Installer->PushSource(&Second); in TEST() [all …]
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/rollback/ |
H A D | AppDataRollbackHelper.java | 27 import com.android.server.pm.Installer; 28 import com.android.server.pm.Installer.InstallerException; 42 private final Installer mInstaller; 45 AppDataRollbackHelper(Installer installer) { in AppDataRollbackHelper() argument 46 mInstaller = installer; in AppDataRollbackHelper() 51 AppDataRollbackHelper(Installer installer, ApexManager apexManager) { in AppDataRollbackHelper() argument 52 mInstaller = installer; in AppDataRollbackHelper() 69 storageFlags = Installer.FLAG_STORAGE_DE; in snapshotAppData() 72 storageFlags = Installer.FLAG_STORAGE_CE | Installer.FLAG_STORAGE_DE; in snapshotAppData() 89 int storageFlags = Installer.FLAG_STORAGE_DE; in restoreAppData() [all …]
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | AppDataHelper.java | 71 private final Installer mInstaller; 135 Installer.Batch batch = new Installer.Batch(); in prepareAppDataPostCommitLIF() 152 // Note: this code block is executed with the Installer lock in prepareAppDataPostCommitLIF() 157 // setup any OBB dirs that were created by the installer correctly. in prepareAppDataPostCommitLIF() 166 private void executeBatchLI(@NonNull Installer.Batch batch) { in executeBatchLI() 169 } catch (Installer.InstallerException e) { in executeBatchLI() 174 private void prepareAppDataAndMigrate(@NonNull Installer.Batch batch, in prepareAppDataAndMigrate() 190 // Note: this code block is executed with the Installer lock in prepareAppDataAndMigrate() 196 final Installer.Batch batchInner = new Installer.Batch(); in prepareAppDataAndMigrate() 214 private @NonNull CompletableFuture<?> prepareAppData(@NonNull Installer.Batch batch, in prepareAppData() [all …]
|
H A D | PackageDexOptimizer.java | 21 import static com.android.server.pm.Installer.DEXOPT_BOOTCOMPLETE; 22 import static com.android.server.pm.Installer.DEXOPT_DEBUGGABLE; 23 import static com.android.server.pm.Installer.DEXOPT_ENABLE_HIDDEN_API_CHECKS; 24 import static com.android.server.pm.Installer.DEXOPT_FORCE; 25 import static com.android.server.pm.Installer.DEXOPT_FOR_RESTORE; 26 import static com.android.server.pm.Installer.DEXOPT_GENERATE_APP_IMAGE; 27 import static com.android.server.pm.Installer.DEXOPT_GENERATE_COMPACT_DEX; 28 import static com.android.server.pm.Installer.DEXOPT_IDLE_BACKGROUND_JOB; 29 import static com.android.server.pm.Installer.DEXOPT_PROFILE_GUIDED; 30 import static com.android.server.pm.Installer.DEXOPT_PUBLIC; [all …]
|
H A D | SilentUpdatePolicy.java | 31 * Tracks for the installer package name and installing app package name of silent updates. 32 * This class is used to throttle repeated silent updates of the same installer and application 36 // The default throttle time to prevent the installer from silently updating the same app 40 // Map to the uptime timestamp for each installer and app of the silent update. 44 // An installer allowed for the unlimited silent updates within the throttle time 52 * Checks if the silent update is allowed by the given installer and app package name. 54 * @param installerPackageName The installer package name to check 61 // Always true for the installer from Shell in isSilentUpdateAllowed() 73 * Adding track for the installer package name and installing app of a silent update. This is 76 * @param installerPackageName The installer package name [all …]
|
/aosp_15_r20/external/python/cpython2/Mac/BuildScript/resources/ |
D | ReadMe.rtf | 12 \b \cf0 \ul \ulc0 Which installer variant should I use? [CHANGED in 2.7.15] 17 \b0 With Python 2.7.15, the python.org website now provides two installer variants for download: o… 27 …installer and a 10.5 or later 32-bit-only variant. If you are running on macOS 10.9 or later and i… 53 \f0 included with the Python 2.7 installer has its own default certificate store for verifying dow… 59 The 10.9+ installer variant comes with its own private version of Tcl/Tk 8.6. It does not use syste… 68 Binary installer support for Mac OS X 10.5 and earlier discontinued [CHANGED for Python 2.7.15] 71 … python.org no longer support Mac OS X 10.5 (Leopard) systems. Binary installer support for Mac … 91 …installer packages from python.org are now compatible with the Gatekeeper security feature introdu… 93 \i0 installer window. Refer to Apple\'92s support pages for {\field{\*\fldinst{HYPERLINK "http://… 99 With the change to the newer flat format installer package, the download file now has a [all …]
|
/aosp_15_r20/external/python/cpython2/Mac/BuildScript/ |
D | README.txt | 8 In particular, they do not explain how to create a modern flat installer 9 package from the now obsolete bundle-format installer package produced 10 by ``build-installer.py``. 12 The ``build-installer.py`` script creates Python distributions, including 16 an Installer package from the installation plus other files in ``resources`` 23 Beginning with Python 2.7.9, PSF practice is to build two installer variants 27 Apple developer ID signed apps and installer packages). The process for 29 yet integrated into ``build-installer.py``. 34 /usr/bin/python build-installer.py \ 70 /usr/bin/python build-installer.py \ [all …]
|
/aosp_15_r20/system/core/init/ |
H A D | mount_namespace.cpp | 108 // /mnt/installer view that is a slave bind mount of /mnt/user - in other in SetupMountNamespaces() 110 // /mnt/installer. However, additional mounts done under /mnt/installer in SetupMountNamespaces() 112 // this is easy to achieve, by simply marking the /mnt/installer a slave in SetupMountNamespaces() 113 // bind mount. Unfortunately, if /mnt/installer is only created and in SetupMountNamespaces() 116 // /mnt/user and /mnt/installer share the same peer group in both the in SetupMountNamespaces() 117 // bootstrap and default namespaces. Marking /mnt/installer slave in either in SetupMountNamespaces() 118 // namespace means that it won't propagate events to the /mnt/installer in in SetupMountNamespaces() 120 // one doing the mounting under /mnt/installer, and those mounts should in SetupMountNamespaces() 124 // are created: the effect is that in both namespaces, /mnt/installer is a in SetupMountNamespaces() 125 // slave to the /mnt/user mount, and at the same time /mnt/installer in the in SetupMountNamespaces() [all …]
|
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/cpack_gen/ |
D | ifw.rst | 6 Configure and run the Qt Installer Framework to generate a Qt installer. 16 configuration and meta information for the `Qt Installer Framework 18 and runs QtIFW tools to generate a Qt installer. 50 Name of the installer as displayed on the title bar. 64 Filename for a custom installer icon. The actual file is '.icns' (macOS), 69 Filename for a custom window icon in PNG format for the Installer 116 …Set to ``OFF`` if the widget listing installer pages on the left side of the wizard should not be … 210 Filename for a custom installer control script. 216 List of additional resources ('.qrc' files) to include in the installer 337 Online installer [all …]
|
/aosp_15_r20/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util_test.cpp | 31 const string installer = "com.android.vending"; variable 36 /* installer */ nullopt, /* certHash */ {}, in TEST() 59 /* installer */ nullopt, certHash, in TEST_P() 70 /* installer */ nullopt, /* certHash */ {}, in TEST() 85 /* installer */ nullopt, /* certHash */ {}, in TEST() 108 /* installer */ nullopt, /* certHash */ {}, in TEST_P() 123 PackageInfo packageInfo = buildPackageInfo(appName, uid, version, versionString, installer, in TEST_P() 134 buildPackageInfo(appName, uid, version, versionString, installer, /* certHash */ {}, in TEST() 139 EXPECT_THAT(packageInfo.installer_hash(), Eq(Hash64(installer))); in TEST() 145 buildPackageInfo(appName, uid, version, versionString, installer, /* certHash */ {}, in TEST() [all …]
|
/aosp_15_r20/cts/tests/tests/content/src/android/content/pm/cts/ |
H A D | InstallSessionTransferTest.java | 75 private SessionInfo getSessionInfo(@NonNull PackageInstaller installer, in getSessionInfo() argument 77 List<SessionInfo> mySessionInfos = installer.getMySessions(); in getSessionInfo() 89 * Get name of the package installer. 91 * @return The package name of the package installer 98 ResolveInfo installer = InstrumentationRegistry.getInstrumentation().getTargetContext() in getPackageInstallerPackageName() local 102 if (installer != null) { in getPackageInstallerPackageName() 103 return installer.activityInfo.packageName; in getPackageInstallerPackageName() 124 * Create a new installer session. 131 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() local 134 int sessionId = installer.createSession(params); in createSession() [all …]
|
/aosp_15_r20/out/target/product/shiba/system/etc/sysconfig/ |
D | enhanced-confirmation.xml | 29 <enhanced-confirmation-trusted-installer 30 package="com.example.installer" 38 The <enhanced-confirmation-trusted-installer> entry shown in the above example indicates that 39 "com.example.app" should be considered a "trusted installer". Apps installed by "trusted installers" 42 If zero <enhanced-confirmation-trusted-installer> entries are declared, then *all* packages will be 47 C. The app is marked by its installer as coming from an untrustworthy package source. 49 (For example, an installer may set an app's package source to 53 If one or more <enhanced-confirmation-trusted-installer> entries are declared, then packages must, 56 A. Be installed by an installer with a matching <enhanced-confirmation-trusted-installer> entry 57 declared, and be marked as coming from an "trustworthy" package source by the installer, or [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/data/etc/enhanced-confirmation.xml/android_arm64_armv8-2a_cortex-a55/ |
D | enhanced-confirmation.xml | 29 <enhanced-confirmation-trusted-installer 30 package="com.example.installer" 38 The <enhanced-confirmation-trusted-installer> entry shown in the above example indicates that 39 "com.example.app" should be considered a "trusted installer". Apps installed by "trusted installers" 42 If zero <enhanced-confirmation-trusted-installer> entries are declared, then *all* packages will be 47 C. The app is marked by its installer as coming from an untrustworthy package source. 49 (For example, an installer may set an app's package source to 53 If one or more <enhanced-confirmation-trusted-installer> entries are declared, then packages must, 56 A. Be installed by an installer with a matching <enhanced-confirmation-trusted-installer> entry 57 declared, and be marked as coming from an "trustworthy" package source by the installer, or [all …]
|
/aosp_15_r20/frameworks/base/data/etc/ |
H A D | enhanced-confirmation.xml | 29 <enhanced-confirmation-trusted-installer 30 package="com.example.installer" 38 The <enhanced-confirmation-trusted-installer> entry shown in the above example indicates that 39 "com.example.app" should be considered a "trusted installer". Apps installed by "trusted installers" 42 If zero <enhanced-confirmation-trusted-installer> entries are declared, then *all* packages will be 47 C. The app is marked by its installer as coming from an untrustworthy package source. 49 (For example, an installer may set an app's package source to 53 If one or more <enhanced-confirmation-trusted-installer> entries are declared, then packages must, 56 A. Be installed by an installer with a matching <enhanced-confirmation-trusted-installer> entry 57 declared, and be marked as coming from an "trustworthy" package source by the installer, or [all …]
|
/aosp_15_r20/external/pytorch/.ci/pytorch/win-test-helpers/installation-helpers/ |
H A D | install_xpu.bat | 22 start /wait "Intel XPU Driver Installer" "xpu_driver.exe" 42 if exist "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" goto xpu_bundle_ver_check 47 "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --list-products > xpu_bundle_installed_ver.log 54 …start /wait "Installer Title" "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --action=remove --… 62 …start /wait "Installer Title" "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --action=remove --… 79 start /wait "Intel Pytorch Bundle Installer" "xpu_bundle.exe" --action=install --eula=accept --sile… 87 start /wait "Intel PTI Installer" "xpu_pti.exe" --action=install --eula=accept --silent --log-dir i…
|
/aosp_15_r20/out/target/product/shiba/obj/ETC/enhanced-confirmation.xml_intermediates/ |
D | enhanced-confirmation.xml | 29 <enhanced-confirmation-trusted-installer 30 package="com.example.installer" 38 The <enhanced-confirmation-trusted-installer> entry shown in the above example indicates that 39 "com.example.app" should be considered a "trusted installer". Apps installed by "trusted installers" 42 If zero <enhanced-confirmation-trusted-installer> entries are declared, then *all* packages will be 47 C. The app is marked by its installer as coming from an untrustworthy package source. 49 (For example, an installer may set an app's package source to 53 If one or more <enhanced-confirmation-trusted-installer> entries are declared, then packages must, 56 A. Be installed by an installer with a matching <enhanced-confirmation-trusted-installer> entry 57 declared, and be marked as coming from an "trustworthy" package source by the installer, or [all …]
|
/aosp_15_r20/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
H A D | IntentTest.kt | 87 * Check that we can install an app via a package-installer intent 107 * Install an app via a package-installer intent, but then cancel it when the package installer 152 * Install an app via a package-installer intent, and assign itself as the installer. 161 // Install should have succeeded, and system will use the given installer package name in installWithCallingInstallerPackageName() 162 // in EXTRA_INSTALLER_PACKAGE_NAME as the installer. in installWithCallingInstallerPackageName() 168 * Install an app via a package-installer intent, but assign another package as installer 179 // Install should have succeeded, but system won't use the given installer package name in installWithAnotherInstallerPackageName() 180 // in EXTRA_INSTALLER_PACKAGE_NAME as the installer. in installWithAnotherInstallerPackageName() 189 * Install an app via a package-installer intent, but assign an invalid installer 199 // Install should have succeeded, but system won't use the given installer package name in installWithLongInstallerPackageName() [all …]
|