/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ParseUtilsTest.java | 103 assertEquals(false, ParseUtils.parseBoolean(null, false)); in testParseBoolean() 104 assertEquals(true, ParseUtils.parseBoolean(null, true)); in testParseBoolean() 106 assertEquals(false, ParseUtils.parseBoolean("", false)); in testParseBoolean() 107 assertEquals(true, ParseUtils.parseBoolean("", true)); in testParseBoolean() 109 assertEquals(true, ParseUtils.parseBoolean("true", false)); in testParseBoolean() 110 assertEquals(true, ParseUtils.parseBoolean("true", true)); in testParseBoolean() 112 assertEquals(false, ParseUtils.parseBoolean("false", false)); in testParseBoolean() 113 assertEquals(false, ParseUtils.parseBoolean("false", true)); in testParseBoolean() 115 assertEquals(true, ParseUtils.parseBoolean("1", false)); in testParseBoolean() 116 assertEquals(true, ParseUtils.parseBoolean("1", true)); in testParseBoolean() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerShellCommand.java | 78 mService.setAdaptivePowerSaveEnabled(Boolean.parseBoolean(getNextArgRequired())); in runSetAdaptiveEnabled() 98 Boolean.parseBoolean(getNextArgRequired())); in runSetFixedPerformanceModeEnabled() 112 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in runSuppressAmbientDisplay() 188 mService.setUseFaceDownDetector(Boolean.parseBoolean(getNextArgRequired())); in runSetFaceDownDetector()
|
/frameworks/base/core/java/android/util/ |
D | FeatureFlagUtils.java | 268 return Boolean.parseBoolean(value); in isEnabled() 276 return Boolean.parseBoolean(value); in isEnabled() 280 return Boolean.parseBoolean(value); in isEnabled()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 309 isRestrictedToTestNetworks = Boolean.parseBoolean(values[24]); in decode() 316 excludeLocalRoutes = Boolean.parseBoolean(values[25]); in decode() 323 requiresInternetValidation = Boolean.parseBoolean(values[26]); in decode() 345 automaticNattKeepaliveTimerEnabled = Boolean.parseBoolean(values[28]); in decode() 346 automaticIpVersionSelectionEnabled = Boolean.parseBoolean(values[29]); in decode() 366 profile.mppe = Boolean.parseBoolean(values[8]); in decode() 395 profile.isBypassable = Boolean.parseBoolean(values[20]); in decode() 396 profile.isMetered = Boolean.parseBoolean(values[21]); in decode() 398 profile.areAuthParamsInline = Boolean.parseBoolean(values[23]); in decode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/ |
D | ValueParser.kt | 152 private val parseBoolean: ValueParser<Boolean> = ValueParser { value -> in value() constant 169 val Boolean = parseBoolean
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 135 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in handleSetLocationEnabled() 181 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in handleSetAdasGnssLocationEnabled() 205 boolean suspended = Boolean.parseBoolean(getNextArgRequired()); in handleSetAutomotiveGnssSuspended() 308 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in handleSetTestProviderEnabled()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceShellCommand.java | 147 boolean disabled = Boolean.parseBoolean(getNextArgRequired()); in requestDisable() 168 boolean logging = Boolean.parseBoolean(getNextArgRequired()); in setDebugHotwordLogging()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfRunPreconditionBase.java | 100 final boolean skip = Boolean.parseBoolean(arguments.getString(ARGUMENT_LOG_ONLY, "false")); in testRunStarted() 124 if (Boolean.parseBoolean(arguments.getString(ARGUMENT_KILL_BACKGROUND))) { in testRunStarted()
|
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | SystemProperties_host.java | 137 return parseBoolean(native_get(key, ""), def); in native_get_boolean() 190 private static boolean parseBoolean(String val, boolean def) { in parseBoolean() method in SystemProperties_host
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConfig.java | 110 return Boolean.parseBoolean(propString); in getBool()
|
/frameworks/base/tools/preload-check/device/src/com/android/preload/check/ |
D | NotInitializedRegex.java | 37 boolean requiresMatch = args.length > 1 ? Boolean.parseBoolean(args[1]) : false; in main()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 90 public static boolean parseBoolean(@Nullable String value, boolean defValue) { in parseBoolean() method in ParseUtils
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/capabilities/ |
D | Audio.java | 84 mSupported = Boolean.parseBoolean(isSupported); in parse()
|
D | Video.java | 84 mSupported = Boolean.parseBoolean(isSupported); in parse()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintShellCommand.java | 79 mService.setBindInstantServiceAllowed(userId, Boolean.parseBoolean(allowed)); in runSetBindInstantServiceAllowed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/ |
D | ValueParserTest.kt | 32 fun parseBoolean() { in parseBoolean() method
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerServiceShellCommand.java | 73 Boolean.parseBoolean(allowed)); in runSetBindInstantServiceAllowed()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 941 mForceStopApp = Boolean.parseBoolean(forceStopApp); in parseArgs() 947 mEnableRecording = Boolean.parseBoolean(enableRecording); in parseArgs() 1001 mDropCache = Boolean.parseBoolean(args.getString(KEY_DROP_CACHE)); in parseArgs() 1004 mSimplePerfAppOnly = Boolean.parseBoolean(args.getString(KEY_SIMPLEPERF_APP)); in parseArgs() 1005 mCycleCleanUp = Boolean.parseBoolean(args.getString(KEY_CYCLE_CLEAN)); in parseArgs() 1006 mTraceAll = Boolean.parseBoolean(args.getString(KEY_TRACE_ALL)); in parseArgs() 1007 mTrialLaunch = mTrialLaunch || Boolean.parseBoolean(args.getString(KEY_TRIAL_LAUNCH)); in parseArgs() 1009 Boolean.parseBoolean(args.getString(KEY_IORAP_TRIAL_LAUNCH)); in parseArgs()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationShellCommand.java | 81 boolean newState = Boolean.parseBoolean(newStateRaw); in runSetState()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerServiceShellCommand.java | 116 final boolean enabled = Boolean.parseBoolean(getNextArg()); in setDefaultServiceEnabled()
|
/frameworks/base/cmds/vr/src/com/android/commands/vr/ |
D | Vr.java | 121 boolean enabled = Boolean.parseBoolean(enableStr); in runSetPersistentVrModeEnabled()
|
/frameworks/base/core/java/android/flags/ |
D | FeatureFlags.java | 317 nsOverrides.put(name, parseBoolean(override)); in addBooleanOverride() 342 static boolean parseBoolean(String value) { in parseBoolean() method in FeatureFlags
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CommonUtils.java | 70 return Boolean.parseBoolean(tokens[1]); in getIgnoreOrientationRequest()
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | DexmakerShareClassLoaderRuleTest.java | 108 return Boolean.parseBoolean(System.getProperty(DEXMAKER_SHARE_CLASSLOADER_PROPERTY)); in readProperty()
|
/frameworks/base/core/tests/featureflagtests/src/android/util/ |
D | FeatureFlagUtilsTest.java | 95 assertTrue(Boolean.parseBoolean(SystemProperties.get( in testSetEnabled_shouldSetOverrideFlag()
|