Home
last modified time | relevance | path

Searched refs:mManager (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManagerTest.java44 private MultiSelectManager mManager; field in MultiSelectManagerTest
53 mManager = new MultiSelectManager(mEnv, mAdapter, MultiSelectManager.MODE_MULTIPLE, null); in setUp()
54 mManager.addCallback(mCallback); in setUp()
59 mManager.toggleSelection(items.get(7)); in testSelection()
62 mManager.toggleSelection(items.get(7)); in testSelection()
68 mManager.toggleSelection(items.get(7)); in testSelection_NotifiesSelectionChanged()
71 mManager.toggleSelection(items.get(7)); in testSelection_NotifiesSelectionChanged()
89 mManager.setItemsSelected(Lists.newArrayList(items.get(7)), true); in testSetSelectionFocusBegin()
90 mManager.setSelectionRangeBegin(7); in testSetSelectionFocusBegin()
163 mManager.onLongPress(TestInputEvent.tap(17)); in testSingleTapUp_ShiftReducesSelectionRange_FromPreviousShiftClick_Backwards()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java41 MtpManager mManager; field in MtpManagerTest
47 mManager = new MtpManager(getContext()); in setUp()
48 mUsbDevice = TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager); in setUp()
53 mManager.closeDevice(mUsbDevice.getDeviceId()); in tearDown()
69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testCancelEvent()
84 final MtpDeviceRecord[] records = mManager.getDevices(); in testOperationsSupported()
91 final MtpDeviceRecord[] records = mManager.getDevices(); in testEventsSupported()
98 final MtpDeviceRecord[] records = mManager.getDevices(); in testDeviceKey()
108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testEventObjectAdded()
119 for (final MtpDeviceRecord record : mManager.getDevices()) { in testCreateDocumentAndGetPartialObject()
[all …]
DDocumentLoaderTest.java37 private BlockableTestMtpManager mManager; field in DocumentLoaderTest
58 mManager = new BlockableTestMtpManager(getContext()); in setUp()
73 setUpDocument(mManager, 40); in testBasic()
74 mManager.blockDocument(0, 15); in testBasic()
75 mManager.blockDocument(0, 35); in testBasic()
84 mManager.unblockDocument(0, 15); in testBasic()
95 mManager.unblockDocument(0, 35); in testBasic()
108 mManager = new BlockableTestMtpManager(getContext()) { in testError_GetObjectHandles()
116 mManager.setObjectHandles(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, null); in testError_GetObjectHandles()
127 mManager = new BlockableTestMtpManager(getContext()) { in testError_GetObjectInfo()
[all …]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java191 private EditorManager mManager; field in EditStyledText
235 mManager.showSoftKey(Selection.getSelectionStart(getText()), in onTouchEvent()
238 mManager.showSoftKey(oldSelStart, oldSelEnd); in onTouchEvent()
242 mManager.onCursorMoved(); in onTouchEvent()
243 mManager.unsetTextComposingMask(); in onTouchEvent()
255 ss.mBackgroundColor = mManager.getBackgroundColor(); in onSaveInstanceState()
273 if (mManager != null) { in drawableStateChanged()
274 mManager.onRefreshStyles(); in drawableStateChanged()
287 mManager.blockSoftKey(); in onTextContextMenuItem()
299 mManager.onStartSelectAll(false); in onTextContextMenuItem()
[all …]
/frameworks/base/wifi/java/android/net/wifi/nan/
DWifiNanSession.java36 protected WifiNanManager mManager; field in WifiNanSession
54 mManager = manager; in WifiNanSession()
66 mManager.stopSession(mSessionId); in stop()
76 mManager.destroySession(mSessionId); in destroy()
111 mManager.sendMessage(mSessionId, peerId, message, messageLength, messageId); in sendMessage()
DWifiNanSubscribeSession.java45 mManager.subscribe(mSessionId, subscribeData, subscribeSettings); in subscribe()
DWifiNanPublishSession.java45 mManager.publish(mSessionId, publishData, publishSettings); in publish()
/frameworks/support/v4/java/android/support/v4/app/
DBackStackRecord.java197 final FragmentManagerImpl mManager; field in BackStackRecord
358 mManager = manager; in BackStackRecord()
375 return mManager.mHost.getContext().getText(mBreadCrumbTitleRes); in getBreadCrumbTitle()
382 return mManager.mHost.getContext().getText(mBreadCrumbShortTitleRes); in getBreadCrumbShortTitle()
418 fragment.mFragmentManager = mManager; in doAddOp()
631 mManager.execSingleAction(this, false); in commitNow()
637 mManager.execSingleAction(this, true); in commitNowAllowingStateLoss()
650 mIndex = mManager.allocBackStackIndex(this); in commitInternal()
654 mManager.enqueueAction(this, allowStateLoss); in commitInternal()
672 if (SUPPORTS_TRANSITIONS && mManager.mCurState >= Fragment.CREATED) { in run()
[all …]
/frameworks/base/core/java/android/app/
DBackStackRecord.java208 final FragmentManagerImpl mManager; field in BackStackRecord
405 mManager = manager; in BackStackRecord()
422 return mManager.mHost.getContext().getText(mBreadCrumbTitleRes); in getBreadCrumbTitle()
429 return mManager.mHost.getContext().getText(mBreadCrumbShortTitleRes); in getBreadCrumbShortTitle()
465 fragment.mFragmentManager = mManager; in doAddOp()
681 mManager.execSingleAction(this, false); in commitNow()
687 mManager.execSingleAction(this, true); in commitNowAllowingStateLoss()
703 mIndex = mManager.allocBackStackIndex(this); in commitInternal()
707 mManager.enqueueAction(this, allowStateLoss); in commitInternal()
724 if (mManager.mCurState >= Fragment.CREATED) { in run()
[all …]
/frameworks/base/libs/hwui/thread/
DTaskProcessor.h39 TaskProcessor(TaskManager* manager): mManager(manager) { } in TaskProcessor()
61 TaskManager* mManager; variable
66 if (mManager) { in addImpl()
68 return mManager->addTask(task, self); in addImpl()
/frameworks/base/core/java/android/content/
DUndoOwner.java26 final UndoManager mManager; field in UndoOwner
43 mManager = manager; in UndoOwner()
68 " mManager=" + mManager + in toString()
DUndoManager.java548 if (owner.mManager != this) { in addOperation()
739 private final UndoManager mManager; field in UndoManager.UndoState
748 mManager = manager; in UndoState()
753 mManager = manager; in UndoState()
760 UndoOwner owner = mManager.restoreOwner(p); in UndoState()
779 mManager.saveOwner(op.mOwner, p); in writeToParcel()
933 mManager.removeOwner(owner); in destroy()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java69 private final UsbManager mManager; field in MtpManager
73 mManager = (UsbManager) context.getSystemService(Context.USB_SERVICE); in MtpManager()
78 for (final UsbDevice candidate : mManager.getDeviceList().values()) { in openDevice()
87 if (!mManager.hasPermission(rawDevice)) { in openDevice()
88 mManager.grantPermission(rawDevice); in openDevice()
89 if (!mManager.hasPermission(rawDevice)) { in openDevice()
97 mManager.openDevice(rawDevice), in openDevice()
121 for (UsbDevice device : mManager.getDeviceList().values()) { in getDevices()
DPipeManager.java58 protected final MtpManager mManager; field in PipeManager.Task
63 mManager = manager; in Task()
81 mManager.importFile( in run()
105 stream.write(mManager.getThumbnail( in run()
DRootScanner.java55 final MtpManager mManager; field in RootScanner
66 mManager = manager; in RootScanner()
136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run()
DDocumentLoader.java245 final MtpManager mManager; field in DocumentLoader.LoaderTask
259 mManager = manager; in LoaderTask()
279 mObjectHandles = mManager.getObjectHandles( in loadObjectHandles()
333 infoList.add(mManager.getObjectInfo( in loadObjectInfoList()
362 objectSizeList[i] = mManager.getObjectSizeLong( in loadObjectInfoList()
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp27 mManager{manager}, mAutoLock{manager->mMutex}, mAcquired(false) {} in AutoConditionLock()
33 mManager->mState = false; in ~AutoConditionLock()
34 mManager->mCondition.broadcast(); in ~AutoConditionLock()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java74 private final AccessibilityManager mManager; field in ExploreByTouchHelper
103 mManager = (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); in ExploreByTouchHelper()
140 if (!mManager.isEnabled() || !mManager.isTouchExplorationEnabled()) { in dispatchHoverEvent()
179 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
238 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView()
610 if (!mManager.isEnabled() in requestAccessibilityFocus()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorManager.java34 private static AggregatorManager mManager = null; field in AggregatorManager
45 if (mManager == null ) in getInstance()
46 mManager = new AggregatorManager(); in getInstance()
47 return mManager; in getInstance()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java366 private DevicePolicyManager mManager; field in DeviceAdminReceiver
374 if (mManager != null) { in getManager()
375 return mManager; in getManager()
377 mManager = (DevicePolicyManager)context.getSystemService( in getManager()
379 return mManager; in getManager()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java511 protected final SystemSensorManager mManager; field in SystemSensorManager.BaseEventQueue
522 mManager = manager; in BaseEventQueue()
553 Sensor sensor = mManager.mHandleToSensor.get(handle); in removeAllSensors()
653 mManager.mTargetSdkLevel)); in addSensorEvent()
671 final Sensor sensor = mManager.mHandleToSensor.get(handle); in dispatchSensorEvent()
707 final Sensor sensor = mManager.mHandleToSensor.get(handle); in dispatchFlushCompleteEvent()
723 final Sensor sensor = mManager.mHandleToSensor.get(handle); in dispatchAdditionalInfoEvent()
748 mManager.mTargetSdkLevel)); in addSensorEvent()
766 final Sensor sensor = mManager.mHandleToSensor.get(handle); in dispatchSensorEvent()
787 mManager.cancelTriggerSensorImpl(mListener, sensor, false); in dispatchSensorEvent()
/frameworks/support/v4/java/android/support/v4/widget/
DExploreByTouchHelper.java112 private final AccessibilityManager mManager; field in ExploreByTouchHelper
143 mManager = (AccessibilityManager) context.getSystemService(Context.ACCESSIBILITY_SERVICE); in ExploreByTouchHelper()
182 if (!mManager.isEnabled() in dispatchHoverEvent()
183 || !AccessibilityManagerCompat.isTouchExplorationEnabled(mManager)) { in dispatchHoverEvent()
506 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
567 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView()
954 if (!mManager.isEnabled() in requestAccessibilityFocus()
955 || !AccessibilityManagerCompat.isTouchExplorationEnabled(mManager)) { in requestAccessibilityFocus()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java92 private final CameraManager mManager; field in BlockingCameraManager
105 mManager = manager; in BlockingCameraManager()
154 return (new OpenListener(mManager, cameraId, listener, handler)).blockUntilOpen(); in openCamera()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd114 mManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE);
115 mChannel = mManager.initialize(this, getMainLooper(), null);
168 receiver = new WiFiDirectBroadcastReceiver(mManager, mChannel, this);
187 received back when you initialized the peer-to-peer mManager</li>
193 mManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() {
266 if (mManager != null) {
267 mManager.requestPeers(mChannel, peerListListener);
297 mManager.connect(mChannel, config, new ActionListener() {
358 if (mManager == null) {
370 mManager.requestConnectionInfo(mChannel, connectionListener);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java52 private MediaSessionManager mManager; field in PlayerController
66 mManager = (MediaSessionManager) context in PlayerController()

12