Searched refs:ECODataStatus (Results 1 – 5 of 5) sorted by relevance
/hardware/google/av/media/eco/include/eco/ |
D | ECOData.h | 31 enum class ECODataStatus { enum 98 ECODataStatus set(const std::string& key, const ECODataValueType& value); 99 ECODataStatus find(const std::string& key, ECODataValueType* out) const; 102 ECODataStatus setString(const std::string& key, const std::string& value); 103 ECODataStatus findString(const std::string& key, std::string* out) const; 106 ECODataStatus setInt32(const std::string& key, int32_t value); 107 ECODataStatus findInt32(const std::string& key, int32_t* out) const; 110 ECODataStatus setInt64(const std::string& key, int64_t value); 111 ECODataStatus findInt64(const std::string& key, int64_t* out) const; 114 ECODataStatus setFloat(const std::string& key, float value); [all …]
|
/hardware/google/av/media/eco/ |
D | ECOData.cpp | 186 ECODataStatus ECOData::setString(const std::string& key, const std::string& value) { in setString() 188 return ECODataStatus::INVALID_ARGUMENT; in setString() 194 return ECODataStatus::OK; in setString() 197 ECODataStatus ECOData::findString(const std::string& key, std::string* value) const { in findString() 199 return ECODataStatus::INVALID_ARGUMENT; in findString() 204 return ECODataStatus::KEY_NOT_EXIST; in findString() 211 return ECODataStatus::OK; in findString() 217 ECODataStatus ECOData::setValue(const std::string& key, T value) { in setValue() 219 return ECODataStatus::INVALID_ARGUMENT; in setValue() 223 return ECODataStatus::OK; in setValue() [all …]
|
D | ECOSession.cpp | 157 if (stats.findString(KEY_STATS_TYPE, &statsType) != ECODataStatus::OK) { in processStats() 475 &mListenerQpCondition.mQpBlocknessThreshold) != ECODataStatus::OK || in addInfoListener() 477 &mListenerQpCondition.mQpChangeThreshold) != ECODataStatus::OK || in addInfoListener()
|
/hardware/google/av/media/eco/tests/ |
D | EcoDataTest.cpp | 62 EXPECT_TRUE(data->findString(ENCODER_TYPE, &testValue) == ECODataStatus::OK); in TEST() 67 EXPECT_EQ(data->findString(ENCODER_TYPE, &testValue), ECODataStatus::OK); in TEST() 85 EXPECT_TRUE(data->findString(it->first, &testValue) == ECODataStatus::OK); in TEST() 94 EXPECT_TRUE(data->findString("encoder-name", nullptr) != ECODataStatus::OK); in TEST() 98 EXPECT_TRUE(data->findString("encoder-name", &testValue) != ECODataStatus::OK); in TEST() 101 EXPECT_TRUE(data->setString("", "avc") != ECODataStatus::OK); in TEST() 104 EXPECT_TRUE(data->findString("", &testValue) != ECODataStatus::OK); in TEST() 112 EXPECT_TRUE(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue) == ECODataStatus::OK); in TEST() 117 EXPECT_EQ(data->findInt32(ENCODER_TARGET_BITRATE_BPS, &testValue), ECODataStatus::OK); in TEST() 135 EXPECT_TRUE(data->findInt32(it->first, &testValue) == ECODataStatus::OK); in TEST() [all …]
|
D | EcoSessionTest.cpp | 256 EXPECT_TRUE(info.findString(KEY_INFO_TYPE, &infoType) == ECODataStatus::OK); in TEST_F() 261 EXPECT_TRUE(info.findInt32(ENCODER_TYPE, &codecType) == ECODataStatus::OK); in TEST_F() 265 EXPECT_TRUE(info.findInt32(ENCODER_PROFILE, &profile) == ECODataStatus::OK); in TEST_F() 269 EXPECT_TRUE(info.findInt32(ENCODER_LEVEL, &level) == ECODataStatus::OK); in TEST_F() 273 EXPECT_TRUE(info.findInt32(ENCODER_TARGET_BITRATE_BPS, &bitrate) == ECODataStatus::OK); in TEST_F() 277 EXPECT_TRUE(info.findInt32(ENCODER_KFI_FRAMES, &kfi) == ECODataStatus::OK); in TEST_F() 291 EXPECT_TRUE(info.findString(KEY_INFO_TYPE, &infoType) == ECODataStatus::OK); in TEST_F() 295 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 299 EXPECT_TRUE(info.findInt32(FRAME_NUM, &frameNum) == ECODataStatus::OK); in TEST_F() 303 EXPECT_TRUE(info.findInt64(FRAME_PTS_US, &framePtsUs) == ECODataStatus::OK); in TEST_F() [all …]
|