Home
last modified time | relevance | path

Searched refs:STATE_MOUNTED (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java34 import static android.os.storage.VolumeInfo.STATE_MOUNTED;
64 sInternalVol.state = STATE_MOUNTED;
68 sAdoptedVol.state = STATE_MOUNTED;
71 sPublicVol.state = STATE_MOUNTED;
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java86 public static final int STATE_MOUNTED = 2; field in VolumeInfo
120 sStateToEnvironment.put(VolumeInfo.STATE_MOUNTED, Environment.MEDIA_MOUNTED); in sStateToEnvironment.put() argument
139 sStateToDescrip.put(VolumeInfo.STATE_MOUNTED, R.string.ext_media_status_mounted); in sStateToDescrip.put() argument
252 return state == STATE_MOUNTED || state == STATE_MOUNTED_READ_ONLY; in isMountedReadable()
256 return state == STATE_MOUNTED; in isMountedWritable()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java39 import static android.os.storage.VolumeInfo.STATE_MOUNTED;
67 internalVol.state = STATE_MOUNTED; in createStorageManagerMock()
73 adoptedVol.state = STATE_MOUNTED; in createStorageManagerMock()
78 publicVol.state = STATE_MOUNTED; in createStorageManagerMock()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java123 if (newState == VolumeInfo.STATE_MOUNTED) { in StorageStatsService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java300 case VolumeInfo.STATE_MOUNTED: in onPublicVolumeStateChangedInternal()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java872 internal.state = VolumeInfo.STATE_MOUNTED; in addInternalVolumeLocked()
1346 case VolumeInfo.STATE_MOUNTED: in isBroadcastWorthy()