Home
last modified time | relevance | path

Searched refs:settings_ser (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/src/tuningfork/
Dtuningfork_extra.cpp73 SwappyTuningFork(const CProtobufSerialization& settings_ser, JNIEnv* env, jobject activity, in SwappyTuningFork() argument
83 TuningFork_init(&settings_ser, env, activity);
135 CProtobufSerialization& settings_ser) { in GetSettingsSerialization() argument
142 settings_ser.bytes = (uint8_t*)::malloc(size); in GetSettingsSerialization()
143 memcpy(settings_ser.bytes, AAsset_getBuffer(asset), size); in GetSettingsSerialization()
144 settings_ser.size = size; in GetSettingsSerialization()
145 settings_ser.dealloc = ::free; in GetSettingsSerialization()
299 CProtobufSerialization* settings_ser) { in TuningFork_findSettingsInAPK() argument
300 if(settings_ser) { in TuningFork_findSettingsInAPK()
301 return GetSettingsSerialization(env, activity, *settings_ser); in TuningFork_findSettingsInAPK()
Dtuningfork.cpp203 void Init(const ProtobufSerialization &settings_ser, in Init() argument
214 VectorStream str {const_cast<ProtobufSerialization*>(&settings_ser), 0}; in Init()
215 pb_istream_t stream = {VectorStream::Read, &str, settings_ser.size()}; in Init()
234 void Init(const ProtobufSerialization &settings_ser, JNIEnv* env, jobject activity) { in Init() argument
240 Init(settings_ser, extra_upload_info, &sBackend, &sLoader); in Init()
244 Init(settings_ser, extra_upload_info); in Init()
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/
Deng_game.cc43 std::stringstream settings_ser; in runWithGameEngine() local
45 settings_ser << fstr.rdbuf(); in runWithGameEngine()
46 gameengine::init(settings_ser.str(), [&](const std::string& fp_ser) { in runWithGameEngine()