| /system/netd/server/ |
| PhysicalNetwork.h | 32 virtual int addFallthrough(const std::string& physicalInterface, 34 virtual int removeFallthrough(const std::string& physicalInterface, 50 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 51 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT; 53 void invalidateRouteCache(const std::string& interface);
|
| /system/tools/aidl/ |
| aidl.h | 22 #include <string> 58 const std::vector<std::string>& preprocessed_files, 59 const std::vector<std::string>& import_paths, 60 const std::string& input_file_name, 68 const std::string& filename, TypeNamespace* types);
|
| generate_java.h | 20 #include <string> 35 int generate_java(const std::string& filename, const std::string& originalSrc, 50 explicit VariableFactory(const std::string& base); // base must be short 56 std::string base_;
|
| io_delegate.cpp | 35 using std::string; 44 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { 61 "empty string."; 83 unique_ptr<string> IoDelegate::GetFileContents( 84 const string& filename, 85 const string& content_suffix) const { 86 unique_ptr<string> contents; 91 contents.reset(new string); 96 // Read the file contents into the beginning of the string [all...] |
| /system/tools/hidl/ |
| NamedType.cpp | 33 std::string NamedType::localName() const { 37 std::string NamedType::fullName() const { 41 std::string NamedType::fullJavaName() const { 51 const std::string &streamName, 52 const std::string &name) const {
|
| PointerType.cpp | 34 std::string PointerType::getCppType(StorageMode /* mode */, 39 std::string PointerType::typeName() const { 43 std::string PointerType::getVtsType() const { 49 const std::string& name, 50 const std::string& /* parcelObj */,
|
| PointerType.h | 32 std::string typeName() const override; 34 std::string getCppType( 38 std::string getVtsType() const override; 42 const std::string &name, 43 const std::string &parcelObj,
|
| RefType.cpp | 29 std::string RefType::templatedTypeName() const { 37 std::string RefType::getVtsType() const { 41 std::string RefType::getVtsValueName() const { 78 std::string RefType::getCppType(StorageMode /*mode*/, bool specifyNamespaces) const { 85 const std::string &, 86 const std::string &, 96 const std::string &name, 98 const std::string &parcelObj, 120 const std::string &name, 121 const std::string &sanitizedName [all...] |
| /system/tpm/trunks/ |
| background_command_transceiver.h | 22 #include <string> 56 void SendCommand(const std::string& command, 58 std::string SendCommandAndWait(const std::string& command) override; 63 void SendCommandTask(const std::string& command,
|
| /system/update_engine/common/ |
| hash_calculator.h | 23 #include <string> 50 off_t UpdateFile(const std::string& name, off_t length); 62 // Gets the current hash context. Note that the string will contain binary 64 std::string GetContext() const; 66 // Sets the current hash context. |context| must the string returned by a 69 bool SetContext(const std::string& context); 76 static off_t RawHashOfFile(const std::string& name, off_t length,
|
| /test/vts/drivers/hal/common/include/driver_base/ |
| DriverBase.h | 51 void** /*result*/, const string& /*callback_socket_name*/) { 57 const string& /*callback_socket_name*/, 80 bool ScanAllGcdaFiles(const string& basepath, 84 bool ReadGcdaFile(const string& basepath, const string& filename, 98 // a pointer to the string which contains the loaded component.
|
| /external/swiftshader/third_party/LLVM/tools/bugpoint/ |
| ToolRunner.cpp | 32 cl::opt<std::string>
36 cl::opt<std::string>
40 cl::opt<std::string>
44 cl::opt<std::string>
48 cl::opt<std::string>
63 std::string *ErrMsg = 0) {
137 static std::string ProcessFailure(sys::Path ProgPath, const char** Args,
148 std::string ErrMsg;
175 std::string LLIPath; // The path to the LLI executable
176 std::vector<std::string> ToolArgs; // Args to pass to LLI [all...] |
| /bionic/linker/tests/ |
| linker_config_test.cpp | 30 #include <string.h> 88 static bool write_version(const std::string& path, uint32_t version) { 89 std::string content = android::base::StringPrintf("%d", version); 93 static std::vector<std::string> resolve_paths(std::vector<std::string> paths) { 94 std::vector<std::string> resolved_paths; 100 const std::vector<std::string> kExpectedDefaultSearchPath = 101 resolve_paths(is_asan ? std::vector<std::string>({ "/data", "/vendor/lib" ARCH_SUFFIX }) : 102 std::vector<std::string>({ "/vendor/lib" ARCH_SUFFIX })); 104 const std::vector<std::string> kExpectedDefaultPermittedPath [all...] |
| /external/libchrome/dbus/ |
| bus.h | 13 #include <string> 118 // void OnExported(const std::string& interface_name, 218 std::string address; 229 typedef base::Callback<void (const std::string&, bool)> OnOwnershipCallback; 233 typedef base::Callback<void (const std::string& service_owner)> 257 virtual ObjectProxy* GetObjectProxy(const std::string& service_name, 263 const std::string& service_name, 291 virtual bool RemoveObjectProxy(const std::string& service_name, 298 const std::string& service_name, 339 virtual ObjectManager* GetObjectManager(const std::string& service_name [all...] |
| message.h | 13 #include <string> 79 STRING = DBUS_TYPE_STRING, 92 // Returns the type of the message as string like "MESSAGE_METHOD_CALL" 94 std::string GetMessageTypeAsString(); 99 bool SetDestination(const std::string& destination); 101 bool SetInterface(const std::string& interface); 102 bool SetMember(const std::string& member); 103 bool SetErrorName(const std::string& error_name); 104 bool SetSender(const std::string& sender); 110 // If not set, an empty string is returned [all...] |
| /external/protobuf/src/google/protobuf/compiler/ |
| mock_code_generator.cc | 61 // comma-separated string. 62 string CommaSeparatedList(const vector<const FileDescriptor*> all_files) { 63 vector<string> names; 77 MockCodeGenerator::MockCodeGenerator(const string& name) 83 const string& name, 84 const string& parameter, 85 const string& insertions, 86 const string& file, 87 const string& first_message_name, 88 const string& first_parsed_file_name [all...] |
| /external/tensorflow/tensorflow/contrib/lite/testing/ |
| generated_examples_zip_test.cc | 38 string* FLAGS_zip_files_dir = new string("./"); 39 string* FLAGS_unzip_binary_path = new string("/usr/bin/unzip"); 49 std::map<string, string> kBrokenTests = { 114 tensorflow::Status UnZip(const string& zip, string* out_dir) { 115 string dir; 118 string unzip_binary = *FLAGS_unzip_binary_path [all...] |
| /external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
| gtest-filepath_test.cc | 69 LPCWSTR wpath = String::AnsiToUtf16(path); 77 LPCWSTR wpath = String::AnsiToUtf16( 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string()); 123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string()); 129 FilePath("afile").RemoveDirectoryName().string()); 135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string()); 147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 154 .RemoveDirectoryName().string()); 164 EXPECT_EQ("afile", FilePath("/afile").RemoveDirectoryName().string()); [all...] |
| /prebuilts/ndk/r16/sources/third_party/googletest/googletest/test/ |
| gtest-filepath_test.cc | 69 LPCWSTR wpath = String::AnsiToUtf16(path); 77 LPCWSTR wpath = String::AnsiToUtf16( 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string()); 123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string()); 129 FilePath("afile").RemoveDirectoryName().string()); 135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string()); 147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); 154 .RemoveDirectoryName().string()); 164 EXPECT_EQ("afile", FilePath("/afile").RemoveDirectoryName().string()); [all...] |
| /system/extras/simpleperf/ |
| cmd_report_test.cpp | 39 const std::string& perf_data, 40 const std::vector<std::string>& add_args = std::vector<std::string>()) { 45 const std::string& perf_data, 46 const std::vector<std::string>& add_args = std::vector<std::string>()) { 49 std::vector<std::string> args = { 55 std::vector<std::string> raw_lines = android::base::Split(content, "\n"); 58 std::string s = android::base::Trim(line); 67 std::string content [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
| asm_test.go | 38 // pos: []string{"\tSHLQ\t[$]6,"}, 39 // neg: []string{"MULQ"} 56 // pos: []string{"\tSHLQ\t[$]6,"}, 57 // neg: []string{"MULQ"} 91 var funcName string 110 func funcAsm(t *testing.T, asm string, funcName string) string { 129 fn string 131 pos []string [all...] |
| /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
| asm_test.go | 38 // pos: []string{"\tSHLQ\t[$]6,"}, 39 // neg: []string{"MULQ"} 56 // pos: []string{"\tSHLQ\t[$]6,"}, 57 // neg: []string{"MULQ"} 91 var funcName string 110 func funcAsm(t *testing.T, asm string, funcName string) string { 129 fn string 131 pos []string [all...] |
| /art/compiler/optimizing/ |
| dead_code_elimination_test.cc | 33 const std::string& expected_before, 34 const std::string& expected_after); 38 const std::string& expected_before, 39 const std::string& expected_after) { 45 std::string actual_before = printer_before.str(); 58 std::string actual_after = printer_after.str(); 84 std::string expected_before = 110 std::string expected_after = Patch(expected_before, expected_diff); 150 std::string expected_before = 174 std::string expected_after [all...] |
| /build/kati/ |
| stmt.h | 18 #include <string> 60 virtual string DebugString() const = 0; 79 virtual string DebugString() const; 94 virtual string DebugString() const; 110 virtual string DebugString() const; 124 virtual string DebugString() const; 135 virtual string DebugString() const; 146 virtual string DebugString() const; 150 string msg; 156 virtual string DebugString() const [all...] |
| /developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
| StorageProviderFragment.java | 36 private static final String TAG = "StorageProviderFragment"; 37 private static final String AUTHORITY = "com.example.android.storageprovider.documents"; 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); 88 getActivity().getSharedPreferences(getString(R.string.app_name), 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit() [all...] |