Gracefully handle missing resource directory

User reported crash b/17620443

Change-Id: I36065298ecc07bfc0ea1ac5e01112e0f356a3335
Hprof: added common classes query.

We didn't previously retain the classloader information, this CL also
fixes that and adds a test for the query.

Change-Id: I3bd89c55d97b8796e08aa8717e0dba7622f0aa53
Merge "Gracefully handle missing resource directory" into studio-1.0-dev
Split creation of variant and tasks in variant manager

Change-Id: I6e478d5665d6b019c52da1087b8c2298ff9a143c
Merge "Hprof: added common classes query." into studio-1.0-dev
Support JUnit4 test states in ddmlib

Android devices, via the android.support.test library, are now capable
of executing JUnit4 tests.

With respect to JUnit3, JUnit4 adds possible 'ignored' and
'assumption failure' test result states, and removes 'error'.

This commit changes the ITestRunListener interface to follow the JUnit4
states. When using a legacy JUnit3 runner, any test errors will be
reported as failures.

Bug: 16684768
Change-Id: I0a3cb57c143dcdcc21c7d755087bb7e5e67b9413
Merge "Support JUnit4 test states in ddmlib" into studio-1.0-dev
Fix build error in SimpleTestCallable

Change-Id: If82ca91f1e857a8df5487106fbcea7132614ef87
Merge "Fix build error in SimpleTestCallable" into studio-1.0-dev
Merge "Split creation of variant and tasks in variant manager" into studio-1.0-dev
Create integration test framework for android gradle plugin.

Change-Id: I087a24c5a4026ae6c8ae18c3195c81234a5dfd63
(cherry picked from commit 08e866602d910a3b88fc9e9055b1b789777641cc)
Merge "Create integration test framework for android gradle plugin." into studio-1.0-dev
Add tasks to create gdb.setup and gdbserver for debug build.

(cherry picked from commit a1aed4957bf172576ea55c443c7d3e563cff198b)

Change-Id: Id04f71a0105f4785453f16f591ef5a80a62a8249
Fixed infinite loop in case of invalid circular resource references

Change-Id: I3e3608fd3d700360027813f66458c6636b5b0460
(cherry picked from commit 9659d791065c936fe83d1ac09dc67ef2711edaaf)
Merge "Fixed infinite loop in case of invalid circular resource references" into studio-1.0-dev
Merge "Add tasks to create gdb.setup and gdbserver for debug build." into studio-1.0-dev