Home
last modified time | relevance | path

Searched refs:pairs (Results 1 – 18 of 18) sorted by relevance

/system/core/libstats/socket/tests/
Dstats_event_test.cpp219 struct key_value_pair pairs[numPairs]; in TEST() local
220 pairs[0] = {.key = 0, .valueType = INT32_TYPE, .int32Value = -1}; in TEST()
221 pairs[1] = {.key = 1, .valueType = INT64_TYPE, .int64Value = 0x123456789}; in TEST()
222 pairs[2] = {.key = 2, .valueType = FLOAT_TYPE, .floatValue = 5.5}; in TEST()
224 pairs[3] = {.key = 3, .valueType = STRING_TYPE, .stringValue = str.c_str()}; in TEST()
229 stats_event_write_key_value_pairs(event, pairs, numPairs); in TEST()
243 checkScalar(&buffer, pairs[0].key); in TEST()
244 checkTypeHeader(&buffer, pairs[0].valueType); in TEST()
245 checkScalar(&buffer, pairs[0].int32Value); in TEST()
248 checkScalar(&buffer, pairs[1].key); in TEST()
[all …]
/system/core/libstats/push_compat/
DStatsEventCompat.cpp152 vector<struct key_value_pair> pairs; in writeKeyValuePairs() local
155 pairs.push_back({.key = it.first, .valueType = INT32_TYPE, .int32Value = it.second}); in writeKeyValuePairs()
158 pairs.push_back({.key = it.first, .valueType = INT64_TYPE, .int64Value = it.second}); in writeKeyValuePairs()
161 pairs.push_back({.key = it.first, .valueType = STRING_TYPE, .stringValue = it.second}); in writeKeyValuePairs()
164 pairs.push_back({.key = it.first, .valueType = FLOAT_TYPE, .floatValue = it.second}); in writeKeyValuePairs()
167 mStatsEventApi->write_key_value_pairs(mEventR, pairs.data(), (uint8_t)pairs.size()); in writeKeyValuePairs()
/system/core/libstats/socket/
Dstats_event.c218 void stats_event_write_key_value_pairs(struct stats_event* event, struct key_value_pair* pairs, in stats_event_write_key_value_pairs() argument
227 append_int32(event, pairs[i].key); in stats_event_write_key_value_pairs()
228 append_byte(event, pairs[i].valueType); in stats_event_write_key_value_pairs()
229 switch (pairs[i].valueType) { in stats_event_write_key_value_pairs()
231 append_int32(event, pairs[i].int32Value); in stats_event_write_key_value_pairs()
234 append_int64(event, pairs[i].int64Value); in stats_event_write_key_value_pairs()
237 append_float(event, pairs[i].floatValue); in stats_event_write_key_value_pairs()
240 append_string(event, pairs[i].stringValue); in stats_event_write_key_value_pairs()
/system/tools/hidl/test/java_test/
DAndroid.bp29 // and test portability since this test pairs with specific hal
/system/extras/tests/mmc_tracepoints/
DREADME15 The output is in a form of start/stop pairs. The ops with rw in the name are
/system/sepolicy/tools/sepolicy-analyze/
DREADME9 Display all type pairs that are "equivalent", i.e. they are
30 Display type pairs that differ and the first difference found
37 Displays duplicate allow rules, i.e. pairs of allow rules that
/system/core/libstats/socket/include/
Dstats_event.h122 void stats_event_write_key_value_pairs(struct stats_event* event, struct key_value_pair* pairs,
/system/core/init/test_service/
DREADME.md16 (i.e. any number of pairs of arguments.)
/system/tools/hidl/test/hidl_test/
DAndroid.bp39 // and test portability since this test pairs with specific hal
/system/libhwbinder/vts/performance/
DAndroid.bp42 // and test portability since this test pairs with specific hal
/system/media/audio_utils/
Dprimitives.c21 void ditherAndClamp(int32_t *out, const int32_t *sums, size_t pairs) in ditherAndClamp() argument
23 for (; pairs > 0; --pairs) { in ditherAndClamp()
/system/media/audio_utils/tests/
Dstatistics_tests.cpp375 std::vector<pair_t> pairs(TEST_SIZE); in TEST() local
376 initUniform(pairs, -1., 1.); in TEST()
392 stat_pair.add(pairs[i]); in TEST()
/system/memory/lmkd/
DREADME.md95 sys.lmk.minfree_levels: minfree:oom_adj_score pairs, delimited by comma
/system/core/fastboot/fuzzy_fastboot/
DREADME.md55 The device config XML has five element pairs all inside a root level `<config>`:
58 Inside the `<getvar></getvar>` element pairs, one should list all the device's getvar
72 Inside the `<partitions></partitions>` element pairs, one should list all the device's
107 `<child>PART_NAME</child>` element pairs.
147 Oem commands are specefied in `<command></command>` element pairs. Each command
/system/media/audio_utils/include/audio_utils/
Dprimitives.h56 void ditherAndClamp(int32_t *out, const int32_t *sums, size_t pairs);
/system/core/libutils/
DREADME150 configuration/value pairs. Any number of overlay packages may be loaded
/system/apex/docs/
DREADME.md417 public/private key pairs. APK signing (specified by `certificate`) is required
/system/update_engine/
DREADME.md385 Update payloads can be signed (with private/public key pairs) for use in