summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-02-04 17:38:14 -0800
committerDianne Hackborn <hackbod@google.com>2010-02-09 14:20:55 -0800
commite83cefcef07f9ac025642c1ffec76b4c7ab39cf2 (patch)
tree130696ee2a90150129c3ee98544c5814528c90f9 /test-runner
parent72e5a8820a996c547eacea534b11b6b8f6eca83b (diff)
downloadframeworks_base-e83cefcef07f9ac025642c1ffec76b4c7ab39cf2.zip
frameworks_base-e83cefcef07f9ac025642c1ffec76b4c7ab39cf2.tar.gz
frameworks_base-e83cefcef07f9ac025642c1ffec76b4c7ab39cf2.tar.bz2
New external storage APIs.
This implements the spec for external storage organization, and properly reflects how the media scanner organizes the files it finds. Also includes package manager support for removing app private files from external storage when the application is uninstalled. For the new APIs and paths, the main place to look is Environment and Context.
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/android/test/mock/MockContext.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-runner/android/test/mock/MockContext.java b/test-runner/android/test/mock/MockContext.java
index 57b22f8..ffd757c 100644
--- a/test-runner/android/test/mock/MockContext.java
+++ b/test-runner/android/test/mock/MockContext.java
@@ -158,11 +158,21 @@ public class MockContext extends Context {
}
@Override
+ public File getExternalFilesDir(String type) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public File getCacheDir() {
throw new UnsupportedOperationException();
}
@Override
+ public File getExternalCacheDir() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public File getDir(String name, int mode) {
throw new UnsupportedOperationException();
}