1b545bb6e1921249ded43b25789d6fdbdeebec47 |
|
20-Apr-2015 |
Andreas Gampe <agampe@google.com> |
Update AppDataDirGuesser for BaseDexClassLoader Since Jelly Bean 4.3 the toString of a BaseDexClassLoader has had a different format. Update the AppDataDirGuesser to understand that format. Refactor the AppDataDirGuesser to allow unit-testing of the toString parsing. Add testing for some well-known values, and a "continuous" test for API levels >= 17. (cherry picked from commit 4aa9d46e6f9da21ae73f4d6bf89f5134c358c69e) Bug: 20298770 Change-Id: I33d105378cb581523ed9df0e4fa1163a15cdebb2
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|
95689a700bfea5e2d78380a442fc2903cc40a3f2 |
|
12-Oct-2012 |
Mark Brophy <mbrophy@google.com> |
Update to latest dexmaker. This fixes the bug below which prevented mocking of any ViewGroup extension. https://code.google.com/p/dexmaker/issues/detail?id=12 Change-Id: I459fb259244476b89b9a4b50c6a6cf88f2e1f2f6
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|
b09530734220ef8b19f8bfbe66659e92b0ddc795 |
|
10-Aug-2012 |
Tsu Chiang Chuang <tsu@google.com> |
Fix a bug where post JB AppDataDirGuesser gets a null cache directory. This is due to the fact that the format of the classloader changed. We can now use the system property java.io.tmpdir instead. If that fails, we fall back on the original logic.
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|
ebb25ef16a03f478946593d2d2ada043e0007220 |
|
22-Jun-2012 |
Alex Klyubin <klyubin@google.com> |
Make AppDataDirGuesser read classpath using Reflection from the classloader's "path" field when available (Gingerbread and below). The reason for not parsing the classpath from the output of toString() is that on some platforms (e.g., Eclair) the output does not contain the classpath. This change originated in LittleMock r10.
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|
524c023fb37b41e06b69f1b696100dd465acb353 |
|
22-Jun-2012 |
Alex Klyubin <klyubin@google.com> |
Fix a bug where AppDataDirGuesser picked a non-existent cache directory which resulted in DexMaker failing to output files there. The fix makes AppDataDirGuesser create the application's cache directory if necessary. This change originated in LittleMock r9.
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|
73cfa4498f640e0915b95fc806db4a0d54172fe8 |
|
11-Jan-2012 |
Jesse Wilson <jessewilson@google.com> |
Adopt Hugo Hudson's AppDataDirGuesser in the core DexMaker. It's far too cumbersome to rely on frameworks to include such heuristics.
/external/dexmaker/src/main/java/com/google/dexmaker/AppDataDirGuesser.java
|