Lines Matching refs:ctx

534 void adbd_auth_delete(AdbdAuthContext* ctx) {  in adbd_auth_delete()  argument
535 delete ctx; in adbd_auth_delete()
538 void adbd_auth_run(AdbdAuthContext* ctx) { in adbd_auth_run() argument
539 return ctx->Run(); in adbd_auth_run()
542 void adbd_auth_get_public_keys(AdbdAuthContext* ctx, in adbd_auth_get_public_keys() argument
545 ctx->IteratePublicKeys(callback, opaque); in adbd_auth_get_public_keys()
548 uint64_t adbd_auth_notify_auth(AdbdAuthContext* ctx, const char* public_key, size_t len) { in adbd_auth_notify_auth() argument
549 return ctx->NotifyAuthenticated(std::string_view(public_key, len)); in adbd_auth_notify_auth()
552 void adbd_auth_notify_disconnect(AdbdAuthContext* ctx, uint64_t id) { in adbd_auth_notify_disconnect() argument
553 return ctx->NotifyDisconnected(id); in adbd_auth_notify_disconnect()
556 void adbd_auth_prompt_user(AdbdAuthContext* ctx, const char* public_key, size_t len, in adbd_auth_prompt_user() argument
558 adbd_auth_prompt_user_with_id(ctx, public_key, len, opaque); in adbd_auth_prompt_user()
561 uint64_t adbd_auth_prompt_user_with_id(AdbdAuthContext* ctx, const char* public_key, size_t len, in adbd_auth_prompt_user_with_id() argument
563 return ctx->PromptUser(std::string_view(public_key, len), opaque); in adbd_auth_prompt_user_with_id()
566 uint64_t adbd_auth_tls_device_connected(AdbdAuthContext* ctx, in adbd_auth_tls_device_connected() argument
570 return ctx->NotifyTlsDeviceConnected(type, std::string_view(public_key, len)); in adbd_auth_tls_device_connected()
573 void adbd_auth_tls_device_disconnected(AdbdAuthContext* ctx, in adbd_auth_tls_device_disconnected() argument
576 ctx->NotifyTlsDeviceDisconnected(type, id); in adbd_auth_tls_device_disconnected()