kerneltest/e32test/resourceman/acctst/d_prmacctst.cpp
branchRCL_3
changeset 97 41f0cfe18c80
parent 0 a41df078684a
equal deleted inserted replaced
89:1df514389a47 97:41f0cfe18c80
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   149 TInt DPrmIfChannel::DoCreate(TInt /* aUnit */, const TDesC8* /* aInfo */, const TVersion& /* aVer */)
   149 TInt DPrmIfChannel::DoCreate(TInt /* aUnit */, const TDesC8* /* aInfo */, const TVersion& /* aVer */)
   150 	{
   150 	{
   151 	TDynamicDfcQue* dfcQ;
   151 	TDynamicDfcQue* dfcQ;
   152 	TInt r = Kern::DynamicDfcQCreate(dfcQ, KTestDfcQuePrority, KTestDfcQueBaseName);
   152 	TInt r = Kern::DynamicDfcQCreate(dfcQ, KTestDfcQuePrority, KTestDfcQueBaseName);
   153 	TEST_KERRNONE(r);
   153 	TEST_KERRNONE(r);
       
   154 	if (r != KErrNone)
       
   155 		{
       
   156 		return r;
       
   157 		}
       
   158 	dfcQ->SetRealtimeState(ERealtimeStateOff);
   154 	iDfcQ = dfcQ;
   159 	iDfcQ = dfcQ;
   155 	if (r != KErrNone)
       
   156 		{
       
   157 		return r;
       
   158 		}
       
   159 	SetDfcQ(iDfcQ);
   160 	SetDfcQ(iDfcQ);
   160 	iMsgQ.Receive();
   161 	iMsgQ.Receive();
   161 	return KErrNone;
   162 	return KErrNone;
   162 	}
   163 	}
   163 
   164