5#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_JNI_JNI_MOCK_H_
6#define FLUTTER_SHELL_PLATFORM_ANDROID_JNI_JNI_MOCK_H_
9#include "gmock/gmock.h"
21 (std::unique_ptr<flutter::PlatformMessage>
message,
27 (
int responseId, std::unique_ptr<fml::Mapping>
data),
32 (std::vector<uint8_t> buffer,
33 std::vector<std::string> strings,
34 std::vector<std::vector<uint8_t>> string_attribute_args),
43 (std::vector<uint8_t> actions_buffer,
44 std::vector<std::string> strings),
114 MOCK_METHOD(std::unique_ptr<PlatformViewAndroidJNI::OverlayMetadata>,
129 MOCK_METHOD(std::unique_ptr<PlatformViewAndroidJNI::OverlayMetadata>,
153 (std::vector<std::string> supported_locales_data),
163 (
int loading_unit_id),
168 (
double font_size,
int configuration_id),
MOCK_METHOD(SkM44, SurfaceTextureGetTransformMatrix,(JavaLocalRef surface_texture),(override))
MOCK_METHOD(double, GetDisplayWidth,(),(override))
MOCK_METHOD(void, onDisplayPlatformView2,(int32_t view_id, int32_t x, int32_t y, int32_t width, int32_t height, int32_t viewWidth, int32_t viewHeight, MutatorsStack mutators_stack),(override))
MOCK_METHOD(void, FlutterViewOnDisplayPlatformView,(int view_id, int x, int y, int width, int height, int viewWidth, int viewHeight, MutatorsStack mutators_stack),(override))
MOCK_METHOD(void, SurfaceTextureAttachToGLContext,(JavaLocalRef surface_texture, int textureId),(override))
MOCK_METHOD(void, FlutterViewEndFrame,(),(override))
MOCK_METHOD(void, showOverlaySurface2,(),(override))
MOCK_METHOD(JavaLocalRef, ImageProducerTextureEntryAcquireLatestImage,(JavaLocalRef image_texture_entry),(override))
MOCK_METHOD(JavaLocalRef, ImageGetHardwareBuffer,(JavaLocalRef image),(override))
MOCK_METHOD(void, HardwareBufferClose,(JavaLocalRef hardware_buffer),(override))
MOCK_METHOD(void, FlutterViewUpdateSemantics,(std::vector< uint8_t > buffer, std::vector< std::string > strings, std::vector< std::vector< uint8_t > > string_attribute_args),(override))
MOCK_METHOD(void, FlutterViewSetApplicationLocale,(std::string locale),(override))
MOCK_METHOD(std::unique_ptr< PlatformViewAndroidJNI::OverlayMetadata >, FlutterViewCreateOverlaySurface,(),(override))
MOCK_METHOD(bool, RequestDartDeferredLibrary,(int loading_unit_id),(override))
MOCK_METHOD(void, hideOverlaySurface2,(),(override))
MOCK_METHOD(double, GetDisplayDensity,(),(override))
MOCK_METHOD(void, FlutterViewDisplayOverlaySurface,(int surface_id, int x, int y, int width, int height),(override))
MOCK_METHOD(ASurfaceTransaction *, createTransaction,(),(override))
MOCK_METHOD(void, FlutterViewBeginFrame,(),(override))
MOCK_METHOD(void, swapTransaction,(),(override))
MOCK_METHOD(double, GetDisplayHeight,(),(override))
MOCK_METHOD(double, GetDisplayRefreshRate,(),(override))
MOCK_METHOD(void, ImageClose,(JavaLocalRef image),(override))
MOCK_METHOD(void, FlutterViewOnFirstFrame,(),(override))
MOCK_METHOD(std::unique_ptr< std::vector< std::string > >, FlutterViewComputePlatformResolvedLocale,(std::vector< std::string > supported_locales_data),(override))
MOCK_METHOD(void, SurfaceTextureUpdateTexImage,(JavaLocalRef surface_texture),(override))
MOCK_METHOD(void, applyTransaction,(),(override))
MOCK_METHOD(bool, SurfaceTextureShouldUpdate,(JavaLocalRef surface_texture),(override))
MOCK_METHOD(void, FlutterViewHandlePlatformMessage,(std::unique_ptr< flutter::PlatformMessage > message, int responseId),(override))
MOCK_METHOD(void, SurfaceTextureDetachFromGLContext,(JavaLocalRef surface_texture),(override))
MOCK_METHOD(void, FlutterViewDestroyOverlaySurfaces,(),(override))
MOCK_METHOD(void, onEndFrame2,(),(override))
MOCK_METHOD(void, FlutterViewHandlePlatformMessageResponse,(int responseId, std::unique_ptr< fml::Mapping > data),(override))
MOCK_METHOD(void, hidePlatformView2,(int32_t view_id),(override))
MOCK_METHOD(std::unique_ptr< PlatformViewAndroidJNI::OverlayMetadata >, createOverlaySurface2,(),(override))
MOCK_METHOD(void, destroyOverlaySurface2,(),(override))
MOCK_METHOD(double, FlutterViewGetScaledFontSize,(double font_size, int configuration_id),(const, override))
MOCK_METHOD(void, FlutterViewUpdateCustomAccessibilityActions,(std::vector< uint8_t > actions_buffer, std::vector< std::string > strings),(override))
MOCK_METHOD(void, FlutterViewOnPreEngineRestart,(),(override))
FlutterVulkanImage * image
G_BEGIN_DECLS GBytes * message
G_BEGIN_DECLS FlutterViewId view_id
std::nullptr_t JavaLocalRef
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data