Lines Matching refs:bitmasks
96 ilmInputDevice *bitmasks; in TEST_F() local
105 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F()
112 EXPECT_EQ(bitmasks[i], 0); in TEST_F()
117 free(bitmasks); in TEST_F()
124 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F()
129 EXPECT_EQ(bitmasks[i], ILM_INPUT_DEVICE_KEYBOARD); in TEST_F()
133 free(bitmasks); in TEST_F()
137 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F()
141 EXPECT_EQ(bitmasks[i], 0); in TEST_F()
143 free(bitmasks); in TEST_F()
147 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F()
151 EXPECT_EQ(bitmasks[i], ILM_INPUT_DEVICE_POINTER | ILM_INPUT_DEVICE_KEYBOARD); in TEST_F()
153 free(bitmasks); in TEST_F()
157 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F()
161 EXPECT_EQ(bitmasks[i], ILM_INPUT_DEVICE_KEYBOARD | ILM_INPUT_DEVICE_TOUCH); in TEST_F()
163 free(bitmasks); in TEST_F()