equal
deleted
inserted
replaced
206 { |
206 { |
207 return EPlatformUnknown; |
207 return EPlatformUnknown; |
208 } |
208 } |
209 |
209 |
210 //determine the ROM confguration (NAND or non-NAND) |
210 //determine the ROM confguration (NAND or non-NAND) |
211 TInt r = KErrNone; |
|
212 RFs fs; |
211 RFs fs; |
213 r = fs.Connect(); |
212 fs.Connect(); |
214 if (r != KErrNone) |
|
215 { |
|
216 return r; |
|
217 } |
|
218 TBool nandBuild = (EComTestUtils::RomBuildType(fs)==ENandRomBuild); |
213 TBool nandBuild = (EComTestUtils::RomBuildType(fs)==ENandRomBuild); |
219 fs.Close(); |
214 fs.Close(); |
220 |
215 |
221 //determine whether this ROM is Demand-Paging enabled |
216 //determine whether this ROM is Demand-Paging enabled |
222 TBool DP_rom = false; |
217 TBool DP_rom = false; |
254 //Under WDP enabled configuration, the C drive is of type 'Hard Disk' |
249 //Under WDP enabled configuration, the C drive is of type 'Hard Disk' |
255 //This is done since the function EComTestUtils::RomBuildType, above, used for a similar purpose, |
250 //This is done since the function EComTestUtils::RomBuildType, above, used for a similar purpose, |
256 //is also checking the media type of C drive to determine the same. |
251 //is also checking the media type of C drive to determine the same. |
257 //Currently added this check for WDP enabled in case of H4 'muid == HAL::EMachineUid_OmapH4' only |
252 //Currently added this check for WDP enabled in case of H4 'muid == HAL::EMachineUid_OmapH4' only |
258 TDriveInfo driveInfo; |
253 TDriveInfo driveInfo; |
259 TInt rf = KErrNone; |
254 |
260 rf = fs.Connect(); |
255 fs.Connect(); |
261 if (rf != KErrNone) |
|
262 { |
|
263 return rf; |
|
264 } |
|
265 fs.Drive(driveInfo, EDriveC); |
256 fs.Drive(driveInfo, EDriveC); |
266 fs.Close(); |
257 fs.Close(); |
267 |
258 |
268 if (EMediaHardDisk == driveInfo.iType) |
259 if (EMediaHardDisk == driveInfo.iType) |
269 { |
260 { |