Home
last modified time | relevance | path

Searched refs:call (Results 1 - 25 of 85) sorted by relevance

1234

/foundation/communication/bluetooth_service/test/unittest/hfp/
H A Dhf_call_test.cpp58 HandsFreeUnitCall call("000", 0, 0, "000", false, false, false); in HWTEST_F()
72 HandsFreeUnitCall call("000", 0, 0, "000", UUID::FromString("000"), false, false, false, 0); in HWTEST_F()
86 HandsFreeUnitCall call; in HWTEST_F() local
87 EXPECT_EQ("", call.GetRemoteDevice()); in HWTEST_F()
95 * @tc.desc: Get the call index.
101 HandsFreeUnitCall call; in HWTEST_F() local
102 EXPECT_EQ(0, call.GetId()); in HWTEST_F()
117 HandsFreeUnitCall call; in HWTEST_F() local
118 UUID uuid = call.GetUuid(); in HWTEST_F()
128 * @tc.desc: Get the call stat
134 HandsFreeUnitCall call; HWTEST_F() local
150 HandsFreeUnitCall call; HWTEST_F() local
166 HandsFreeUnitCall call; HWTEST_F() local
182 HandsFreeUnitCall call; HWTEST_F() local
198 HandsFreeUnitCall call; HWTEST_F() local
214 HandsFreeUnitCall call; HWTEST_F() local
229 HandsFreeUnitCall call; HWTEST_F() local
246 HandsFreeUnitCall call; HWTEST_F() local
262 HandsFreeUnitCall call; HWTEST_F() local
[all...]
H A Dhfp_hf_test.cpp36 virtual void OnCallChanged(const BluetoothRemoteDevice &device, const HandsFreeUnitCall &call) {} in OnCallChanged() argument
285 * @tc.desc: Accept an incoming call.
301 * @tc.desc: Hold an active call.
317 * @tc.desc: Reject an incoming call.
333 * @tc.desc: Start dial with specified call number.
341 HandsFreeUnitCall call; in HWTEST_F() local
342 EXPECT_EQ(profile_->FinishActiveCall(device, call), true); in HWTEST_F()
350 * @tc.desc: Start dial with specified call number.
359 std::optional<HandsFreeUnitCall> call = profile_->StartDial(device, number); in HWTEST_F() local
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Depoll_io_waiter_mingw.cpp29 #define UVERRLOG(call, err) HILOGE(#call " failed because %{public}s", uv_strerror(err))
30 #define UVERR(call, err) { if (err) { UVERRLOG(call, err); } }
31 #define UVERRRET(call, err) { if (err) { UVERRLOG(call, err); return; } }
32 #define UVERRRETVAL(call, err) { if (err) { UVERRLOG(call, err); return err; } }
33 #define UVCALL(call, ...) { if (auto err = call(__VA_ARGS_
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_hfp_hf_call.cpp31 BluetoothHfpHfCall *call = new BluetoothHfpHfCall(); in Unmarshalling() local
32 if (call != nullptr && !call->ReadFromParcel(parcel)) { in Unmarshalling()
33 delete call; in Unmarshalling()
34 call = nullptr; in Unmarshalling()
36 return call; in Unmarshalling()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_system_interface.cpp145 for (auto call : callList) { in HangupCall()
146 std::string number = call.accountNumber; in HangupCall()
148 __FUNCTION__, number.c_str(), (int)call.callState, (int)call.callId); in HangupCall()
149 if ((int)TelCallState::CALL_STATUS_ACTIVE == (int)call.callState) { in HangupCall()
238 for (auto call : callList) { in QueryCurrentCallsList()
240 std::string number = call.accountNumber; in QueryCurrentCallsList()
242 if (call.conferenceState != TelConferenceState::TEL_CONFERENCE_IDLE) { in QueryCurrentCallsList()
246 switch ((int)call.callDirection) { in QueryCurrentCallsList()
258 if ((int)call in QueryCurrentCallsList()
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_hf.cpp62 const BluetoothHfpHfCall &call) override
66 UUID uuid = UUID::ConvertFrom128Bits(call.GetUuid().ConvertTo128Bits());
67 HandsFreeUnitCall tmpCall(call.GetRemoteDevice(),
68 call.GetId(),
69 call.GetState(),
70 call.GetNumber(),
72 call.IsMultiParty(),
73 call.IsOutgoing(),
74 call.IsInBandRing(),
75 call
732 FinishActiveCall(const BluetoothRemoteDevice &device, const HandsFreeUnitCall &call) FinishActiveCall() argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/
H A Dlocal_call_record.cpp52 void LocalCallRecord::SetRemoteObject(const sptr<IRemoteObject>& call) in SetRemoteObject() argument
54 if (call == nullptr) { in SetRemoteObject()
59 remoteObject_ = call; in SetRemoteObject()
75 void LocalCallRecord::SetRemoteObject(const sptr<IRemoteObject>& call, in SetRemoteObject() argument
78 if (call == nullptr) { in SetRemoteObject()
83 remoteObject_ = call; in SetRemoteObject()
120 TAG_LOGD(AAFwkTag::LOCAL_CALL, "call"); in OnCallStubDied()
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/canvas/indexAPIPerformance/
H A Dindex.js20 drawLinesWithSingleStrokeAndOneSeparate.call(this);
21 drawRectanglesWithSingleStrokeAndOneSeparate.call(this);
22 drawArcsWithSingleStrokeAndOneSeparate.call(this);
23 drawLinesWithMultipleStrokes.call(this);
24 drawRectanglesWithMultipleStrokes.call(this);
25 drawArcsWithMultipleStrokes.call(this);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_call_manager.cpp62 void HfpHfCallManager::UpdateCall(HandsFreeUnitCalls &call) in UpdateCall() argument
64 updateCalls_[call.GetId()] = call; in UpdateCall()
113 void HfpHfCallManager::NotifyCallChanged(const HandsFreeUnitCalls &call) in NotifyCallChanged() argument
118 service->NotifyCallChanged(rawAddress, call); in NotifyCallChanged()
H A Dhfp_hf_call_manager.h45 * @brief Get the call by the id.
47 * @param id The call id.
48 * @return Returns the pointer of the call.
53 * @brief Get the call by the state.
55 * @param state : The call state.
56 * @return Returns the pointer of the call.
68 * @brief Update the call.
70 * @param call The call.
72 void UpdateCall(HandsFreeUnitCalls &call);
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/
H A Dbuild.py29 subprocess.call(["npm", "install"])
35 subprocess.call(["npm", "run", script])
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dsingle_kvstore_async_get_test.cpp184 std::function<void(Status, Value&&)> call = [blockData, value](Status status, Value &&out) { in HWTEST_F() local
190 store->Get({ "test_key" }, devInfo.networkId, call); in HWTEST_F()
215 std::function<void(Status, Value&&)> call = [blockData](Status status, Value &&value) { in HWTEST_F() local
219 singleKvStore->Get({ "test_key_0" }, "", call); in HWTEST_F()
222 singleKvStore->Get({ "test_key_0" }, "networkId_test", call); in HWTEST_F()
249 std::function<void(Status, std::vector<Entry>&&)> call = [blockData](Status status, std::vector<Entry> &&value) { in HWTEST_F() local
253 singleKvStore->GetEntries({ "prefix_key_" }, "", call); in HWTEST_F()
256 singleKvStore->GetEntries({ "prefix_key_" }, "networkId_test", call); in HWTEST_F()
277 std::function<void(Status, Value&&)> call = [blockData, result](Status status, Value &&value) { in HWTEST_F() local
283 singleKvStore->Get("test_key_1", devInfo.networkId, call); in HWTEST_F()
305 std::function<void(Status, std::vector<Entry>&&)> call = HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dcall_record.cpp54 void CallRecord::SetCallStub(const sptr<IRemoteObject> &call) in SetCallStub() argument
56 CHECK_POINTER(call); in SetCallStub()
61 callRemoteObject_ = call; in SetCallStub()
68 auto call = wptr.lock(); in SetCallStub()
69 if (call == nullptr) { in SetCallStub()
70 TAG_LOGE(AAFwkTag::ABILITYMGR, "null call"); in SetCallStub()
74 call->OnCallStubDied(remote); in SetCallStub()
/foundation/arkui/napi/test/unittest/common/
H A Dtest_common.h20 #define ASSERT_CHECK_CALL(call) \
22 ASSERT_EQ(call, napi_ok); \
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/
H A Dobserver.js35 return this._getter.call(this._ctx);
48 this._fn.call(context, nextValue, lastValue, meta);
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_hfp_hf_server.cpp54 void OnCallChanged(const RawAddress& device, const HandsFreeUnitCalls& call) override
57 observers_->ForEach([device, call](IBluetoothHfpHfObserver* observer) {
58 observer->OnCallChanged(device, call);
311 for (HandsFreeUnitCalls call : callVector) { in GetCurrentCallList()
312 calls.push_back(BluetoothHfpHfCall(call)); in GetCurrentCallList()
406 const BluetoothHfpHfCall &call) in FinishActiveCall()
411 return pimpl->HfpHfService_->FinishActiveCall(addr, call); in FinishActiveCall()
417 BluetoothHfpHfCall &call) in StartDial()
428 call = calls; in StartDial()
431 call in StartDial()
405 FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) FinishActiveCall() argument
416 StartDial(const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) StartDial() argument
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/napi_base_context/src/
H A Dnapi_base_context.cpp18 #define OHOS_CALL_NAPI_RETURN(call) \
20 napi_status ret = (call); \
/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/
H A Dmock_bundle_manager.cpp70 auto call = fun->second; in QueryAbilityInfo() local
71 if (call) { in QueryAbilityInfo()
72 call(bundleNameTemp, abilityInfo, elementTemp); in QueryAbilityInfo()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/
H A Dlocal_call_record.h27 * LocalCallRecord record local call info.
35 void SetRemoteObject(const sptr<IRemoteObject> &call);
36 void SetRemoteObject(const sptr<IRemoteObject> &call, sptr<IRemoteObject::DeathRecipient> callRecipient);
/foundation/ability/ability_runtime/test/unittest/call_record_test/
H A Dcall_record_test.cpp83 OHOS::sptr<OHOS::IRemoteObject> call = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F() local
84 callRecord->SetCallStub(call); in HWTEST_F()
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/
H A Dindex.js42 if (Object.prototype.toString.call(options) === '[object Object]') {
76 data = data.call(vm, vm);
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_hfp_hf.h50 virtual bool FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) = 0;
51 virtual int StartDial(const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_hfp_hf_server.h52 bool FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) override;
53 int StartDial(const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_hfp_hf_proxy.h48 bool FinishActiveCall(const BluetoothRawAddress &device, const BluetoothHfpHfCall &call) override;
49 int StartDial(const BluetoothRawAddress &device, const std::string &number, BluetoothHfpHfCall &call) override;
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp33 int call = 2; in DhcpServerFuzzerTest() local
38 range.iptype = static_cast<int>(data[0]) % call; in DhcpServerFuzzerTest()

Completed in 9 milliseconds

1234