Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DSdpManagerTest.java46 SdpManager mManager = null; field in SdpManagerTest
55 mManager = SdpManager.getDefaultManager(); in testSdpRemove()
66 mManager = SdpManager.getDefaultManager(); in testSdpAdd()
87 handles[++record_id] = mManager.createMapMasRecord(SDP_SERVER_NAME, in addRecords()
94 handles[++record_id] = mManager.createMapMnsRecord(SDP_SERVER_NAME, in addRecords()
101 handles[++record_id] = mManager.createOppOpsRecord(SDP_SERVER_NAME, in addRecords()
107 handles[++record_id] = mManager.createPbapPseRecord(SDP_SERVER_NAME, in addRecords()
114 handles[++record_id] = mManager.createSapsRecord(SDP_SERVER_NAME, in addRecords()
127 assertTrue(mManager.removeSdpRecord(handles[record_id])); in removeRecords()
180 mManager = SdpManager.getDefaultManager(); in testSdpSearchClient()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceProfilesSettings.java63 private LocalBluetoothManager mManager; field in DeviceProfilesSettings
82 mManager = Utils.getLocalBtManager(getActivity()); in onCreate()
83 CachedBluetoothDeviceManager deviceManager = mManager.getCachedDeviceManager(); in onCreate()
86 BluetoothDevice remoteDevice = mManager.getBluetoothAdapter().getRemoteDevice(address); in onCreate()
90 mCachedDevice = deviceManager.addDevice(mManager.getBluetoothAdapter(), in onCreate()
91 mManager.getProfileManager(), remoteDevice); in onCreate()
93 mProfileManager = mManager.getProfileManager(); in onCreate()
150 mManager.setForegroundActivity(getActivity()); in onResume()
170 mManager.setForegroundActivity(null); in onPause()
183 final PbapServerProfile psp = mManager.getProfileManager().getPbapProfile(); in addPreferencesForProfiles()
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java260 Cursor cursor = mManager.query(new DownloadManager.Query()); in testFiltering()
263 cursor = mManager.query(new DownloadManager.Query().setFilterById(download2.mId)); in testFiltering()
266 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
270 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
275 cursor = mManager.query(new DownloadManager.Query() in testFiltering()
281 cursor = mManager.query(new DownloadManager.Query()); in testFiltering()
283 … cursor = mManager.query(new DownloadManager.Query().setOnlyIncludeVisibleInDownloadsUi(true)); in testFiltering()
304 Cursor cursor = mManager.query(new DownloadManager.Query()); in testOrdering()
307 cursor = mManager.query(new DownloadManager.Query() in testOrdering()
312 cursor = mManager.query(new DownloadManager.Query() in testOrdering()
[all …]
DAbstractPublicApiTest.java60 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStatusIfExists()
76 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStringField()
87 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getLongField()
98 ParcelFileDescriptor downloadedFile = mManager.openDownloadedFile(mId); in getRawContents()
176 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in runUntilProgress()
211 protected DownloadManager mManager; field in AbstractPublicApiTest
220 mManager = new DownloadManager(mResolver, PACKAGE_NAME); in setUp()
233 return new Download(mManager.enqueue(request)); in enqueueRequest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsContentObserver.java42 private final ContactsManager mManager; field in ContactsContentObserver
49 mManager = manager; in ContactsContentObserver()
108 final int contactCount = mManager.getContactCount(); in haveContentsChanged()
115 if (contactCount != mManager.getContactCountAtLastRebuild()) { in haveContentsChanged()
118 + mManager.getContactCountAtLastRebuild() + " to " + contactCount); in haveContentsChanged()
122 final ArrayList<String> names = mManager.getValidNames(Contacts.CONTENT_URI); in haveContentsChanged()
123 if (names.hashCode() != mManager.getHashCodeAtLastRebuild()) { in haveContentsChanged()
/packages/apps/Settings/src/com/android/settings/widget/
DExploreByTouchHelper.java72 private final AccessibilityManager mManager; field in ExploreByTouchHelper
98 mManager = (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); in ExploreByTouchHelper()
135 if (!mManager.isEnabled() || !mManager.isTouchExplorationEnabled()) { in dispatchHoverEvent()
174 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
539 if (!mManager.isEnabled() in requestAccessibilityFocus()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsManagerTest.java48 private ContactsManager mManager; field in ContactsManagerTest
65 mManager = new ContactsManager(context); in setUp()
79 final ArrayList<String> validNames = mManager.getValidNames(Contacts.CONTENT_URI); in testGetValidNames()
94 final ArrayList<String> validNames = mManager.getValidNames(Contacts.CONTENT_URI); in testGetValidNamesAffinity()
128 assertEquals(4, mManager.getContactCount()); in testGetCount()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java68 private final AppWidgetManagerCompat mManager; field in WidgetPreviewLoader
78 mManager = AppWidgetManagerCompat.getInstance(context); in WidgetPreviewLoader()
161 return new WidgetCacheKey(info.provider, mManager.getUser(info), size); in getObjectKey()
225 user = mManager.getUser(info); in removeObsoletePreviews()
345 drawable = mManager.loadPreview(info); in generateWidgetPreview()
431 Drawable icon = mutateOnMainThread(mManager.loadIcon(info, mIconCache)); in generateWidgetPreview()
444 return mManager.getBadgeBitmap(info, preview, imageHeight); in generateWidgetPreview()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsAndShortcutNameComparator.java18 private final AppWidgetManagerCompat mManager; field in WidgetsAndShortcutNameComparator
25 mManager = AppWidgetManagerCompat.getInstance(context); in WidgetsAndShortcutNameComparator()
75 return new ComponentKey(widgetInfo.provider, mManager.getUser(widgetInfo)); in getComponentKey()
91 return Utilities.trim(mManager.loadLabel(widgetInfo)); in getLabel()
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
DPublicApiAccessTest.java48 private DownloadManager mManager; field in PublicApiAccessTest
54 mManager = new DownloadManager(mContentResolver, getContext().getPackageName()); in setUp()
145 mManager.enqueue(request); in testDownloadManagerRequest()
154 mManager.enqueue(request); in testDownloadManagerRequest()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java133 final WeakReference<FocusOverlayManager> mManager; field in FocusOverlayManager.MainHandler
136 mManager = new WeakReference<FocusOverlayManager>(manager); in MainHandler()
141 FocusOverlayManager manager = mManager.get(); in handleMessage()