Home
last modified time | relevance | path

Searched refs:readValue (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/storage/
DAtomicFileDatastoreTest.java403 Boolean readValue = mDatastore.getBoolean(TEST_KEY); in testPutGetUpdateRemoveBoolean() local
404 assertWithMessage("getBoolean(%s)", TEST_KEY).that(readValue).isNotNull(); in testPutGetUpdateRemoveBoolean()
405 assertWithMessage("getBoolean(%s)", TEST_KEY).that(readValue).isEqualTo(insertedValue); in testPutGetUpdateRemoveBoolean()
416 readValue = mDatastore.getBoolean(TEST_KEY); in testPutGetUpdateRemoveBoolean()
417 assertWithMessage("getBoolean(%s)", TEST_KEY).that(readValue).isNotNull(); in testPutGetUpdateRemoveBoolean()
418 assertWithMessage("getBoolean(%s)", TEST_KEY).that(readValue).isEqualTo(insertedValue); in testPutGetUpdateRemoveBoolean()
443 Integer readValue = mDatastore.getInt(TEST_KEY); in testPutGetUpdateRemoveInt() local
444 assertWithMessage("getInt(%s)", TEST_KEY).that(readValue).isNotNull(); in testPutGetUpdateRemoveInt()
445 assertWithMessage("getInt(%s)", TEST_KEY).that(readValue).isEqualTo(insertedValue); in testPutGetUpdateRemoveInt()
456 readValue = mDatastore.getInt(TEST_KEY); in testPutGetUpdateRemoveInt()
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/
DGatt.kt201 val readValue = gattInstance.readCharacteristicBlocking(characteristic) in readCharacteristicFromHandle() constant
204 AttValue.newBuilder().setHandle(readValue.handle).setValue(readValue.value) in readCharacteristicFromHandle()
206 .setStatus(readValue.status) in readCharacteristicFromHandle()
241 val readValue = gattInstance.readDescriptorBlocking(descriptor) in readCharacteristicDescriptorFromHandle() constant
244 AttValue.newBuilder().setHandle(readValue.handle).setValue(readValue.value) in readCharacteristicDescriptorFromHandle()
246 .setStatus(readValue.status) in readCharacteristicDescriptorFromHandle()
449 for (readValue in readValuesList) { in generateReadValuesList() constant
453 AttValue.newBuilder().setHandle(readValue.handle).setValue(readValue.value) in generateReadValuesList()
455 .setStatus(readValue.status) in generateReadValuesList()
/packages/modules/Connectivity/bpf/netd/
DBpfBaseTest.cpp64 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
69 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
82 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
90 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
DBpfHandlerTest.cpp94 Result<UidTagValue> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag()
100 void expectNoTag(uint64_t cookie) { EXPECT_FALSE(mFakeCookieTagMap.readValue(cookie).ok()); } in expectNoTag()
DBpfHandler.cpp334 auto permission = mUidPermissionMap.readValue(appId); in hasUpdateDeviceStatsPermission()
409 auto configuration = mConfigurationMap.readValue(CURRENT_STATS_MAP_CONFIGURATION_KEY); in tagSocket()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content_global_counters.h33 mTotalCount(readValue(mBuffer, TOTAL_COUNT_INDEX)), in LanguageModelDictContentGlobalCounters()
34 mMaxValueOfCounters(readValue(mBuffer, MAX_VALUE_OF_COUNTERS_INDEX)) {} in LanguageModelDictContentGlobalCounters()
92 static int readValue(const BufferWithExtendableBuffer &buffer, const int index) { in readValue() function
/packages/modules/Connectivity/tests/native/utilities/
Dfirewall.cpp46 auto oldConfiguration = mConfigurationMap.readValue(key); in toggleStandbyMatch()
70 auto oldMatch = mUidOwnerMap.readValue(uid); in addRule()
91 auto oldMatch = mUidOwnerMap.readValue(uid); in removeRule()
134 auto dataSaverSetting = mDataSaverEnabledMap.readValue(DATA_SAVER_ENABLED_KEY); in getDataSaverSetting()
/packages/modules/Connectivity/bpf/dns_helper/
DDnsBpfHelper.cpp87 auto enabledRules = mConfigurationMap.readValue(UID_RULES_CONFIGURATION_KEY); in isUidNetworkingBlocked()
90 auto value = mUidOwnerMap.readValue(uid); in isUidNetworkingBlocked()
110 auto dataSaverSetting = mDataSaverEnabledMap.readValue(DATA_SAVER_ENABLED_KEY); in isUidNetworkingBlocked()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp54 Result<IfaceValue> v = getIfaceIndexNameMap().readValue(ifindex); in ifindex2name()
74 auto statsEntry = appUidStatsMap.readValue(uid); in bpfGetUidStatsInternal()
103 Result<StatsValue> statsEntry = ifaceStatsMap.readValue(key); in bpfGetIfaceStatsInternal()
121 auto statsEntry = ifaceStatsMap.readValue(ifindex); in bpfGetIfIndexStatsInternal()
161 Result<StatsValue> statsEntry = statsMap.readValue(key); in parseBpfNetworkStatsDetailInternal()
198 auto configuration = configurationMap.readValue(CURRENT_STATS_MAP_CONFIGURATION_KEY); in parseBpfNetworkStatsDetail()
DBpfNetworkStatsTest.cpp81 return mFakeIfaceIndexNameMap.readValue(ifindex); in __anon0ed082ea0102()
104 auto tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag()
166 auto tagResult = mFakeCookieTagMap.readValue(curCookie); in TEST_F()
359 ASSERT_EQ(false, mFakeIfaceIndexNameMap.readValue(ifaceIndex).ok()); in TEST_F()
365 ASSERT_EQ(false, mFakeIfaceIndexNameMap.readValue(ifaceIndex).ok()); in TEST_F()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxStorageTest.java116 String readValue = ""; in testAppCanReadSdkFileDescriptor() local
120 readValue = new String(fis.readAllBytes(), StandardCharsets.UTF_8); in testAppCanReadSdkFileDescriptor()
126 assertThat(readValue).isEqualTo(FD_VALUE); in testAppCanReadSdkFileDescriptor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSeekBarDialogPreference.java34 public int readValue(final String key); in readValue() method
64 final int value = mValueProxy.readValue(getKey()); in setInterface()
100 final int value = mValueProxy.readValue(getKey()); in onBindDialogView()
DAdvancedSettingsFragment.java146 public int readValue(final String key) { in setupKeypressVibrationDurationSettings()
201 public int readValue(final String key) { in setupKeypressSoundVolumeSettings()
246 public int readValue(final String key) { in setupKeyLongpressTimeoutSettings()
DDebugSettingsFragment.java182 public int readValue(final String key) { in setupKeyPreviewAnimationScale()
224 public int readValue(final String key) { in setupKeyPreviewAnimationDuration()
270 public int readValue(final String key) { in setupKeyboardHeight()
/packages/modules/UprobeStats/src/bpf/headers/include/bpf/
DBpfMap.h96 Result<Value> readValue(const Key key) const { in readValue() function
213 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
232 using BpfMapRO<Key, Value>::readValue;
338 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
370 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
/packages/modules/Connectivity/bpf/headers/include/bpf/
DBpfMap.h128 Result<Value> readValue(const Key key) const { in readValue() function
245 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
264 using BpfMapRO<Key, Value>::readValue;
370 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
402 Result<Value> curValue = readValue(curKey.value()); in iterateWithValue()
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp550 mHwCamera->setIntParameter(id, *value, [&result, value](auto status, auto readValue) { in setParameter() argument
552 *value = readValue[0]; in setParameter()
578 mHwCamera->getIntParameter(id, [&result, value](auto status, auto readValue) { in getParameter() argument
581 *value = readValue[0]; in getParameter()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DHomeSp.java539 long readValue = in.readLong();
540 if (readValue != NULL_VALUE) {
541 value = Long.valueOf(readValue);
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java304 String readValue; in checkReadFileDescriptor() local
307 readValue = new String(fis.readAllBytes(), StandardCharsets.UTF_8); in checkReadFileDescriptor()
314 if (!TextUtils.equals(readValue, expectedValue)) { in checkReadFileDescriptor()
316 "Read value " + readValue + " does not match expected value " + expectedValue); in checkReadFileDescriptor()
/packages/services/Car/car-lib/src/com/android/car/internal/
DResultWrapper.java39 V safeCast = (V) in.readValue(getClass().getClassLoader()); in ResultWrapper()
/packages/modules/Connectivity/bpf/headers/
DBpfMapTest.cpp121 Result<uint32_t> value_read = testMap.readValue(key); in TEST_F()
167 Result<uint32_t> value_read = testMap2.readValue(key); in TEST_F()
/packages/modules/UprobeStats/src/bpf/headers/
DBpfMapTest.cpp121 Result<uint32_t> value_read = testMap.readValue(key); in TEST_F()
167 Result<uint32_t> value_read = testMap2.readValue(key); in TEST_F()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/
DBpfNetworkStats.h89 auto statsEntry = statsMap.readValue(curKey); in maybeLogUnknownIface()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DRawPropertyValue.java78 mTypedValue = (T) in.readValue(getClass().getClassLoader()); in RawPropertyValue()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java559 mMinValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
560 mMaxValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()

12