/frameworks/wilhelm/src/android/ |
H A D | android_GenericMediaPlayer.cpp | 550 Parcel *reply = new Parcel(); local 551 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); 553 channelCount = reply->readInt32(); 564 delete reply;
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 56 char* reply, size_t reply_len) { 67 if (::wifi_command(command.c_str(), reply, &reply_len) != 0) { 72 if (reply_len > 0 && reply[reply_len-1] == '\n') { 73 reply[reply_len-1] = '\0'; 75 reply[reply_len] = '\0'; 81 char reply[REPLY_BUF_SIZE]; local 82 if (!doCommand(env, javaCommand, reply, sizeof(reply))) { 85 return static_cast<jint>(atoi(reply)); 89 char reply[REPLY_BUF_SIZ local 55 doCommand(JNIEnv* env, jstring javaCommand, char* reply, size_t reply_len) argument 103 char reply[REPLY_BUF_SIZE]; local [all...] |
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 46 #define REPLY_MAX 256 /* largest reply allowed */ 186 static int do_ping(char **arg ATTRIBUTE_UNUSED, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) 191 static int do_create_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 198 static int do_restorecon_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 204 static int do_migrate_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 209 static int do_clear_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 214 static int do_destroy_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 222 static int do_ota_dexopt(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { 255 static int do_dexopt(char **arg, char reply[REPLY_MAX]) argument 259 return do_ota_dexopt(arg, reply); 273 do_merge_profiles(char **arg, char reply[REPLY_MAX]) argument 285 do_dump_profiles(char **arg, char reply[REPLY_MAX]) argument 313 do_get_app_size(char **arg, char reply[REPLY_MAX]) argument 334 do_get_app_data_inode(char **arg, char reply[REPLY_MAX]) argument 492 char reply[REPLY_MAX]; local [all...] |
/frameworks/native/cmds/service/ |
H A D | service.cpp | 47 Parcel data, reply; local 48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); 50 return reply.readString16(); 133 Parcel data, reply; local 275 service->transact(code, data, &reply); 276 aout << "Result: " << reply << endl;
|
/frameworks/native/cmds/servicemanager/ |
H A D | bctest.c | 15 struct binder_io msg, reply; local 22 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE)) 25 handle = bio_get_ref(&reply); 30 binder_done(bs, &msg, &reply); 39 struct binder_io msg, reply; local 47 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE)) 50 status = bio_get_uint32(&reply); 52 binder_done(bs, &msg, &reply);
|
H A D | binder.c | 183 struct binder_io *reply, 208 data.txn.data_size = reply->data - reply->data0; 209 data.txn.offsets_size = ((char*) reply->offs) - ((char*) reply->offs0); 210 data.txn.data.ptr.buffer = (uintptr_t)reply->data0; 211 data.txn.data.ptr.offsets = (uintptr_t)reply->offs0; 252 struct binder_io reply; local 255 bio_init(&reply, rdata, sizeof(rdata), 4); 257 res = func(bs, txn, &msg, &reply); 182 binder_send_reply(struct binder_state *bs, struct binder_io *reply, binder_uintptr_t buffer_to_free, int status) argument 334 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, uint32_t target, uint32_t code) argument 467 binder_done(struct binder_state *bs, __unused struct binder_io *msg, struct binder_io *reply) argument [all...] |
H A D | service_manager.c | 258 struct binder_io *reply) 310 bio_put_ref(reply, handle); 337 bio_put_string16(reply, si->name); 347 bio_put_uint32(reply, 0); 255 svcmgr_handler(struct binder_state *bs, struct binder_transaction_data *txn, struct binder_io *msg, struct binder_io *reply) argument
|
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 68 Parcel reply; local 78 return target->transact(SHELL_COMMAND_TRANSACTION, send, &reply); 116 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 123 reply->writeInt32(pingBinder()); 126 err = onTransact(code, data, reply, flags); 130 if (reply != NULL) { 131 reply->setDataPosition(0); 209 uint32_t code, const Parcel& data, Parcel* reply, uint32_t /*flags*/) 213 reply->writeString16(getInterfaceDescriptor()); 115 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 208 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t ) argument
|
H A D | BpBinder.cpp | 110 Parcel send, reply; local 113 INTERFACE_TRANSACTION, send, &reply); 115 String16 res(reply.readString16()); 139 Parcel reply; local 140 status_t err = transact(PING_TRANSACTION, send, &reply); 142 if (reply.dataSize() < sizeof(status_t)) return NOT_ENOUGH_DATA; 143 return (status_t)reply.readInt32(); 149 Parcel reply; local 156 status_t err = transact(DUMP_TRANSACTION, send, &reply); 161 uint32_t code, const Parcel& data, Parcel* reply, uint32_ 160 transact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IAppOpsCallback.cpp | 40 Parcel data, reply; local 44 remote()->transact(OP_CHANGED_TRANSACTION, data, &reply); 53 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 57 CHECK_INTERFACE(IAppOpsCallback, data, reply); 61 reply->writeNoException(); 65 return BBinder::onTransact(code, data, reply, flags); 52 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IAppOpsService.cpp | 40 Parcel data, reply; local 45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); 47 if (reply.readExceptionCode() != 0) return MODE_ERRORED; 48 return reply.readInt32(); 52 Parcel data, reply; local 57 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); 59 if (reply.readExceptionCode() != 0) return MODE_ERRORED; 60 return reply.readInt32(); 65 Parcel data, reply; local 71 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); 79 Parcel data, reply; local 90 Parcel data, reply; local 99 Parcel data, reply; local 106 Parcel data, reply; local 117 Parcel data, reply; local 131 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IBatteryStats.cpp | 38 Parcel data, reply; local 42 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); 46 Parcel data, reply; local 50 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); 54 Parcel data, reply; local 57 remote()->transact(NOTE_START_VIDEO_TRANSACTION, data, &reply); 61 Parcel data, reply; local 64 remote()->transact(NOTE_STOP_VIDEO_TRANSACTION, data, &reply); 68 Parcel data, reply; local 71 remote()->transact(NOTE_START_AUDIO_TRANSACTION, data, &reply); 75 Parcel data, reply; local 82 Parcel data, reply; local 88 Parcel data, reply; local 94 Parcel data, reply; local 101 Parcel data, reply; local 108 Parcel data, reply; local 115 Parcel data, reply; local 122 Parcel data, reply; local 128 Parcel data, reply; local 139 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IMediaResourceMonitor.cpp | 33 Parcel data, reply; local 37 remote()->transact(NOTIFY_RESOURCE_GRANTED, data, &reply, IBinder::FLAG_ONEWAY); 45 status_t BnMediaResourceMonitor::onTransact( uint32_t code, const Parcel& data, Parcel* reply, argument 49 CHECK_INTERFACE(IMediaResourceMonitor, data, reply); 56 return BBinder::onTransact(code, data, reply, flags);
|
H A D | IMemory.cpp | 182 Parcel data, reply; local 184 if (remote()->transact(GET_MEMORY, data, &reply) == NO_ERROR) { 185 sp<IBinder> heap = reply.readStrongBinder(); 186 ssize_t o = reply.readInt32(); 187 size_t s = reply.readInt32(); 224 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 228 CHECK_INTERFACE(IMemory, data, reply); 231 reply->writeStrongBinder( IInterface::asBinder(getMemory(&offset, &size)) ); 232 reply->writeInt32(offset); 233 reply 223 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 303 Parcel data, reply; local 377 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IPCThreadState.cpp | 151 out << "Unknown reply: " << code << endl; 571 Parcel* reply, uint32_t flags) 591 if (reply) reply->setError(err); 603 if (reply) { 604 err = waitForResponse(reply); 621 if (reply) alog << indent << *reply << dedent << endl; 723 status_t IPCThreadState::sendReply(const Parcel& reply, uint32_t flags) argument 727 err = writeTransactionData(BC_REPLY, flags, -1, 0, reply, 569 transact(int32_t handle, uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument 733 waitForResponse(Parcel *reply, status_t *acquireResult) argument 1093 Parcel reply; local [all...] |
H A D | IPermissionController.cpp | 41 Parcel data, reply; local 46 remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); 48 if (reply.readExceptionCode() != 0) return 0; 49 return reply.readInt32() != 0; 54 Parcel data, reply; local 57 remote()->transact(GET_PACKAGES_FOR_UID_TRANSACTION, data, &reply); 59 if (reply.readExceptionCode() != 0) { 62 const int32_t size = reply.readInt32(); 67 packages.push(reply.readString16()); 73 Parcel data, reply; local 87 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IProcessInfoService.cpp | 34 Parcel data, reply; local 38 status_t err = remote()->transact(GET_PROCESS_STATES_FROM_PIDS, data, &reply); 39 if (err != NO_ERROR || ((err = reply.readExceptionCode()) != NO_ERROR)) { 42 int32_t replyLen = reply.readInt32(); 46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) { 49 return reply.readInt32(); 55 Parcel data, reply; local 62 GET_PROCESS_STATES_AND_OOM_SCORES_FROM_PIDS, data, &reply); 64 || ((err = reply.readExceptionCode()) != NO_ERROR)) { 67 int32_t replyLen = reply [all...] |
H A D | IResultReceiver.cpp | 52 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 56 CHECK_INTERFACE(IResultReceiver, data, reply); 59 if (reply != NULL) { 60 reply->writeNoException(); 65 return BBinder::onTransact(code, data, reply, flags); 51 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IServiceManager.cpp | 153 Parcel data, reply; local 156 remote()->transact(CHECK_SERVICE_TRANSACTION, data, &reply); 157 return reply.readStrongBinder(); 163 Parcel data, reply; local 168 status_t err = remote()->transact(ADD_SERVICE_TRANSACTION, data, &reply); 169 return err == NO_ERROR ? reply.readExceptionCode() : err; 178 Parcel data, reply; local 181 status_t err = remote()->transact(LIST_SERVICES_TRANSACTION, data, &reply); 184 res.add(reply.readString16());
|
H A D | ProcessState.cpp | 116 Parcel data, reply; local 120 status_t result = ipc->transact(0 /*magic*/, 0, data, &reply, 0); 122 object = reply.readStrongBinder();
|
/frameworks/native/libs/binder/tests/ |
H A D | binderLibTest.cpp | 134 Parcel data, reply; local 140 ret = m_server->transact(BINDER_LIB_TEST_GET_STATUS_TRANSACTION, data, &reply); 142 ret = m_server->transact(BINDER_LIB_TEST_EXIT_TRANSACTION, data, &reply, TF_ONE_WAY); 170 Parcel data, reply; local 173 ret = m_server->transact(BINDER_LIB_TEST_ADD_SERVER, data, &reply); 177 binder = reply.readStrongBinder(); 179 ret = reply.readInt32(&id); 295 const Parcel& data, Parcel* reply, 298 (void)reply; 324 Parcel data, reply; local 294 onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags = 0) argument 333 Parcel data, reply; local 343 Parcel data, reply; local 354 Parcel data, reply; local 370 Parcel data, reply; local 413 Parcel data, reply; local 475 Parcel data, reply; local 551 Parcel data, reply; local 575 Parcel data, reply; local 586 Parcel data, reply; local 596 Parcel data, reply; local 619 Parcel data, reply; local 661 Parcel data, reply; local 690 onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags = 0) argument 917 Parcel data, reply; local [all...] |
H A D | binderThroughputTest.cpp | 38 const Parcel& data, Parcel* reply, 42 (void)reply; 200 Parcel data, reply; local 202 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply); 37 onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags = 0) argument
|
/frameworks/native/libs/gui/ |
H A D | IConsumerListener.cpp | 46 Parcel data, reply; local 49 remote()->transact(ON_FRAME_AVAILABLE, data, &reply, IBinder::FLAG_ONEWAY); 53 Parcel data, reply; local 55 remote()->transact(ON_BUFFER_RELEASED, data, &reply, IBinder::FLAG_ONEWAY); 59 Parcel data, reply; local 61 remote()->transact(ON_SIDEBAND_STREAM_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 74 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 78 CHECK_INTERFACE(IConsumerListener, data, reply); 84 CHECK_INTERFACE(IConsumerListener, data, reply); 88 CHECK_INTERFACE(IConsumerListener, data, reply); 73 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IDisplayEventConnection.cpp | 51 Parcel data, reply; local 53 remote()->transact(GET_DATA_CHANNEL, data, &reply); 54 return new BitTube(reply); 58 Parcel data, reply; local 61 remote()->transact(SET_VSYNC_RATE, data, &reply); 65 Parcel data, reply; local 67 remote()->transact(REQUEST_NEXT_VSYNC, data, &reply, IBinder::FLAG_ONEWAY); 80 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 84 CHECK_INTERFACE(IDisplayEventConnection, data, reply); 86 channel->writeToParcel(reply); 79 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | IGraphicBufferAlloc.cpp | 50 Parcel data, reply; local 56 remote()->transact(CREATE_GRAPHIC_BUFFER, data, &reply); 58 status_t result = reply.readInt32(); 61 result = reply.read(*graphicBuffer); 65 // reply.readStrongBinder(); 83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 99 CHECK_INTERFACE(IGraphicBufferAlloc, data, reply); 107 reply->writeInt32(error); 109 reply->write(*result); 116 reply 82 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |