imagingandcamerafws/imaginginttest/src/TestPositiveConversion.cpp
changeset 41 f7bf1ed8db72
parent 0 40261b775718
equal deleted inserted replaced
32:ae690a8c4a18 41:f7bf1ed8db72
   136 	// dummy Hal call for heap balance on target
   136 	// dummy Hal call for heap balance on target
   137 	if (DummyHalCall() != KErrNone)
   137 	if (DummyHalCall() != KErrNone)
   138 		return EInconclusive;
   138 		return EInconclusive;
   139 	
   139 	
   140 	__MM_HEAP_MARK;
   140 	__MM_HEAP_MARK;
   141 	TInt err = RFbsSession::Connect();
   141     TInt err = FbsStartup();
   142 	if (err != KErrNone)
   142     if (err != KErrNone)
   143 		{
   143         {
   144 		INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
   144         INFO_PRINTF2(_L("FbsStartup failed, err = %d"), err);
   145 		return EInconclusive;
   145         return EInconclusive;
   146 		}
   146         }
       
   147 
       
   148     err = RFbsSession::Connect();
       
   149     if (err != KErrNone)
       
   150         {
       
   151         INFO_PRINTF2(_L("RFbsSession::Connect() failed, err = %d"), err);
       
   152         return EInconclusive;
       
   153         }
   147 
   154 
   148 	if(iImageTypeUid == KImageTypeWBMPUid ||
   155 	if(iImageTypeUid == KImageTypeWBMPUid ||
   149 		iImageTypeUid == KImageTypeOTAUid)
   156 		iImageTypeUid == KImageTypeOTAUid)
   150 		{
   157 		{
   151 		INFO_PRINTF2(_L("This type graphic demands UId %d"), &iImageTypeUid);
   158 		INFO_PRINTF2(_L("This type graphic demands UId %d"), &iImageTypeUid);