Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java203 StringBuilder modeString = new StringBuilder(); in modeToString() local
209 modeString.append("dual, "); in modeToString()
212 modeString.append("dfp, "); in modeToString()
214 modeString.append("ufp, "); in modeToString()
218 modeString.append("audio_acc, "); in modeToString()
221 modeString.append("debug_acc, "); in modeToString()
224 if (modeString.length() == 0) { in modeToString()
227 return modeString.substring(0, modeString.length() - 2); in modeToString()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java174 final String modeString; in resetSettingsViaShell() local
177 modeString = "untrusted_defaults"; in resetSettingsViaShell()
181 modeString = "untrusted_clear"; in resetSettingsViaShell()
185 modeString = "trusted_defaults"; in resetSettingsViaShell()
195 executeShellCommand("settings reset global " + modeString); in resetSettingsViaShell()
199 executeShellCommand("settings reset secure " + modeString); in resetSettingsViaShell()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java164 String modeString = displayMatcher.group(1); in updateOverlayDisplayDevicesLocked() local
167 for (String mode : modeString.split("\\|")) { in updateOverlayDisplayDevicesLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2270 final String modeString = getNextArg(); in runSetAppLink() local
2271 if (modeString == null) { in runSetAppLink()
2277 switch (modeString.toLowerCase()) { in runSetAppLink()
2299 getErrPrintWriter().println("Error: unknown app link state '" + modeString + "'"); in runSetAppLink()