Home
last modified time | relevance | path

Searched refs:mCdm (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java67 ICompanionDeviceManager mCdm; field in NotificationBackendTest
205 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(null); in getDeviceList_noAssociations()
217 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEmpty(); in getDeviceList_noAssociations()
224 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_associationsButNoDevice()
229 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEmpty(); in getDeviceList_associationsButNoDevice()
236 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_singleDevice()
246 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEqualTo("Device 1"); in getDeviceList_singleDevice()
253 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_multipleDevices()
268 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEqualTo("Device 1, Device 2"); in getDeviceList_multipleDevices()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DHeaderPreferenceController.java48 private ICompanionDeviceManager mCdm; field in HeaderPreferenceController
78 mCdm = cdm; in setCdm()
117 mCdm, mBm, mCn.getPackageName(), mUserId)) in displayPreference()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java151 private ConnectivityDiagnosticsManager mCdm; field in ConnectivityDiagnosticsManagerTest
199 mCdm = mContext.getSystemService(ConnectivityDiagnosticsManager.class); in setUp()
227 mCdm.unregisterConnectivityDiagnosticsCallback(cb); in tearDown()
350 mCdm.registerConnectivityDiagnosticsCallback(TEST_NETWORK_REQUEST, INLINE_EXECUTOR, cb); in testRegisterDuplicateConnectivityDiagnosticsCallback()
359 mCdm.registerConnectivityDiagnosticsCallback(TEST_NETWORK_REQUEST, INLINE_EXECUTOR, cb); in testUnregisterConnectivityDiagnosticsCallback()
360 mCdm.unregisterConnectivityDiagnosticsCallback(cb); in testUnregisterConnectivityDiagnosticsCallback()
366 mCdm.unregisterConnectivityDiagnosticsCallback(new TestConnectivityDiagnosticsCallback()); in testUnregisterUnknownConnectivityDiagnosticsCallback()
489 mCdm.registerConnectivityDiagnosticsCallback(request, INLINE_EXECUTOR, cb); in createAndRegisterConnectivityDiagnosticsCallback()