/frameworks/libs/binary_translation/base/ |
D | memfd_backed_mmap_test.cc | 35 uintptr_t default_value = 42; in TEST() local 36 int memfd = CreateAndFillMemfd("uintptr", kMemfdFileSize, default_value); in TEST() 38 CreateMemfdBackedMapOrDie(memfd, kTableSize * sizeof(default_value), kMemfdFileSize)); in TEST() 41 ASSERT_EQ(ptr[3], default_value); in TEST() 46 ASSERT_EQ(ptr[73], default_value); in TEST() 47 ASSERT_EQ(ptr[kMemfdFileSize + 3], default_value); in TEST() 48 ASSERT_EQ(ptr[kMemfdFileSize + 73], default_value); in TEST() 49 ASSERT_EQ(ptr[3 * kMemfdFileSize + 3], default_value); in TEST() 51 MunmapOrDie(ptr, kTableSize * sizeof(default_value)); in TEST()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DeviceConfigTest.java | 188 final String default_value = "default_value"; in getString_empty() local 189 final String result = DeviceConfig.getString(NAMESPACE, KEY, default_value); in getString_empty() 190 assertThat(result).isEqualTo(default_value); in getString_empty() 202 final String default_value = "default"; in getString_nonEmpty() local 205 final String result = DeviceConfig.getString(NAMESPACE, KEY, default_value); in getString_nonEmpty() 231 final boolean default_value = true; in getBoolean_empty() 232 final boolean result = DeviceConfig.getBoolean(NAMESPACE, KEY, default_value); in getBoolean_empty() 233 assertThat(result).isEqualTo(default_value); in getBoolean_empty() 239 final boolean default_value = false; in getBoolean_valid() 242 final boolean result = DeviceConfig.getBoolean(NAMESPACE, KEY, default_value); in getBoolean_valid() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | Properties.h | 28 static inline int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 35 if (default_value) { in property_get() 36 len = strlen(default_value); in property_get() 37 memcpy(value, default_value, len + 1); in property_get()
|
/frameworks/rs/cpp/ |
D | rsCppUtils.cpp | 106 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 113 if (default_value) { in property_get() 114 len = strlen(default_value); in property_get() 115 memcpy(value, default_value, len + 1); in property_get()
|
/frameworks/rs/ |
D | rsCppUtils.cpp | 106 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 113 if (default_value) { in property_get() 114 len = strlen(default_value); in property_get() 115 memcpy(value, default_value, len + 1); in property_get()
|
D | rsCppUtils.h | 201 int property_get(const char *key, char *value, const char *default_value);
|
/frameworks/native/cmds/installd/ |
D | run_dex2oat.cpp | 341 const std::string& default_value) { in GetProperty() argument 342 return android::base::GetProperty(key, default_value); in GetProperty() 345 bool RunDex2Oat::GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 346 return android::base::GetBoolProperty(key, default_value); in GetBoolProperty() 351 const std::string& default_value) { in MapPropertyToArg() argument 352 std::string prop = GetProperty(property, default_value); in MapPropertyToArg() 363 const std::string& default_value) { in MapPropertyToArgWithBackup() argument 364 std::string value = GetProperty(property, default_value); in MapPropertyToArgWithBackup() 368 return MapPropertyToArg(backupProperty, format, default_value); in MapPropertyToArgWithBackup()
|
D | run_dex2oat.h | 84 virtual std::string GetProperty(const std::string& key, const std::string& default_value); 85 virtual bool GetBoolProperty(const std::string& key, bool default_value); 93 const std::string& default_value = ""); 98 const std::string& default_value = "");
|
D | otapreopt.cpp | 159 int GetProperty(const char* key, char* value, const char* default_value) const { in GetProperty() 162 if (default_value == nullptr) { in GetProperty() 166 strlcpy(value, default_value, kPropertyValueMax - 1); in GetProperty() 168 return strlen(default_value);// TODO: Need to truncate? in GetProperty() 598 int get_property(const char *key, char *value, const char *default_value) { in get_property() argument 599 return gOps.GetProperty(key, value, default_value); in get_property()
|
D | installd_deps.h | 34 const char *default_value);
|
D | installd.cpp | 50 int get_property(const char *key, char *value, const char *default_value) { in get_property() argument 51 return property_get(key, value, default_value); in get_property()
|
D | run_dex2oat_test.cpp | 64 const std::string& default_value) override { in GetProperty() argument 66 return default_value; in GetProperty() 70 return default_value; in GetProperty() 75 virtual bool GetBoolProperty(const std::string& key, bool default_value) override { in GetBoolProperty() argument 78 return default_value; in GetBoolProperty()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 46 config->values[0] = mGain.default_value; in getDefaultConfig() 52 config->values[i] = mGain.default_value; in getDefaultConfig() 100 dst->append(base::StringPrintf("%*s- default_value: %d mB\n", spaces, "", mGain.default_value)); in dump() 116 mGain.default_value == other->mGain.default_value && in equals()
|
/frameworks/libs/binary_translation/tools/nogrod/ |
D | dwarf_info.h | 63 [[nodiscard]] uint64_t GetUint64AttributeOr(uint16_t attr_name, uint64_t default_value) const { in GetUint64AttributeOr() argument 64 return GetUint64Attribute(attr_name).value_or(default_value); in GetUint64AttributeOr() 67 [[nodiscard]] bool GetBoolAttributeOr(uint16_t attr_name, bool default_value) const;
|
D | dwarf_info.cc | 439 bool DwarfDie::GetBoolAttributeOr(uint16_t attr_name, bool default_value) const { in GetBoolAttributeOr() 448 return default_value; in GetBoolAttributeOr()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioGain.h | 49 void setDefaultValueInMb(int defaultValue) { mGain.default_value = defaultValue; } in setDefaultValueInMb() 50 int getDefaultValueInMb() const { return mGain.default_value; } in getDefaultValueInMb()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 118 inline int GetMinSdk(int default_value = -1) const { 120 return default_value;
|
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/ |
D | table_of_tables.h | 35 explicit TableOfTables(T default_value) : default_value_(default_value) { in TableOfTables() argument
|
/frameworks/base/core/proto/android/providers/settings/ |
D | common.proto | 36 optional string default_value = 5; field
|
/frameworks/native/cmds/installd/tests/ |
D | installd_cache_test.cpp | 47 int get_property(const char *key, char *value, const char *default_value) { in get_property() argument 48 return property_get(key, value, default_value); in get_property()
|
D | installd_dexopt_test.cpp | 58 int get_property(const char *key, char *value, const char *default_value) { in get_property() argument 59 return property_get(key, value, default_value); in get_property()
|
D | installd_service_test.cpp | 101 int get_property(const char *key, char *value, const char *default_value) { in get_property() argument 102 return property_get(key, value, default_value); in get_property()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_aidl_legacy_conversion_tests.cpp | 735 .default_value = 0, in TEST_P() 743 .default_value = 0, in TEST_P() 759 EXPECT_EQ(initial.default_value, convBack.value().default_value); in TEST_P()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoRenderQualityTracker.h | 133 const std::string& default_value);
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionCppNdk.cpp | 2723 legacy.default_value = VALUE_OR_RETURN(convertIntegral<int>(aidl.defaultValue)); in aidl2legacy_AudioGain_audio_gain() 2738 aidl.defaultValue = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.default_value)); in legacy2aidl_audio_gain_AudioGain()
|