equal
deleted
inserted
replaced
15 |
15 |
16 #include "te_esockutilsteps.h" |
16 #include "te_esockutilsteps.h" |
17 #include <test/testexecutelog.h> |
17 #include <test/testexecutelog.h> |
18 #include "esocktestutils.h" |
18 #include "esocktestutils.h" |
19 #include <es_sock.h> |
19 #include <es_sock.h> |
|
20 #include <comms-infras/es_availability.h> |
20 |
21 |
21 #include <e32base.h> |
22 #include <e32base.h> |
22 #include <cinidata.h> |
23 #include <cinidata.h> |
23 #include <e32cmn.h> |
24 #include <e32cmn.h> |
24 #include <f32file.h> |
25 #include <f32file.h> |
147 INFO_PRINTF2(_L("UnloadESock returned error %d"), err); |
148 INFO_PRINTF2(_L("UnloadESock returned error %d"), err); |
148 } |
149 } |
149 } |
150 } |
150 #endif |
151 #endif |
151 |
152 |
|
153 // Explicitly reset pubsub keys used for controlling bearer availability during testing |
|
154 const TInt KMaxLikelyAvailabilityAccessPoints = 32; |
|
155 const TInt KDummyNifTestingPubSubUid = 0x10272F42; |
|
156 INFO_PRINTF1(_L("Resetting availability pubsub keys")); |
|
157 for(TInt i = 0; i < KMaxLikelyAvailabilityAccessPoints; i++) |
|
158 { |
|
159 // Harmless if the key doesn't exist - so we can ignore the return code |
|
160 RProperty::Set(TUid::Uid(KDummyNifTestingPubSubUid), i, ESock::TAvailabilityStatus::EMaxAvailabilityScore); |
|
161 } |
|
162 |
152 return TestStepResult(); |
163 return TestStepResult(); |
153 } |
164 } |
154 |
165 |
155 CTestStepStopAllInterfaces::CTestStepStopAllInterfaces() |
166 CTestStepStopAllInterfaces::CTestStepStopAllInterfaces() |
156 { |
167 { |