HomeSort by relevance Sort by last modified time
    Searched refs:MOUNTED (Results 1 - 7 of 7) sorted by null

  /frameworks/base/core/java/android/os/storage/
OnObbStateChangeListener.java 26 * The OBB container is now mounted and ready for use. Returned in status
29 public static final int MOUNTED = 1;
45 * The OBB could not be mounted by the system. Returned in status messages
58 * A call was made to unmount the OBB when it was not mounted. Returned in
64 * The OBB has already been mounted. Returned in status messages from calls
  /external/e2fsprogs/lib/ext2fs/
ismounted.c 2 * ismounted.c --- Check to see if the filesystem was mounted
40 * filesystem is mounted. Returns an error if the file doesn't exist
124 printf("Bogus entry in %s! (%s not mounted on %s)\n",
143 * read/write, since if the root is mounted read/only, the
181 #if defined(MOUNTED) || defined(_PATH_MOUNTED)
182 #ifndef MOUNTED
183 #define MOUNTED _PATH_MOUNTED
184 #endif /* MOUNTED */
185 retval = check_mntent_file(MOUNTED, file, mount_flags, mtpt, mtlen);
190 #endif /* defined(MOUNTED) || defined(_PATH_MOUNTED) *
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/server/
MountServiceTests.java 149 if (expectedState == OnObbStateChangeListener.MOUNTED) {
150 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath()));
174 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath()));
205 assertFalse("OBB should not be mounted", sm.isObbMounted(file.getPath()));
215 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED);
222 assertTrue("OBB mounted path should be a directory",
236 assertFalse("OBB should not be mounted",
239 assertNull("OBB's mounted path should be null",
252 assertFalse("OBB should not be mounted",
255 assertNull("OBB's mounted path should be null"
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageManagerIntegrationTest.java 120 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED);
146 mountObb(filePath3, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED);
151 mountObb(filePath1, OBB_FILE_1_PASSWORD, OnObbStateChangeListener.MOUNTED);
194 // verify still mounted
195 assertTrue("mounted path should not be null!", obbFilePath != null);
196 assertTrue("mounted path should still be mounted!", mSm.isObbMounted(obbFilePath));
203 assertFalse("mounted path should no longer be mounted!",
232 * Tests remounting a single OBB that has already been mounted
    [all...]
StorageManagerBaseTest.java 82 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB
83 * has been mounted
95 * Mounts OBB_FILE_1, and tries to open a file on the mounted OBB (specified in the
140 * Returns the official path of the OBB file that was mounted
144 * @return a {@link String} representation of the path to the OBB file that was mounted
269 * @param fileName The full name and path to the file on the OBB to open once the OBB is mounted
276 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath));
302 * @return A {@link String} representing the normalized path to OBB file that was mounted
312 * @return A {@link String} representing the normalized path to OBB file that was mounted
315 return doMountObb(obbFilePath, null, OnObbStateChangeListener.MOUNTED);
    [all...]
  /development/samples/Obb/src/com/example/android/obbapp/
ObbMountActivity.java 83 if (state == OnObbStateChangeListener.MOUNTED) {
107 Log.d(TAG, "OBB already mounted");
125 Log.d(TAG, "OBB not mounted");
  /frameworks/base/services/java/com/android/server/
MountService.java 96 public static final int Mounted = 4;
156 * Private hash of currently mounted secure containers.
174 * Mounted OBB tracking information. Used to track the current state of all
435 * In the simulator, we need to broadcast a volume mounted event
439 notifyVolumeStateChange(null, "/sdcard", VolumeState.NoMedia, VolumeState.Mounted);
527 * remove those from the list of mounted OBBS.
587 } else if (st == VolumeState.Mounted) {
589 Slog.i(TAG, "Media already mounted on daemon connection");
760 } else if (newState == VolumeState.Mounted) {
761 if (DEBUG_EVENTS) Slog.i(TAG, "updating volume state mounted");
    [all...]

Completed in 428 milliseconds