Home
last modified time | relevance | path

Searched refs:mAdbManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java107 private IAdbManager mAdbManager; field in WirelessDebuggingFragment
116 mAdbManager.disablePairing(); in onDismiss()
276 mAdbManager.enablePairingByPairingCode(); in onCreateDialog()
321 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in onEnabled()
324 Map<String, PairDevice> newList = mAdbManager.getPairedDevices(); in onEnabled()
326 mConnectionPort = mAdbManager.getAdbWirelessPort(); in onEnabled()
444 mAdbManager.unpairDevice(p.getGuid()); in handlePairedDeviceRequest()
DClearAdbKeysPreferenceController.java42 private final IAdbManager mAdbManager; field in ClearAdbKeysPreferenceController
50 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in ClearAdbKeysPreferenceController()
94 mAdbManager.clearDebuggingKeys(); in onClearAdbKeysConfirmed()
DAdbIpAddressPreferenceController.java56 private IAdbManager mAdbManager; field in AdbIpAddressPreferenceController
61 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in AdbIpAddressPreferenceController()
95 return mAdbManager.getAdbWirelessPort(); in getPort()
DWirelessDebuggingPreferenceController.java49 private final IAdbManager mAdbManager; field in WirelessDebuggingPreferenceController
62 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in WirelessDebuggingPreferenceController()
80 return mAdbManager.isAdbWifiSupported(); in isAvailable()
DAdbQrcodeScannerFragment.java85 private IAdbManager mAdbManager; field in AdbQrcodeScannerFragment
187 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in onResume()
197 mAdbManager.disablePairing(); in onPause()
296 mAdbManager.enablePairingByQrCode(mAdbConfig.getSsid(), in handleSuccessfulResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWirelessDebuggingPreferenceControllerTest.java58 private IAdbManager mAdbManager; field in WirelessDebuggingPreferenceControllerTest
76 ReflectionHelpers.setField(mController, "mAdbManager", mAdbManager); in setUp()
86 when(mAdbManager.isAdbWifiSupported()).thenReturn(true); in isAvailable_isAdbWifiSupported_yes_shouldBeTrue()
92 when(mAdbManager.isAdbWifiSupported()).thenReturn(false); in isAvailable_isAdbWifiSupported_shouldBeFalse()
DClearAdbKeysPreferenceControllerTest.java60 private IAdbManager mAdbManager; field in ClearAdbKeysPreferenceControllerTest
71 ReflectionHelpers.setField(mController, "mAdbManager", mAdbManager); in setUp()
168 verify(mAdbManager).clearDebuggingKeys(); in onClearAdbKeysConfirmed_shouldClearKeys()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DClearAdbKeysPreferenceController.java42 private final IAdbManager mAdbManager; field in ClearAdbKeysPreferenceController
50 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in ClearAdbKeysPreferenceController()
94 mAdbManager.clearDebuggingKeys(); in onClearAdbKeysConfirmed()