Home
last modified time | relevance | path

Searched refs:CallState (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dcall_record.cpp28 state_(CallState::INIT), in CallRecord()
50 callRecord->SetCallState(CallState::INIT); in CreateCallRecord()
137 state_ = CallState::REQUESTED; in SchedulerConnectDone()
196 std::string state = (state_ == CallState::INIT ? "INIT" : in Dump()
197 state_ == CallState::REQUESTING ? "REQUESTING" : "REQUESTED"); in Dump()
209 bool CallRecord::IsCallState(const CallState &state) const in IsCallState()
214 void CallRecord::SetCallState(const CallState &state) in SetCallState()
H A Dcall_container.cpp155 if (callRecord && callRecord->IsCallState(CallState::REQUESTING)) { in CallRequestDone()
181 if (callRecord && !callRecord->IsCallState(CallState::REQUESTED)) { in IsNeedToCallRequest()
/ohos5.0/docs/zh-cn/application-dev/telephony/
H A Dtelephony-call.md44 | on(type: 'callStateChange', options: { slotId: number }, callback: Callback<{ state: CallState, n…
73 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
109 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dcall_record.h51 enum class CallState { INIT, REQUESTING, REQUESTED }; enum
77 bool IsCallState(const CallState &state) const;
78 void SetCallState(const CallState &state);
87 CallState state_; // call state
/ohos5.0/base/telephony/state_registry/interfaces/kits/js/
H A D@ohos.telephony.observer.d.ts98 type CallState = call.CallState;
764 state: CallState;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Djs-apis-call.md342 getCallState\(callback: AsyncCallback\<CallState\>\): void
352 | callback | AsyncCallback&lt;[CallState](#callstate)&gt; | 是 | 回调函数,异步返回获取到的通话状态。 |
359 call.getCallState((err: BusinessError, data: call.CallState) => {
371 getCallState\(\): Promise\<CallState\>
381 | Promise&lt;[CallState](#callstate)&gt; | 以Promise形式异步返回获取到的通话状态。 |
388 call.getCallState().then((data: call.CallState) => {
397 getCallStateSync\(\): CallState
407 | [CallState](#callstate) | 返回获取到的通话状态。 |
412 let callState: call.CallState = call.getCallStateSync();
812 ## CallState section
H A Djs-apis-observer.md93 ## CallState section
95 type CallState = call.CallState
103 | [call.CallState](js-apis-call.md#callstate) | 通话状态码。 |
400 …\<[CallStateInfo](#callstateinfo11)\> | 是 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md…
441 …o](#callstateinfo11)\> | 是 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md…
484 …o](#callstateinfo11)\> | 否 | 以callback形式异步返回结果,参考call的[CallState](js-apis-call.md…
1000 | state | [CallState](js-apis-call.md#callstate) | 是 | 通话类型。 |
/ohos5.0/docs/en/application-dev/telephony/
H A Dtelephony-call.md44 | on(type: 'callStateChange', options: { slotId: number }, callback: Callback<{ state: CallState, n…
73 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
109 state: call.CallState = call.CallState.CALL_STATE_UNKNOWN;
/ohos5.0/foundation/ability/ability_runtime/test/unittest/call_container_test/
H A Dcall_container_test.cpp257 callRecord->SetCallState(CallState::INIT);
280 callRecord->SetCallState(CallState::REQUESTING);
303 callRecord->SetCallState(CallState::REQUESTED);
361 callRecord->SetCallState(CallState::REQUESTED);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_record_test/
H A Dability_record_test_call.cpp180 callRecord->SetCallState(CallState::REQUESTING);
195 callRecord->SetCallState(CallState::REQUESTED);
419 callRecord->SetCallState(CallState::INIT);
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/include/
H A Dnapi_state_registry.h42 enum class CallState : int32_t { enum
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/
H A Dmission_list_manager_ut_test.cpp272 callRecord->SetCallState(CallState::INIT);
317 callRecord->SetCallState(CallState::REQUESTED);
438 callRecord->SetCallState(CallState::REQUESTED);
473 callRecord->SetCallState(CallState::INIT);
510 callRecord->SetCallState(CallState::INIT);
575 callRecord->SetCallState(CallState::REQUESTED);
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/
H A Djs-apis-call.md342 getCallState\(callback: AsyncCallback\<CallState\>\): void
352 | callback | AsyncCallback&lt;[CallState](#callstate)&gt; | Yes | Callback used to return the resu…
359 call.getCallState((err: BusinessError, data: call.CallState) => {
371 getCallState\(\): Promise\<CallState\>
381 | Promise&lt;[CallState](#callstate)&gt; | Promise used to return the result.|
388 call.getCallState().then((data: call.CallState) => {
397 getCallStateSync\(\): CallState
407 | [CallState](#callstate) | Promise used to return the result.|
412 let callState: call.CallState = call.getCallStateSync();
812 ## CallState section
H A Djs-apis-observer.md284 …nfo11)\> | Yes | Callback used to return the result. For details, see [CallState](js-apis-call.md…
325 … | Yes | Callback used to return the result. For details, see [CallState](js-apis-call.md…
368 … | No | Callback used to return the result. For details, see [CallState](js-apis-call.md…
884 | state | [CallState](js-apis-call.md#callstate) | Yes | Call type.|
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/src/
H A Dcall.js190 CallState: call.CallState,
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/applicationanrlistener_fuzzer/
H A Dapplicationanrlistener_fuzzer.cpp172 CallState state = CallState::INIT; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_hf_call.h48 enum CallState { enum
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/src/
H A Devent_listener_handler.cpp65 return static_cast<int32_t>(CallState::CALL_STATE_OFFHOOK); in WrapCallState()
68 return static_cast<int32_t>(CallState::CALL_STATE_RINGING); in WrapCallState()
72 return static_cast<int32_t>(CallState::CALL_STATE_IDLE); in WrapCallState()
74 return static_cast<int32_t>(CallState::CALL_STATE_ANSWERED); in WrapCallState()
76 return static_cast<int32_t>(CallState::CALL_STATE_UNKNOWN); in WrapCallState()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-telephony.md10 |新增|NA|类名:call;<br>方法or属性:function getCallStateSync(): CallState;|@ohos.telephony.call.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/
H A Djs-apidiff-telephony.md10 |Added|NA|Class name: call;<br>Method or attribute name: function getCallStateSync(): CallState;|@o…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-telephony.md290 …te: CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function on(type: 'callS…
291CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function on(type: 'callState…
299 …e: CallState, number: string }>): void;<br>旧版本信息:|类名:observer;<br>方法or属性:function off(type: 'callS…
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/
H A Djs-apidiff-telephony.md149 …or 属性:function on(type: 'callStateChange', callback: Callback\<{ state: CallState, number: string …
150 …ange', options: { slotId: number },<br> callback: Callback\<{ state: CallState, number: string …
151 … 属性:function off(type: 'callStateChange', callback?: Callback\<{ state: CallState, number: string …
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/
H A Djs-apidiff-v3.0-lts.md162 …话子系统-call|getCallState(callback: AsyncCallback\<CallState>): void;<br/>getCallState(): Promise\<Ca…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-telephony.md290CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute…
291CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute…
299CallState, number: string }>): void;<br>Old version: |Class name: observer;<br>Method or attribute…
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/
H A Djs-apidiff-telephony.md149 …name: function on(type: 'callStateChange', callback: Callback\<{ state: CallState, number: string …
150 …ange', options: { slotId: number },<br> callback: Callback\<{ state: CallState, number: string …
151 …me: function off(type: 'callStateChange', callback?: Callback\<{ state: CallState, number: string …

12