Searched refs:mSm (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/cmds/sm/src/com/android/commands/sm/
H A DSm.java34 IStorageManager mSm; field in class:Sm
61 mSm = IStorageManager.Stub.asInterface(ServiceManager.getService("mount"));
62 if (mSm == null) {
111 final DiskInfo[] disks = mSm.getDisks();
132 final VolumeInfo[] vols = mSm.getVolumes(0);
146 System.out.println(mSm.getPrimaryStorageUuid());
155 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_ON, mask);
158 mSm.setDebugFlags(StorageManager.DEBUG_ADOPTABLE_FORCE_OFF, mask);
162 mSm.setDebugFlags(0, mask);
172 mSm
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java452 private StateMachine mSm; field in class:StateMachine.LogRec
483 mSm = sm;
548 String what = mSm != null ? mSm.getWhatToString(mWhat) : "";
720 private StateMachine mSm; field in class:StateMachine.SmHandler
772 mSm.haltedProcessMessage(msg);
796 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) {
797 mSm.onPreHandleMessage(msg);
800 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what);
821 // We need to check if mSm
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java41 protected StorageManager mSm = null; field in class:StorageManagerBaseTest
214 mSm = (StorageManager)mContext.getSystemService(android.content.Context.STORAGE_SERVICE);
247 // get mSm obb mount path
248 assertTrue("Cannot open file when OBB is not mounted!", mSm.isObbMounted(obbPath));
250 String path = mSm.getMountedObbPath(obbPath);
330 boolean success = mSm.mountObb(obbFilePath, key, obbListener);
336 success &= mSm.isObbMounted(obbListener.officialPath());
338 success &= !mSm.isObbMounted(obbListener.officialPath());
362 assertTrue("mountObb call failed", mSm.mountObb(obbFilePath, key, obbListener));
370 mSm
[all...]
H A DStorageManagerIntegrationTest.java167 assertTrue("mounted path should still be mounted!", mSm.isObbMounted(obbFilePath));
175 mSm.isObbMounted(obbFilePath));
230 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor(
233 firstMountId = mSm.getProxyFileDescriptorMountPointId();
242 try (final ParcelFileDescriptor fd = mSm.openProxyFileDescriptor(
245 assertNotSame(firstMountId, mSm.getProxyFileDescriptorMountPointId());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareStateManager.java216 private WifiAwareStateMachine mSm; field in class:WifiAwareStateManager
384 mSm = new WifiAwareStateMachine(TAG, looper);
385 mSm.setDbg(VVDBG);
386 mSm.start();
389 mDataPathMgr.start(mContext, mSm.getHandler().getLooper(), awareMetrics,
495 mSm.getHandler().post(() -> {
536 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND);
538 mSm.sendMessage(msg);
546 Message msg = mSm.obtainMessage(MESSAGE_TYPE_COMMAND);
548 mSm
[all...]

Completed in 138 milliseconds