aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/libs
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-1317-921/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* SDK prebuilts: reorganize into tools/lib.Raphael Moll2013-03-062-2/+2
| | | | | | This must be submitted with prebuilts/devtools' change I3d985ed0abf. Change-Id: Icab479e0e8a5c126b0fdc213a792187a14a44f21
* Change more SDK libs to prebuilts.Raphael Moll2013-02-062-10/+4
| | | | | | | | | | | Requires prebuilds/devtools.git I913a29e5f40db99871701461aad6fc38483015d2 To update the prebuilts, you need tools/base.git and the prebuilts/devtools/update_jars.sh script. This is supposed to be an intermediary step as we switch to tools/base. Change-Id: I3dcccfdd9dc243a22a5bfd9db6779d24285db1ac
* SDK: use prebuilts/devtools for sdklibRaphael Moll2013-01-16205-52617/+11
| | | | Change-Id: I55c69a46fb7fa21701025f2df4e4fcc3bfd3ef96
* SDK: use prebuilts/devtools for sdkuilibRaphael Moll2013-01-15109-26536/+11
| | | | Change-Id: Icd6597be885179bd1f0b49d227ece7a3fa9f9bcb
* update classpath to point to new project namesSiva Velusamy2013-01-131-1/+1
| | | | Change-Id: Ic912fdd4b900f42ba6e406b27b911802b8337195
* Merge "Delete ALL the build.gradle from sdk.git"Raphael Moll2013-01-091-72/+0
|\
| * Delete ALL the build.gradle from sdk.gitRaphael Moll2013-01-091-72/+0
| | | | | | | | Change-Id: Ib923638c305105e84f79a18a79ece48d391129c5
* | SDK Manager: make "choose package to install" dialog taller.Raphael Moll2013-01-081-3/+22
|/ | | | | | | | | | Also add an option to copy the package text to clipboard or to print (using the system's default printer, whatever that is.) SDK Bug: 42445 Change-Id: I6969951b8bf1cc58f65fe05b2e5f16ecd2c2e64f
* avd creation dialog: warn if ramSize > 768MSiva Velusamy2012-12-111-2/+4
| | | | Change-Id: Ib34f56ee1e93534500ab9fcad7d3e111af440a8b
* avd edit dialog: Warn if RAM > 512MB for Windows users.Siva Velusamy2012-12-101-0/+15
| | | | | | | There is usually a memory allocation failure on Windows with larger amounts of emulated RAM due to the use of a 32 bit emulator. Change-Id: Id0e59739e77c0aaf2776d7d883d6524de7255de2
* Merge "AVD edit dialog: Fix equality comparison."Siva Velusamy2012-12-101-2/+4
|\
| * AVD edit dialog: Fix equality comparison.Siva Velusamy2012-12-101-2/+4
| | | | | | | | | | | | Fixes http://code.google.com/p/android/issues/detail?id=41188 Change-Id: I568b6c9322ce7ecc2d560999719d79ae68722c06
* | Fix eclipse projects from previous refactoring.Xavier Ducrohet2012-12-062-2/+3
| | | | | | | | Change-Id: Ie7fba967df3008c66310218396ebf228453edd6d
* | Refactor sdklib folder structure.Xavier Ducrohet2012-12-06208-50/+18
|/ | | | | | | | | | Move folders around to match default gradle/maven folder structure. The custom structure confused some IDEs when importing the project as a Gradle project. Change-Id: Ibcee26e6c07d7a53a5d96a33a1e290832ee9928d
* Merge "Add renderscript specific compilation target."Xavier Ducrohet2012-11-301-0/+2
|\
| * Add renderscript specific compilation target.Xavier Ducrohet2012-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | The property name is "renderscript.target" and is to be located in project.properties. If not present, the minSdkVersion (or 11 if lower) is used. Change-Id: Ic243474ce1d5ce2235cbfdfc45092ed8a5ffbbf7
* | Fix nullness annotationTor Norbye2012-11-291-1/+1
|/ | | | Change-Id: Ic9317e88e94dc13f1c11f49a5300349e28f3c747
* SDK: Relative AVD root path.Raphael Moll2012-11-292-9/+184
| | | | | | | | | | | | | | | | | | | AVD have a root ini file in .android/avds/name.ini with a "path" absolute path to the avd config directory. This does 2 things: - force the file to use ISO-8859-1 (aka Latin1) encoding. - add a "path.rel" key with a relative path to the .android folder if the avd directory is at its typical location. The loading logic is: - try to use the "path" key if it points to an existing directory (as an absolute path). - otherwise use the "path.rel" key as a path relative to the .android folder if present. SDK Bug: 40498 Change-Id: I2364c2ee69f48816f3e6f6f33c9fa43170e05587
* Fix device writer to write out XML decimals properlyTor Norbye2012-11-262-3/+27
| | | | Change-Id: I483f1e3dd02a1ac61a06707bcf33ca1c9bb6f034
* Merge "Add getter for location of project property file."Xavier Ducrohet2012-11-261-0/+7
|\
| * Add getter for location of project property file.Xavier Ducrohet2012-11-261-0/+7
| | | | | | | | Change-Id: I8ff04988b2c2cefd073fe81d44eb042e4af70bbc
* | Merge "SDK Manager: auto-select Support Library at startup."Raphael Moll2012-11-261-4/+16
|\ \
| * | SDK Manager: auto-select Support Library at startup.Raphael Moll2012-11-261-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the SDK Manager starts, it auto-selects the Windows driver on Windows. This change makes it also auto-select the Support library extra package. The rationale is that a lot of code now depends on it (ADT templates, docs' sample code) so sooner or later the user will need to install it anyway. We can help newcomers by selecting it upfront. Change-Id: I292c2d324bf68fe6b60f901fa5ecde0176ea5ec1
* | | Merge "SDK Manager: fix to auto-select top platfrom at startup."Raphael Moll2012-11-263-25/+44
|\ \ \ | |/ /
| * | SDK Manager: fix to auto-select top platfrom at startup.Raphael Moll2012-11-263-25/+44
| | | | | | | | | | | | | | | | | | SDK Bug: 40456 Change-Id: I0d19c4cc7f0ea97ad62a0914c75c50f1e604847e
* | | Merge "39939: Cannot use 4.0" WVGA, 4.65" 720p device definitions"Tor Norbye2012-11-261-5/+3
|\ \ \
| * | | 39939: Cannot use 4.0" WVGA, 4.65" 720p device definitionsTor Norbye2012-11-261-5/+3
| | | | | | | | | | | | | | | | Change-Id: I2676307f56613005352da3fef90595491c89d96a
* | | | Fix refresh issue in the AVD Manager.Raphael Moll2012-11-269-183/+246
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In tools 21.0.0, hitting refrehs in the AVD Manager will create the list display to blink rapidly several times in a row. Same happens when a new AVD is created from a device. The issue is that the DeviceManager reparses and rebuilds its internal lists from scratch for every single call to getDevices() and getDeviceStatus(). Each time it notifies the listeners, and consequently the AVD Manager rebuilds its table. 2 fixes for that: - First use a boolean guard to prevent recursive refreshes of the avd manager table in AvdSelector. - Second fix DeviceManager to not rebuilt its lists all the time. This also changes DeviceManager so that callers create one instance that contains all the lists and there no static data shared between the instances. This is more deterministic. It shifts the responsibility to the callers to pass around the same instance if they want the data to remain consistent. Change-Id: Ia0c104395fe599071892e24bc234f8cffde9f635
* | | Merge "TaskHelper: properly parse Pkg.Revision property."Raphael Moll2012-11-262-0/+37
|\ \ \
| * | | TaskHelper: properly parse Pkg.Revision property.Raphael Moll2012-11-192-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK Bug: 36987 Bug was that TaskHelper would fail when parsing a pk revision with an RC value. A quick fix was done in CL 6d266a1bf5992d27fff4400c5d2bd30681c65c3d a while ago. Revisit the fix by using the new FullRevision object to parse the value and create a DeweyDecimal; should avoid us trouble if we later change the format. Change-Id: I5ad1449ebd2606255c27485e60b714b5cf83a308
* | | | Merge "SDK Manager: handle platform-tools preview + final."Raphael Moll2012-11-264-53/+274
|\ \ \ \
| * | | | SDK Manager: handle platform-tools preview + final.Raphael Moll2012-11-154-53/+274
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One issue is that when there was only one instance of platform-tools possible, the computeUpdates() code would pick the first one. But now there can be 2 of them (preview, non-preview) and thus we need to pick up the higher one even if it's not the first choice. Same issue with tools: if a platform depends on tools and there are none installed, we need to pick the highest version of the available preview or final package that satisfies the dependency. Note that in both cases the issue does not arise if there's already a tools or platform-tools installed. Change-Id: I61db2881274dafa32c5c303c0b3569fc336b8e92
* | | | AVD Manager: prevent NPE in AvdInfo.Raphael Moll2012-11-261-4/+8
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AvdInfo.mProperties should never be null. The constructor assumed it could but then the code below uses it without guard in multiple places. Solve this by making sure the constructor doesn't set the map to null. SDK Bug: 40400 Change-Id: I82f4b4c3bfa05ab3b3f57463fdaf5b17273faf56
* | | Persist deletion of devices.Siva Velusamy2012-11-202-6/+20
| | | | | | | | | | | | | | | | | | devices.xml was not updated when devices were being deleted. Change-Id: Ie1c7253da1c5f64ee5d5f26b5e36b0fbc6443671
* | | Fix display of button type in Device Creation DialogSiva Velusamy2012-11-192-11/+25
|/ / | | | | | | | | | | | | | | | | The combo box always had the values "Hardware" and "Software", but it was being compared with the id for ButtonType, which was "hard" or "soft". http://code.google.com/p/android/issues/detail?id=39941 Change-Id: I3b7234a7ddf46d11f5c065a86c42c8cf2c73da12
* | Assume Activity Aliases are just like activities.Siva Velusamy2012-11-061-0/+23
|/ | | | Change-Id: Ide586077b63accc17cc3c4c68e0b62f06fe83b66
* Fix a potential case where aok signing is incomplete.Xavier Ducrohet2012-11-051-1/+5
| | | | Change-Id: I53416ed62f55422f450a2d9dc5e61b53b9bcb7f0
* Update Nexus Rank methodsTor Norbye2012-11-051-1/+7
| | | | Change-Id: I13adb1aa97031185f177a640872c5a98b425e6e8
* Use LinkedHashSet to obtain stable ordering of elements.Siva Velusamy2012-10-294-24/+21
| | | | | | | The hashCode() routine relies on the items being retrieved in a stable sequence. Change-Id: I9a3ffb79bfaa0eb52416f6b06343de7dc89193b2
* Update compiler flags.Tor Norbye2012-10-262-4/+4
| | | | | | | | | | Turns off the ability to use @SuppressWarnings with optional errors is available, but off by default (see Eclipse issue 392875). This turns that off, makes missing enums in switch statements a warning, and synchronizes the settings file to all projects (except tests.) Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
* Close file streams used by parsers (and add guava to sdkcommon)Tor Norbye2012-10-255-20/+18
| | | | | | Plus some nullness annotations. Change-Id: Ia75c6ffa5d6296c991fc86fec050f285b9143429
* One more device menu tweakTor Norbye2012-10-241-2/+4
| | | | Change-Id: I95c2c0cbfbb937cb99623207d21a056f695d973d
* Clean up new avd dialog, unify with layout manager device menuTor Norbye2012-10-242-124/+257
| | | | Change-Id: Iaa6cf80bfb0b6c3d3d150f6c6f853ec420315db2
* AVD Manager: display and select newly created AVD.Raphael Moll2012-10-224-12/+62
| | | | | | | | | | When using Device page > Create AVD, this will switch the AVD Manager to the AVD page, refresh the AVD list and select the new AVD. SDK Bug: 38785 Change-Id: I7cff8f434b16d90cc9e46e938631e6b67bb69af7
* AVD Manager: use device RAM/VM when creating AVD.Raphael Moll2012-10-221-42/+59
| | | | | | | | Also set default target if there's only one in the current SDK. SDK Bug: 38785 Change-Id: I76d92ea4c43f94275f3d4373251a87ec3a6610a1
* Update maven artifacts and add lint.Xavier Ducrohet2012-10-191-0/+1
| | | | | | | | | Updated the groupId of most artifacts to be more reflective of their sub-projects status in the SDK tools. Added lint artifacts. Change-Id: I900a165647a9b7d3c55b473f63c4ca4469762d7b
* Fix generic devices.Xavier Ducrohet2012-10-171-2/+2
| | | | Change-Id: I30fe565366b3bf66f973d88c589fea284d9e0f86
* AVD: display devices in a tab+list.Raphael Moll2012-10-1211-85/+917
| | | | Change-Id: I70c6e0fa0b9622e8050e5d949674377e5ac0ffad
* AVD: Create New Device, experimental layout.Raphael Moll2012-10-111-34/+66
| | | | | | Try a 2-column layout for the Create New Device dialog. Change-Id: I499e44e6207823f6a210bb06f731839c9513b559