/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 35 import static com.android.providers.media.util.DatabaseUtils.parseBoolean; 392 assertTrue(parseBoolean("TRUE", false)); in testParseBoolean() 393 assertTrue(parseBoolean("true", false)); in testParseBoolean() 394 assertTrue(parseBoolean("1", false)); in testParseBoolean() 395 assertTrue(parseBoolean(1, false)); in testParseBoolean() 396 assertTrue(parseBoolean(true, false)); in testParseBoolean() 398 assertFalse(parseBoolean("FALSE", true)); in testParseBoolean() 399 assertFalse(parseBoolean("false", true)); in testParseBoolean() 400 assertFalse(parseBoolean("0", true)); in testParseBoolean() 401 assertFalse(parseBoolean(0, true)); in testParseBoolean() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnsXmlProcessor.java | 173 private Boolean parseBoolean(String text, Boolean defaultValue, String logHint) { in parseBoolean() method in ApnsXmlProcessor 176 value = Boolean.parseBoolean(text); in parseBoolean() 254 parseBoolean(carrierEnabled, null, "apn carrierEnabled")); in processApn()
|
D | BugleCarrierConfigValuesLoader.java | 192 values.putBoolean(key, Boolean.parseBoolean(value)); in update()
|
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/ |
D | SafetyCenterConfigParser.java | 348 parseBoolean( in parseSafetySource() 356 parseBoolean( in parseSafetySource() 365 parseBoolean( in parseSafetySource() 481 private static boolean parseBoolean( in parseBoolean() method in SafetyCenterConfigParser
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkConfig.java | 71 dependencyMet = Boolean.parseBoolean(fragments[5]); in NetworkConfig()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagPersistent.java | 43 return Boolean.parseBoolean(value); in isEnabled()
|
/packages/services/Telephony/utils/satellite/tools/src/main/java/com/android/telephony/tools/sats2/ |
D | CreateSatS2File.java | 66 return Boolean.parseBoolean(value); in getBooleanValue()
|
/packages/modules/IPsec/src/java/com/android/internal/net/utils/ |
D | IkeDeviceConfigUtils.java | 79 return (value != null) ? Boolean.parseBoolean(value) : defaultValue; in getDeviceConfigPropertyBoolean()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestResultInstrumentation.java | 39 Boolean.parseBoolean(arguments.getString("realDeviceTest", "false")); in onCreate()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | DatabaseUtils.java | 579 public static boolean parseBoolean(@Nullable Object value, boolean def) { in parseBoolean() method in DatabaseUtils 594 return parseBoolean(extras.get(key), def); in getAsBoolean() 599 return parseBoolean(values.get(key), def); in getAsBoolean()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/ |
D | NearbyConfiguration.java | 95 return value != null ? Boolean.parseBoolean(value) : defaultValue; in getDeviceConfigBoolean()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigrationStateManager.java | 521 return Boolean.parseBoolean(inProgressTimeoutReached); in hasInProgressStateTimedOut() 534 return Boolean.parseBoolean(idleStateTimeoutReached); in hasIdleStateTimedOut() 811 if (!Boolean.parseBoolean(preferenceHelper.getPreference(HAVE_RESET_MIGRATION_STATE_KEY)) in resetMigrationStateIfNeeded()
|
/packages/apps/TV/common/src/com/android/tv/common/compat/ |
D | TvInputInfoCompat.java | 63 mAudioOnly = Boolean.parseBoolean(getExtras().get(ATTRIBUTE_NAME_AUDIO_ONLY)); in isAudioOnly()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DefaultCarrierConfigValuesLoader.java | 108 values.putBoolean(key, Boolean.parseBoolean(value)); in loadFromResources()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiStringResourceWrapper.java | 139 return Boolean.parseBoolean(carrierOverrideString); in getBoolean()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 69 if (arguments.containsKey("debug") && Boolean.parseBoolean(arguments.getString("debug"))) { in onCreate()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | ExportImportSettingsStorage.java | 151 Boolean.parseBoolean(prefHelper.getPreference(IMPORT_ONGOING_PREFERENCE_KEY)); in getImportStatus()
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockPersistentStore.java | 146 return Boolean.parseBoolean( in getStateFromXml()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/ |
D | AdoptableStorageUtils.java | 41 Boolean.parseBoolean( in isAdoptableStorageSupported()
|
/packages/modules/AdServices/sdksandbox/tests/perf/scenarios/src/android/sdksandbox/test/scenario/testsdk/ |
D | ClientAppUtils.java | 198 Boolean.parseBoolean(argsBundle.getString(argKey))); in extractExtraClientArguments()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleShellCommand.java | 160 Boolean value = Boolean.parseBoolean(getNextArgRequired()); in runSetBypassingRoleQualification()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/fixture/ |
D | TestableSystemProperties.java | 121 ? Boolean.parseBoolean(sKeyValueMap.get(key)) in getBooleanValue()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | CallingMethodActivity.java | 85 mParameterValues[i] = Boolean.parseBoolean(text); in executeCallMethod()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | PhotoPickerCloudTestUtils.java | 51 return Boolean.parseBoolean( in isCloudMediaEnabled()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | LauncherGridOptionsProvider.java | 97 boolean isSet = Boolean.parseBoolean(c.getString(c.getColumnIndex(COL_IS_DEFAULT))); in fetch()
|