Searched refs:CheckType (Results 1 – 4 of 4) sorted by relevance
/system/core/init/ |
D | property_type_test.cpp | 25 EXPECT_TRUE(CheckType("string", "")); in TEST() 26 EXPECT_TRUE(CheckType("string", "-234")); in TEST() 27 EXPECT_TRUE(CheckType("string", "234")); in TEST() 28 EXPECT_TRUE(CheckType("string", "true")); in TEST() 29 EXPECT_TRUE(CheckType("string", "false")); in TEST() 30 EXPECT_TRUE(CheckType("string", "45645634563456345634563456")); in TEST() 31 EXPECT_TRUE(CheckType("string", "some other string")); in TEST() 35 EXPECT_TRUE(CheckType("int", "")); in TEST() 36 EXPECT_FALSE(CheckType("int", "abc")); in TEST() 37 EXPECT_FALSE(CheckType("int", "-abc")); in TEST() [all …]
|
D | property_type.h | 25 bool CheckType(const std::string& type_string, const std::string& value);
|
D | property_type.cpp | 31 bool CheckType(const std::string& type_string, const std::string& value) { in CheckType() function
|
D | property_service.cpp | 473 if (type == nullptr || !CheckType(type, value)) { in CheckPermissions()
|