Searched refs:mSm (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 31 IMountService mSm; field in Sm 58 mSm = IMountService.Stub.asInterface(ServiceManager.getService("mount")); in run() 59 if (mSm == null) { in run() 102 final DiskInfo[] disks = mSm.getDisks(); in runListDisks() 123 final VolumeInfo[] vols = mSm.getVolumes(0); in runListVolumes() 137 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid() 142 mSm.setDebugFlags(forceAdoptable ? StorageManager.DEBUG_FORCE_ADOPTABLE : 0, in runSetForceAdoptable() 151 mSm.setDebugFlags(StorageManager.DEBUG_SDCARDFS_FORCE_ON, mask); in runSetSdcardfs() 154 mSm.setDebugFlags(StorageManager.DEBUG_SDCARDFS_FORCE_OFF, mask); in runSetSdcardfs() 157 mSm.setDebugFlags(0, mask); in runSetSdcardfs() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 450 private StateMachine mSm; field in StateMachine.LogRec 481 mSm = sm; in update() 546 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString() 718 private StateMachine mSm; field in StateMachine.SmHandler 762 mSm.haltedProcessMessage(msg); in processMessage() 786 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage() 787 mSm.onPreHandleMessage(msg); in handleMessage() 790 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage() 812 if (mDbg && mSm != null) mSm.log("handleMessage: X"); in handleMessage() 814 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerBaseTest.java | 44 protected StorageManager mSm = null; field in StorageManagerBaseTest 217 mSm = (StorageManager)mContext.getSystemService(android.content.Context.STORAGE_SERVICE); in setUp() 276 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath)); in openFileOnMountedObb() 278 String path = mSm.getMountedObbPath(obbPath); in openFileOnMountedObb() 358 boolean success = mSm.mountObb(obbFilePath, key, obbListener); in doMountObb_noThrow() 364 success &= mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow() 366 success &= !mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow() 390 assertTrue("mountObb call failed", mSm.mountObb(obbFilePath, key, obbListener)); in doMountObb() 398 mSm.isObbMounted(obbListener.officialPath())); in doMountObb() 401 mSm.isObbMounted(obbListener.officialPath())); in doMountObb() [all …]
|
D | StorageManagerIntegrationTest.java | 198 assertTrue("mounted path should still be mounted!", mSm.isObbMounted(obbFilePath)); in testUnmount_DontForce() 206 mSm.isObbMounted(obbFilePath)); in testUnmount_DontForce()
|