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.java62 ICompanionDeviceManager mCdm; field in NotificationBackendTest
170 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(null); in getDeviceList_noAssociations()
182 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEmpty(); in getDeviceList_noAssociations()
188 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(macs); in getDeviceList_associationsButNoDevice()
193 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEmpty(); in getDeviceList_associationsButNoDevice()
199 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(macs); in getDeviceList_singleDevice()
209 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEqualTo("Device 1"); in getDeviceList_singleDevice()
215 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(macs); in getDeviceList_multipleDevices()
230 mCdm, mBm, mCn.getPackageName(), 0).toString()).isEqualTo("Device 1, Device 2"); in getDeviceList_multipleDevices()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java142 private ConnectivityDiagnosticsManager mCdm; field in ConnectivityDiagnosticsManagerTest
159 mCdm = mContext.getSystemService(ConnectivityDiagnosticsManager.class); in setUp()
187 mCdm.unregisterConnectivityDiagnosticsCallback(cb); in tearDown()
307 mCdm.registerConnectivityDiagnosticsCallback(TEST_NETWORK_REQUEST, INLINE_EXECUTOR, cb); in testRegisterDuplicateConnectivityDiagnosticsCallback()
316 mCdm.registerConnectivityDiagnosticsCallback(TEST_NETWORK_REQUEST, INLINE_EXECUTOR, cb); in testUnregisterConnectivityDiagnosticsCallback()
317 mCdm.unregisterConnectivityDiagnosticsCallback(cb); in testUnregisterConnectivityDiagnosticsCallback()
323 mCdm.unregisterConnectivityDiagnosticsCallback(new TestConnectivityDiagnosticsCallback()); in testUnregisterUnknownConnectivityDiagnosticsCallback()
446 mCdm.registerConnectivityDiagnosticsCallback(request, INLINE_EXECUTOR, cb); in createAndRegisterConnectivityDiagnosticsCallback()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DHeaderPreferenceController.java48 private ICompanionDeviceManager mCdm; field in HeaderPreferenceController
78 mCdm = cdm; in setCdm()
118 mCdm, mBm, mCn.getPackageName(), mUserId)) in displayPreference()