Home
last modified time | relevance | path

Searched refs:StorageResultCode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java155 assertEquals(StorageResultCode.OperationSucceeded, in test_Fat_External_Create_Success()
165 assertEquals(StorageResultCode.OperationSucceeded, in test_Ext4_External_Create_Success()
171 assertEquals(StorageResultCode.OperationSucceeded, in test_Fat_Internal_Create_Success()
177 assertEquals(StorageResultCode.OperationSucceeded, in test_Ext4_Internal_Create_Success()
192 assertEquals(StorageResultCode.OperationSucceeded, in test_Fat_External_CreateMinSize_Success()
202 assertEquals(StorageResultCode.OperationSucceeded, in test_Ext4_External_CreateMinSize_Success()
208 assertEquals(StorageResultCode.OperationSucceeded, in test_Fat_Internal_CreateMinSize_Success()
214 assertEquals(StorageResultCode.OperationSucceeded, in test_Ext4_Internal_CreateMinSize_Success()
229 assertEquals(StorageResultCode.OperationFailedInternalError, in test_Fat_External_CreateZeroSize_Failure()
238 assertEquals(StorageResultCode.OperationFailedInternalError, in test_Ext4_External_CreateZeroSize_Failure()
[all …]
/frameworks/base/services/core/java/com/android/server/
DMountService.java59 import android.os.storage.StorageResultCode;
445 mObserver.onShutDownComplete(StorageResultCode.OperationSucceeded); in countDown()
623 if (rc != StorageResultCode.OperationSucceeded) { in handleSystemReady()
985 … if ((rc = doMountVolume(path)) != StorageResultCode.OperationSucceeded) { in onEvent()
1101 int rc = StorageResultCode.OperationSucceeded; in doMountVolume()
1110 return StorageResultCode.OperationFailedInternalError; in doMountVolume()
1126 rc = StorageResultCode.OperationFailedNoMedia; in doMountVolume()
1134 rc = StorageResultCode.OperationFailedMediaBlank; in doMountVolume()
1142 rc = StorageResultCode.OperationFailedMediaCorrupt; in doMountVolume()
1144 rc = StorageResultCode.OperationFailedInternalError; in doMountVolume()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java36 import android.os.storage.StorageResultCode;
95 if (rc != StorageResultCode.OperationSucceeded) { in createSdDir()
115 if (rc == StorageResultCode.OperationSucceeded) { in resizeSdDir()
132 if (rc != StorageResultCode.OperationSucceeded) { in mountSdDir()
146 if (rc != StorageResultCode.OperationSucceeded) { in unMountSdDir()
160 if (rc != StorageResultCode.OperationSucceeded) { in renameSdDir()
196 if (rc != StorageResultCode.OperationSucceeded) { in finalizeSdDir()
212 if (rc != StorageResultCode.OperationSucceeded) { in destroySdDir()
325 if (rc != StorageResultCode.OperationSucceeded) { in fixSdPermissions()
/frameworks/base/core/java/android/os/storage/
DStorageResultCode.java25 public class StorageResultCode class
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java52 import android.os.storage.StorageResultCode;
1208 if (ret != StorageResultCode.OperationSucceeded) { in mountMedia()