Home
last modified time | relevance | path

Searched refs:stringValue (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DGoogleLocationSettingHelper.java71 String stringValue = null; in getUseLocationForServices() local
81 stringValue = c.getString(0); in getUseLocationForServices()
93 if (stringValue == null) { in getUseLocationForServices()
98 value = Integer.parseInt(stringValue); in getUseLocationForServices()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/
DTestSetupInstrumentation.java117 String stringValue = mArguments.getString(arg); in getArgumentAsInt() local
118 if (stringValue != null) { in getArgumentAsInt()
120 return Integer.parseInt(stringValue); in getArgumentAsInt()
127 + stringValue in getArgumentAsInt()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp130 const auto& ret = mService->setPowerPolicyGroup(value.value.stringValue); in onPropertyEvent()
132 ALOGW("Failed to set power policy group(%s): %s", value.value.stringValue.c_str(), in onPropertyEvent()
136 const auto& ret = mService->applyPowerPolicy(value.value.stringValue, in onPropertyEvent()
140 ALOGW("Failed to apply power policy(%s): %s", value.value.stringValue.c_str(), in onPropertyEvent()
670 if (value.value.stringValue.size() > 0) { in subscribeToVhal()
671 const auto& ret = applyPowerPolicy(value.value.stringValue, in subscribeToVhal()
676 value.value.stringValue.c_str(), in subscribeToVhal()
683 if (value.value.stringValue.size() > 0) { in subscribeToVhal()
684 const auto& ret = setPowerPolicyGroup(value.value.stringValue); in subscribeToVhal()
690 value.value.stringValue.c_str(), in subscribeToVhal()
[all …]
/packages/modules/StatsD/framework/test/src/android/os/
DStatsDimensionsValueTest.java33 String stringValue = "Hello"; in testConversionFromStructuredParcel() local
56 sdvp.tupleValue[0].stringValue = stringValue; in testConversionFromStructuredParcel()
85 assertThat(sdvChildren.get(0).getStringValue()).isEqualTo(stringValue); in testConversionFromStructuredParcel()
/packages/modules/Connectivity/tests/common/java/android/net/metrics/
DDhcpErrorEventTest.kt54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString() constant
56 stringValue), in testToString()
57 stringValue.contains(it.name)) in testToString()
DValidationProbeEventTest.kt67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName() constant
68 assertEquals(it.name, stringValue) in testGetProbeName()
/packages/apps/Settings/src/com/android/settings/development/autofill/
DAbstractGlobalSettingsPreference.java92 final String stringValue = getText(); in onDialogClosed() local
95 newValue = Integer.parseInt(stringValue); in onDialogClosed()
97 Log.e(TAG, "Error converting '" + stringValue + "' to integer. Using " in onDialogClosed()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DVehiclePropValueBuilder.java50 newValue.value.stringValue = propValue.value.stringValue; in clone()
118 mPropValue.value.stringValue = val; in setStringValue()
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java106 return new CarPropertyValue<>(propertyId, areaId, status, timestamp, v.stringValue); in toCarPropertyValue()
126 valuesList.add(value.stringValue); in toMixedCarPropertyValue()
165 v.stringValue = (String) o; in toVehiclePropValue()
207 v.stringValue = (String) values[indexOfValues]; in toMixedVehiclePropValue()
DUserHalService.java760 if (TextUtils.isEmpty(value.value.stringValue)) { in logEventWithErrorMessage()
767 list[list.length - 1] = value.value.stringValue; in logEventWithErrorMessage()
982 response.errorMessage = value.value.stringValue; in handleOnSwitchUserVehicleResponse()
1016 response.errorMessage = value.value.stringValue; in handleOnCreateUserResponse()
DVehicleHal.java532 return (T) propValue.value.stringValue; in get()
952 bytesString, value.value.stringValue); in dumpVehiclePropValue()
DPropertyHalServiceIds.java824 + rawValue.stringValue.length(); in checkFormatForAllProperties()
846 return sizeOfAllValue == rawValue.stringValue.length(); in checkFormatForAllProperties()
DDiagnosticHalService.java392 builder.withDtc(value.value.stringValue); in createCarDiagnosticEvent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DDeferredMetricsWriter.java122 .forEach(stringValue -> builder.addStringListValue(stringValue)); in eventLoggerToDevicePolicyEvent()
/packages/modules/StatsD/framework/java/android/os/
DStatsDimensionsValue.java112 return mInner.stringValue; in getStringValue()
240 sb.append(mInner.stringValue); in toString()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHalHelperTest.java555 prop.value.stringValue = "D'OH!"; in testToUserIdentificationResponse_ok()
640 prop.value.stringValue = "||"; in testToInitialUserInfoResponse_default_ok_stringValueWithJustSeparator()
659 prop.value.stringValue = "esperanto,klingon"; in testToInitialUserInfoResponse_default_ok_stringValueWithLocale()
678 prop.value.stringValue = "esperanto|klingon"; in testToInitialUserInfoResponse_default_ok_stringValueWithLocaleWithHalfSeparator()
731 prop.value.stringValue = "esperanto,klingon|||"; in testToInitialUserInfoResponse_switch_ok_withLocale()
774 prop.value.stringValue = "||ElGuesto"; in testToInitialUserInfoResponse_create_ok_noLocale()
795 prop.value.stringValue = "esperanto,klingon||ElGuesto"; in testToInitialUserInfoResponse_create_ok_withLocale()
816 prop.value.stringValue = "esperanto|klingon||El|Guesto"; in testToInitialUserInfoResponse_create_ok_nameAndLocaleWithHalfDelimiter()
1094 assertWithMessage("wrong name %s", propValue).that(propValue.value.stringValue) in testCreateUserRequestToVehiclePropValue_ok()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DUserHalHelper.java353 response.errorMessage = prop.value.stringValue; in toUserIdentificationResponse()
398 if (!TextUtils.isEmpty(prop.value.stringValue)) { in toInitialUserInfoResponse()
399 stringValues = TextUtils.split(prop.value.stringValue, STRING_SEPARATOR); in toInitialUserInfoResponse()
535 propValue.value.stringValue = request.newUserName; in toVehiclePropValue()
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py110 self.store.stringValue = string
155 event.setStringValue(json.stringValue)
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DDatabaseUtils.java544 final String stringValue = ((String) value).toLowerCase(Locale.ROOT); in parseBoolean() local
545 return (!"false".equals(stringValue) && !"0".equals(stringValue)); in parseBoolean()
/packages/modules/StatsD/aidl/android/os/
DStatsDimensionsValueParcel.aidl15 String stringValue;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java319 propValue.value.stringValue = "some_value"; in testDumpPropertyValueByCommend()
DUserHalServiceTest.java455 propResponse.value.stringValue = "||" + newUserName; in testGetUserInfo_successCreateUser()
641 propResponse.value.stringValue = "D'OH!"; in testSwitchUser_failure()
1015 propResponse.value.stringValue = "D'OH!"; in testCreateUser_failure()
/packages/modules/StatsD/statsd/src/
DHashableDimensionKey.cpp73 child.stringValue = dim.mValue.str_value; in populateStatsDimensionsValueParcelChildren()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java476 final CharSequence stringValue = validString ? context.getText(mStringRes) : null; in inflateUsing() local
480 return String.format(stringValue.toString(), columnValue); in inflateUsing()
482 return stringValue; in inflateUsing()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java612 final CharSequence stringValue = validString ? context.getText(mStringRes) : null; in inflateUsing() local
616 return String.format(stringValue.toString(), columnValue); in inflateUsing()
618 return stringValue; in inflateUsing()

12