Home
last modified time | relevance | path

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

/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java34 IStorageManager mSm; field in Sm
61 mSm = IStorageManager.Stub.asInterface(ServiceManager.getService("mount")); in run()
62 if (mSm == null) { in run()
117 final DiskInfo[] disks = mSm.getDisks(); in runListDisks()
140 final VolumeInfo[] vols = mSm.getVolumes(0); in runListVolumes()
154 System.out.println(mSm.getPrimaryStorageUuid()); in runGetPrimaryStorageUuid()
163 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_ON, mask); in runSetForceAdoptable()
166 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_OFF, mask); in runSetForceAdoptable()
170 mSm.setDebugFlags(0, mask); in runSetForceAdoptable()
180 mSm.setDebugFlags(StorageManager.DEBUG_SDCARDFS_FORCE_ON, mask); in runSetSdcardfs()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java452 private StateMachine mSm; field in StateMachine.LogRec
483 mSm = sm; in update()
548 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString()
720 private StateMachine mSm; field in StateMachine.SmHandler
772 mSm.haltedProcessMessage(msg); in processMessage()
796 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage()
797 mSm.onPreHandleMessage(msg); in handleMessage()
800 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage()
822 if (mDbg && mSm != null) mSm.log("handleMessage: X"); in handleMessage()
824 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java219 private WifiAwareStateMachine mSm; field in WifiAwareStateManager
389 mSm = new WifiAwareStateMachine(TAG, looper); in start()
390 mSm.setDbg(VVDBG); in start()
391 mSm.start(); in start()
394 mDataPathMgr.start(mContext, mSm.getHandler().getLooper(), awareMetrics, in start()
500 mSm.getHandler().post(() -> { in requestMacAddresses()
541 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in delayedInitialization()
543 mSm.sendMessage(msg); in delayedInitialization()
551 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND); in getAwareInterface()
553 mSm.sendMessage(msg); in getAwareInterface()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java41 protected StorageManager mSm = null; field in StorageManagerBaseTest
125 mSm = (StorageManager)mContext.getSystemService(android.content.Context.STORAGE_SERVICE); in setUp()
159 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath)); in openFileOnMountedObb()
161 String path = mSm.getMountedObbPath(obbPath); in openFileOnMountedObb()
241 boolean success = mSm.mountObb(obbFilePath, key, obbListener); in doMountObb_noThrow()
247 success &= mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow()
249 success &= !mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow()
273 assertTrue("mountObb call failed", mSm.mountObb(obbFilePath, key, obbListener)); in doMountObb()
282 mSm.isObbMounted(obbListener.officialPath())); in doMountObb()
285 mSm.isObbMounted(obbListener.officialPath())); in doMountObb()
[all …]
DStorageManagerIntegrationTest.java191 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor( in testOpenProxyFileDescriptor()
194 firstMountId = mSm.getProxyFileDescriptorMountPointId(); in testOpenProxyFileDescriptor()
203 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor( in testOpenProxyFileDescriptor()
206 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId()); in testOpenProxyFileDescriptor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java337 private SubscriptionManager mSm; field in EuiccConnector
382 mSm = (SubscriptionManager) in init()
1212 mSm.requestEmbeddedSubscriptionInfoListRefresh(); in updateSubscriptionInfoListForAllAccessibleEuiccs()
1216 mSm.requestEmbeddedSubscriptionInfoListRefresh(cardInfo.getCardId()); in updateSubscriptionInfoListForAllAccessibleEuiccs()