Lines Matching refs:handle

109         sp<DecryptHandle> handle;  in DrmInitialization()  local
111 handle = new DecryptHandle(); in DrmInitialization()
112 handle->decryptId = reply.readInt32(); in DrmInitialization()
113 handle->mimeType = reply.readString8(); in DrmInitialization()
114 handle->decryptApiType = reply.readInt32(); in DrmInitialization()
115 handle->status = reply.readInt32(); in DrmInitialization()
119 handle->decryptInfo = new DecryptInfo(); in DrmInitialization()
120 handle->decryptInfo->decryptBufferLength = bufferLength; in DrmInitialization()
127 handle->copyControlVector.add(key, value); in DrmInitialization()
134 handle->extendedData.add(key, value); in DrmInitialization()
137 return handle; in DrmInitialization()
188 sp<DecryptHandle> handle = DrmInitialization(mime); in onTransact() local
189 if (handle != NULL) { in onTransact()
190 reply->writeInt32(handle->decryptId); in onTransact()
191 reply->writeString8(handle->mimeType); in onTransact()
192 reply->writeInt32(handle->decryptApiType); in onTransact()
193 reply->writeInt32(handle->status); in onTransact()
195 if (handle->decryptInfo != NULL) { in onTransact()
196 reply->writeInt32(handle->decryptInfo->decryptBufferLength); in onTransact()
201 size_t size = handle->copyControlVector.size(); in onTransact()
204 reply->writeInt32(handle->copyControlVector.keyAt(i)); in onTransact()
205 reply->writeInt32(handle->copyControlVector.valueAt(i)); in onTransact()
208 size = handle->extendedData.size(); in onTransact()
211 reply->writeString8(handle->extendedData.keyAt(i)); in onTransact()
212 reply->writeString8(handle->extendedData.valueAt(i)); in onTransact()