/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 35 import static com.android.providers.media.util.DatabaseUtils.parseBoolean; 382 assertTrue(parseBoolean("TRUE", false)); in testParseBoolean() 383 assertTrue(parseBoolean("true", false)); in testParseBoolean() 384 assertTrue(parseBoolean("1", false)); in testParseBoolean() 385 assertTrue(parseBoolean(1, false)); in testParseBoolean() 386 assertTrue(parseBoolean(true, false)); in testParseBoolean() 388 assertFalse(parseBoolean("FALSE", true)); in testParseBoolean() 389 assertFalse(parseBoolean("false", true)); in testParseBoolean() 390 assertFalse(parseBoolean("0", true)); in testParseBoolean() 391 assertFalse(parseBoolean(0, true)); in testParseBoolean() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParser.java | 180 builder.setLeaveAllSystemAppsEnabled(Boolean.parseBoolean(s)); in parse() 184 builder.setSkipEncryption(Boolean.parseBoolean(s)); in parse() 188 builder.setUseMobileData(Boolean.parseBoolean(s)); in parse() 192 builder.setDeviceOwnerPermissionGrantOptOut(Boolean.parseBoolean(s)); in parse() 250 builder.setHidden(Boolean.parseBoolean(s)); in parseWifiInfoFromProperties()
|
/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/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | Config.java | 197 return Boolean.parseBoolean(value); in isHearingAidSettingsEnabled() 204 return Boolean.parseBoolean(value); in isHearingAidSettingsEnabled()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | DatabaseUtils.java | 538 public static boolean parseBoolean(@Nullable Object value, boolean def) { in parseBoolean() method in DatabaseUtils 553 return parseBoolean(extras.get(key), def); in getAsBoolean() 558 return parseBoolean(values.get(key), def); in getAsBoolean()
|
D | FileUtils.java | 42 import static com.android.providers.media.util.DatabaseUtils.parseBoolean; 1236 if (parseBoolean(pending, false)) { 1245 if (parseBoolean(trashed, false)) {
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkConfig.java | 71 dependencyMet = Boolean.parseBoolean(fragments[5]); in NetworkConfig()
|
D | Network.java | 85 Boolean.parseBoolean(System.getProperty("http.keepAlive", "true"));
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagPersistent.java | 43 return Boolean.parseBoolean(value); in isEnabled()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestResultInstrumentation.java | 39 Boolean.parseBoolean(arguments.getString("realDeviceTest", "false")); in onCreate()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DefaultCarrierConfigValuesLoader.java | 108 values.putBoolean(key, Boolean.parseBoolean(value)); in loadFromResources()
|
/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/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 69 if (arguments.containsKey("debug") && Boolean.parseBoolean(arguments.getString("debug"))) { in onCreate()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | LauncherGridOptionsProvider.java | 90 boolean isSet = Boolean.parseBoolean(c.getString(c.getColumnIndex(COL_IS_DEFAULT))); in fetch()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | CallingMethodActivity.java | 85 mParameterValues[i] = Boolean.parseBoolean(text); in executeCallMethod()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 971 Boolean.parseBoolean(getPpsNodeValue(child))); in parseCredential() 1008 userCred.setMachineManaged(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential() 1014 userCred.setAbleToShare(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | KeyValueListParser.java | 149 return Boolean.parseBoolean(value); in getBoolean()
|
D | XmlUtilHelper.java | 1351 array[i] = Boolean.parseBoolean(parser.getAttributeValue(null, "value")); in readThisBooleanArrayXml() 1666 return Boolean.parseBoolean(value); in readBooleanAttribute() 1675 return Boolean.parseBoolean(value); in readBooleanAttribute()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionService.java | 109 if (!Boolean.parseBoolean( in canTranscribeVoicemail()
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 279 boolean isSelectable = Boolean.parseBoolean(res.getString(0)); in isUserSelectable()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/ |
D | CarUiUtils.java | 170 return Boolean.parseBoolean(value); in getBooleanSystemProperty()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyTestFragment.java | 145 Boolean boolVal = Boolean.parseBoolean(valueString); in onCreateView()
|
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
D | TimeZoneUpdateHostTest.java | 319 return Boolean.parseBoolean(operationInProgressString); in isOperationInProgress()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferences.java | 307 bundle.putBoolean(key, Boolean.parseBoolean(value)); in doInBackground()
|