Searched refs:createTableIfNeeded (Results 1 – 6 of 6) sorted by relevance
/packages/modules/StatsD/statsd/tests/utils/ |
D | DbUtils_test.cpp | 78 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 104 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 132 EXPECT_TRUE(createTableIfNeeded(key, metricId2, logEvent)); in TEST_F() 159 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 185 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 217 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent1)); in TEST_F() 252 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent1)); in TEST_F() 281 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 301 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() 326 EXPECT_TRUE(createTableIfNeeded(key, metricId, logEvent)); in TEST_F() [all …]
|
/packages/modules/StatsD/statsd/benchmark/ |
D | db_benchmark.cpp | 44 createTableIfNeeded(key, metricId, *event.get()); in BM_insertAtomsIntoDbTablesNewConnection() 77 createTableIfNeeded(key, metricId, *event.get()); in BM_insertAtomsIntoDbTablesReuseConnection() 107 createTableIfNeeded(key, metricId, *event.get()); in BM_createDbTables()
|
/packages/modules/StatsD/statsd/src/utils/ |
D | DbUtils.h | 42 bool createTableIfNeeded(const ConfigKey& key, int64_t metricId, const LogEvent& event);
|
D | DbUtils.cpp | 137 bool createTableIfNeeded(const ConfigKey& key, const int64_t metricId, const LogEvent& event) { in createTableIfNeeded() function
|
/packages/modules/StatsD/statsd/tests/storage/ |
D | StorageManager_test.cpp | 290 dbutils::createTableIfNeeded(key, /*metricId=*/1, *event); in TEST() 308 dbutils::createTableIfNeeded(key, /*metricId=*/1, *event); in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | RestrictedEventMetricProducer.cpp | 115 if (!dbutils::createTableIfNeeded(mConfigKey, mMetricId, mLogEvents[0])) { in flushRestrictedData()
|