summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorrich cannings <richc@google.com>2012-08-22 14:28:05 -0700
committerrich cannings <richc@google.com>2012-08-23 15:39:02 -0700
commitd9ef3e5495db1c46bcfcc1a2d4386af8db6deb0c (patch)
tree9b78fc4eb2e237ee7ad49eb70cc558f871ff9a48 /test-runner
parentbb121d569cd6bc7bf4018ef12756247009988863 (diff)
downloadframeworks_base-d9ef3e5495db1c46bcfcc1a2d4386af8db6deb0c.zip
frameworks_base-d9ef3e5495db1c46bcfcc1a2d4386af8db6deb0c.tar.gz
frameworks_base-d9ef3e5495db1c46bcfcc1a2d4386af8db6deb0c.tar.bz2
Allow verifiers to extend timeout
Create a new verifier API to extend the timeout for a giving package, including the resulting action (allow or deny) upon the timeout occuring. Bug: 6901038 Change-Id: I351f7944327f863aff1d7dd1227be74652fa1511
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java
index 0fb51f0..ac40fc6b 100644
--- a/test-runner/src/android/test/mock/MockPackageManager.java
+++ b/test-runner/src/android/test/mock/MockPackageManager.java
@@ -536,6 +536,12 @@ public class MockPackageManager extends PackageManager {
throw new UnsupportedOperationException();
}
+ @Override
+ public void extendVerificationTimeout(int id, int verificationCodeAtTimeout,
+ long millisecondsToDelay) {
+ throw new UnsupportedOperationException();
+ }
+
/**
* @hide
*/