Home
last modified time | relevance | path

Searched refs:mSm (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java37 IStorageManager mSm; field in Sm
64 mSm = IStorageManager.Stub.asInterface(ServiceManager.getService("mount")); in run()
65 if (mSm == null) { in run()
120 final DiskInfo[] disks = mSm.getDisks(); in runListDisks()
143 final VolumeInfo[] vols = mSm.getVolumes(0); in runListVolumes()
157 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid()
166 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_ON, mask); in runSetForceAdoptable()
169 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_OFF, mask); in runSetForceAdoptable()
173 mSm.setDebugFlags(0, mask); in runSetForceAdoptable()
183 mSm.setDebugFlags(StorageManager.DEBUG_SDCARDFS_FORCE_ON, mask); in runSetSdcardfs()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java453 private StateMachine mSm; field in StateMachine.LogRec
484 mSm = sm; in update()
549 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString()
721 private StateMachine mSm; field in StateMachine.SmHandler
773 mSm.haltedProcessMessage(msg); in processMessage()
797 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage()
798 mSm.onPreHandleMessage(msg); in handleMessage()
801 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage()
823 if (mDbg && mSm != null) mSm.log("handleMessage: X"); in handleMessage()
825 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/
DStorageManagerBaseTest.java49 protected StorageManager mSm = null; field in StorageManagerBaseTest
131 mSm = (StorageManager)mContext.getSystemService(android.content.Context.STORAGE_SERVICE); in setUp()
143 long result = mSm.getStorageCacheBytes(mFile, 0); in testGetStorageCacheBytesUnderHighStorage()
155 long result = mSm.getStorageCacheBytes(mFile, 0); in testGetStorageCacheBytesUnderLowStorage()
168 long result = mSm.getStorageCacheBytes(mFile, 0); in testGetStorageCacheBytesUnderModerateStorage()
202 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath)); in openFileOnMountedObb()
204 String path = mSm.getMountedObbPath(obbPath); in openFileOnMountedObb()
283 boolean success = mSm.mountObb(obbFilePath, null, obbListener); in doMountObb_noThrow()
289 success &= mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow()
291 success &= !mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow()
[all …]
DStorageManagerIntegrationTest.java138 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor( in testOpenProxyFileDescriptor()
141 firstMountId = mSm.getProxyFileDescriptorMountPointId(); in testOpenProxyFileDescriptor()
150 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor( in testOpenProxyFileDescriptor()
153 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId()); in testOpenProxyFileDescriptor()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DMasterClearReceiverTest.java77 return mSm;
96 private StorageManager mSm; field in MasterClearReceiverTest
224 }).when(mSm).wipeAdoptableDisks(); in expectWipeExternalData()
260 verify(mSm).wipeAdoptableDisks(); in verifyWipeExternalData()
264 verify(mSm, never()).wipeAdoptableDisks(); in verifyNoWipeExternalData()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/
DFactoryResetterTest.java65 private @Mock StorageManager mSm; field in FactoryResetterTest
82 if (serviceClass.equals(StorageManager.class)) return mSm; in startSession()
287 verify(mSm, never()).wipeAdoptableDisks(); in verifyWipeAdoptableStorageNotCalled()
291 verify(mSm).wipeAdoptableDisks(); in verifyWipeAdoptableStorageCalled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java344 private SubscriptionManager mSm; field in EuiccConnector
389 mSm = (SubscriptionManager) in init()
1245 mSm.requestEmbeddedSubscriptionInfoListRefresh(); in updateSubscriptionInfoListForAllAccessibleEuiccs()
1249 mSm.requestEmbeddedSubscriptionInfoListRefresh(cardInfo.getCardId()); in updateSubscriptionInfoListForAllAccessibleEuiccs()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4904 private final SubscriptionManager mSm;
4907 mSm = sm;
4912 final List<SubscriptionInfo> currentSubs = mSm.getCompleteActiveSubscriptionInfoList();