summaryrefslogtreecommitdiff
path: root/src/plugins/android/avdmanageroutputparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Android: Add extension to the package name in SdkManagerArtem Sokolovskii2023-02-031-0/+8
| | | | | | | | | | - Add "Extension 4" if the name contain "-ext4" - Fix issue with two Tiramisu packages, now one of them conatin "Extension 4" in the end. Change-Id: Ib84807e9401acdef53c3dc1195dc3dc6ef34a57d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: FilePath-ify AVD handling codeAlessandro Portale2023-01-041-3/+3
| | | | | | | Change-Id: Id08414f8fb9ce7f4fac5221cd24392e25f02f00d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Utils: Add sorted() functionChristian Kandeler2022-10-251-3/+1
| | | | | | | | | For simpler calling code. Change-Id: Ia0a16a28770fd172f74d06a626148248bf5d3c0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Utils: Remove Utils::optionalEike Ziller2022-09-011-3/+3
| | | | | | | | | | Since we are now requiring macOS 10.14 we can remove our local implementation of optional and use std::optional for macOS too. Change-Id: I2bd018261b68da64f7f031a812045dd7784697e1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Remove variant.hMarco Bubke2022-08-231-4/+5
| | | | | | | | | | Since we are now requiring macOS 10.14 we can remove our local copy of std::variant and use for macOS std::variant too. Change-Id: I589d03b35fc56878b7392ffa7047a439e588fe43 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: rename avdname to avdName in AndroidDeviceInfoAssam Boudjelthia2022-03-141-2/+2
| | | | | Change-Id: I9f4743b0d9f953f1fa407acfea41345571cb9998 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Get rid of the avd info fields in AndroidDeviceInfoAssam Boudjelthia2022-03-141-12/+1
| | | | | | | | | | | | | | | | The AVD specific fields don't need to be carried out by QtC settings, these can be read from the AVD's config file when they are needed. This also is good because those values can change at any time, either manually or by some other IDE like Android Studio, and thus we don't really need to manage them ourselves. The fields in question are: skin name, target name, sdcard size, openGL status. Change-Id: I86163500ec2fed035e32ec02ed17e182778db4a7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: display Android 13 packages correctly in sdkmangerAssam Boudjelthia2022-03-071-0/+2
| | | | | Change-Id: I49cc45dce0523e55ff56df7e429dd9dc93f46534 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Remove unused includeEike Ziller2022-02-041-1/+0
| | | | | | Change-Id: I98d59fd17dbaca1fcfdf82506ec1fe669fe86f69 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Fix avdmanageroutputparser testEike Ziller2022-02-031-1/+24
| | | | | | | | | | | | | | | - There is no PLUGIN_DEPENDS for tests, and it wouldn't work anyhow because of duplicated symbols. It was interpreted as a dependency and the test disabled because no such target exists. - Move the platformNameToApiLevel(...) function to avdmanageroutputparser.h to break the dependency to a lot of Android support code. Amends 78da7e2922274c429bb677abf63157b8ae679d03 Change-Id: I6933684a76e5291d415c72388caa3df2bee7cbfb Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: remove AndroidDeviceType and State from AndroidDeviceInfoAssam Boudjelthia2021-10-251-4/+4
| | | | | | | | | No need to have these enums which are now only a duplication of IDevice::MachineType and IDevice::DeviceState. Change-Id: Icc3f112f2670c7354bb282b36fad0f0631b9e047 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Move sdkmanager's sdk level parsing to AndroidConfigAssam Boudjelthia2021-10-131-1/+2
| | | | | | | | | | Both the sdkmanger and avdmanager (maybe more) need to parse the sdk level for packages and devices which may contain letters, make them use the same logic. Change-Id: Iff7fef3a66e00fac11b833f73f2f334a4cf1a766 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Various FilePath::fromString -> fromUserInput changesAlessandro Portale2021-09-231-1/+1
| | | | | Change-Id: Ic9c5e2f5c0375468651557f504b101572b72ac06 Reviewed-by: hjk <hjk@qt.io>
* Android: Fix multiple clang clazy warningsAssam Boudjelthia2021-06-011-1/+2
| | | | | Change-Id: I2ea6cebd16c09a8a4502f4719d99a9d85e5e7d02 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Fix AVD display if there are no AVDsEike Ziller2021-05-101-19/+21
| | | | | | | | | Fix that a broken dummy item was shown in the AVD Manager tab in the Android options, if no AVD is available. Fixes: QTCREATORBUG-19338 Change-Id: I31550812c332ff78d107d79682e064aa9eae1070 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Make avd output parsing testableEike Ziller2021-05-101-0/+164
And add some tests Change-Id: Ife0e0c60f55251a1ac23215055ece8fb01478d59 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>