| /system/vold/ |
| Ext4Crypt.h | 17 #include <string> 26 bool e4crypt_add_user_key_auth(userid_t user_id, int serial, const std::string& token, 27 const std::string& secret); 30 bool e4crypt_unlock_user_key(userid_t user_id, int serial, const std::string& token, 31 const std::string& secret); 34 bool e4crypt_prepare_user_storage(const std::string& volume_uuid, userid_t user_id, int serial, 36 bool e4crypt_destroy_user_storage(const std::string& volume_uuid, userid_t user_id, int flags); 38 bool e4crypt_destroy_volume_keys(const std::string& volume_uuid);
|
| FileDeviceUtils.h | 20 #include <string> 27 std::string BlockDeviceForPath(const std::string &path); 30 std::unique_ptr<struct fiemap> PathFiemap(const std::string &path, uint32_t extent_count);
|
| KeyStorage.h | 22 #include <string> 34 KeyAuthentication(std::string t, std::string s) : token{t}, secret{s} {}; 38 const std::string token; 39 const std::string secret; 45 bool pathExists(const std::string& path); 47 bool createSecdiscardable(const std::string& path, std::string* hash); 48 bool readSecdiscardable(const std::string& path, std::string* hash) [all...] |
| /test/vts/drivers/hal/common/include/component_loader/ |
| HalDriverLoader.h | 21 #include <string> 36 HalDriverLoader(const string dir_path, int epoch_count, 37 const string& callback_socket_name); 42 const string& package_name, 44 const string& component_name, 49 DriverBase* GetDriver(const string& driver_lib_path, 51 const string& hw_binder_service_name, 54 const string& dll_file_name); 76 DriverBase* GetLibDriver(const string& driver_lib_path, 78 const string& dll_file_name) [all...] |
| /test/vts/drivers/hal/replayer/ |
| VtsHidlHalReplayer.h | 37 bool ReplayTrace(const std::string& trace_file, 38 map<string, string>& hal_service_instances); 41 void ListTestServices(const string& trace_file);
|
| /bionic/tests/ |
| gtest_globals.cpp | 24 #include <string> 26 static std::string init_testlib_root() { 28 std::string path = get_executable_path(); 33 std::string out_path; 41 std::string real_path; 50 const std::string& get_testlib_root() { 51 static const std::string testlib_root = init_testlib_root();
|
| /external/libmojo/mojo/public/cpp/bindings/ |
| string_traits_stl.h | 8 #include <string> 15 struct StringTraits<std::string> { 16 static bool IsNull(const std::string& input) { 17 // std::string is always converted to non-null mojom string. 21 static void SetToNull(std::string* output) { 22 // std::string doesn't support null state. Set it to empty instead. 26 static size_t GetSize(const std::string& input) { return input.size(); } 28 static const char* GetData(const std::string& input) { return input.data(); } 30 static bool Read(StringDataView input, std::string* output) [all...] |
| /external/parameter-framework/asio-1.10.6/include/asio/ip/ |
| basic_resolver_entry.hpp | 16 #include <string> 49 const std::string& host, const std::string& service) 69 std::string host_name() const 75 std::string service_name() const 82 std::string host_name_; 83 std::string service_name_;
|
| /external/parameter-framework/upstream/parameter/ |
| Element.h | 34 #include <string> 51 CElement(const std::string &strName = ""); 55 void setDescription(const std::string &strDescription); 56 const std::string &getDescription() const; 59 const std::string &getName() const; 60 void setName(const std::string &strName); 61 bool rename(const std::string &strName, std::string &strError); 62 std::string getPath() const; 63 std::string getQualifiedPath() const [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| op_segment.h | 19 #include <string> 49 void AddHold(const string& session_handle); 50 void RemoveHold(const string& session_handle); 60 Status FindOrCreate(const string& session_handle, const string& node_name, 65 typedef std::unordered_map<string, OpKernel*> KernelMap; 74 typedef std::unordered_map<string, Item*> SessionMap;
|
| /external/webrtc/talk/media/base/ |
| cryptoparams.h | 31 #include <string> 39 const std::string& cs, 40 const std::string& kp, 41 const std::string& sp) 49 std::string cipher_suite; 50 std::string key_params; 51 std::string session_params;
|
| /external/webrtc/webrtc/p2p/base/ |
| portallocator.cc | 16 PortAllocatorSession::PortAllocatorSession(const std::string& content_name, 18 const std::string& ice_ufrag, 19 const std::string& ice_pwd, 32 const std::string& sid, 33 const std::string& content_name, 35 const std::string& ice_ufrag, 36 const std::string& ice_pwd) {
|
| /external/webrtc/webrtc/p2p/client/ |
| httpportallocator.h | 15 #include <string> 44 const std::string& user_agent); 47 const std::string& user_agent); 53 const std::string& content_name, 55 const std::string& ice_ufrag, 56 const std::string& ice_pwd) = 0; 63 void SetRelayHosts(const std::vector<std::string>& hosts) { 68 void SetRelayToken(const std::string& relay) { relay_token_ = relay; } 74 const std::vector<std::string>& relay_hosts() const { 78 const std::string& relay_token() const [all...] |
| /external/webrtc/webrtc/sound/ |
| sounddevicelocator.h | 14 #include <string> 29 const std::string &name() const { return name_; } 32 const std::string &device_name() const { return device_name_; } 38 SoundDeviceLocator(const std::string &name, 39 const std::string &device_name) 45 std::string name_; 46 std::string device_name_;
|
| /frameworks/base/tools/bit/ |
| adb.h | 22 #include <string> 36 string get_system_property(const string& name, int* err); 38 int run_instrumentation_test(const string& packageName, const string& runner, 39 const string& className, InstrumentationCallbacks* callbacks); 41 string get_bundle_string(const ResultsBundle& bundle, bool* found, ...);
|
| /frameworks/base/tools/streaming_proto/ |
| Errors.h | 3 #include <string> 15 Error(const string& filename, int lineno, const char* message); 17 string filename; 19 string message; 29 void Add(const string& filename, int lineno, const char* format, ...); 39 void AddImpl(const string& filename, int lineno, const char* format, va_list ap); 43 extern const string UNKNOWN_FILE;
|
| /frameworks/minikin/tests/util/ |
| FontTestUtils.h | 33 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const std::string& fontDir, 34 const std::string& xmlAbsPath); 42 inline std::shared_ptr<FontCollection> buildFontCollectionFromXml(const std::string& xmlPath) { 51 std::shared_ptr<FontCollection> buildFontCollection(const std::string& filePath); 57 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath); 62 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath, const std::string& lang);
|
| PathUtils.cpp | 27 std::string getDirname(const std::string& path) { 30 return std::string(result); 33 std::string getBasename(const std::string& path) { 36 return std::string(result); 39 std::string getTestDataDir() {
|
| /packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
| arguments_parser.h | 20 #include <string> 36 static OptionSpec keyValueOption(const std::string &valueName, const std::string &defaultValue, 37 const std::string &description) { 41 static OptionSpec switchOption(const std::string &description) { 47 const std::string &getValueName() const { return mValueName; } 48 const std::string &getDefaultValue() const { return mDefaultValue; } 49 const std::string &getDescription() const { return mDescription; } 52 OptionSpec(const bool needsValue, const std::string &valueName, const std::string &defaultValue [all...] |
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| bug294.go | 11 var log string 15 func (t T) a(s string) T { 20 func (T) b(s string) string { 25 type F func(s string) F 27 func a(s string) F { 32 func b(s string) string { 38 a(s string) I 39 b(s string) strin [all...] |
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug294.go | 11 var log string 15 func (t T) a(s string) T { 20 func (T) b(s string) string { 25 type F func(s string) F 27 func a(s string) F { 32 func b(s string) string { 38 a(s string) I 39 b(s string) strin [all...] |
| /prebuilts/jdk/jdk8/darwin-x86/sample/annotations/Validator/src/ |
| Validator.java | 48 * This validator checks that the string represents an integer. 52 * Checks that the string represents an integer. 54 * @param string - a string supplier 58 void validate(Supplier<?> string) throws ValidationException { 60 Integer.parseInt((String) string.get()); 63 + string.get()); 68 * This validator checks that the string represents a positive number. 72 * Checks that the string represents a positive number [all...] |
| /prebuilts/jdk/jdk8/linux-x86/sample/annotations/Validator/src/ |
| Validator.java | 48 * This validator checks that the string represents an integer. 52 * Checks that the string represents an integer. 54 * @param string - a string supplier 58 void validate(Supplier<?> string) throws ValidationException { 60 Integer.parseInt((String) string.get()); 63 + string.get()); 68 * This validator checks that the string represents a positive number. 72 * Checks that the string represents a positive number [all...] |
| /system/core/fs_mgr/ |
| fs_mgr_priv_dm_ioctl.h | 21 #include <string> 23 void fs_mgr_verity_ioctl_init(struct dm_ioctl* io, const std::string& name, unsigned flags); 25 bool fs_mgr_create_verity_device(struct dm_ioctl* io, const std::string& name, int fd); 27 bool fs_mgr_destroy_verity_device(struct dm_ioctl* io, const std::string& name, int fd); 29 bool fs_mgr_get_verity_device_name(struct dm_ioctl* io, const std::string& name, int fd, 30 std::string* out_dev_name); 32 bool fs_mgr_resume_verity_table(struct dm_ioctl* io, const std::string& name, int fd);
|
| /system/core/init/ |
| builtin_arguments.h | 20 #include <string> 27 BuiltinArguments(const std::string& context) : context(context) {} 28 BuiltinArguments(std::vector<std::string> args, const std::string& context) 31 const std::string& operator[](std::size_t i) const { return args[i]; } 36 std::vector<std::string> args; 37 const std::string& context;
|