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 remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply);
81 Parcel data, reply;
82 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
83 data.write(uuid, 16);
85 remote()->transact(CREATE_PLUGIN, data, &reply);
91 Parcel data, reply;
92 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
93 remote()->transact(DESTROY_PLUGIN, data, &reply);
99 Parcel data, reply;
100 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
102 remote()->transact(OPEN_SESSION, data, &reply);
109 Parcel data, reply;
110 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
112 writeVector(data, sessionId);
113 remote()->transact(CLOSE_SESSION, data, &reply);
124 Parcel data, reply;
125 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
127 writeVector(data, sessionId);
128 writeVector(data, initData);
129 data.writeString8(mimeType);
130 data.writeInt32((uint32_t)keyType);
132 data.writeInt32(optionalParameters.size());
134 data.writeString8(optionalParameters.keyAt(i));
135 data.writeString8(optionalParameters.valueAt(i));
137 remote()->transact(GET_KEY_REQUEST, data, &reply);
148 Parcel data, reply;
149 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
150 writeVector(data, sessionId);
151 writeVector(data, response);
152 remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply);
159 Parcel data, reply;
160 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
162 writeVector(data, keySetId);
163 remote()->transact(REMOVE_KEYS, data, &reply);
170 Parcel data, reply;
171 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
173 writeVector(data, sessionId);
174 writeVector(data, keySetId);
175 remote()->transact(RESTORE_KEYS, data, &reply);
182 Parcel data, reply;
183 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
185 writeVector(data, sessionId);
186 remote()->transact(QUERY_KEY_STATUS, data, &reply);
200 Parcel data, reply;
201 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
203 remote()->transact(GET_PROVISION_REQUEST, data, &reply);
212 Parcel data, reply;
213 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
215 writeVector(data, response);
216 remote()->transact(PROVIDE_PROVISION_RESPONSE, data, &reply);
222 Parcel data, reply;
223 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
225 remote()->transact(GET_SECURE_STOPS, data, &reply);
238 Parcel data, reply;
239 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
241 writeVector(data, ssRelease);
242 remote()->transact(RELEASE_SECURE_STOPS, data, &reply);
248 Parcel data, reply;
249 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
251 data.writeString8(name);
252 remote()->transact(GET_PROPERTY_STRING, data, &reply);
259 Parcel data, reply;
260 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
262 data.writeString8(name);
263 remote()->transact(GET_PROPERTY_BYTE_ARRAY, data, &reply);
270 Parcel data, reply;
271 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
273 data.writeString8(name);
274 data.writeString8(value);
275 remote()->transact(SET_PROPERTY_STRING, data, &reply);
282 Parcel data, reply;
283 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
285 data.writeString8(name);
286 writeVector(data, value);
287 remote()->transact(SET_PROPERTY_BYTE_ARRAY, data, &reply);
295 Parcel data, reply;
296 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
298 writeVector(data, sessionId);
299 data.writeString8(algorithm);
300 remote()->transact(SET_CIPHER_ALGORITHM, data, &reply);
306 Parcel data, reply;
307 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
309 writeVector(data, sessionId);
310 data.writeString8(algorithm);
311 remote()->transact(SET_MAC_ALGORITHM, data, &reply);
320 Parcel data, reply;
321 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
323 writeVector(data, sessionId);
324 writeVector(data, keyId);
325 writeVector(data, input);
326 writeVector(data, iv);
328 remote()->transact(ENCRYPT, data, &reply);
339 Parcel data, reply;
340 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
342 writeVector(data, sessionId);
343 writeVector(data, keyId);
344 writeVector(data, input);
345 writeVector(data, iv);
347 remote()->transact(DECRYPT, data, &reply);
357 Parcel data, reply;
358 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
360 writeVector(data, sessionId);
361 writeVector(data, keyId);
362 writeVector(data, message);
364 remote()->transact(SIGN, data, &reply);
375 Parcel data, reply;
376 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
378 writeVector(data, sessionId);
379 writeVector(data, keyId);
380 writeVector(data, message);
381 writeVector(data, signature);
383 remote()->transact(VERIFY, data, &reply);
389 Parcel data, reply;
390 data.writeInterfaceToken(IDrm::getInterfaceDescriptor());
391 data.writeStrongBinder(listener->asBinder());
392 remote()->transact(SET_LISTENER, data, &reply);
403 void writeVector(Parcel &data, Vector<uint8_t> const &vector) const {
404 data.writeInt32(vector.size());
405 data.write(vector.array(), vector.size());
415 void BnDrm::readVector(const Parcel &data, Vector<uint8_t> &vector) const {
416 uint32_t size = data.readInt32();
418 data.read(vector.editArray(), size);
427 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
431 CHECK_INTERFACE(IDrm, data, reply);
438 CHECK_INTERFACE(IDrm, data, reply);
440 data.read(uuid, sizeof(uuid));
447 CHECK_INTERFACE(IDrm, data, reply);
449 data.read(uuid, sizeof(uuid));
456 CHECK_INTERFACE(IDrm, data, reply);
463 CHECK_INTERFACE(IDrm, data, reply);
473 CHECK_INTERFACE(IDrm, data, reply);
475 readVector(data, sessionId);
482 CHECK_INTERFACE(IDrm, data, reply);
485 readVector(data, sessionId);
486 readVector(data, initData);
487 String8 mimeType = data.readString8();
488 DrmPlugin::KeyType keyType = (DrmPlugin::KeyType)data.readInt32();
491 uint32_t count = data.readInt32();
494 key = data.readString8();
495 value = data.readString8();
514 CHECK_INTERFACE(IDrm, data, reply);
516 readVector(data, sessionId);
517 readVector(data, response);
526 CHECK_INTERFACE(IDrm, data, reply);
528 readVector(data, keySetId);
535 CHECK_INTERFACE(IDrm, data, reply);
537 readVector(data, sessionId);
538 readVector(data, keySetId);
545 CHECK_INTERFACE(IDrm, data, reply);
547 readVector(data, sessionId);
562 CHECK_INTERFACE(IDrm, data, reply);
574 CHECK_INTERFACE(IDrm, data, reply);
576 readVector(data, response);
583 CHECK_INTERFACE(IDrm, data, reply);
601 CHECK_INTERFACE(IDrm, data, reply);
603 readVector(data, ssRelease);
610 CHECK_INTERFACE(IDrm, data, reply);
611 String8 name = data.readString8();
621 CHECK_INTERFACE(IDrm, data, reply);
622 String8 name = data.readString8();
632 CHECK_INTERFACE(IDrm, data, reply);
633 String8 name = data.readString8();
634 String8 value = data.readString8();
641 CHECK_INTERFACE(IDrm, data, reply);
642 String8 name = data.readString8();
644 readVector(data, value);
651 CHECK_INTERFACE(IDrm, data, reply);
653 readVector(data, sessionId);
654 String8 algorithm = data.readString8();
661 CHECK_INTERFACE(IDrm, data, reply);
663 readVector(data, sessionId);
664 String8 algorithm = data.readString8();
671 CHECK_INTERFACE(IDrm, data, reply);
673 readVector(data, sessionId);
674 readVector(data, keyId);
675 readVector(data, input);
676 readVector(data, iv);
685 CHECK_INTERFACE(IDrm, data, reply);
687 readVector(data, sessionId);
688 readVector(data, keyId);
689 readVector(data, input);
690 readVector(data, iv);
699 CHECK_INTERFACE(IDrm, data, reply);
701 readVector(data, sessionId);
702 readVector(data, keyId);
703 readVector(data, message);
712 CHECK_INTERFACE(IDrm, data, reply);
714 readVector(data, sessionId);
715 readVector(data, keyId);
716 readVector(data, message);
717 readVector(data, signature);
726 CHECK_INTERFACE(IDrm, data, reply);
728 interface_cast<IDrmClient>(data.readStrongBinder());
734 return BBinder::onTransact(code, data, reply, flags);