/foundation/communication/dsoftbus/tests/adapter/bluetooth/ |
H A D | assert_helper.h | 42 testing::AssertionResult Expect(int32_t idParam) in Expect() function in RecordCtx 72 testing::AssertionResult Expect(int32_t id, int32_t stParam) in Expect() function in StRecordCtx 74 auto result = RecordCtx::Expect(id); in Expect() 108 testing::AssertionResult Expect(int32_t id, SoftBusBtAddr *addrParam, int32_t st = 0) in Expect() function in BtAddrRecordCtx 110 auto result = StRecordCtx::Expect(id, st); in Expect() 144 testing::AssertionResult Expect(int32_t id, int32_t st, int32_t valParam) in Expect() function in IntRecordCtx 146 auto result = StRecordCtx::Expect(id, st); in Expect()
|
H A D | softbus_adapter_bt_common_test.cpp | 146 auto btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BR_STATE_TURNING_ON); in HWTEST() 149 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BLE_STATE_TURNING_ON); in HWTEST() 153 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BR_STATE_TURN_ON); in HWTEST() 156 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BLE_STATE_TURN_ON); in HWTEST() 160 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BR_STATE_TURNING_OFF); in HWTEST() 163 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BLE_STATE_TURNING_OFF); in HWTEST() 167 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BR_STATE_TURN_OFF); in HWTEST() 170 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_BLE_STATE_TURN_OFF); in HWTEST() 175 btStateResult = g_btStateChangedCtx.Expect(listenerId, SOFTBUS_COMM_BLUETOOTH_SWITCH_STATE_ERR); in HWTEST() 203 auto aclStateResult = g_btAclStateChangedCtx.Expect(listenerI in HWTEST() [all...] |
H A D | softbus_adapter_ble_gatt_server_test.cpp | 42 testing::AssertionResult Expect(int32_t id, int32_t st, SoftBusBtUuid *param); 52 testing::AssertionResult Expect(int32_t id, int32_t st, int32_t handle, SoftBusBtUuid *param); 451 ASSERT_TRUE(serviceAddCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK, &service)); in HWTEST_F() 472 characteristicAddCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK, MOCK_GATT_CHARA_HANDLE, &characteristic)); in HWTEST_F() 507 descriptorAddCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK, MOCK_GATT_DESCRIPTOR_HANDLE, &descriptor)); in HWTEST_F() 511 ASSERT_TRUE(serviceStartCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK)); in HWTEST_F() 539 ASSERT_TRUE(connectServerCtx.Expect(1, &addr)); in HWTEST_F() 621 ASSERT_TRUE(serviceStopCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK)); in HWTEST_F() 626 ASSERT_TRUE(serviceDeleteCtx.Expect(MOCK_GATT_SERVICE_HANDLE, SOFTBUS_OK)); in HWTEST_F() 661 testing::AssertionResult BtUuidRecordCtx::Expect(int32_ function in OHOS::BtUuidRecordCtx 691 testing::AssertionResult BtGattRecordCtx::Expect(int32_t id, int32_t st, int32_t handleParam, SoftBusBtUuid *param) Expect() function in OHOS::BtGattRecordCtx [all...] |
H A D | softbus_adapter_ble_gatt_client_test.cpp | 45 testing::AssertionResult Expect(int32_t id, int32_t st, SoftBusGattcNotify *param); 324 ASSERT_TRUE(connectionStateCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS, OHOS_STATE_CONNECTED)); in HWTEST_F() 328 ASSERT_TRUE(serviceCompleteStateCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS)); in HWTEST_F() 344 ASSERT_TRUE(registNotificationCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS)); in HWTEST_F() 353 ASSERT_TRUE(registNotificationCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS)); in HWTEST_F() 358 ASSERT_TRUE(configureMtuSizeCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS, mtu)); in HWTEST_F() 420 ASSERT_TRUE(notificationReceiveCtx.Expect(clientId, OHOS_BT_STATUS_SUCCESS, ¬ify)); in HWTEST_F() 506 testing::AssertionResult GattcNotifyRecordCtx::Expect(int32_t id, int32_t st, SoftBusGattcNotify *param) in Expect() function in OHOS::GattcNotifyRecordCtx 508 auto result = StRecordCtx::Expect(id, st); in Expect()
|
/foundation/communication/dsoftbus/tests/adapter/broadcast/ |
H A D | assert_helper.h | 37 testing::AssertionResult Expect(int32_t idParam) in Expect() function in RecordCtx 67 testing::AssertionResult Expect(int32_t id, int32_t stParam) in Expect() function in StRecordCtx 69 auto result = RecordCtx::Expect(id); in Expect() 103 testing::AssertionResult Expect(int32_t id, SoftbusMacAddr *addrParam, int32_t st = 0) in Expect() function in BtAddrRecordCtx 105 auto result = StRecordCtx::Expect(id, st); in Expect() 139 testing::AssertionResult Expect(int32_t id, int32_t st, int32_t valParam) in Expect() function in IntRecordCtx 141 auto result = StRecordCtx::Expect(id, st); in Expect()
|
H A D | softbus_ble_gatt_test.cpp | 42 testing::AssertionResult Expect(int32_t scannerId, const SoftBusBcScanResult *reportData); 1236 ASSERT_FALSE(scanResultCtx.Expect(scannerId, &expectScanResult)); in HWTEST_F() 1244 ASSERT_FALSE(scanResultCtx.Expect(scannerId, &expectScanResult)); in HWTEST_F() 1307 testing::AssertionResult ScanResultCtx::Expect(int32_t id, const SoftBusBcScanResult *scanResultParam) in Expect() function in OHOS::ScanResultCtx 1309 auto result = RecordCtx::Expect(id); in Expect()
|
/foundation/multimodalinput/input/service/monitor/include/ |
H A D | event_monitor_handler.h | 107 bool Expect(std::shared_ptr<PointerEvent> pointerEvent) const;
|
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | event_monitor_handler.cpp | 225 bool EventMonitorHandler::SessionHandler::Expect(std::shared_ptr<PointerEvent> pointerEvent) const in Expect() function in OHOS::MMI::EventMonitorHandler::SessionHandler 597 if (monitor.Expect(pointerEvent)) { in IsSendToClient()
|