equal
deleted
inserted
replaced
65 TBuf8<50> encryptedStr; |
65 TBuf8<50> encryptedStr; |
66 encryptedStr.Append(KPlainString); |
66 encryptedStr.Append(KPlainString); |
67 encryptedStr.Append(*ro->Key()); |
67 encryptedStr.Append(*ro->Key()); |
68 CleanupStack::PopAndDestroy(ro); |
68 CleanupStack::PopAndDestroy(ro); |
69 |
69 |
70 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
|
71 //Create an SDP document object and set the created key stream field object |
70 //Create an SDP document object and set the created key stream field object |
72 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
71 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
73 //Create an SDP key stream field object with an attribute requiring the service protected RO |
72 //Create an SDP key stream field object with an attribute requiring the service protected RO |
74 CSdpMediaField* sdp = CreateSdpLC(0); |
73 CSdpMediaField* sdp = CreateSdpLC(0); |
75 AddMediaFieldL(*sdpDoc, sdp); |
74 AddMediaFieldL(*sdpDoc, sdp); |
111 { |
110 { |
112 SetTestStepResult(EFail); |
111 SetTestStepResult(EFail); |
113 } |
112 } |
114 |
113 |
115 CleanupStack::PopAndDestroy(4, sdpDoc); // fOutputKey, decoder, sink, sdpDoc |
114 CleanupStack::PopAndDestroy(4, sdpDoc); // fOutputKey, decoder, sink, sdpDoc |
116 #endif |
|
117 |
|
118 |
|
119 return TestStepResult(); |
115 return TestStepResult(); |
120 } |
116 } |
121 |
117 |
122 |
118 |
123 //CScafConcurrentKeyStreamSinks |
119 //CScafConcurrentKeyStreamSinks |
173 |
169 |
174 //Secondly copy the program protected RO into the private directories of each stream agent |
170 //Secondly copy the program protected RO into the private directories of each stream agent |
175 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathA); |
171 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathA); |
176 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathB); |
172 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathB); |
177 |
173 |
178 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
|
179 //Create an SDP document object and set the created key stream field object for each decoder |
174 //Create an SDP document object and set the created key stream field object for each decoder |
180 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
175 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
181 |
176 |
182 //Create a SDP object for RO-A |
177 //Create a SDP object for RO-A |
183 TInt sdpNum = 0; |
178 TInt sdpNum = 0; |
282 |
277 |
283 //Release allocated resources |
278 //Release allocated resources |
284 CleanupStack::PopAndDestroy(2, sinkB); //< decoderB, sink B |
279 CleanupStack::PopAndDestroy(2, sinkB); //< decoderB, sink B |
285 CleanupStack::PopAndDestroy(2, sinkA); //< decoderA, sinkA |
280 CleanupStack::PopAndDestroy(2, sinkA); //< decoderA, sinkA |
286 CleanupStack::PopAndDestroy(sdpDoc); //< sdpDoc |
281 CleanupStack::PopAndDestroy(sdpDoc); //< sdpDoc |
287 #endif |
|
288 return TestStepResult(); |
282 return TestStepResult(); |
289 } |
283 } |