Home | History | Annotate | Download | only in libmedia

Lines Matching full:data

64         Parcel data, reply;
65 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
66 remote()->transact(INIT_CHECK, data, &reply);
72 Parcel data, reply;
73 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
74 data.write(uuid, 16);
75 data.writeString8(mimeType);
76 remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply);
82 Parcel data, reply;
83 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
84 data.write(uuid, 16);
86 remote()->transact(CREATE_PLUGIN, data, &reply);
92 Parcel data, reply;
93 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
94 remote()->transact(DESTROY_PLUGIN, data, &reply);
100 Parcel data, reply;
101 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
103 remote()->transact(OPEN_SESSION, data, &reply);
110 Parcel data, reply;
111 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
113 writeVector(data, sessionId);
114 remote()->transact(CLOSE_SESSION, data, &reply);
125 Parcel data, reply;
126 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
128 writeVector(data, sessionId);
129 writeVector(data, initData);
130 data.writeString8(mimeType);
131 data.writeInt32((uint32_t)keyType);
133 data.writeInt32(optionalParameters.size());
135 data.writeString8(optionalParameters.keyAt(i));
136 data.writeString8(optionalParameters.valueAt(i));
138 remote()->transact(GET_KEY_REQUEST, data, &reply);
149 Parcel data, reply;
150 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
151 writeVector(data, sessionId);
152 writeVector(data, response);
153 remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply);
160 Parcel data, reply;
161 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
163 writeVector(data, keySetId);
164 remote()->transact(REMOVE_KEYS, data, &reply);
171 Parcel data, reply;
172 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
174 writeVector(data, sessionId);
175 writeVector(data, keySetId);
176 remote()->transact(RESTORE_KEYS, data, &reply);
183 Parcel data, reply;
184 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
186 writeVector(data, sessionId);
187 remote()->transact(QUERY_KEY_STATUS, data, &reply);
201 Parcel data, reply;
202 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
204 remote()->transact(GET_PROVISION_REQUEST, data, &reply);
213 Parcel data, reply;
214 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
216 writeVector(data, response);
217 remote()->transact(PROVIDE_PROVISION_RESPONSE, data, &reply);
223 Parcel data, reply;
224 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
226 remote()->transact(GET_SECURE_STOPS, data, &reply);
239 Parcel data, reply;
240 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
242 writeVector(data, ssRelease);
243 remote()->transact(RELEASE_SECURE_STOPS, data, &reply);
249 Parcel data, reply;
250 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
252 data.writeString8(name);
253 remote()->transact(GET_PROPERTY_STRING, data, &reply);
260 Parcel data, reply;
261 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
263 data.writeString8(name);
264 remote()->transact(GET_PROPERTY_BYTE_ARRAY, data, &reply);
271 Parcel data, reply;
272 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
274 data.writeString8(name);
275 data.writeString8(value);
276 remote()->transact(SET_PROPERTY_STRING, data, &reply);
283 Parcel data, reply;
284 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
286 data.writeString8(name);
287 writeVector(data, value);
288 remote()->transact(SET_PROPERTY_BYTE_ARRAY, data, &reply);
296 Parcel data, reply;
297 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
299 writeVector(data, sessionId);
300 data.writeString8(algorithm);
301 remote()->transact(SET_CIPHER_ALGORITHM, data, &reply);
307 Parcel data, reply;
308 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
310 writeVector(data, sessionId);
311 data.writeString8(algorithm);
312 remote()->transact(SET_MAC_ALGORITHM, data, &reply);
321 Parcel data, reply;
322 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
324 writeVector(data, sessionId);
325 writeVector(data, keyId);
326 writeVector(data, input);
327 writeVector(data, iv);
329 remote()->transact(ENCRYPT, data, &reply);
340 Parcel data, reply;
341 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
343 writeVector(data, sessionId);
344 writeVector(data, keyId);
345 writeVector(data, input);
346 writeVector(data, iv);
348 remote()->transact(DECRYPT, data, &reply);
358 Parcel data, reply;
359 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
361 writeVector(data, sessionId);
362 writeVector(data, keyId);
363 writeVector(data, message);
365 remote()->transact(SIGN, data, &reply);
376 Parcel data, reply;
377 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
379 writeVector(data, sessionId);
380 writeVector(data, keyId);
381 writeVector(data, message);
382 writeVector(data, signature);
384 remote()->transact(VERIFY, data, &reply);
390 Parcel data, reply;
391 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
392 data.writeStrongBinder(listener->asBinder());
393 remote()->transact(SET_LISTENER, data, &reply);
404 void writeVector(Parcel &data, Vector<uint8_t> const &vector) const {
405 data.writeInt32(vector.size());
406 data.write(vector.array(), vector.size());
416 void BnDrm::readVector(const Parcel &data, Vector<uint8_t> &vector) const {
417 uint32_t size = data.readInt32();
419 data.read(vector.editArray(), size);
428 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
432 CHECK_INTERFACE(IDrm, data, reply);
439 CHECK_INTERFACE(IDrm, data, reply);
441 data.read(uuid, sizeof(uuid));
442 String8 mimeType = data.readString8();
450 CHECK_INTERFACE(IDrm, data, reply);
452 data.read(uuid, sizeof(uuid));
459 CHECK_INTERFACE(IDrm, data, reply);
466 CHECK_INTERFACE(IDrm, data, reply);
476 CHECK_INTERFACE(IDrm, data, reply);
478 readVector(data, sessionId);
485 CHECK_INTERFACE(IDrm, data, reply);
488 readVector(data, sessionId);
489 readVector(data, initData);
490 String8 mimeType = data.readString8();
491 DrmPlugin::KeyType keyType = (DrmPlugin::KeyType)data.readInt32();
494 uint32_t count = data.readInt32();
497 key = data.readString8();
498 value = data.readString8();
517 CHECK_INTERFACE(IDrm, data, reply);
519 readVector(data, sessionId);
520 readVector(data, response);
529 CHECK_INTERFACE(IDrm, data, reply);
531 readVector(data, keySetId);
538 CHECK_INTERFACE(IDrm, data, reply);
540 readVector(data, sessionId);
541 readVector(data, keySetId);
548 CHECK_INTERFACE(IDrm, data, reply);
550 readVector(data, sessionId);
565 CHECK_INTERFACE(IDrm, data, reply);
577 CHECK_INTERFACE(IDrm, data, reply);
579 readVector(data, response);
586 CHECK_INTERFACE(IDrm, data, reply);
604 CHECK_INTERFACE(IDrm, data, reply);
606 readVector(data, ssRelease);
613 CHECK_INTERFACE(IDrm, data, reply);
614 String8 name = data.readString8();
624 CHECK_INTERFACE(IDrm, data, reply);
625 String8 name = data.readString8();
635 CHECK_INTERFACE(IDrm, data, reply);
636 String8 name = data.readString8();
637 String8 value = data.readString8();
644 CHECK_INTERFACE(IDrm, data, reply);
645 String8 name = data.readString8();
647 readVector(data, value);
654 CHECK_INTERFACE(IDrm, data, reply);
656 readVector(data, sessionId);
657 String8 algorithm = data.readString8();
664 CHECK_INTERFACE(IDrm, data, reply);
666 readVector(data, sessionId);
667 String8 algorithm = data.readString8();
674 CHECK_INTERFACE(IDrm, data, reply);
676 readVector(data, sessionId);
677 readVector(data, keyId);
678 readVector(data, input);
679 readVector(data, iv);
688 CHECK_INTERFACE(IDrm, data, reply);
690 readVector(data, sessionId);
691 readVector(data, keyId);
692 readVector(data, input);
693 readVector(data, iv);
702 CHECK_INTERFACE(IDrm, data, reply);
704 readVector(data, sessionId);
705 readVector(data, keyId);
706 readVector(data, message);
715 CHECK_INTERFACE(IDrm, data, reply);
717 readVector(data, sessionId);
718 readVector(data, keyId);
719 readVector(data, message);
720 readVector(data, signature);
729 CHECK_INTERFACE(IDrm, data, reply);
731 interface_cast<IDrmClient>(data.readStrongBinder());
737 return BBinder::onTransact(code, data, reply, flags);