Searched refs:propertyFile_getInt (Results 1 – 3 of 3) sorted by relevance
/external/qemu/android/avd/ |
D | util_unittest.cpp | 32 TEST(AvdUtil, propertyFile_getInt) { in TEST() argument 50 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid", kDefault, &searchResult)); in TEST() 54 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid2", kDefault, &searchResult)); in TEST() 58 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid3", kDefault, &searchResult)); in TEST() 62 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "bar", kDefault, &searchResult)); in TEST() 66 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "empty", kDefault, &searchResult)); in TEST() 70 EXPECT_EQ(19,propertyFile_getInt(&fd, "nineteen", kDefault, &searchResult)); in TEST() 74 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "bar", kDefault, NULL)); in TEST() 75 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid", kDefault, NULL)); in TEST() 76 EXPECT_EQ(19,propertyFile_getInt(&fd, "nineteen", kDefault, NULL)); in TEST()
|
D | util.c | 188 propertyFile_getInt(const FileData* data, const char* key, int _default, in propertyFile_getInt() function 226 int level = propertyFile_getInt(data, "ro.build.version.sdk", kMinLevel, in propertyFile_getApiLevel() 242 int qemud = propertyFile_getInt(data, "ro.adb.qemud", 1, &searchResult); in propertyFile_getAdbdCommunicationMode()
|
D | util.h | 60 int propertyFile_getInt(const FileData* data, const char* key, int _default,
|