Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 5432) sorted by relevance

12345678910>>...218

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DFitnessPermissionStrings.kt44 R.string.active_calories_burned_uppercase_label,
45 R.string.active_calories_burned_lowercase_label,
46 R.string.active_calories_burned_read_content_description,
47 R.string.active_calories_burned_write_content_description))
51 R.string.distance_uppercase_label,
52 R.string.distance_lowercase_label,
53 R.string.distance_read_content_description,
54 R.string.distance_write_content_description))
58 R.string.elevation_gained_uppercase_label,
59 R.string.elevation_gained_lowercase_label,
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_config.h49 std::string return_value{std::string()};
50 std::function<std::string(const char* filename)> body{
52 std::string operator()(const char* filename) { return body(filename); }; in operator()
61 std::function<bool(const std::string& checksum, const std::string& filename)>
62 body{[this](const std::string& /* checksum */,
63 const std::string& /* filename */) { return return_value; }};
64 bool operator()(const std::string& checksum, const std::string& filename) { in operator()
75 std::function<bool(const config_t& config, const std::string& section,
76 const std::string& key, bool def_value)>
78 const std::string& /* section */,
[all …]
Dmock_device_iot_config.h30 std::function<bool(const std::string& section, const std::string& key,
32 body{[this](const std::string& /* section */,
33 const std::string& /* key */,
35 bool operator()(const std::string& section, const std::string& key, in operator()
47 std::function<bool(const std::string& section, const std::string& key,
49 body{[this](const std::string& /* section */,
50 const std::string& /* key */,
52 bool operator()(const std::string& section, const std::string& key, in operator()
64 std::function<bool(const std::string& section, const std::string& key)> body{
65 [this](const std::string& /* section */, const std::string& /* key */) {
[all …]
Dmock_btif_config.h68 std::function<bool(const std::string& section, const std::string& key)> body{
69 [](const std::string& /* section */, const std::string& /* key */) {
72 bool operator()(const std::string& section, const std::string& key) { in operator()
81 std::function<bool(const std::string& section, const std::string& key,
83 body{[](const std::string& /* section */, const std::string& /* key */,
85 bool operator()(const std::string& section, const std::string& key, in operator()
95 std::function<bool(const std::string& section, const std::string& key,
97 body{[](const std::string& /* section */, const std::string& /* key */,
99 bool operator()(const std::string& section, const std::string& key, in operator()
109 std::function<bool(const std::string& section, const std::string& key,
[all …]
Dmock_main_shim_BtifConfigInterface.cc22 const std::string& /* section */) { in HasSection() argument
26 const std::string& /* section */, const std::string& /* property */) { in HasProperty() argument
30 const std::string& /* section */, const std::string& /* key */, in GetInt() argument
35 const std::string& /* section */, const std::string& /* key */, in SetInt() argument
40 const std::string& /* section */, const std::string& /* key */, in GetUint64() argument
45 const std::string& /* section */, const std::string& /* key */, in SetUint64() argument
50 const std::string& /* section */, const std::string& /* key */, in GetStr() argument
54 std::optional<std::string> bluetooth::shim::BtifConfigInterface::GetStr( in GetStr()
55 const std::string& /* section */, const std::string& /* key */) { in GetStr() argument
56 return std::string(); in GetStr()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_log_history.h24 static std::string kLogConnectionTag("CONN_STATE");
25 static std::string kLogStateMachineTag("SM");
26 static std::string kLogControlPointCmd("ASCS_CP_CMD");
27 static std::string kLogControlPointNotif("ASCS_CP_NOTIF");
28 static std::string kLogAseStateNotif("ASE_NOTIF");
29 static std::string kLogHciEvent("HCI_EVENT");
30 static std::string kLogAfCallBt("AF --> ");
31 static std::string kLogBtCallAf("AF <-- ");
34 static std::string kLogStateChangedOp("STATE CHANGED");
35 static std::string kLogTargetStateChangedOp("TARGET STATE CHANGED");
[all …]
Dle_audio_types.cc258 std::string CapabilityTypeToStr(const uint8_t& type) { in CapabilityTypeToStr()
275 std::string CapabilityValueToStr(const uint8_t& type, in CapabilityValueToStr()
277 std::string string = ""; in CapabilityValueToStr() local
288 string += "8"; in CapabilityValueToStr()
291 string += std::string((string.empty() ? "" : "|")) + "11.025"; in CapabilityValueToStr()
294 string += std::string((string.empty() ? "" : "|")) + "16"; in CapabilityValueToStr()
297 string += std::string((string.empty() ? "" : "|")) + "22.050"; in CapabilityValueToStr()
300 string += std::string((string.empty() ? "" : "|")) + "24"; in CapabilityValueToStr()
303 string += std::string((string.empty() ? "" : "|")) + "32"; in CapabilityValueToStr()
306 string += std::string((string.empty() ? "" : "|")) + "44.1"; in CapabilityValueToStr()
[all …]
/packages/services/Car/tools/telemetry/lua-interpreter/tests/
Dlua_engine_test.cc34 std::string ConvertVectorToString(std::vector<std::string> vector) { in ConvertVectorToString()
36 for (std::string s : vector) { in ConvertVectorToString()
42 std::string ConvertArrayToString(char** array, int size) { in ConvertArrayToString()
52 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F()
54 std::string actual = ConvertVectorToString(output); in TEST_F()
55 EXPECT_NE(actual.find("LUA: Logging here"), std::string::npos); in TEST_F()
59 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F()
61 std::string actual = ConvertVectorToString(output); in TEST_F()
64 std::string::npos); in TEST_F()
68 std::vector<std::string> output = lua_engine_.ExecuteScript( in TEST_F()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DExerciseSegmentTypeFormatter.kt31 context.getString(R.string.back_extension) in getSegmentType()
33 context.getString(R.string.barbell_shoulder_press) in getSegmentType()
35 context.getString(R.string.bench_press) in getSegmentType()
37 context.getString(R.string.bench_sit_up) in getSegmentType()
38 ExerciseSegmentType.EXERCISE_SEGMENT_TYPE_BURPEE -> context.getString(R.string.burpee) in getSegmentType()
39 ExerciseSegmentType.EXERCISE_SEGMENT_TYPE_CRUNCH -> context.getString(R.string.crunch) in getSegmentType()
41 context.getString(R.string.deadlift) in getSegmentType()
43 context.getString(R.string.dumbbell_curl_left_arm) in getSegmentType()
45 context.getString(R.string.dumbbell_curl_right_arm) in getSegmentType()
47 context.getString(R.string.dumbbell_front_raise) in getSegmentType()
[all …]
DNutritionFormatter.kt48 format(context.getString(R.string.gram_short_format), mapOf("count" to grams)) in <lambda>()
63 format(context.getString(R.string.gram_long_format), mapOf("count" to grams)) in <lambda>()
75 record.mealName?.run { stringJoiner.addAggregation(R.string.meal_name, this) } in <lambda>()
78 R.string.mealtype_label, formatMealType(context, record.mealType)) in <lambda>()
80 record.biotin?.addAggregation(R.string.biotin, stringJoiner, formatMass) in <lambda>()
81 record.caffeine?.addAggregation(R.string.caffeine, stringJoiner, formatMass) in <lambda>()
82 record.calcium?.addAggregation(R.string.calcium, stringJoiner, formatMass) in <lambda>()
83 record.chloride?.addAggregation(R.string.chloride, stringJoiner, formatMass) in <lambda>()
84 record.cholesterol?.addAggregation(R.string.cholesterol, stringJoiner, formatMass) in <lambda>()
85 record.chromium?.addAggregation(R.string.chromium, stringJoiner, formatMass) in <lambda>()
[all …]
/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module.h51 static const std::string kInfoSection;
52 static const std::string kFileSourceProperty;
53 static const std::string kTimeCreatedProperty;
54 static const std::string kTimeCreatedFormat;
56 static const std::string kAdapterSection;
120 std::string ToString() const override;
144 std::string config_file_path,
150 bool HasSection(const std::string& section) const;
151 bool HasProperty(const std::string& section, const std::string& property) const;
153 std::optional<std::string> GetProperty(
[all …]
Dconfig_cache.h72 virtual bool HasSection(const std::string& section) const;
73 virtual bool HasProperty(const std::string& section, const std::string& property) const;
75 …virtual std::optional<std::string> GetProperty(const std::string& section, const std::string& prop…
77 virtual std::vector<std::string> GetPersistentSections() const;
79 virtual bool IsPersistentSection(const std::string& section) const;
82 const std::string& section, const std::unordered_set<std::string_view>& property_names) const;
84 virtual bool IsPersistentProperty(const std::string& property) const;
86 virtual std::string SerializeToLegacyFormat() const;
89 std::string section;
90 std::string property;
[all …]
Dconfig_cache_helper.h45 virtual void SetBool(const std::string& section, const std::string& property, bool value);
46 …virtual std::optional<bool> GetBool(const std::string& section, const std::string& property) const;
47 virtual void SetUint64(const std::string& section, const std::string& property, uint64_t value);
48 …virtual std::optional<uint64_t> GetUint64(const std::string& section, const std::string& property)…
49 virtual void SetUint32(const std::string& section, const std::string& property, uint32_t value);
50 …virtual std::optional<uint32_t> GetUint32(const std::string& section, const std::string& property)…
51 virtual void SetInt64(const std::string& section, const std::string& property, int64_t value);
52 …virtual std::optional<int64_t> GetInt64(const std::string& section, const std::string& property) c…
53 virtual void SetInt(const std::string& section, const std::string& property, int value);
54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestServerFlag.cpp36 static std::string fakeServerFuncDefault(const std::string& /*categoryName*/, in fakeServerFuncDefault() argument
37 const std::string& /*flagName*/, in fakeServerFuncDefault()
38 const std::string& /*defaultValue*/) { in fakeServerFuncDefault()
42 static std::string fakeServerFuncMax(const std::string& /*categoryName*/, in fakeServerFuncMax() argument
43 const std::string& /*flagName*/, in fakeServerFuncMax()
44 const std::string& /*defaultValue*/) { in fakeServerFuncMax()
48 static std::string fakeServerFuncMin(const std::string& /*categoryName*/, in fakeServerFuncMin() argument
49 const std::string& /*flagName*/, in fakeServerFuncMin()
50 const std::string& /*defaultValue*/) { in fakeServerFuncMin()
54 static std::string fakeServerFuncLarge(const std::string& /*categoryName*/, in fakeServerFuncLarge() argument
[all …]
/packages/modules/Bluetooth/system/osi/include/
Dconfig.h29 std::string key;
30 std::string value;
34 std::string name;
36 void Set(std::string key, std::string value);
37 std::list<entry_t>::iterator Find(const std::string& key);
38 bool Has(const std::string& key);
43 std::list<section_t>::iterator Find(const std::string& section);
44 bool Has(const std::string& section);
58 std::string checksum_read(const char* filename);
69 bool config_has_section(const config_t& config, const std::string& section);
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java31 R.string.units_unit_abbreviation_meter_per_sec, R.string.units_unit_name_meter_per_sec);
33 R.string.units_unit_abbreviation_rpm, R.string.units_unit_name_rpm);
35 R.string.units_unit_abbreviation_hertz, R.string.units_unit_name_hertz);
37 R.string.units_unit_abbreviation_percentile, R.string.units_unit_name_percentile);
39 R.string.units_unit_abbreviation_millimeter, R.string.units_unit_name_millimeter);
41 R.string.units_unit_abbreviation_meter, R.string.units_unit_name_meter);
43 R.string.units_unit_abbreviation_kilometer, R.string.units_unit_name_kilometer);
45 R.string.units_unit_abbreviation_mile, R.string.units_unit_name_mile);
47 R.string.units_unit_abbreviation_celsius, R.string.units_unit_name_celsius);
49 R.string.units_unit_abbreviation_fahrenheit, R.string.units_unit_name_fahrenheit);
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dconfig.h30 static bool HasSection(const std::string& section);
31 static bool HasProperty(const std::string& section,
32 const std::string& property);
33 static bool GetInt(const std::string& section, const std::string& key,
35 static bool SetInt(const std::string& section, const std::string& key,
37 static bool GetUint64(const std::string& section, const std::string& key,
39 static bool SetUint64(const std::string& section, const std::string& key,
41 static bool GetStr(const std::string& section, const std::string& key,
43 static std::optional<std::string> GetStr(const std::string& section,
44 const std::string& key);
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java62 appendMessageDetail(context, buf, R.string.delivery_time_heading, in getMessageDetails()
67 appendMessageDetail(context, buf, R.string.message_identifier, in getMessageDetails()
69 appendMessageDetail(context, buf, R.string.message_serial_number, in getMessageDetails()
79 appendMessageDetail(context, buf, R.string.data_coding_scheme, in getMessageDetails()
82 appendMessageDetail(context, buf, R.string.message_content, message.getMessageBody()); in getMessageDetails()
84 appendMessageDetail(context, buf, R.string.location_check_time, locationCheckTime == -1 in getMessageDetails()
88 appendMessageDetail(context, buf, R.string.maximum_waiting_time, in getMessageDetails()
90 + context.getString(R.string.seconds)); in getMessageDetails()
92 appendMessageDetail(context, buf, R.string.message_displayed, in getMessageDetails()
95 appendMessageDetail(context, buf, R.string.message_coordinates, in getMessageDetails()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DDisconnectCauseUtil.java303 return context.getResources().getString(R.string.callFailed_userBusy); in toTelecomDisconnectCauseLabel()
316 return context.getResources().getString(R.string.callFailed_userBusy); in toTelecomDisconnectCauseLabel()
336 resourceId = R.string.callFailed_userBusy; in getLabelFromDisconnectCause()
340 resourceId = R.string.callFailed_NetworkBusy; in getLabelFromDisconnectCause()
344 resourceId = R.string.callFailed_NetworkCongested; in getLabelFromDisconnectCause()
348 resourceId = R.string.callFailed_congestion; in getLabelFromDisconnectCause()
352 resourceId = R.string.callFailed_timedOut; in getLabelFromDisconnectCause()
356 resourceId = R.string.callFailed_server_unreachable; in getLabelFromDisconnectCause()
360 resourceId = R.string.callFailed_number_unreachable; in getLabelFromDisconnectCause()
364 resourceId = R.string.callFailed_invalid_credentials; in getLabelFromDisconnectCause()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java94 return R.string.call_other; in getPhoneLabelResourceId()
98 return R.string.call_home; in getPhoneLabelResourceId()
100 return R.string.call_mobile; in getPhoneLabelResourceId()
102 return R.string.call_work; in getPhoneLabelResourceId()
104 return R.string.call_fax_work; in getPhoneLabelResourceId()
106 return R.string.call_fax_home; in getPhoneLabelResourceId()
108 return R.string.call_pager; in getPhoneLabelResourceId()
110 return R.string.call_other; in getPhoneLabelResourceId()
112 return R.string.call_callback; in getPhoneLabelResourceId()
114 return R.string.call_car; in getPhoneLabelResourceId()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java56 if (type == null) return R.string.call_other; in getPhoneLabelResourceId()
59 return R.string.call_home; in getPhoneLabelResourceId()
61 return R.string.call_mobile; in getPhoneLabelResourceId()
63 return R.string.call_work; in getPhoneLabelResourceId()
65 return R.string.call_fax_work; in getPhoneLabelResourceId()
67 return R.string.call_fax_home; in getPhoneLabelResourceId()
69 return R.string.call_pager; in getPhoneLabelResourceId()
71 return R.string.call_other; in getPhoneLabelResourceId()
73 return R.string.call_callback; in getPhoneLabelResourceId()
75 return R.string.call_car; in getPhoneLabelResourceId()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/
DActionTitle.java30 R.string.whichViewApplication,
31 R.string.whichViewApplicationNamed,
32 R.string.whichViewApplicationLabel),
34 R.string.whichEditApplication,
35 R.string.whichEditApplicationNamed,
36 R.string.whichEditApplicationLabel),
38 R.string.whichSendApplication,
39 R.string.whichSendApplicationNamed,
40 R.string.whichSendApplicationLabel),
42 R.string.whichSendToApplication,
[all …]
/packages/providers/MediaProvider/jni/
DFuseDaemon.h43 void Start(android::base::unique_fd fd, const std::string& path, const bool uncached_mode,
44 const std::vector<std::string>& supported_transcoding_relative_paths,
45 const std::vector<std::string>& supported_uncached_relative_paths);
55 bool ShouldOpenWithFuse(int fd, bool for_read, const std::string& path);
65 void InvalidateFuseDentryCache(const std::string& path);
75 void InitializeDeviceId(const std::string& path);
85 void SetupPublicVolumeLevelDbInstance(const std::string& volume_name);
90 void SetupLevelDbConnection(const std::string& instance_name);
95 void DeleteFromLevelDb(const std::string& key);
100 void InsertInLevelDb(const std::string& volume_name, const std::string& key,
[all …]
/packages/modules/Bluetooth/system/btif/include/
Dbtif_config.h34 bool btif_config_exist(const std::string& section, const std::string& key);
35 bool btif_config_get_int(const std::string& section, const std::string& key,
37 bool btif_config_set_int(const std::string& section, const std::string& key,
39 bool btif_config_get_uint64(const std::string& section, const std::string& key,
41 bool btif_config_set_uint64(const std::string& section, const std::string& key,
43 bool btif_config_get_str(const std::string& section, const std::string& key,
45 bool btif_config_set_str(const std::string& section, const std::string& key,
46 const std::string& value);
47 bool btif_config_get_bin(const std::string& section, const std::string& key,
49 bool btif_config_set_bin(const std::string& section, const std::string& key,
[all …]
/packages/modules/Bluetooth/system/device/include/
Ddevice_iot_config.h32 bool device_iot_config_get_int(const std::string& section,
33 const std::string& key, int& value);
34 bool device_iot_config_set_int(const std::string& section,
35 const std::string& key, int value);
36 bool device_iot_config_int_add_one(const std::string& section,
37 const std::string& key);
38 bool device_iot_config_get_hex(const std::string& section,
39 const std::string& key, int& value);
40 bool device_iot_config_set_hex(const std::string& section,
41 const std::string& key, int value, int byte_num);
[all …]

12345678910>>...218