Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 124) sorted by relevance

12345

/device/google/bramble/vibrator/drv2624/tests/
Dtest-hwcal.cpp81 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
94 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
98 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::string())); in TEST_F()
107 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
111 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "0")); in TEST_F()
120 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
124 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "1")); in TEST_F()
133 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
137 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", std::string())); in TEST_F()
[all …]
Dtest-hwapi.cpp62 std::string prefix; in SetUp() local
70 prefix = std::filesystem::path(mFilesDir.path) / ""; in SetUp()
71 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
80 prefix = std::filesystem::path(mEmptyDir.path) / ""; in SetUp()
81 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
156 std::string prefix; in TEST_P() local
168 prefix = std::filesystem::path(dir.path) / ""; in TEST_P()
169 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in TEST_P()
/device/google/redfin/vibrator/drv2624/tests/
Dtest-hwcal.cpp81 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
94 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
98 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::string())); in TEST_F()
107 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
111 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "0")); in TEST_F()
120 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
124 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "1")); in TEST_F()
133 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
137 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", std::string())); in TEST_F()
[all …]
Dtest-hwapi.cpp62 std::string prefix; in SetUp() local
70 prefix = std::filesystem::path(mFilesDir.path) / ""; in SetUp()
71 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
80 prefix = std::filesystem::path(mEmptyDir.path) / ""; in SetUp()
81 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
156 std::string prefix; in TEST_P() local
168 prefix = std::filesystem::path(dir.path) / ""; in TEST_P()
169 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in TEST_P()
/device/google/barbet/vibrator/drv2624/tests/
Dtest-hwcal.cpp81 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
94 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
98 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::string())); in TEST_F()
107 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
111 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "0")); in TEST_F()
120 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
124 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "1")); in TEST_F()
133 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
137 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", std::string())); in TEST_F()
[all …]
Dtest-hwapi.cpp62 std::string prefix; in SetUp() local
70 prefix = std::filesystem::path(mFilesDir.path) / ""; in SetUp()
71 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
80 prefix = std::filesystem::path(mEmptyDir.path) / ""; in SetUp()
81 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
156 std::string prefix; in TEST_P() local
168 prefix = std::filesystem::path(dir.path) / ""; in TEST_P()
169 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in TEST_P()
/device/google/sunfish/vibrator/drv2624/tests/
Dtest-hwcal.cpp82 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
86 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
95 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
99 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::string())); in TEST_F()
108 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
112 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "0")); in TEST_F()
121 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
125 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", "1")); in TEST_F()
134 std::string prefix{PROPERTY_PREFIX}; in TEST_F() local
138 EXPECT_TRUE(SetProperty(prefix + "config.dynamic", std::string())); in TEST_F()
[all …]
Dtest-hwapi.cpp63 std::string prefix; in SetUp() local
71 prefix = std::filesystem::path(mFilesDir.path) / ""; in SetUp()
72 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
81 prefix = std::filesystem::path(mEmptyDir.path) / ""; in SetUp()
82 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in SetUp()
157 std::string prefix; in TEST_P() local
169 prefix = std::filesystem::path(dir.path) / ""; in TEST_P()
170 setenv("HWAPI_PATH_PREFIX", prefix.c_str(), true); in TEST_P()
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtx/
Dstring_cast.inl60 struct prefix{}; struct
63 struct prefix<float> struct
69 struct prefix<double> struct
75 struct prefix<bool> struct
81 struct prefix<uint8_t> struct
87 struct prefix<int8_t> struct
93 struct prefix<uint16_t> struct
99 struct prefix<int16_t> struct
105 struct prefix<uint32_t> struct
111 struct prefix<int32_t> struct
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dmisc.c22 int strStartsWith(const char *line, const char *prefix) in strStartsWith() argument
24 for ( ; *line != '\0' && *prefix != '\0' ; line++, prefix++) { in strStartsWith()
25 if (*line != *prefix) { in strStartsWith()
30 return *prefix == '\0'; in strStartsWith()
/device/google/coral/
Dutils.mk66 define match-prefix
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
131 define is-chipset-prefix-in-board-platform
136 $(call match-prefix,$(1),$(delim_a),$(TARGET_BOARD_PLATFORM)), \
137 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM)), \
/device/google/redbull/
Dutils.mk66 define match-prefix
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
131 define is-chipset-prefix-in-board-platform
136 $(call match-prefix,$(1),$(delim_a),$(TARGET_BOARD_PLATFORM)), \
137 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM)), \
/device/google/sunfish/
Dutils.mk66 define match-prefix
118 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM))
131 define is-chipset-prefix-in-board-platform
136 $(call match-prefix,$(1),$(delim_a),$(TARGET_BOARD_PLATFORM)), \
137 $(call match-prefix,$(1),$(__underscore),$(TARGET_BOARD_PLATFORM)), \
/device/linaro/dragonboard/qcom/rmtfs/
DMakefile5 prefix = /usr/local macro
6 bindir := $(prefix)/bin
7 servicedir := $(prefix)/lib/systemd/system
22 @install -D -m 755 $(OUT) $(DESTDIR)$(prefix)/bin/$(OUT)
/device/google/cuttlefish/common/libs/utils/
Dtee_logging.cpp94 const std::string& prefix) in TeeLogger() argument
95 : destinations_(destinations), prefix_(prefix) {} in TeeLogger()
239 const std::string& prefix) { in LogToFiles() argument
240 return TeeLogger(SeverityTargetsForFiles(files), prefix); in LogToFiles()
244 const std::string& prefix, in LogToStderrAndFiles() argument
250 return TeeLogger(log_severities, prefix); in LogToStderrAndFiles()
/device/google/gs-common/modem/include/
Ddumper.h24 const std::string_view prefix; member
28 (lhs.dest_dir == rhs.dest_dir) && (lhs.prefix == rhs.prefix);
34 << ", limit: " << obj.limit << ", prefix: " << obj.prefix;
Dmodem_log_constants.h39 .prefix = "extended_log_"},
43 .prefix = "sim_poweron_log_"},
47 .prefix = "Logging"}};
/device/generic/vulkan-cereal/gl-host-common/opengl/
DNativeGpuInfo_windows.cpp72 static bool startsWith(const std::string& string, const std::string& prefix) { in startsWith() argument
73 return string.size() >= prefix.size() && in startsWith()
74 memcmp(string.data(), prefix.data(), prefix.size()) == 0; in startsWith()
323 static const std::string prefix = "\\Registry\\Machine\\"; in getGpuInfoListNative() local
325 prefix)) { in getGpuInfoListNative()
326 load_gpu_registry_info(device.DeviceKey + prefix.size(), &gpu); in getGpuInfoListNative()
/device/google/cuttlefish/host/commands/cvd/server_command/
Dload_configs.cpp174 std::string prefix = str.substr(0, equalsPos); in HasValidDotSeparatedPrefix() local
177 if (prefix.empty() || prefix.find('.') == std::string::npos || in HasValidDotSeparatedPrefix()
178 prefix.find('.') == 0 || prefix.find("..") != std::string::npos || in HasValidDotSeparatedPrefix()
179 prefix.back() == '.') { in HasValidDotSeparatedPrefix()
/device/linaro/dragonboard/qcom/qrtr/
DMakefile9 prefix := /usr/local macro
10 bindir := $(prefix)/bin
11 libdir := $(prefix)/lib
12 includedir := $(prefix)/include
13 servicedir := $(prefix)/lib/systemd/system
/device/google/contexthub/util/nanotool/
Dlog.cpp131 char prefix[20]; in LogEx() local
132 snprintf(prefix, sizeof(prefix), "%c %6.03f: ", Log::LevelAbbrev(level), in LogEx()
135 Log::logger_->Output(prefix); in LogEx()
/device/google/cuttlefish/host/libs/config/
Dlogging.cpp35 std::string prefix = ""; in DefaultSubprocessLogging() local
37 prefix = instance.instance_name() + ": "; in DefaultSubprocessLogging()
43 SetLogger(LogToStderrAndFiles({instance.launcher_log_path()}, prefix, stderr_level)); in DefaultSubprocessLogging()
/device/generic/vulkan-cereal/fake-android-guest/utils/
DCallStack.h61 const char* prefix = 0) const;
64 void dump(int fd, int indent = 0, const char* prefix = 0) const;
67 String8 toString(const char* prefix = 0) const;
/device/linaro/dragonboard/qcom/tqftpserv/
DMakefile6 prefix ?= /usr/local macro
7 bindir := $(prefix)/bin
8 servicedir := $(prefix)/lib/systemd/system
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java101 private void dump(PrintWriter writer, String prefix, boolean printHeader) { in dump() argument
111 writer.printf("%sDimensions: %dx%d\n", prefix, width, height); in dump()
112 writer.printf("%sDPI: %d\n", prefix, dpi); in dump()
113 writer.printf("%sflags: %s\n", prefix, flagsToString(flag)); in dump()
114 writer.printf("%svirtualDisplay: %s\n", prefix, virtualDisplay); in dump()
115 writer.printf("%ssurface: %s\n", prefix, surface); in dump()

12345