Lines Matching refs:componentName
23 import android.content.ComponentName;
59 public ComponentName componentName;
60 public ComponentName settingsComponentName;
68 sb.append(',').append(componentName);
97 ComponentName activeDream = getActiveDream();
109 dreamInfo.componentName = getDreamComponentName(resolveInfo);
110 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream);
118 public ComponentName getDefaultDream() {
130 ComponentName cn = getActiveDream();
180 public void setActiveDream(ComponentName dream) {
185 ComponentName[] dreams = { dream };
192 public ComponentName getActiveDream() {
196 ComponentName[] dreams = mDreamManager.getDreamComponents();
213 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null)
216 mDreamManager.testDream(dreamInfo.componentName);
233 private static ComponentName getDreamComponentName(ResolveInfo resolveInfo) {
236 return new ComponentName(resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name);
239 private static ComponentName getSettingsComponentName(PackageManager pm, ResolveInfo resolveInfo) {
283 return cn == null ? null : ComponentName.unflattenFromString(cn);
292 private final ComponentName mDefaultDream;
294 public DreamInfoComparator(ComponentName defaultDream) {
305 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1');