Searched refs:ExtconInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | ExtconUEventObserver.java | 56 private final Map<String, ExtconInfo> mExtconInfos = new ArrayMap<>(); 61 ExtconInfo info = mExtconInfos.get(devPath); in onUEvent() 75 protected abstract void onUEvent(ExtconInfo extconInfo, UEvent event); in onUEvent() 78 public void startObserving(ExtconInfo extconInfo) { in startObserving() 91 public static final class ExtconInfo { class in ExtconUEventObserver 151 private static ExtconInfo[] sExtconInfos = null; 169 sExtconInfos = new ExtconInfo[0]; in initExtconInfos() 171 List<ExtconInfo> list = new ArrayList<>(files.length); in initExtconInfos() 173 list.add(new ExtconInfo(f.getName())); in initExtconInfos() 175 sExtconInfos = list.toArray(new ExtconInfo[0]); in initExtconInfos() [all …]
|
D | WiredAccessoryManager.java | 490 private final List<ExtconInfo> mExtconInfos; 493 mExtconInfos = ExtconInfo.getExtconInfoForTypes(new String[] { in WiredAccessoryExtconObserver() 494 ExtconInfo.EXTCON_HEADPHONE, in WiredAccessoryExtconObserver() 495 ExtconInfo.EXTCON_MICROPHONE, in WiredAccessoryExtconObserver() 496 ExtconInfo.EXTCON_HDMI, in WiredAccessoryExtconObserver() 497 ExtconInfo.EXTCON_LINE_OUT, in WiredAccessoryExtconObserver() 502 for (ExtconInfo extconInfo : mExtconInfos) { in init() 526 public Pair<Integer, Integer> parseState(ExtconInfo extconInfo, String status) { in parseState() 531 if (extconInfo.hasCableType(ExtconInfo.EXTCON_HEADPHONE)) { in parseState() 532 updateBit(maskAndState, BIT_HEADSET_NO_MIC, status, ExtconInfo.EXTCON_HEADPHONE); in parseState() [all …]
|
D | ExtconStateObserver.java | 45 public S parseStateFromFile(ExtconInfo extconInfo) throws IOException { in parseStateFromFile() 53 public void onUEvent(ExtconInfo extconInfo, UEvent event) { in onUEvent() 70 public abstract void updateState(ExtconInfo extconInfo, String eventName, @NonNull S state); in updateState() 81 public abstract S parseState(ExtconInfo extconInfo, String state); in parseState()
|
D | DockObserver.java | 41 import com.android.server.ExtconUEventObserver.ExtconInfo; 177 List<ExtconInfo> infos = ExtconInfo.getExtconInfoForTypes(new String[] { in DockObserver() 178 ExtconInfo.EXTCON_DOCK in DockObserver() 182 ExtconInfo info = infos.get(0); in DockObserver() 376 public void onUEvent(ExtconInfo extconInfo, UEventObserver.UEvent event) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 4580 final List<ExtconUEventObserver.ExtconInfo> extcons = 4581 ExtconUEventObserver.ExtconInfo.getExtconInfoForTypes( 4582 new String[] {ExtconUEventObserver.ExtconInfo.EXTCON_HDMI}); 6930 private boolean init(ExtconInfo hdmi) { 6950 public void updateState(ExtconInfo extconInfo, String eventName, Boolean state) { 6955 public Boolean parseState(ExtconInfo extconIfno, String state) {
|
/frameworks/base/services/ |
D | art-wear-profile | 2305 PLcom/android/server/ExtconUEventObserver$ExtconInfo;-><clinit>()V 2306 PLcom/android/server/ExtconUEventObserver$ExtconInfo;->getExtconInfoForTypes([Ljava/lang/String;)Lj… 2307 PLcom/android/server/ExtconUEventObserver$ExtconInfo;->initExtconInfos()V
|