Lines Matching full:service
44 static String16 get_interface_name(sp<IBinder> service)
46 if (service != NULL) {
48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
74 aerr << "service: Unable to get default service manager!" << endl;
92 aerr << "service: Unknown option -" << ic << endl;
105 sp<IBinder> service = sm->checkService(String16(argv[optind]));
106 aout << "Service " << argv[optind] <<
107 (service == NULL ? ": not found" : ": found") << endl;
109 aerr << "service: No service specified for check" << endl;
119 sp<IBinder> service = sm->checkService(name);
122 << ": [" << good_old_string(get_interface_name(service)) << "]"
129 sp<IBinder> service = sm->checkService(String16(argv[optind++]));
130 String16 ifName = get_interface_name(service);
132 if (service != NULL && ifName.size() > 0) {
143 aerr << "service: no integer supplied for 'i32'" << endl;
152 aerr << "service: no string supplied for 's16'" << endl;
241 aerr << "service: unknown option " << argv[optind] << endl;
248 service->transact(code, data, &reply);
251 aerr << "service: Service " << argv[serviceArg]
257 aerr << "service: No service specified for call" << endl;
259 aerr << "service: No code specified for call" << endl;
265 aerr << "service: Unknown command " << argv[optind] << endl;
272 aout << "Usage: service [-h|-?]\n"
273 " service list\n"
274 " service check SERVICE\n"
275 " service call SERVICE CODE [i32 INT | s16 STR] ...\n"