/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterFlags.kt | 460 fun parseFromString(stringValue: String): T in <lambda>() 466 override fun parseFromString(stringValue: String) = stringValue in <lambda>() 470 override fun parseFromString(stringValue: String) = stringValue.toBoolean() in <lambda>() 474 override fun parseFromString(stringValue: String) = stringValue.toInt() in <lambda>() 478 override fun parseFromString(stringValue: String) = stringValue.toLong() in <lambda>() 482 override fun parseFromString(stringValue: String) = Duration.ofMillis(stringValue.toLong()) in <lambda>() 491 override fun parseFromString(stringValue: String) = in <lambda>() 492 stringValue.split(delimiter).map(elementParser::parseFromString).toSet() in <lambda>() 504 override fun parseFromString(stringValue: String) = in <lambda>() 505 stringValue.split(entriesDelimiter).associate { pair -> in <lambda>() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalPropValueBuilder.java | 334 float[] floatValues, long[] int64Values, String stringValue, byte[] byteValues) { in build() argument 338 Objects.requireNonNull(stringValue, "Use empty value, not null for empty values"); in build() 342 int64Values, stringValue, byteValues); in build() 345 int64Values, stringValue, byteValues); in build() 432 mVehiclePropValue.value.stringValue = value; in AidlHalPropValue() 436 float[] floatValues, long[] int64Values, String stringValue, byte[] byteValues) { in AidlHalPropValue() argument 441 mVehiclePropValue.value.stringValue = stringValue; in AidlHalPropValue() 475 if (mVehiclePropValue.value.stringValue == null) { in AidlHalPropValue() 476 mVehiclePropValue.value.stringValue = ""; in AidlHalPropValue() 638 return mVehiclePropValue.value.stringValue; in getStringValue() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | GoogleLocationSettingHelper.java | 71 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/ |
D | TestSetupInstrumentation.java | 117 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/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/ |
D | CobaltLoggerImpl.java | 107 long metricId, String stringValue, List<Integer> eventCodes) { in logString() argument 125 metric, stringValue, eventCodes, currentTimeMillis), in logString() 148 String stringValue, in loggerEnabledLogString() argument 159 metric, stringValue, eventVector, currentTimeMillis))) in loggerEnabledLogString() 226 String stringValue, in logStringToReports() argument 255 stringValue)); in logStringToReports()
|
/packages/modules/StatsD/framework/test/unittests/src/android/os/ |
D | StatsDimensionsValueTest.java | 33 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/ |
D | DhcpErrorEventTest.kt | 54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString() constant 56 stringValue), in testToString() 57 stringValue.contains(it.name)) in testToString()
|
D | ValidationProbeEventTest.kt | 67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName() constant 68 assertEquals(it.name, stringValue) in testGetProbeName()
|
/packages/apps/Settings/src/com/android/settings/development/autofill/ |
D | AbstractGlobalSettingsPreference.java | 92 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/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropValueBuilder.java | 50 mPropValue.value.stringValue = new String(); in AidlVehiclePropValueBuilder() 66 newValue.value.stringValue = propValue.value.stringValue; in clone() 214 mPropValue.value.stringValue = val; in setStringValue()
|
D | HidlVehiclePropValueBuilder.java | 50 newValue.value.stringValue = propValue.value.stringValue; in clone() 118 mPropValue.value.stringValue = val; in setStringValue()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | CachedFlagsTest.java | 314 boolean enableSessionStableKillSwitches, boolean booleanValue, String stringValue) { in setupMockFlags() argument 339 when(mMockFlags.getMsmtApiAppAllowList()).thenReturn(stringValue); in setupMockFlags() 340 when(mMockFlags.getMsmtApiAppBlockList()).thenReturn(stringValue); in setupMockFlags() 341 when(mMockFlags.getWebContextClientAppAllowList()).thenReturn(stringValue); in setupMockFlags()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.cpp | 145 const std::string stringValue = value->getStringValue(); in onPropertyEvent() local 148 const auto& ret = mService->setPowerPolicyGroupInternal(stringValue); in onPropertyEvent() 150 ALOGW("Failed to set power policy group(%s): %s", stringValue.c_str(), in onPropertyEvent() 154 const auto& ret = mService->applyPowerPolicy(stringValue, in onPropertyEvent() 158 ALOGW("Failed to apply power policy(%s): %s", stringValue.c_str(), in onPropertyEvent() 1187 std::string stringValue = value.getStringValue(); in subscribeToVhal() local 1188 if (stringValue.size() > 0) { in subscribeToVhal() 1189 const auto& ret = applyPowerPolicy(stringValue, in subscribeToVhal() 1194 stringValue.c_str(), ret.error().message().c_str()); in subscribeToVhal() 1200 std::string stringValue = value.getStringValue(); in subscribeToVhal() local [all …]
|
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/ |
D | TestParcelable.java | 40 public TestParcelable(int intValue, float floatValue, String stringValue) { in TestParcelable() argument 43 mString = stringValue; in TestParcelable()
|
/packages/services/Car/cpp/vhal/client/src/ |
D | AidlHalPropValue.cpp | 91 mPropValue.value.stringValue = value; in setStringValue() 95 return mPropValue.value.stringValue; in getStringValue()
|
D | HidlHalPropValue.cpp | 91 mPropValue.value.stringValue = value; in setStringValue() 95 return mPropValue.value.stringValue; in getStringValue()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | DataService.java | 234 String stringValue) { in aggregateString() argument 246 stringValue)), in aggregateString() 318 String stringValue) { in aggregateStringSync() argument 319 HashCode hash = StringHashEntity.getHash(stringValue); in aggregateStringSync()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | DeferredMetricsWriter.java | 122 .forEach(stringValue -> builder.addStringListValue(stringValue)); in eventLoggerToDevicePolicyEvent()
|
/packages/modules/StatsD/framework/java/android/os/ |
D | StatsDimensionsValue.java | 112 return mInner.stringValue; in getStringValue() 240 sb.append(mInner.stringValue); in toString()
|
/packages/modules/StatsD/aidl/android/os/ |
D | StatsDimensionsValueParcel.aidl | 15 String stringValue;
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/ |
D | CobaltLogger.java | 43 ListenableFuture<Void> logString(long metricId, String stringValue, List<Integer> eventVector); in logString() argument
|
/packages/services/Car/tools/emulator/ |
D | obd2_to_diagjson.py | 110 self.store.stringValue = string 155 event.setStringValue(json.stringValue)
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | DiagnosticJsonTestUtils.java | 47 expected.value.stringValue = new String(); in buildEmptyVehiclePropertyValue()
|
D | HalPropValueTest.java | 63 hidlValue.value.stringValue = TEST_STRING_VALUE; in getTestHidlPropValue() 80 aidlValue.value.stringValue = TEST_STRING_VALUE; in getTestAidlPropValue() 251 assertThat(vehiclePropValue.value.stringValue).isEqualTo(TEST_STRING_VALUE); in testBuildFromStringHidl() 416 assertThat(vehiclePropValue.value.stringValue).isEqualTo(TEST_STRING_VALUE); in testBuildFromStringAidl() 615 hidlValue.value.stringValue = TEST_STRING_VALUE; in testToCarPropertyValueFromHidlString() 641 hidlValue.value.stringValue = TEST_STRING_VALUE; in testToCarPropertyValueFromHidlMixed() 826 aidlValue.value.stringValue = TEST_STRING_VALUE; in testToCarPropertyValueFromAidlString() 852 aidlValue.value.stringValue = TEST_STRING_VALUE; in testToCarPropertyValueFromAidlMixed() 1516 hidlValue11.value.stringValue = "blahblah"; in testHashCodeHidl() 1579 aidlValue11.value.stringValue = "blahblah"; in testHashCodeAidl()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | FetcherUtil.java | 159 String stringValue = (String) obj; in extractString() local 160 if (stringValue.length() > maxLength) { in extractString() 165 return Optional.of(stringValue); in extractString()
|