Searched refs:AdbdAuthContext (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/adbd_auth/include/ |
D | adbd_auth.h | 50 struct AdbdAuthContext; 51 typedef struct AdbdAuthContext AdbdAuthContext; typedef 61 AdbdAuthContext* adbd_auth_new(AdbdAuthCallbacks* callbacks) __INTRODUCED_IN(30); 68 void adbd_auth_delete(AdbdAuthContext* ctx) __INTRODUCED_IN(30); 78 void adbd_auth_run(AdbdAuthContext* ctx) __INTRODUCED_IN(30); 89 void adbd_auth_get_public_keys(AdbdAuthContext* ctx, 101 uint64_t adbd_auth_notify_auth(AdbdAuthContext* ctx, 111 void adbd_auth_notify_disconnect(AdbdAuthContext* ctx, 124 void adbd_auth_prompt_user(AdbdAuthContext* ctx, const char* public_key, size_t len, void* opaque) 138 __attribute__((weak)) uint64_t adbd_auth_prompt_user_with_id(AdbdAuthContext* ctx, [all …]
|
/frameworks/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 78 struct AdbdAuthContext { struct 84 explicit AdbdAuthContext(AdbdAuthCallbacksV1* callbacks) : next_id_(0), callbacks_(*callbacks) { in AdbdAuthContext() argument 114 AdbdAuthContext(const AdbdAuthContext& copy) = delete; 115 AdbdAuthContext(AdbdAuthContext&& move) = delete; 116 AdbdAuthContext& operator=(const AdbdAuthContext& copy) = delete; 117 AdbdAuthContext& operator=(AdbdAuthContext&& move) = delete; 485 .cb = std::bind(&AdbdAuthContext::KeyRemoved, this, std::placeholders::_1)}); in InitFrameworkHandlers() argument 490 … .cb = std::bind(&AdbdAuthContext::AllowUsbDevice, this, std::placeholders::_1)}); in InitFrameworkHandlers() 495 .cb = std::bind(&AdbdAuthContext::DenyUsbDevice, this, std::placeholders::_1)}); in InitFrameworkHandlers() 525 AdbdAuthContext* adbd_auth_new(AdbdAuthCallbacks* callbacks) { in adbd_auth_new() argument [all …]
|