The engine runs a set of rules in order that are defined inEngine\Config\BaseDeviceProfiles.ini under [/Script/AndroidDeviceProfileSelector.AndroidDeviceProfileMatchingRules].
Typically this is checking the GpuFamily and/or DeviceModel. The GpuFamily is read from the OpenGL GL_RENDERER string. You can add or override the rules in the project’s Config/DefaultDeviceProfiles.ini.