Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 25) sorted by relevance

/system/core/base/
Dstrings_test.cpp26 TEST(strings, split_empty) { in TEST() argument
32 TEST(strings, split_single) { in TEST() argument
38 TEST(strings, split_simple) { in TEST() argument
46 TEST(strings, split_with_empty_part) { in TEST() argument
54 TEST(strings, split_null_char) { in TEST() argument
62 TEST(strings, split_any) { in TEST() argument
70 TEST(strings, split_any_with_empty_part) { in TEST() argument
78 TEST(strings, trim_empty) { in TEST() argument
82 TEST(strings, trim_already_trimmed) { in TEST() argument
86 TEST(strings, trim_left) { in TEST() argument
[all …]
DAndroid.mk24 strings.cpp \
/system/connectivity/shill/
Dservice_under_test.h53 void set_strings(const std::vector<std::string>& strings) { in set_strings() argument
54 strings_ = strings; in set_strings()
56 const std::vector<std::string>& strings() const { return strings_; } in strings() function
Dservice_unittest.cc1192 ASSERT_EQ(kStrings0, service_->strings()); in TEST_F()
1198 EXPECT_EQ(kStrings1, service_->strings()); in TEST_F()
/system/bt/build/secondary/third_party/libchrome/
DBUILD.gn118 "base/strings/pattern.cc",
119 "base/strings/safe_sprintf.cc",
120 "base/strings/string16.cc",
121 "base/strings/string_number_conversions.cc",
122 "base/strings/string_piece.cc",
123 "base/strings/stringprintf.cc",
124 "base/strings/string_split.cc",
125 "base/strings/string_util.cc",
126 "base/strings/string_util_constants.cc",
127 "base/strings/sys_string_conversions_posix.cc",
[all …]
/system/bt/osi/test/
Darray_test.cpp58 char strings[][128] = { in TEST_F() local
71 array_append_ptr(array, strings[i % 8]); in TEST_F()
74 EXPECT_TRUE(!memcmp(array_at(array, i), strings[i % 8], 128)); in TEST_F()
/system/core/rootdir/
Dinit.usb.configfs.rc13 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
22 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp"
34 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_adb"
44 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ptp"
56 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ptp_adb"
66 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory"
78 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory_adb"
88 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "audiosource"
100 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "audiosource_adb"
110 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory_audiosource"
[all …]
/system/connectivity/shill/net/
Devent_history.cc45 std::vector<std::string> strings; in ExtractWallClockToStrings() local
48 strings.push_back(it->wall_clock); in ExtractWallClockToStrings()
50 return strings; in ExtractWallClockToStrings()
Devent_history_unittest.cc245 vector<string> strings = ExtractWallClockToStrings(); in TEST_F() local
247 ASSERT_EQ(arraysize(kValues), strings.size()); in TEST_F()
249 EXPECT_EQ(kValues[i].wall_clock, strings[i]); in TEST_F()
/system/core/libutils/tests/
DLruCache_test.cpp207 char* strings[kNumKeys]; in TEST_F() local
210 strings[i] = (char *)malloc(16); in TEST_F()
211 sprintf(strings[i], "%zu", i); in TEST_F()
221 EXPECT_EQ(strings[index], val); in TEST_F()
224 cache.put(key, strings[index]); in TEST_F()
233 free((void *)strings[i]); in TEST_F()
/system/connectivity/shill/wifi/
Dwifi_provider.cc683 time_t WiFiProvider::StringListToFrequencyMap(const vector<string>& strings, in StringListToFrequencyMap() argument
691 vector<string>::const_iterator strings_it = strings.begin(); in StringListToFrequencyMap()
692 if (strings_it == strings.end()) { in StringListToFrequencyMap()
702 for (++strings_it; strings_it != strings.end(); ++strings_it) { in StringListToFrequencyMap()
739 vector<string>* strings) { in FrequencyMapToStringList() argument
740 if (!strings) { in FrequencyMapToStringList()
745 strings->push_back(StringPrintf("%s%" PRIu64, kStartWeekHeader, in FrequencyMapToStringList()
752 strings->push_back(StringPrintf("%u%c%s", in FrequencyMapToStringList()
Dwifi_provider.h226 const std::vector<std::string>& strings,
245 std::vector<std::string>* strings);
Dwifi_provider_unittest.cc350 void BuildFreqCountStrings(vector<string>* strings) { in BuildFreqCountStrings() argument
357 if (!strings) { in BuildFreqCountStrings()
362 (*strings).push_back(kStrings[i]); in BuildFreqCountStrings()
1691 vector<string> strings; in TEST_F() local
1692 BuildFreqCountStrings(&strings); in TEST_F()
1694 time_t days = WiFiProvider::StringListToFrequencyMap(strings, in TEST_F()
1704 vector<string> strings; in TEST_F() local
1705 strings.push_back("@50"); in TEST_F()
1707 time_t days = WiFiProvider::StringListToFrequencyMap(strings, in TEST_F()
/system/core/libcutils/
Dsched_policy.c434 static const char * const strings[SP_CNT] = { in get_sched_policy_name() local
442 if ((policy < SP_CNT) && (strings[policy] != NULL)) in get_sched_policy_name()
443 return strings[policy]; in get_sched_policy_name()
/system/core/adb/
Dusb_linux_client.cpp230 } __attribute__((packed)) strings = { variable
233 .length = cpu_to_le32(sizeof(strings)),
427 ret = adb_write(h->control, &strings, sizeof(strings)); in init_functionfs()
/system/sepolicy/tools/
Dcheckfc.c131 static void dump_char_array(FILE *stream, const char * const *strings) in dump_char_array() argument
134 const char * const *p = strings; in dump_char_array()
/system/tools/aidl/
DAndroid.mk42 LOCAL_CLANG_CFLAGS += -Wno-writable-strings
/system/connectivity/shill/doc/
Dmanager-api.txt35 their home directory. Both strings must contain
531 The list of available technologies. The strings
547 The list of connected technologies. The strings
608 The list of enabled technologies. The strings
668 EnableTechnology will fail. The strings are the same
735 the Device object is not created yet). The strings
/system/connectivity/shill/bin/
Dff_debug86 # Global strings
/system/core/init/
Dreadme.txt183 Triggers are strings which can be used to match certain kinds of
188 Event triggers are strings triggered by the 'trigger' command or by
192 Property triggers are strings triggered when a named property changes
/system/core/libutils/
DREADME70 * res/values: integers, strings, etc. Each resource may have different
/system/bt/doc/
Dstyle_guide.md155 ### Function names as strings
/system/core/fastboot/
Dfastboot_protocol.txt107 * Commands are ascii strings and sent without the quotes (which are
/system/media/audio_utils/
DDoxyfile.orig138 # Stripping is only done if one of the specified strings matches the left-hand
DDoxyfile138 # Stripping is only done if one of the specified strings matches the left-hand