OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tryParseBool
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/tools/aapt2/
ResourceUtils.h
80
bool
tryParseBool
(const StringPiece16& str, bool* outValue);
116
std::unique_ptr<BinaryPrimitive>
tryParseBool
(const StringPiece16& str);
ResourceUtils_test.cpp
28
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"true", &val));
31
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"TRUE", &val));
34
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"True", &val));
37
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"false", &val));
40
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"FALSE", &val));
43
EXPECT_TRUE(ResourceUtils::
tryParseBool
(u"False", &val));
ResourceUtils.cpp
389
bool
tryParseBool
(const StringPiece16& str, bool* outValue) {
405
std::unique_ptr<BinaryPrimitive>
tryParseBool
(const StringPiece16& str) {
407
if (
tryParseBool
(str, &result)) {
503
std::unique_ptr<BinaryPrimitive> boolean =
tryParseBool
(value);
ResourceParser.cpp
531
if (!ResourceUtils::
tryParseBool
(formattedAttr.value(), &formatted)) {
540
if (!ResourceUtils::
tryParseBool
(translateableAttr.value(), &translateable)) {
[
all
...]
/frameworks/base/tools/aapt2/link/
TableMerger_test.cpp
147
.addValue(u"@bool/foo", ResourceUtils::
tryParseBool
(u"true"))
151
.addValue(u"@bool/foo", ResourceUtils::
tryParseBool
(u"false"))
174
.addValue(u"@bool/foo", ResourceUtils::
tryParseBool
(u"true"))
190
.addValue(u"@bool/foo", ResourceUtils::
tryParseBool
(u"true"))
208
.addValue(u"@bool/foo", ResourceUtils::
tryParseBool
(u"true"))
/frameworks/base/services/core/java/com/android/server/notification/
RankingHelper.java
312
private static boolean
tryParseBool
(String value, boolean defValue) {
Completed in 214 milliseconds