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/core/java/com/android/internal/content/
DPackageHelper.java34 import android.os.storage.StorageResultCode;
96 if (rc != StorageResultCode.OperationSucceeded) { in createSdDir()
116 if (rc == StorageResultCode.OperationSucceeded) { in resizeSdDir()
133 if (rc != StorageResultCode.OperationSucceeded) { in mountSdDir()
147 if (rc != StorageResultCode.OperationSucceeded) { in unMountSdDir()
161 if (rc != StorageResultCode.OperationSucceeded) { in renameSdDir()
197 if (rc != StorageResultCode.OperationSucceeded) { in finalizeSdDir()
213 if (rc != StorageResultCode.OperationSucceeded) { in destroySdDir()
326 if (rc != StorageResultCode.OperationSucceeded) { in fixSdPermissions()
/frameworks/base/services/core/java/com/android/server/
DMountService.java74 import android.os.storage.StorageResultCode;
1970 int rc = StorageResultCode.OperationSucceeded; in createSecureContainer()
1975 rc = StorageResultCode.OperationFailedInternalError; in createSecureContainer()
1978 if (rc == StorageResultCode.OperationSucceeded) { in createSecureContainer()
1992 int rc = StorageResultCode.OperationSucceeded; in resizeSecureContainer()
1996 rc = StorageResultCode.OperationFailedInternalError; in resizeSecureContainer()
2005 int rc = StorageResultCode.OperationSucceeded; in finalizeSecureContainer()
2013 rc = StorageResultCode.OperationFailedInternalError; in finalizeSecureContainer()
2022 int rc = StorageResultCode.OperationSucceeded; in fixPermissionsSecureContainer()
2030 rc = StorageResultCode.OperationFailedInternalError; in fixPermissionsSecureContainer()
[all …]
/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;
1201 if (ret != StorageResultCode.OperationSucceeded) { in mountMedia()