Lines Matching refs:service
951 public void connected(ComponentName name, IBinder service) throws RemoteException {
954 sd.connected(name, service);
1024 public void connected(ComponentName name, IBinder service) {
1026 mActivityThread.post(new RunConnection(name, service, 0));
1028 doConnected(name, service);
1032 public void death(ComponentName name, IBinder service) {
1038 if (old == null || old.binder != service) {
1047 mActivityThread.post(new RunConnection(name, service, 1));
1049 doDeath(name, service);
1053 public void doConnected(ComponentName name, IBinder service) {
1064 if (old != null && old.binder == service) {
1069 if (service != null) {
1070 // A new service is being connected... set it all up.
1073 info.binder = service;
1074 info.deathMonitor = new DeathMonitor(name, service);
1076 service.linkToDeath(info.deathMonitor, 0);
1079 // This service was dead before we got it... just
1086 // The named service is being disconnected... clean up.
1095 // If there was an old service, it is not disconnected.
1099 // If there is a new service, it is now connected.
1100 if (service != null) {
1101 mConnection.onServiceConnected(name, service);
1105 public void doDeath(ComponentName name, IBinder service) {
1110 RunConnection(ComponentName name, IBinder service, int command) {
1112 mService = service;
1131 DeathMonitor(ComponentName name, IBinder service) {
1133 mService = service;