Searched refs:security_callback (Results 1 – 1 of 1) sorted by relevance
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 206 tBTM_SEC_CALLBACK* security_callback = nullptr; in ConnectServerPort() local 214 .WillOnce(DoAll(SaveArg<5>(&security_callback), SaveArg<6>(&p_port), in ConnectServerPort() 228 ASSERT_TRUE(security_callback); in ConnectServerPort() 229 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); in ConnectServerPort() 350 tBTM_SEC_CALLBACK* security_callback = nullptr; in ConnectClientPort() local 356 .WillOnce(DoAll(SaveArg<5>(&security_callback), SaveArg<6>(&p_port), in ConnectClientPort() 366 ASSERT_TRUE(security_callback); in ConnectClientPort() 367 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); in ConnectClientPort() 835 tBTM_SEC_CALLBACK* security_callback = nullptr; in TEST_F() local 841 .WillOnce(DoAll(SaveArg<5>(&security_callback), SaveArg<6>(&p_port), in TEST_F() [all …]
|