equal
deleted
inserted
replaced
214 // CConnectionInfoBase::GetConnectionId |
214 // CConnectionInfoBase::GetConnectionId |
215 // --------------------------------------------------------- |
215 // --------------------------------------------------------- |
216 // |
216 // |
217 CDesCArrayFlat* CConnectionInfoBase::GetDetailsArray() const |
217 CDesCArrayFlat* CConnectionInfoBase::GetDetailsArray() const |
218 { |
218 { |
219 CDesCArrayFlat* array = NULL; |
219 return iDetailsArray; |
220 if ( ( iConnectionStatus == EConnectionSuspended ) || |
|
221 ( iConnectionStatus == EConnectionCreated ) ) |
|
222 { |
|
223 array = iDetailsArray; |
|
224 } |
|
225 return array; |
|
226 } |
220 } |
227 |
221 |
228 // --------------------------------------------------------- |
222 // --------------------------------------------------------- |
229 // CConnectionInfoBase::GetConnectionId |
223 // CConnectionInfoBase::GetConnectionId |
230 // --------------------------------------------------------- |
224 // --------------------------------------------------------- |
299 // --------------------------------------------------------- |
293 // --------------------------------------------------------- |
300 // CConnectionInfoBase::RefreshConnectionStatus |
294 // CConnectionInfoBase::RefreshConnectionStatus |
301 // --------------------------------------------------------- |
295 // --------------------------------------------------------- |
302 // |
296 // |
303 void CConnectionInfoBase::RefreshConnectionStatus( |
297 void CConnectionInfoBase::RefreshConnectionStatus( |
304 const TConnectionStatus aConnectionStatus ) |
298 const TInt aConnectionStatus ) |
305 { |
299 { |
306 CMUILOGGER_ENTERFN( "RefreshConnectionStatus" ); |
300 CMUILOGGER_ENTERFN( "RefreshConnectionStatus" ); |
307 CMUILOGGER_WRITE_F( "RefreshConnectionStatus aConnectionStatus %d", |
301 CMUILOGGER_WRITE_F( "RefreshConnectionStatus aConnectionStatus %d", |
308 ( TInt )aConnectionStatus ); |
302 ( TInt )aConnectionStatus ); |
309 CMUILOGGER_WRITE_F( "iConnectionStatus before %d", |
303 CMUILOGGER_WRITE_F( "iConnectionStatus before %d", |
315 ( iConnectionBearerType >= EBearerExternalCSD ) ) ) |
309 ( iConnectionBearerType >= EBearerExternalCSD ) ) ) |
316 { |
310 { |
317 CMUILOGGER_WRITE("1"); |
311 CMUILOGGER_WRITE("1"); |
318 iConnectionStatus = EConnectionCreated; |
312 iConnectionStatus = EConnectionCreated; |
319 } |
313 } |
320 else if ( ( iConnectionStatus == EConnectionClosing ) && |
314 else if ( ( aConnectionStatus == KConnectionClosed ) || |
321 ( ( aConnectionStatus == KConnectionClosed ) || |
315 ( aConnectionStatus == KLinkLayerClosed ) ) |
322 ( aConnectionStatus == KLinkLayerClosed ) ) ) |
|
323 { |
316 { |
324 CMUILOGGER_WRITE("2"); |
317 CMUILOGGER_WRITE("2"); |
325 iConnectionStatus = EConnectionClosed; |
318 iConnectionStatus = EConnectionClosed; |
326 } |
319 } |
327 else if ( ( ( aConnectionStatus >= KMinAgtProgress ) && |
320 else if ( ( ( aConnectionStatus >= KMinAgtProgress ) && |