Lines Matching refs:cellularDataHandler

153     CellularDataHandler cellularDataHandler { subscriberInfo, 0 };
154 cellularDataHandler.HandleSimStateChanged();
155 cellularDataHandler.ReleaseAllNetworkRequest();
156 cellularDataHandler.CreateApnItem();
159 cellularDataHandler.ProcessEvent(event);
161 cellularDataHandler.OnReceiveEvent(data);
162 ASSERT_NE(cellularDataHandler.SetCellularDataEnable(true), TELEPHONY_ERR_SUCCESS);
164 cellularDataHandler.IsCellularDataEnabled(dataEnaled);
167 cellularDataHandler.IsCellularDataRoamingEnabled(dataRoamingEnabled);
169 ASSERT_NE(cellularDataHandler.SetCellularDataRoamingEnabled(true), TELEPHONY_ERR_SUCCESS);
170 ASSERT_EQ(ApnProfileState::PROFILE_STATE_IDLE, cellularDataHandler.GetCellularDataState());
171 ASSERT_EQ(ApnProfileState::PROFILE_STATE_IDLE, cellularDataHandler.GetCellularDataState(""));
173 DisConnectionReason reason = cellularDataHandler.GetDisConnectionReason();
174 cellularDataHandler.ClearConnection(apnHolder, reason);
175 cellularDataHandler.EstablishAllApnsIfConnectable();
176 cellularDataHandler.ClearAllConnections(reason);
177 cellularDataHandler.GetSlotId();
178 ASSERT_FALSE(cellularDataHandler.HandleApnChanged());
179 cellularDataHandler.HandleApnChanged(event);
180 cellularDataHandler.GetCellularDataFlowType();
181 cellularDataHandler.SetPolicyDataOn(true);
182 ASSERT_FALSE(cellularDataHandler.IsRestrictedMode());
183 cellularDataHandler.GetDisConnectionReason();
184 ASSERT_FALSE(cellularDataHandler.HasInternetCapability(0));
185 ASSERT_EQ(nullptr, cellularDataHandler.FindIdleCellularDataConnection());
186 cellularDataHandler.AttemptEstablishDataConnection(apnHolder);
187 ASSERT_FALSE(cellularDataHandler.CheckAttachAndSimState(apnHolder));
188 ASSERT_FALSE(cellularDataHandler.CheckRoamingState(apnHolder));
189 ASSERT_FALSE(cellularDataHandler.CheckApnState(apnHolder));
190 cellularDataHandler.RemoveAllEvents();
204 CellularDataHandler cellularDataHandler { subscriberInfo, 0 };
209 cellularDataHandler.RadioPsConnectionAttached(event);
210 cellularDataHandler.RadioPsConnectionDetached(event);
211 cellularDataHandler.RoamingStateOn(event);
212 cellularDataHandler.RoamingStateOff(event);
213 cellularDataHandler.EstablishDataConnectionComplete(event);
214 cellularDataHandler.DisconnectDataComplete(event);
215 cellularDataHandler.MsgEstablishDataConnection(event);
216 cellularDataHandler.MsgRequestNetwork(event);
217 cellularDataHandler.HandleSettingSwitchChanged(event);
218 cellularDataHandler.HandleDBSettingIncallChanged(event);
219 cellularDataHandler.HandleDefaultDataSubscriptionChanged();
220 cellularDataHandler.IncallDataComplete(event);
221 cellularDataHandler.HandleCallChanged(0);
222 cellularDataHandler.HandleImsCallChanged(0);
223 cellularDataHandler.HandleVoiceCallChanged(0);
224 cellularDataHandler.HandleSimEvent(event);
225 cellularDataHandler.HandleSimAccountLoaded();
226 cellularDataHandler.HandleRadioStateChanged(event);
227 cellularDataHandler.HandleDsdsModeChanged(event);
228 cellularDataHandler.SetRilAttachApnResponse(event);
229 cellularDataHandler.GetDefaultConfiguration();
230 cellularDataHandler.GetDefaultDataRoamingConfig();
231 cellularDataHandler.HandleRadioNrStateChanged(event);
232 cellularDataHandler.HandleRadioNrFrequencyChanged(event);
233 cellularDataHandler.HandleDBSettingEnableChanged(event);
234 cellularDataHandler.HandleDBSettingRoamingChanged(event);
235 cellularDataHandler.SetDataPermittedResponse(event);
236 cellularDataHandler.OnRilAdapterHostDied(event);
237 cellularDataHandler.OnCleanAllDataConnectionsDone(event);
238 cellularDataHandler.RegisterDataSettingObserver();
239 cellularDataHandler.UnRegisterDataSettingObserver();
240 cellularDataHandler.GetDataConnApnAttr(apnAttr);
241 cellularDataHandler.HandleFactoryReset(event);
242 ASSERT_FALSE(cellularDataHandler.HasAnyHigherPriorityConnection(apnHolder));
243 cellularDataHandler.RemoveAllEvents();
257 CellularDataHandler cellularDataHandler { subscriberInfo, INVALID_SLOTID };
258 cellularDataHandler.apnManager_ = std::make_unique<ApnManager>().release();
259 cellularDataHandler.SetDataPermittedForMms(false);
262 cellularDataHandler.ClearConnection(apnHolder, reason);
263 cellularDataHandler.EstablishAllApnsIfConnectable();
264 cellularDataHandler.ClearAllConnections(reason);
265 cellularDataHandler.ChangeConnectionForDsds(false);
266 cellularDataHandler.ChangeConnectionForDsds(true);
267 cellularDataHandler.connectionManager_ = std::make_unique<DataConnectionManager>(INVALID_SLOTID).release();
268 cellularDataHandler.ClearAllConnections(reason);
269 cellularDataHandler.EstablishAllApnsIfConnectable();
270 cellularDataHandler.UpdatePhysicalConnectionState(true);
271 cellularDataHandler.ClearAllConnections(DisConnectionReason::REASON_CLEAR_CONNECTION);
272 ASSERT_FALSE(cellularDataHandler.CheckApnState(apnHolder));
273 cellularDataHandler.AttemptEstablishDataConnection(apnHolder);
274 cellularDataHandler.connectionManager_ = nullptr;
276 cellularDataHandler.HandleUpdateNetInfo(event);
277 cellularDataHandler.ClearConnectionIfRequired();
279 cellularDataHandler.MsgEstablishDataConnection(event);
280 ASSERT_FALSE(cellularDataHandler.HasAnyHigherPriorityConnection(apnHolder));
281 cellularDataHandler.connectionManager_ = std::make_unique<DataConnectionManager>(INVALID_SLOTID).release();
282 ASSERT_FALSE(cellularDataHandler.HasInternetCapability(INVALID_CID));
283 ASSERT_EQ(cellularDataHandler.GetDataRecoveryState(), 0);
284 cellularDataHandler.DisconnectDataComplete(event);
286 ASSERT_EQ(cellularDataHandler.GetDataConnIpType(), str);
287 cellularDataHandler.apnManager_ = nullptr;
288 ASSERT_EQ(cellularDataHandler.GetDataConnIpType(), str);
289 cellularDataHandler.CheckForCompatibleDataConnection(apnHolder);
291 cellularDataHandler.HandleDBSettingRoamingChanged(event);
292 cellularDataHandler.ClearConnectionIfRequired();
293 ASSERT_EQ(nullptr, cellularDataHandler.FindIdleCellularDataConnection());
294 cellularDataHandler.RemoveAllEvents();
406 CellularDataHandler cellularDataHandler { subscriberInfo, 0 };
409 cellularDataHandler.apnManager_ = std::make_unique<ApnManager>().release();
412 ASSERT_EQ(ApnProfileState::PROFILE_STATE_IDLE, cellularDataHandler.GetCellularDataState());
413 cellularDataHandler.CheckForCompatibleDataConnection(apnHolder);
414 cellularDataHandler.PsRadioEmergencyStateOpen(event);
415 cellularDataHandler.PsRadioEmergencyStateClose(event);
416 cellularDataHandler.IsNeedDoRecovery(true);
417 cellularDataHandler.HandleSortConnection();
418 ASSERT_EQ(cellularDataHandler.IsSingleConnectionEnabled(1), true);
419 ASSERT_EQ(cellularDataHandler.GetDataConnIpType(), str);
420 ASSERT_EQ(cellularDataHandler.GetDataRecoveryState(), -1);
421 ASSERT_FALSE(cellularDataHandler.IsGsm());
422 ASSERT_FALSE(cellularDataHandler.IsCdma());
423 cellularDataHandler.lastCallState_ = 0;
424 cellularDataHandler.HandleCallChanged(0);
425 cellularDataHandler.dataSwitchSettings_ = nullptr;
426 ASSERT_NE(cellularDataHandler.SetIntelligenceSwitchEnable(true), TELEPHONY_ERR_SUCCESS);
427 cellularDataHandler.RemoveAllEvents();