/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | AdbQrCodePreferenceControllerTest.java | 58 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()
|
D | WirelessDebuggingPreferenceControllerTest.java | 59 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()
|
D | ClearAdbKeysPreferenceControllerTest.java | 60 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/ |
D | AdbQrCodePreferenceController.java | 39 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()
|
D | ClearAdbKeysPreferenceController.java | 43 private final IAdbManager mAdbManager; field in ClearAdbKeysPreferenceController 51 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService(Context.ADB_SERVICE)); in ClearAdbKeysPreferenceController() 98 mAdbManager.clearDebuggingKeys(); in onClearAdbKeysConfirmed()
|
D | WirelessDebuggingFragment.java | 102 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()
|
D | AdbIpAddressPreferenceController.java | 58 private IAdbManager mAdbManager; field in AdbIpAddressPreferenceController 63 mAdbManager = IAdbManager.Stub.asInterface(ServiceManager.getService( in AdbIpAddressPreferenceController() 97 return mAdbManager.getAdbWirelessPort(); in getPort()
|
D | WirelessDebuggingPreferenceController.java | 53 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()
|
D | AdbQrcodeScannerFragment.java | 86 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/ |
D | WirelessDebuggingFragment.java | 89 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()
|
D | AdbDeviceDetailsFragment.java | 44 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()
|