Home
last modified time | relevance | path

Searched refs:num_seats (Results 1 – 5 of 5) sorted by relevance

/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmInput/src/
Dilm_input.c31 ilm_setInputAcceptanceOn(t_ilm_surface surfaceID, t_ilm_uint num_seats, in ilm_setInputAcceptanceOn() argument
42 if ((seats == NULL) && (num_seats != 0)) { in ilm_setInputAcceptanceOn()
62 for(i = 0; i < num_seats; i++) { in ilm_setInputAcceptanceOn()
78 for(i = 0; i < num_seats; i++) { in ilm_setInputAcceptanceOn()
98 for (i = 0; i < num_seats; i++) { in ilm_setInputAcceptanceOn()
114 ilm_getInputAcceptanceOn(t_ilm_surface surfaceID, t_ilm_uint *num_seats, in ilm_getInputAcceptanceOn() argument
123 if ((seats == NULL) || (num_seats == NULL)) { in ilm_getInputAcceptanceOn()
143 *num_seats = wl_list_length(&surface_ctx->list_accepted_seats); in ilm_getInputAcceptanceOn()
144 *seats = calloc(*num_seats, sizeof **seats); in ilm_getInputAcceptanceOn()
163 *num_seats = 0; in ilm_getInputAcceptanceOn()
[all …]
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/
Dilm_input_test.cpp168 t_ilm_uint num_seats = 0; in TEST_F() local
174 ASSERT_EQ(ILM_SUCCESS, ilm_getInputAcceptanceOn(surface1, &num_seats, in TEST_F()
176 EXPECT_EQ(1, num_seats); in TEST_F()
185 ASSERT_EQ(ILM_SUCCESS, ilm_getInputAcceptanceOn(surface1, &num_seats, in TEST_F()
187 EXPECT_EQ(0, num_seats); in TEST_F()
193 ASSERT_EQ(ILM_SUCCESS, ilm_getInputAcceptanceOn(surface1, &num_seats, in TEST_F()
195 EXPECT_EQ(set_seats_count, num_seats); in TEST_F()
Dilm_input_null_pointer_test.cpp114 t_ilm_uint num_seats = 0; in TEST_F() local
120 EXPECT_EQ(ILM_FAILED, ilm_getInputAcceptanceOn(0, &num_seats, in TEST_F()
132 t_ilm_uint num_seats = 0; in TEST_F() local
138 EXPECT_EQ(ILM_FAILED, ilm_getInputDevices(bitmask, &num_seats, in TEST_F()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/
Dinput_commands.cpp52 t_ilm_uint num_seats = 0; variable
65 ilmErrorTypes callResult = ilm_getInputDevices(mask, &num_seats, &seats);
73 for(unsigned int i = 0; i < num_seats; i++) {
234 t_ilm_uint num_seats; variable
237 ilmErrorTypes callResult = ilm_getInputAcceptanceOn(surfaceid, &num_seats,
247 for (unsigned int i = 0; i < num_seats; i++) {
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmInput/include/
Dilm_input.h40 ilm_setInputAcceptanceOn(t_ilm_surface surfaceID, t_ilm_uint num_seats,
55 ilm_getInputAcceptanceOn(t_ilm_surface surfaceID, t_ilm_uint *num_seats,
72 ilm_getInputDevices(ilmInputDevice bitmask, t_ilm_uint *num_seats,