Searched refs:OnObbStateChangeListener (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MountServiceTests.java | 23 import android.os.storage.OnObbStateChangeListener; 49 private static class ObbObserver extends OnObbStateChangeListener { 139 if (expectedState == OnObbStateChangeListener.MOUNTED) { in mountObb() 193 if (expectedState == OnObbStateChangeListener.UNMOUNTED) { in unmountObb() 204 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); in testMountAndUnmountObbNormal() 206 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in testMountAndUnmountObbNormal() 214 unmountObb(sm, outFile, OnObbStateChangeListener.UNMOUNTED); in testMountAndUnmountObbNormal() 224 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in testAttemptMountNonObb() 244 OnObbStateChangeListener.ERROR_PERMISSION_DENIED); in testAttemptMountObbWrongPackage() 264 waitForObbActionCompletion(sm, file1, oo1, OnObbStateChangeListener.MOUNTED, false); in testMountAndUnmountTwoObbs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerIntegrationTest.java | 92 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); in testMountSingleEncryptedObb() 104 mountObb(filePath, OBB_FILE_1_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT); in testMountSingleEncryptedObbInvalidPassword() 117 mountObb(filePath3, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); in testMountTwoEncryptedObb() 122 mountObb(filePath1, OBB_FILE_1_PASSWORD, OnObbStateChangeListener.MOUNTED); in testMountTwoEncryptedObb() 145 mountObb(filePath, OBB_FILE_2_UNSIGNED, OnObbStateChangeListener.ERROR_INTERNAL); in testMountUnsignedObb() 160 OnObbStateChangeListener.ERROR_PERMISSION_DENIED); in testMountBadPackageNameObb() 172 mountObb(filePath, null, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in testRemountObb()
|
D | StorageManagerBaseTest.java | 68 public class ObbListener extends OnObbStateChangeListener { 198 return doMountObb(obbFilePath, null, OnObbStateChangeListener.MOUNTED); in mountObb() 245 if (OnObbStateChangeListener.MOUNTED == expectedState) { in doMountObb_noThrow() 279 if (OnObbStateChangeListener.MOUNTED == expectedState) { in doMountObb() 283 } else if (OnObbStateChangeListener.UNMOUNTED == expectedState) { in doMountObb() 311 success &= (OnObbStateChangeListener.UNMOUNTED == obbListener.state()); in unmountObb_noThrow() 333 assertEquals("OBB failed to unmount", OnObbStateChangeListener.UNMOUNTED, in unmountObb()
|
/frameworks/base/core/java/android/os/storage/ |
D | OnObbStateChangeListener.java | 23 public abstract class OnObbStateChangeListener { class
|
D | StorageManager.java | 429 public int addListener(OnObbStateChangeListener listener) { in addListener() 448 private final WeakReference<OnObbStateChangeListener> mObbEventListenerRef; 453 ObbListenerDelegate(OnObbStateChangeListener listener) { in ObbListenerDelegate() 455 mObbEventListenerRef = new WeakReference<OnObbStateChangeListener>(listener); in ObbListenerDelegate() 459 final OnObbStateChangeListener changeListener = getListener(); in ObbListenerDelegate() 469 OnObbStateChangeListener getListener() { in getListener() 619 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { in mountObb() 665 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { in unmountObb()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 30 import static android.os.storage.OnObbStateChangeListener.ERROR_ALREADY_MOUNTED; 31 import static android.os.storage.OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT; 32 import static android.os.storage.OnObbStateChangeListener.ERROR_COULD_NOT_UNMOUNT; 33 import static android.os.storage.OnObbStateChangeListener.ERROR_INTERNAL; 34 import static android.os.storage.OnObbStateChangeListener.ERROR_NOT_MOUNTED; 35 import static android.os.storage.OnObbStateChangeListener.ERROR_PERMISSION_DENIED; 36 import static android.os.storage.OnObbStateChangeListener.MOUNTED; 37 import static android.os.storage.OnObbStateChangeListener.UNMOUNTED; 105 import android.os.storage.OnObbStateChangeListener; 3400 OnObbStateChangeListener.UNMOUNTED); in handleMessage()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22442 public abstract class OnObbStateChangeListener { 22443 ctor public OnObbStateChangeListener(); 22458 … boolean mountObb(java.lang.String, java.lang.String, android.os.storage.OnObbStateChangeListener); 22459 … public boolean unmountObb(java.lang.String, boolean, android.os.storage.OnObbStateChangeListener);
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 35848 public abstract class OnObbStateChangeListener { 35849 ctor public OnObbStateChangeListener(); 35879 method public boolean mountObb(String, String, android.os.storage.OnObbStateChangeListener); 35883 method public boolean unmountObb(String, boolean, android.os.storage.OnObbStateChangeListener);
|
/frameworks/base/api/ |
D | current.txt | 35992 public abstract class OnObbStateChangeListener { 35993 ctor public OnObbStateChangeListener(); 36023 method public boolean mountObb(String, String, android.os.storage.OnObbStateChangeListener); 36027 method public boolean unmountObb(String, boolean, android.os.storage.OnObbStateChangeListener);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 52721 …rage/StorageManager$ObbActionListener;->addListener(Landroid/os/storage/OnObbStateChangeListener;)I 52724 …age/StorageManager$ObbListenerDelegate;->getListener()Landroid/os/storage/OnObbStateChangeListener;
|