Lines Matching refs:keyArgs
2363 NotifyKeyArgs keyArgs; in TEST_F() local
2479 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2480 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2481 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2513 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2514 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2515 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2520 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2521 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2522 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2554 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2555 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2556 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2561 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2562 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2563 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2595 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2596 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2597 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2602 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2603 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2604 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2636 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2637 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2638 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
3180 NotifyKeyArgs keyArgs; in TEST_F() local
3188 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3189 ASSERT_EQ(ARBITRARY_TIME, keyArgs.eventTime); in TEST_F()
3190 ASSERT_EQ(DEVICE_ID, keyArgs.deviceId); in TEST_F()
3191 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, keyArgs.source); in TEST_F()
3192 ASSERT_EQ(POLICY_FLAG_VIRTUAL, keyArgs.policyFlags); in TEST_F()
3193 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3194 ASSERT_EQ(AKEY_EVENT_FLAG_FROM_SYSTEM | AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY, keyArgs.flags); in TEST_F()
3195 ASSERT_EQ(AKEYCODE_HOME, keyArgs.keyCode); in TEST_F()
3196 ASSERT_EQ(KEY_HOME, keyArgs.scanCode); in TEST_F()
3197 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, keyArgs.metaState); in TEST_F()
3198 ASSERT_EQ(ARBITRARY_TIME, keyArgs.downTime); in TEST_F()
3206 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3207 ASSERT_EQ(ARBITRARY_TIME, keyArgs.eventTime); in TEST_F()
3208 ASSERT_EQ(DEVICE_ID, keyArgs.deviceId); in TEST_F()
3209 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, keyArgs.source); in TEST_F()
3210 ASSERT_EQ(POLICY_FLAG_VIRTUAL, keyArgs.policyFlags); in TEST_F()
3211 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3213 | AKEY_EVENT_FLAG_CANCELED, keyArgs.flags); in TEST_F()
3214 ASSERT_EQ(AKEYCODE_HOME, keyArgs.keyCode); in TEST_F()
3215 ASSERT_EQ(KEY_HOME, keyArgs.scanCode); in TEST_F()
3216 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, keyArgs.metaState); in TEST_F()
3217 ASSERT_EQ(ARBITRARY_TIME, keyArgs.downTime); in TEST_F()
3719 NotifyKeyArgs keyArgs; in TEST_F() local
3789 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3790 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3791 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3811 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3812 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3813 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3818 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3819 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3820 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3840 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3841 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3842 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3847 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3848 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3849 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
3869 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3870 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3871 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
3876 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3877 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3878 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
3898 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3899 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3900 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5214 NotifyKeyArgs keyArgs; in TEST_F() local
5285 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5286 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5287 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5307 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5308 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5309 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5314 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5315 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5316 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5336 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5337 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5338 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5343 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5344 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5345 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5365 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5366 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5367 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5372 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5373 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5374 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5394 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5395 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5396 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()