Home
last modified time | relevance | path

Searched refs:modeString (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java542 StringBuilder modeString = new StringBuilder(); in modeToString() local
548 modeString.append("dual, "); in modeToString()
551 modeString.append("dfp, "); in modeToString()
553 modeString.append("ufp, "); in modeToString()
557 modeString.append("audio_acc, "); in modeToString()
560 modeString.append("debug_acc, "); in modeToString()
563 if (modeString.length() == 0) { in modeToString()
566 return modeString.substring(0, modeString.length() - 2); in modeToString()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java190 final String modeString; in resetSettingsViaShell() local
193 modeString = "untrusted_defaults"; in resetSettingsViaShell()
197 modeString = "untrusted_clear"; in resetSettingsViaShell()
201 modeString = "trusted_defaults"; in resetSettingsViaShell()
211 executeShellCommand("settings reset global " + modeString); in resetSettingsViaShell()
215 executeShellCommand("settings reset secure " + modeString); in resetSettingsViaShell()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java206 String modeString = displayMatcher.group(1); in updateOverlayDisplayDevicesLocked() local
209 for (String mode : modeString.split(MODE_SPLITTER)) { in updateOverlayDisplayDevicesLocked()