Home
last modified time | relevance | path

Searched refs:keyValue (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/mediametrics/fuzzer/
Dmediametrics_service_fuzzer.cpp90 void setKeyValues(std::shared_ptr<mediametrics::Item>& item, std::string keyValue);
98 std::string keyValue) { in setKeyValues() argument
100 [&]() { item->setInt32(keyValue.c_str(), mFdp.ConsumeIntegral<int32_t>()); }, in setKeyValues()
101 [&]() { item->addInt32(keyValue.c_str(), mFdp.ConsumeIntegral<int32_t>()); }, in setKeyValues()
102 [&]() { item->setInt64(keyValue.c_str(), mFdp.ConsumeIntegral<int64_t>()); }, in setKeyValues()
103 [&]() { item->addInt64(keyValue.c_str(), mFdp.ConsumeIntegral<int64_t>()); }, in setKeyValues()
104 [&]() { item->setDouble(keyValue.c_str(), mFdp.ConsumeFloatingPoint<double>()); }, in setKeyValues()
105 [&]() { item->addDouble(keyValue.c_str(), mFdp.ConsumeFloatingPoint<double>()); }, in setKeyValues()
111 item->setCString(keyValue.c_str(), value.c_str()); in setKeyValues()
114 item->setRate(keyValue.c_str(), mFdp.ConsumeIntegral<int64_t>(), in setKeyValues()
[all …]
/frameworks/base/core/java/android/provider/
DE2eeContactKeysManager.java125 @NonNull byte[] keyValue) { in updateOrInsertE2eeContactKey() argument
126 validateKeyLength(keyValue); in updateOrInsertE2eeContactKey()
132 extras.putByteArray(E2eeContactKeys.KEY_VALUE, Objects.requireNonNull(keyValue)); in updateOrInsertE2eeContactKey()
401 @NonNull byte[] keyValue) { in updateOrInsertE2eeSelfKey() argument
402 validateKeyLength(keyValue); in updateOrInsertE2eeSelfKey()
407 extras.putByteArray(E2eeContactKeys.KEY_VALUE, Objects.requireNonNull(keyValue)); in updateOrInsertE2eeSelfKey()
415 private static void validateKeyLength(byte[] keyValue) { in validateKeyLength() argument
416 Objects.requireNonNull(keyValue); in validateKeyLength()
417 if (keyValue.length == 0 || keyValue.length > getMaxKeySizeBytes()) { in validateKeyLength()
418 throw new IllegalArgumentException("Key value length is " + keyValue.length + "." in validateKeyLength()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java197 String[] keyValue = keyValueString.split(keyValueDelim); in getAppNameFromPackageName() local
199 if (keyValue.length == 2) { in getAppNameFromPackageName()
200 if (keyValue[0].equals(packageName)) { in getAppNameFromPackageName()
201 return keyValue[1]; in getAppNameFromPackageName()
DUiccProfile.java1462 String[] keyValue = keyValueString.split(keyValueDelim); in parseToCertificateToPackageMap() local
1464 if (keyValue.length == 2) { in parseToCertificateToPackageMap()
1465 map.put(keyValue[0].toUpperCase(Locale.ROOT), keyValue[1]); in parseToCertificateToPackageMap()
/frameworks/av/media/ndk/fuzzer/
DNdkMediaCodecFuzzerBase.cpp195 std::string keyValue = fdp->ConsumeRandomLengthString(kMaxBytes); in formatSetString() local
196 AMediaFormat_setString(format, AMEDIAFORMAT_KEY, keyValue.c_str()); in formatSetString()
202 int32_t keyValue = fdp->ConsumeIntegralInRange<size_t>(kMinIntKeyValue, kMaxIntKeyValue); in formatSetInt() local
203 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY, keyValue); in formatSetInt()
209 float keyValue = in formatSetFloat() local
211 AMediaFormat_setFloat(format, AMEDIAFORMAT_KEY, keyValue); in formatSetFloat()
/frameworks/base/services/core/java/com/android/server/
DBootReceiver.java631 String[] keyValue = keyValueStr.split(":"); in logSystemServerShutdownTimeMetrics() local
632 if (keyValue.length != 2) { in logSystemServerShutdownTimeMetrics()
637 if (keyValue[0].startsWith(SHUTDOWN_TRON_METRICS_PREFIX)) { in logSystemServerShutdownTimeMetrics()
638 logTronShutdownMetric(keyValue[0], keyValue[1]); in logSystemServerShutdownTimeMetrics()
639 if (keyValue[0].equals(METRIC_SYSTEM_SERVER)) { in logSystemServerShutdownTimeMetrics()
640 duration = keyValue[1]; in logSystemServerShutdownTimeMetrics()
643 if (keyValue[0].equals("reboot")) { in logSystemServerShutdownTimeMetrics()
644 reboot = keyValue[1]; in logSystemServerShutdownTimeMetrics()
645 } else if (keyValue[0].equals("reason")) { in logSystemServerShutdownTimeMetrics()
646 reason = keyValue[1]; in logSystemServerShutdownTimeMetrics()
[all …]
DDockObserver.java343 for (Pair<String, String> keyValue : config.keyValuePairs) { in getDockedStateExtraValue()
344 String stateValue = state.getValue(keyValue.first); in getDockedStateExtraValue()
345 match = match && keyValue.second.equals(stateValue); in getDockedStateExtraValue()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java273 final int keyValue = numericKeyCodeToInt(keyCode); in handleKeyUp() local
274 final int newValue = mValue * RADIX + keyValue; in handleKeyUp()
/frameworks/av/drm/libmediadrm/
DDrmHalAidl.cpp126 KeyValue keyValue; in toKeyValueVector() local
127 keyValue.key = toStdString(keyedVector.keyAt(i)); in toKeyValueVector()
128 keyValue.value = toStdString(keyedVector.valueAt(i)); in toKeyValueVector()
129 stdKeyedVector.push_back(keyValue); in toKeyValueVector()
DDrmHalHidl.cpp195 KeyValue keyValue; in toHidlKeyedVector() local
196 keyValue.key = toHidlString(keyedVector.keyAt(i)); in toHidlKeyedVector()
197 keyValue.value = toHidlString(keyedVector.valueAt(i)); in toHidlKeyedVector()
198 stdKeyedVector.push_back(keyValue); in toHidlKeyedVector()