Home
last modified time | relevance | path

Searched refs:FLAG (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
DSettingsStatsUtilTest.java48 private static final String FLAG = "testflag"; field in SettingsStatsUtilTest
54 FLAG, in setUp()
62 assertNull(SettingsStatsUtil.getList(FLAG)); in getList_emptyString_nullValue()
67 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, FLAG, "abcd", false); in getList_notValidString_nullValue()
69 assertNull(SettingsStatsUtil.getList(FLAG)); in getList_notValidString_nullValue()
74 DeviceConfig.setProperty(DeviceConfig.NAMESPACE_SETTINGS_STATS, FLAG, ENCODED, false); in getList_validString_correctValue()
76 assertArrayEquals(KEYS, SettingsStatsUtil.getList(FLAG).element); in getList_validString_correctValue()
/frameworks/av/media/libstagefright/foundation/tests/
DFlagged_test.cpp136 enum FLAG : int32_t { enum
550 static_assert(helper::min_shift<Flagged<i32, FLAG, (FLAG)0x80808040>, in TEST_F()
551 FLAG, (FLAG)0x80007F80, (FLAG)0x80000000>::value == 0, ""); in TEST_F()
552 static_assert(helper::can_combine<Flagged<i32, FLAG, (FLAG)0x80808040>, in TEST_F()
553 FLAG, (FLAG)0x80007F80, (FLAG)0x80000000>::value, ""); in TEST_F()
623 typedef Flagged<Flagged<i32, FLAG, kMask0>, FLAG, kMask1, kMaskCommon> i32_F_ff_ff0; in TEST_F()
632 EXPECT_EQ(valD.get().flags(), FLAG(0x0BA)); in TEST_F()
634 EXPECT_EQ(valD.flags(), FLAG(0xBC0)); in TEST_F()
/frameworks/base/core/java/android/content/
DIntent.java10599 proto.write(IntentProto.FLAG, "0x" + Integer.toHexString(mFlags)); in dumpDebugWithoutFieldId()