Lines Matching refs:keyArgs

2496     NotifyKeyArgs keyArgs;  in TEST_F()  local
2612 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2613 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2614 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2646 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2647 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2648 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2653 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2654 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2655 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2687 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2688 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2689 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
2694 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2695 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2696 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2728 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2729 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2730 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2735 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2736 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2737 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
2769 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2770 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
2771 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
3313 NotifyKeyArgs keyArgs; in TEST_F() local
3321 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3322 ASSERT_EQ(ARBITRARY_TIME, keyArgs.eventTime); in TEST_F()
3323 ASSERT_EQ(DEVICE_ID, keyArgs.deviceId); in TEST_F()
3324 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, keyArgs.source); in TEST_F()
3325 ASSERT_EQ(POLICY_FLAG_VIRTUAL, keyArgs.policyFlags); in TEST_F()
3326 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3327 ASSERT_EQ(AKEY_EVENT_FLAG_FROM_SYSTEM | AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY, keyArgs.flags); in TEST_F()
3328 ASSERT_EQ(AKEYCODE_HOME, keyArgs.keyCode); in TEST_F()
3329 ASSERT_EQ(KEY_HOME, keyArgs.scanCode); in TEST_F()
3330 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, keyArgs.metaState); in TEST_F()
3331 ASSERT_EQ(ARBITRARY_TIME, keyArgs.downTime); in TEST_F()
3339 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3340 ASSERT_EQ(ARBITRARY_TIME, keyArgs.eventTime); in TEST_F()
3341 ASSERT_EQ(DEVICE_ID, keyArgs.deviceId); in TEST_F()
3342 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, keyArgs.source); in TEST_F()
3343 ASSERT_EQ(POLICY_FLAG_VIRTUAL, keyArgs.policyFlags); in TEST_F()
3344 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3346 | AKEY_EVENT_FLAG_CANCELED, keyArgs.flags); in TEST_F()
3347 ASSERT_EQ(AKEYCODE_HOME, keyArgs.keyCode); in TEST_F()
3348 ASSERT_EQ(KEY_HOME, keyArgs.scanCode); in TEST_F()
3349 ASSERT_EQ(AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_ON, keyArgs.metaState); in TEST_F()
3350 ASSERT_EQ(ARBITRARY_TIME, keyArgs.downTime); in TEST_F()
3852 NotifyKeyArgs keyArgs; in TEST_F() local
3922 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3923 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3924 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3944 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3945 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3946 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3951 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3952 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3953 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3973 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3974 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
3975 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
3980 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
3981 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3982 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
4002 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
4003 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
4004 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
4009 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
4010 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
4011 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
4031 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
4032 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
4033 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5358 NotifyKeyArgs keyArgs; in TEST_F() local
5429 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5430 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5431 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5451 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5452 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5453 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5458 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5459 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5460 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5480 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5481 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5482 ASSERT_EQ(AKEYCODE_BACK, keyArgs.keyCode); in TEST_F()
5487 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5488 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5489 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5509 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5510 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5511 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5516 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5517 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
5518 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()
5538 ASSERT_NO_FATAL_FAILURE(mFakeListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
5539 ASSERT_EQ(AKEY_EVENT_ACTION_UP, keyArgs.action); in TEST_F()
5540 ASSERT_EQ(AKEYCODE_FORWARD, keyArgs.keyCode); in TEST_F()