Home
last modified time | relevance | path

Searched refs:telephonyObserverProxy (Results 1 - 2 of 2) sorted by relevance

/base/telephony/state_registry/test/unittest/state_test/
H A Dstate_registry_branch_test.cpp136 std::shared_ptr<OHOS::Telephony::TelephonyObserverProxy> telephonyObserverProxy = in HWTEST_F() local
141 telephonyObserverProxy->OnSimStateUpdated(0, type, state, reason); in HWTEST_F()
145 telephonyObserverProxy->OnCellInfoUpdated(0, vec); in HWTEST_F()
147 telephonyObserverProxy->OnNetworkStateUpdated(0, networkState.release()); in HWTEST_F()
148 telephonyObserverProxy->OnCellularDataConnectStateUpdated(0, DATA_STATE_CONNECTING, NETWORK_TYPE_GSM); in HWTEST_F()
149 telephonyObserverProxy->OnCellularDataFlowUpdated(0, DATA_FLOW_TYPE_DOWN); in HWTEST_F()
150 telephonyObserverProxy->OnCfuIndicatorUpdated(0, true); in HWTEST_F()
151 telephonyObserverProxy->OnVoiceMailMsgIndicatorUpdated(0, true); in HWTEST_F()
152 ASSERT_NE(telephonyObserverProxy, nullptr); in HWTEST_F()
H A Dstate_registry_test.cpp829 std::shared_ptr<OHOS::Telephony::TelephonyObserverProxy> telephonyObserverProxy = in HWTEST_F() local
831 telephonyObserverProxy->OnCallStateUpdated(DEFAULT_SIM_SLOT_ID, callState, number); in HWTEST_F()
833 telephonyObserverProxy->OnSignalInfoUpdated(DEFAULT_SIM_SLOT_ID, signalInformations); in HWTEST_F()
838 telephonyObserverProxy->OnSignalInfoUpdated(DEFAULT_SIM_SLOT_ID, signalInformations); in HWTEST_F()
840 telephonyObserverProxy->OnCellInfoUpdated(DEFAULT_SIM_SLOT_ID, cellInformations); in HWTEST_F()
845 telephonyObserverProxy->OnCellInfoUpdated(DEFAULT_SIM_SLOT_ID, cellInformations); in HWTEST_F()
847 EXPECT_TRUE(telephonyObserverProxy != nullptr); in HWTEST_F()
870 std::shared_ptr<OHOS::Telephony::TelephonyObserverProxy> telephonyObserverProxy = in HWTEST_F() local
872 telephonyObserverProxy->OnIccAccountUpdated(); in HWTEST_F()
874 EXPECT_TRUE(telephonyObserverProxy ! in HWTEST_F()
[all...]

Completed in 6 milliseconds