Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAdbQrCodePreferenceControllerTest.java58 private IAdbManager mAdbManager; field in AdbQrCodePreferenceControllerTest
71 ReflectionHelpers.setField(mController, "mAdbManager", mAdbManager); in setUp()
79 when(mAdbManager.isAdbWifiQrSupported()).thenReturn(true); in getAvailabilityStatus_isAdbWifiQrSupported_yes_shouldBeTrue()
87 when(mAdbManager.isAdbWifiQrSupported()).thenReturn(false); in getAvailabilityStatus_isAdbWifiQrSupported_no_shouldBeFalse()
94 when(mAdbManager.isAdbWifiQrSupported()).thenReturn(true); in displayPreference_isAdbWifiQrSupported_yes_prefIsVisible()
103 when(mAdbManager.isAdbWifiQrSupported()).thenReturn(false); in displayPreference_isAdbWifiQrSupported_no_prefIsNotVisible()
DWirelessDebuggingPreferenceControllerTest.java59 private IAdbManager mAdbManager; field in WirelessDebuggingPreferenceControllerTest
77 ReflectionHelpers.setField(mController, "mAdbManager", mAdbManager); in setUp()
89 when(mAdbManager.isAdbWifiSupported()).thenReturn(true); in isAvailable_isAdbWifiSupported_yes_shouldBeTrue()
95 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/apps/Settings/src/com/android/settings/development/
DAdbQrCodePreferenceController.java39 private IAdbManager mAdbManager; field in AdbQrCodePreferenceController
45 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in AdbQrCodePreferenceController()
56 return mAdbManager.isAdbWifiQrSupported() ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DClearAdbKeysPreferenceController.java43 private final IAdbManager mAdbManager; field in ClearAdbKeysPreferenceController
51 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in ClearAdbKeysPreferenceController()
98 mAdbManager.clearDebuggingKeys(); in onClearAdbKeysConfirmed()
DWirelessDebuggingFragment.java102 private IAdbManager mAdbManager; field in WirelessDebuggingFragment
159 mAdbManager.disablePairing(); in onDismiss()
272 mAdbManager.enablePairingByPairingCode(); in onCreateDialog()
317 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in onEnabled()
320 FingerprintAndPairDevice[] newList = mAdbManager.getPairedDevices(); in onEnabled()
326 mConnectionPort = mAdbManager.getAdbWirelessPort(); in onEnabled()
444 mAdbManager.unpairDevice(p.guid); in handlePairedDeviceRequest()
DAdbIpAddressPreferenceController.java58 private IAdbManager mAdbManager; field in AdbIpAddressPreferenceController
63 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in AdbIpAddressPreferenceController()
97 return mAdbManager.getAdbWirelessPort(); in getPort()
DWirelessDebuggingPreferenceController.java53 private final IAdbManager mAdbManager; field in WirelessDebuggingPreferenceController
66 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in WirelessDebuggingPreferenceController()
84 return mAdbManager.isAdbWifiSupported(); in isAvailable()
DAdbQrcodeScannerFragment.java86 private IAdbManager mAdbManager; field in AdbQrcodeScannerFragment
191 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in onResume()
206 mAdbManager.disablePairing(); in onPause()
290 mAdbManager.enablePairingByQrCode(mAdbConfig.getSsid(), in handleSuccessfulResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DWirelessDebuggingFragment.java89 private IAdbManager mAdbManager; field in WirelessDebuggingFragment
132 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in onCreatePreferences()
221 FingerprintAndPairDevice[] newList = mAdbManager.getPairedDevices(); in updatePreferenceState()
227 int connectionPort = mAdbManager.getAdbWirelessPort(); in updatePreferenceState()
375 return mAdbManager.getAdbWirelessPort(); in getAdbWirelessPort()
437 private IAdbManager mAdbManager; field in WirelessDebuggingFragment.PairingCodeFragment
472 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in onCreate()
481 mAdbManager.enablePairingByPairingCode(); in onResume()
492 mAdbManager.disablePairing(); in onPause()
DAdbDeviceDetailsFragment.java44 private IAdbManager mAdbManager; field in AdbDeviceDetailsFragment
68 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in onCreateActions()
85 mAdbManager.unpairDevice(getArguments().getString(ARG_FINGERPRINT)); in onGuidedActionClicked()