Searched refs:reply (Results 1 - 25 of 180) sorted by path

12345678

/frameworks/base/cmds/installd/
H A Dinstalld.c22 #define REPLY_MAX 256 /* largest reply allowed */
24 static int do_ping(char **arg, char reply[REPLY_MAX]) argument
29 static int do_install(char **arg, char reply[REPLY_MAX]) argument
34 static int do_dexopt(char **arg, char reply[REPLY_MAX]) argument
40 static int do_move_dex(char **arg, char reply[REPLY_MAX]) argument
45 static int do_rm_dex(char **arg, char reply[REPLY_MAX]) argument
50 static int do_remove(char **arg, char reply[REPLY_MAX]) argument
55 static int do_rename(char **arg, char reply[REPLY_MAX]) argument
60 static int do_free_cache(char **arg, char reply[REPLY_MAX]) /* TODO int:free_size */ argument
65 static int do_rm_cache(char **arg, char reply[REPLY_MA argument
70 do_protect(char **arg, char reply[REPLY_MAX]) argument
75 do_get_size(char **arg, char reply[REPLY_MAX]) argument
95 do_rm_user_data(char **arg, char reply[REPLY_MAX]) argument
100 do_mk_user_data(char **arg, char reply[REPLY_MAX]) argument
105 do_rm_user(char **arg, char reply[REPLY_MAX]) argument
110 do_movefiles(char **arg, char reply[REPLY_MAX]) argument
115 do_linklib(char **arg, char reply[REPLY_MAX]) argument
120 do_unlinklib(char **arg, char reply[REPLY_MAX]) argument
196 char reply[REPLY_MAX]; local
[all...]
/frameworks/base/cmds/service/
H A Dservice.cpp36 Parcel data, reply; local
37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
39 return reply.readString16();
122 Parcel data, reply; local
237 service->transact(code, data, &reply);
238 aout << "Result: " << reply << endl;
/frameworks/base/cmds/servicemanager/
H A Dbctest.c14 struct binder_io msg, reply; local
21 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE))
24 ptr = bio_get_ref(&reply);
29 binder_done(bs, &msg, &reply);
38 struct binder_io msg, reply; local
46 if (binder_call(bs, &msg, &reply, target, SVC_MGR_ADD_SERVICE))
49 status = bio_get_uint32(&reply);
51 binder_done(bs, &msg, &reply);
H A Dbinder.c161 struct binder_io *reply,
186 data.txn.data_size = reply->data - reply->data0;
187 data.txn.offs_size = ((char*) reply->offs) - ((char*) reply->offs0);
188 data.txn.data = reply->data0;
189 data.txn.offs = reply->offs0;
229 struct binder_io reply; local
232 bio_init(&reply, rdata, sizeof(rdata), 4);
234 res = func(bs, txn, &msg, &reply);
160 binder_send_reply(struct binder_state *bs, struct binder_io *reply, void *buffer_to_free, int status) argument
303 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, void *target, uint32_t code) argument
436 binder_done(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply) argument
[all...]
H A Dbinder.h69 struct binder_io *reply);
78 struct binder_io *msg, struct binder_io *reply,
87 struct binder_io *msg, struct binder_io *reply);
H A Dservice_manager.c193 struct binder_io *reply)
226 bio_put_ref(reply, ptr);
243 bio_put_string16(reply, si->name);
253 bio_put_uint32(reply, 0);
190 svcmgr_handler(struct binder_state *bs, struct binder_txn *txn, struct binder_io *msg, struct binder_io *reply) argument
/frameworks/base/cmds/stagefright/
H A Dsf2.cpp405 sp<AMessage> reply; local
406 CHECK(msg->findMessage("reply", &reply));
409 reply->post();
508 reply->setInt32("err", mFinalResult);
509 reply->post();
514 reply->setObject("buffer", outBuffer);
515 reply->post();
525 sp<AMessage> reply; local
526 CHECK(msg->findMessage("reply",
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java110 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
134 reply.writeNoException();
135 reply.writeInt(result);
160 reply.writeNoException();
161 result.writeToParcel(reply, 0);
183 reply.writeNoException();
184 reply.writeInt(result);
207 reply.writeNoException();
208 reply.writeInt(result);
218 reply
[all...]
H A DApplicationThreadNative.java68 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
428 reply.writeNoException();
429 mi.writeToParcel(reply, 0);
518 reply.writeNoException();
519 mi.writeToParcel(reply, 0);
539 reply.writeNoException();
544 return super.onTransact(code, data, reply, flags);
998 Parcel reply = Parcel.obtain();
1000 mRemote.transact(GET_MEMORY_INFO_TRANSACTION, data, reply, 0);
1001 reply
[all...]
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java111 Message reply = args.handler.obtainMessage(token);
112 reply.obj = args;
113 reply.arg1 = msg.arg1;
117 + ", reply.what=" + reply.what);
120 reply.sendToTarget();
H A DContentProviderNative.java77 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
122 reply.writeNoException();
123 reply.writeStrongBinder(binder);
124 reply.writeInt(count);
125 reply.writeInt(index);
126 reply.writeInt(wantsAllOnMoveCalls ? 1 : 0);
128 reply.writeNoException();
129 reply.writeStrongBinder(null);
140 reply.writeNoException();
141 reply
[all...]
H A DContentService.java117 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
120 return super.onTransact(code, data, reply, flags);
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
65 reply.writeNoException();
67 reply.writeInt(0);
69 reply.writeInt(1);
70 window.writeToParcel(reply, Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
78 reply.writeNoException();
79 reply.writeInt(count);
86 reply.writeNoException();
87 reply.writeInt(columnNames.length);
90 reply
[all...]
H A DDatabaseUtils.java81 * @param reply Parcel to write to
86 public static final void writeExceptionToParcel(Parcel reply, Exception e) { argument
111 reply.writeException(e);
115 reply.writeInt(code);
116 reply.writeString(e.getMessage());
128 * @param reply Parcel to read from
132 public static final void readExceptionFromParcel(Parcel reply) { argument
133 int code = reply.readExceptionCode();
135 String msg = reply.readString();
136 DatabaseUtils.readExceptionFromParcel(reply, ms
139 readExceptionWithFileNotFoundExceptionFromParcel( Parcel reply) argument
151 readExceptionWithOperationApplicationExceptionFromParcel( Parcel reply) argument
163 readExceptionFromParcel(Parcel reply, String msg, int code) argument
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHeap.java177 /* create a non-empty reply so the handler fires on completion */
178 byte[] reply = { result };
179 return new Chunk(CHUNK_HPDU, reply, 0, reply.length);
250 byte[] reply = new byte[1];
251 reply[0] = DdmVmInternal.getRecentAllocationStatus() ? (byte)1 :(byte)0;
252 return new Chunk(CHUNK_REAQ, reply, 0, reply.length);
264 /* generate the reply in a ready-to-go format */
265 byte[] reply
[all...]
H A DDdmHandleHello.java132 Chunk reply = new Chunk(CHUNK_HELO, out);
141 return reply;
H A DDdmHandleProfiling.java128 /* create a non-empty reply so the handler fires on completion */
129 byte[] reply = { result };
130 return new Chunk(CHUNK_MPRE, reply, 0, reply.length);
183 /* create a non-empty reply so the handler fires on completion */
184 byte[] reply = { (byte) result };
185 return new Chunk(CHUNK_MPRQ, reply, 0, reply.length);
/frameworks/base/core/java/android/net/
H A DVpnService.java238 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) { argument
/frameworks/base/core/java/android/os/
H A DBinder.java213 protected boolean onTransact(int code, Parcel data, Parcel reply, argument
216 reply.writeString(getInterfaceDescriptor());
233 if (reply != null) {
234 reply.writeNoException();
291 public final boolean transact(int code, Parcel data, Parcel reply, argument
297 boolean r = onTransact(code, data, reply, flags);
298 if (reply != null) {
299 reply.setDataPosition(0);
332 Parcel reply = Parcel.obtain(replyObj);
338 res = onTransact(code, data, reply, flag
365 transact(int code, Parcel data, Parcel reply, int flags) argument
[all...]
H A DIBinder.java209 * @param reply Marshalled data to be received from the target. May be
214 public boolean transact(int code, Parcel data, Parcel reply, int flags) argument
H A DServiceManagerNative.java50 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
58 reply.writeStrongBinder(service);
66 reply.writeStrongBinder(service);
81 reply.writeStringArray(list);
117 Parcel reply = Parcel.obtain();
120 mRemote.transact(GET_SERVICE_TRANSACTION, data, reply, 0);
121 IBinder binder = reply.readStrongBinder();
122 reply.recycle();
129 Parcel reply = Parcel.obtain();
132 mRemote.transact(CHECK_SERVICE_TRANSACTION, data, reply,
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java809 public boolean onTransact(int code, Parcel data, Parcel reply, argument
813 reply.writeString(DESCRIPTOR);
821 reply.writeNoException();
829 reply.writeNoException();
835 reply.writeNoException();
836 reply.writeInt((result ? 1 : 0));
844 reply.writeNoException();
850 reply.writeNoException();
851 reply.writeInt((result ? 1 : 0));
859 reply
[all...]
H A DIMountServiceListener.java61 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
65 reply.writeString(DESCRIPTOR);
73 reply.writeNoException();
85 reply.writeNoException();
89 return super.onTransact(code, data, reply, flags);
H A DIMountShutdownObserver.java60 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
64 reply.writeString(DESCRIPTOR);
72 reply.writeNoException();
76 return super.onTransact(code, data, reply, flags);
H A DIObbActionListener.java61 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
65 reply.writeString(DESCRIPTOR);
77 reply.writeNoException();
81 return super.onTransact(code, data, reply, flags);

Completed in 372 milliseconds

12345678