Home | History | Annotate | Download | only in service

Lines Matching full:service

33 static String16 get_interface_name(sp<IBinder> service)
35 if (service != NULL) {
37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
63 aerr << "service: Unable to get default service manager!" << endl;
81 aerr << "service: Unknown option -" << ic << endl;
94 sp<IBinder> service = sm->checkService(String16(argv[optind]));
95 aout << "Service " << argv[optind] <<
96 (service == NULL ? ": not found" : ": found") << endl;
98 aerr << "service: No service specified for check" << endl;
108 sp<IBinder> service = sm->checkService(name);
111 << ": [" << good_old_string(get_interface_name(service)) << "]"
118 sp<IBinder> service = sm->checkService(String16(argv[optind++]));
119 String16 ifName = get_interface_name(service);
121 if (service != NULL && ifName.size() > 0) {
132 aerr << "service: no integer supplied for 'i32'" << endl;
141 aerr << "service: no string supplied for 's16'" << endl;
230 aerr << "service: unknown option " << argv[optind] << endl;
237 service->transact(code, data, &reply);
240 aerr << "service: Service " << argv[serviceArg]
246 aerr << "service: No service specified for call" << endl;
248 aerr << "service: No code specified for call" << endl;
254 aerr << "service: Unknown command " << argv[optind] << endl;
261 aout << "Usage: service [-h|-?]\n"
262 " service list\n"
263 " service check SERVICE\n"
264 " service call SERVICE CODE [i32 INT | s16 STR] ...\n"