Lines Matching defs:componentName

183                 ComponentName componentName = entry.getKey();
354 ComponentName componentName = new ComponentName(serviceInfo.packageName,
359 inCallUIService = componentName;
360 Log.i(this, "Found default-dialer's In-Call UI: %s", componentName);
365 inCallControlServices.add(componentName);
396 for (ComponentName componentName : inCallControlServices) {
397 bindToInCallService(componentName, call, "control");
404 private boolean bindToInCallService(ComponentName componentName, Call call, String tag) {
405 if (mInCallServices.containsKey(componentName)) {
406 Log.i(this, "An InCallService already exists: %s", componentName);
410 if (mServiceConnections.containsKey(componentName)) {
411 Log.w(this, "The service is already bound for this component %s", componentName);
416 intent.setComponent(componentName);
424 Log.i(this, "Attempting to bind to [%s] InCall %s, with %s", tag, componentName, intent);
429 mServiceConnections.put(componentName, inCallServiceConnection);
452 * @param componentName The service {@link ComponentName}.
455 private void onConnected(ComponentName componentName, IBinder service) {
456 Trace.beginSection("onConnected: " + componentName);
457 Log.i(this, "onConnected to %s", componentName);
460 mInCallServices.put(componentName, inCallService);
471 onInCallServiceFailure(componentName, "setInCallAdapter");
479 componentName);
517 private void onInCallServiceFailure(ComponentName componentName, String tag) {
518 Log.i(this, "Cleaning up a failed InCallService [%s]: %s", tag, componentName);
522 mInCallServices.remove(componentName);
523 InCallServiceConnection serviceConnection = mServiceConnections.remove(componentName);
529 if (Objects.equals(mInCallUIComponentName, componentName)) {
566 ComponentName componentName = entry.getKey();
568 componentsUpdated.add(componentName);
840 for (ComponentName componentName : mInCallServices.keySet()) {
841 pw.println(componentName);
847 for (ComponentName componentName : mServiceConnections.keySet()) {
848 pw.println(componentName);