UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformMisc.cpp File Reference
#include "Android/AndroidPlatformMisc.h"
#include "Android/AndroidJniGameActivity.h"
#include "HAL/PlatformStackWalk.h"
#include "Misc/FileHelper.h"
#include "Misc/App.h"
#include "Misc/PathViews.h"
#include "Misc/ConfigCacheIni.h"
#include "Misc/CoreDelegates.h"
#include "Misc/FeedbackContext.h"
#include "Misc/OutputDeviceRedirector.h"
#include "Misc/EngineVersion.h"
#include "HAL/IConsoleManager.h"
#include "Modules/ModuleManager.h"
#include "BuildSettings.h"
#include <string.h>
#include <dlfcn.h>
#include <sys/statfs.h>
#include <sys/syscall.h>
#include <sched.h>
#include "Android/AndroidPlatformCrashContext.h"
#include "HAL/PlatformMallocCrash.h"
#include "Android/AndroidJavaMessageBox.h"
#include "GenericPlatform/GenericPlatformChunkInstall.h"
#include "Misc/Parse.h"
#include "Internationalization/Regex.h"
#include <android/log.h>
#include "Async/TaskGraphInterfaces.h"
#include "Containers/Ticker.h"
#include "FramePro/FrameProProfiler.h"
#include <sys/mman.h>
#include "Templates/AlignmentTemplates.h"
#include "GenericPlatform/GenericPlatformOutputDevices.h"
#include "Android/AndroidPlatformStackWalk.h"
#include "Android/AndroidSignals.h"
#include "AndroidScudoMemoryTrace.h"
#include "Misc/OutputDevice.h"
#include "Logging/LogMacros.h"
#include "Misc/OutputDeviceError.h"
#include "Async/EventCount.h"
#include "VulkanCommon.h"
#include "IVulkanDynamicRHI.h"
#include <vulkan/vulkan_android.h>
#include "Android/AndroidPlatformProperties.h"
#include "AndroidVKQuality.h"

Namespaces

namespace  FAndroidAppEntry
 
namespace  AndroidPlatformMisc
 

Macros

#define GAndroidPackageVersion   1
 
#define FROM_HEX(_a)   ( (_a) <= '9' ? (_a) - '0' : (_a) <= 'F' ? (_a) - 'A' + 10 : (_a) - 'a' + 10 )
 
#define VKAPI_ATTR
 
#define VKAPI_CALL
 
#define VKAPI_PTR
 
#define UE_VK_API_VERSION   VK_MAKE_VERSION(1, 1, 0)
 
#define ANDROIDTHUNK_CONNECTION_TYPE_NONE   0
 
#define ANDROIDTHUNK_CONNECTION_TYPE_AIRPLANEMODE   1
 
#define ANDROIDTHUNK_CONNECTION_TYPE_ETHERNET   2
 
#define ANDROIDTHUNK_CONNECTION_TYPE_CELL   3
 
#define ANDROIDTHUNK_CONNECTION_TYPE_WIFI   4
 
#define ANDROIDTHUNK_CONNECTION_TYPE_WIMAX   5
 
#define ANDROIDTHUNK_CONNECTION_TYPE_BLUETOOTH   6
 

Enumerations

enum class  EDeviceVulkanSupportStatus { Uninitialized , NotSupported , Supported }
 

Functions

void AndroidThunkCpp_ForceQuit ()
 
void AndroidThunkCpp_SetOrientation (int32 Value)
 
void AndroidThunkCpp_RestartApplication (const FString &IntentString)
 
void FAndroidAppEntry::PlatformInit ()
 
void AndroidThunkCpp_DismissSplashScreen ()
 
void DefaultCrashHandler (const FAndroidCrashContext &Context)
 
void AndroidThunkCpp_RegisterForRemoteNotifications ()
 
void AndroidThunkCpp_UnregisterForRemoteNotifications ()
 
bool AndroidThunkCpp_IsAllowedRemoteNotifications ()
 
bool AndroidThunkCpp_HasMetaDataKey (const FString &Key)
 
FORCEINLINE bool ValueOutsideThreshold (float Value, float BaseLine, float Threshold)
 
void AndroidThunkCpp_ShowConsoleWindow ()
 

Variables

FString GFontPathBase
 
void(* GCrashHandlerPointer )(const FGenericCrashContext &Context) = NULL
 
VkPhysicalDeviceProperties AndroidPlatformMisc::VulkanPhysicalDeviceProperties
 
void(* GMemoryWarningHandler )(const FGenericMemoryWarningContext &Context) = NULL
 

Macro Definition Documentation

◆ ANDROIDTHUNK_CONNECTION_TYPE_AIRPLANEMODE

#define ANDROIDTHUNK_CONNECTION_TYPE_AIRPLANEMODE   1

◆ ANDROIDTHUNK_CONNECTION_TYPE_BLUETOOTH

#define ANDROIDTHUNK_CONNECTION_TYPE_BLUETOOTH   6

◆ ANDROIDTHUNK_CONNECTION_TYPE_CELL

#define ANDROIDTHUNK_CONNECTION_TYPE_CELL   3

◆ ANDROIDTHUNK_CONNECTION_TYPE_ETHERNET

#define ANDROIDTHUNK_CONNECTION_TYPE_ETHERNET   2

◆ ANDROIDTHUNK_CONNECTION_TYPE_NONE

#define ANDROIDTHUNK_CONNECTION_TYPE_NONE   0

◆ ANDROIDTHUNK_CONNECTION_TYPE_WIFI

#define ANDROIDTHUNK_CONNECTION_TYPE_WIFI   4

◆ ANDROIDTHUNK_CONNECTION_TYPE_WIMAX

#define ANDROIDTHUNK_CONNECTION_TYPE_WIMAX   5

◆ FROM_HEX

#define FROM_HEX (   _a)    ( (_a) <= '9' ? (_a) - '0' : (_a) <= 'F' ? (_a) - 'A' + 10 : (_a) - 'a' + 10 )

◆ GAndroidPackageVersion

#define GAndroidPackageVersion   1

◆ UE_VK_API_VERSION

#define UE_VK_API_VERSION   VK_MAKE_VERSION(1, 1, 0)

◆ VKAPI_ATTR

#define VKAPI_ATTR

◆ VKAPI_CALL

#define VKAPI_CALL

◆ VKAPI_PTR

#define VKAPI_PTR

Enumeration Type Documentation

◆ EDeviceVulkanSupportStatus

Enumerator
Uninitialized 
NotSupported 
Supported 

Function Documentation

◆ AndroidThunkCpp_DismissSplashScreen()

void AndroidThunkCpp_DismissSplashScreen ( )
extern

◆ AndroidThunkCpp_ForceQuit()

void AndroidThunkCpp_ForceQuit ( )
extern

◆ AndroidThunkCpp_HasMetaDataKey()

bool AndroidThunkCpp_HasMetaDataKey ( const FString &  Key)
extern

◆ AndroidThunkCpp_IsAllowedRemoteNotifications()

bool AndroidThunkCpp_IsAllowedRemoteNotifications ( )
extern

◆ AndroidThunkCpp_RegisterForRemoteNotifications()

void AndroidThunkCpp_RegisterForRemoteNotifications ( )
extern

◆ AndroidThunkCpp_RestartApplication()

void AndroidThunkCpp_RestartApplication ( const FString &  IntentString)
extern

◆ AndroidThunkCpp_SetOrientation()

void AndroidThunkCpp_SetOrientation ( int32  Value)
extern

◆ AndroidThunkCpp_ShowConsoleWindow()

void AndroidThunkCpp_ShowConsoleWindow ( )
extern

◆ AndroidThunkCpp_UnregisterForRemoteNotifications()

void AndroidThunkCpp_UnregisterForRemoteNotifications ( )
extern

◆ DefaultCrashHandler()

void DefaultCrashHandler ( const FAndroidCrashContext Context)

Good enough default crash reporter.

◆ ValueOutsideThreshold()

FORCEINLINE bool ValueOutsideThreshold ( float  Value,
float  BaseLine,
float  Threshold 
)

Variable Documentation

◆ GCrashHandlerPointer

void(* GCrashHandlerPointer) (const FGenericCrashContext &Context) ( const FGenericCrashContext Context) = NULL

Global pointer to crash handler

◆ GFontPathBase

FString GFontPathBase
extern

◆ GMemoryWarningHandler

void(* GMemoryWarningHandler) (const FGenericMemoryWarningContext &Context) ( const FGenericMemoryWarningContext Context) = NULL

◆ TimeOfChange

double TimeOfChange

◆ Volume

int Volume