Home
last modified time | relevance | path

Searched refs:alwaysAllow (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/debug/
DIAdbManager.aidl36 void allowDebugging(boolean alwaysAllow, String publicKey); in allowDebugging() argument
56 void allowWirelessDebugging(boolean alwaysAllow, String bssid); in allowWirelessDebugging() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingActivity.java155 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
156 notifyService(allow, alwaysAllow); in onClick()
179 private void notifyService(boolean allow, boolean alwaysAllow) { in notifyService() argument
184 service.allowDebugging(alwaysAllow, mKey); in notifyService()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTestActivity.java120 public Configurator setAlwaysAllow(boolean alwaysAllow) { in setAlwaysAllow() argument
121 sAlwaysAllow = alwaysAllow; in setAlwaysAllow()
DAdbDebuggingManagerTest.java1038 private void runAdbTest(String key, boolean allowKey, boolean alwaysAllow, in runAdbTest() argument
1045 .setAlwaysAllow(alwaysAllow) in runAdbTest()
1074 if (!allowKey || !alwaysAllow) { in runAdbTest()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java927 boolean alwaysAllow = msg.arg1 == 1; in handleMessage()
930 if (alwaysAllow) { in handleMessage()
938 logAdbConnectionChanged(key, AdbProtoEnums.USER_ALLOWED, alwaysAllow); in handleMessage()
1006 boolean alwaysAllow = false; in handleMessage()
1009 alwaysAllow = true; in handleMessage()
1024 logAdbConnectionChanged(key, AdbProtoEnums.DISCONNECTED, alwaysAllow); in handleMessage()
1125 boolean alwaysAllow = msg.arg1 == 1; in handleMessage()
1126 if (alwaysAllow) { in handleMessage()
1294 private void logAdbConnectionChanged(String key, int state, boolean alwaysAllow) { in logAdbConnectionChanged() argument
1298 "Logging key " + key + ", state = " + state + ", alwaysAllow = " + alwaysAllow in logAdbConnectionChanged()
[all …]
DAdbService.java298 public void allowDebugging(boolean alwaysAllow, @NonNull String publicKey) { in allowDebugging() argument
302 mDebuggingManager.allowDebugging(alwaysAllow, publicKey); in allowDebugging()
351 public void allowWirelessDebugging(boolean alwaysAllow, @NonNull String bssid) { in allowWirelessDebugging() argument
355 mDebuggingManager.allowWirelessDebugging(alwaysAllow, bssid); in allowWirelessDebugging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java212 boolean alwaysAllow = allow && mAlwaysAllow.isChecked(); in onClick()
217 service.allowWirelessDebugging(alwaysAllow, mBssid); in onClick()