/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 35 string codecName; 40 string roleName; 41 string typeName; 42 string codecName; 45 vector<pair<string, string>> attributeMap; 60 void setCodecProperties(string codecName, bool isEncoder, int32_t order, set<string> quirkSet, 61 set<string> domainSet, set<string> variantSet, string typeName, 62 vector<pair<string, string>> domain, vector<string> aliases, 63 string rank); 65 void setRoleProperties(string roleName, bool isEncoder, int32_t order, string typeName, [all …]
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 30 std::string decodeStandard(android_dataspace dataspace) { in decodeStandard() 34 return std::string("BT709"); in decodeStandard() 37 return std::string("BT601_625"); in decodeStandard() 40 return std::string("BT601_625_UNADJUSTED"); in decodeStandard() 43 return std::string("BT601_525"); in decodeStandard() 46 return std::string("BT601_525_UNADJUSTED"); in decodeStandard() 49 return std::string("BT2020"); in decodeStandard() 52 return std::string("BT2020 (constant luminance)"); in decodeStandard() 55 return std::string("BT470M"); in decodeStandard() 58 return std::string("FILM"); in decodeStandard() [all …]
|
/frameworks/rs/script_api/ |
D | Specification.h | 62 std::string type; 63 std::string name; 71 std::string testOption; 72 std::string documentation; 80 std::string rsType; // The Renderscript type, e.g. "uint3" 81 std::string rsBaseType; // As above but without the number, e.g. "uint" 82 std::string javaBaseType; // The type we need to declare in Java, e.g. "unsigned int" 83 std::string specType; // The type found in the spec, e.g. "f16" 88 std::string mVectorSize; 92 std::string vectorWidth; [all …]
|
D | Utilities.h | 25 std::string capitalize(const std::string& source); 28 void trimSpaces(std::string* s); 31 std::string stringReplace(std::string s, std::string match, std::string rep); 34 bool charRemoved(char c, std::string* s); 37 std::string stripHtml(const std::string& html); 40 std::string hashString(const std::string& s); 43 bool testAndSet(const std::string& flag, std::set<std::string>* set); 53 std::string makeAttributeTag(const std::string& userAttribute, 54 … const std::string& additionalAttribute, unsigned int deprecatedApiLevel, 55 const std::string& deprecatedMessage); [all …]
|
D | Utilities.cpp | 45 string capitalize(const string& source) { in capitalize() 47 string result; in capitalize() 62 void trimSpaces(string* s) { in trimSpaces() 64 if (end == string::npos) { in trimSpaces() 77 string stringReplace(string s, string match, string rep) { in stringReplace() 81 if (p == string::npos) break; in stringReplace() 89 bool charRemoved(char c, string* s) { in charRemoved() 91 if (p != string::npos) { in charRemoved() 98 string stripHtml(const string& html) { in stripHtml() 99 string in = stringReplace(html, "<li>", "- "); in stripHtml() [all …]
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 43 binder::Status createUserData(const std::optional<std::string>& uuid, int32_t userId, 45 binder::Status destroyUserData(const std::optional<std::string>& uuid, int32_t userId, 48 binder::Status createAppData(const std::optional<std::string>& uuid, 49 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 50 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return); 59 binder::Status restoreconAppData(const std::optional<std::string>& uuid, 60 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 61 const std::string& seInfo); 62 binder::Status migrateAppData(const std::optional<std::string>& uuid, 63 const std::string& packageName, int32_t userId, int32_t flags); [all …]
|
D | utils.h | 47 std::string create_data_path(const char* volume_uuid); 49 std::string create_data_app_path(const char* volume_uuid); 51 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid); 52 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid); 54 std::string create_data_user_ce_package_path(const char* volume_uuid, 56 std::string create_data_user_ce_package_path(const char* volume_uuid, 58 std::string create_data_user_de_package_path(const char* volume_uuid, 60 std::string create_data_user_ce_package_path_as_user_link( 63 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user); 64 std::string create_data_misc_de_rollback_base_path(const char* volume_uuid, userid_t user); [all …]
|
D | dexopt.h | 50 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name); 52 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name, 55 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name); 69 const std::string& pkgname, 70 const std::string& profile_name); 87 const std::string& package, 88 const std::string& profile_name, 89 const std::string& classpath); 92 const std::string& pkgname, 93 const std::string& profile_name, [all …]
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 29 typedef std::vector<std::string> header_t; 30 typedef std::vector<std::string> record_t; 31 typedef std::string (*trans_func) (const std::string&); 33 const std::string DEFAULT_WHITESPACE = " \t"; 34 const std::string DEFAULT_NEWLINE = "\r\n"; 35 const std::string TAB_DELIMITER = "\t"; 36 const std::string COMMA_DELIMITER = ","; 37 const std::string PIPE_DELIMITER = "|"; 38 const std::string PARENTHESES_DELIMITER = "()"; 44 std::string trim(const std::string& s, const std::string& charset); [all …]
|
/frameworks/base/core/proto/android/os/ |
D | system_properties.proto | 34 optional string name = 1; 35 optional string value = 2; 71 optional string appimageformat = 1; 72 optional string backgroundgctype = 2; 74 optional string dex2oat_filter = 4; 75 optional string dex2oat_flags = 5; 77 optional string dex2oat_Xms = 7; 78 optional string dex2oat_Xmx = 8; 80 optional string execution_mode = 10; 81 optional string extra_opts = 11; [all …]
|
/frameworks/base/tools/bit/ |
D | util.h | 35 explicit FileInfo(const string& filename); 47 string filename; 52 explicit TrackedFile(const string& filename); 63 void get_directory_contents(const string& dir, map<string,FileInfo>* results); 65 bool directory_contents_differ(const map<string,FileInfo>& before, 66 const map<string,FileInfo>& after); 68 string escape_quotes(const char* str); 70 string escape_for_commandline(const char* str); 72 string trim(const string& trim); 74 bool starts_with(const string& str, const string& prefix); [all …]
|
D | make.h | 28 string name; 29 vector<string> classes; 30 vector<string> paths; 31 vector<string> installed; 33 bool HasClass(const string& cl); 43 BuildVars(const string& outDir, const string& buildProduct, 44 const string& buildVariant, const string& buildType); 47 string GetBuildVar(const string& name, bool quiet); 52 string m_filename; 54 map<string,string> m_cache; [all …]
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 23 const std::unordered_map<std::string, int32_t>& getAudioCallerNameMap() { in getAudioCallerNameMap() 26 static std::unordered_map<std::string, int32_t> map{ in getAudioCallerNameMap() 46 const std::unordered_map<std::string, int64_t>& getAudioDeviceInMap() { in getAudioDeviceInMap() 48 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceInMap() 91 const std::unordered_map<std::string, int64_t>& getAudioDeviceOutMap() { in getAudioDeviceOutMap() 93 static std::unordered_map<std::string, int64_t> map{ in getAudioDeviceOutMap() 133 const std::unordered_map<std::string, int32_t>& getAudioThreadTypeMap() { in getAudioThreadTypeMap() 136 static std::unordered_map<std::string, int32_t> map{ in getAudioThreadTypeMap() 150 const std::unordered_map<std::string, int32_t>& getAudioTrackTraitsMap() { in getAudioTrackTraitsMap() 152 static std::unordered_map<std::string, int32_t> map{ in getAudioTrackTraitsMap() [all …]
|
/frameworks/native/libs/graphicsenv/include/graphicsenv/ |
D | GraphicsEnv.h | 58 void setDriverPathAndSphalLibraries(const std::string path, const std::string sphalLibraries); 61 std::string getDriverPath() const; 69 void setGpuStats(const std::string& driverPackageName, const std::string& driverVersionName, 71 const std::string& appPackageName, const int32_t vulkanVersion); 91 bool shouldUseAngle(std::string appName); 99 void setAngleInfo(const std::string path, const std::string appName, std::string devOptIn, 100 const std::vector<std::string> eglFeatures, const int rulesFd, 105 std::string& getAngleAppName(); 107 const std::vector<std::string>& getAngleEglFeatures(); 113 void setLayerPaths(NativeLoaderNamespace* appNamespace, const std::string layerPaths); [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | AccessibilityContentDescriptions.java | 26 R.string.accessibility_no_phone, 27 R.string.accessibility_phone_one_bar, 28 R.string.accessibility_phone_two_bars, 29 R.string.accessibility_phone_three_bars, 30 R.string.accessibility_phone_signal_full 34 R.string.accessibility_no_data, 35 R.string.accessibility_data_one_bar, 36 R.string.accessibility_data_two_bars, 37 R.string.accessibility_data_three_bars, 38 R.string.accessibility_data_signal_full [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | Broadcaster.h | 56 void clearBroadcasts(const string& pkg, const string& cls, const string& id); 57 void clearPackageBroadcasts(const string& pkg); 68 ReportId(const string& i, const string& p, const string& c); 73 string id; 74 string pkg; 75 string cls; 110 status_t send_approval_broadcasts(const string& id, const string& pkg, const string& cls); 113 status_t send_report_ready_broadcasts(const string& id, const string& pkg, const string& cls); 115 bool was_approval_sent(const string& id, const string& pkg, const string& cls); 116 void set_approval_sent(const string& id, const string& pkg, const string& cls, [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | ClearKeyDrmProperties.h | 28 static const std::string kVendorKey("vendor"); 29 static const std::string kVendorValue("Google"); 30 static const std::string kVersionKey("version"); 31 static const std::string kVersionValue("1.2"); 32 static const std::string kPluginDescriptionKey("description"); 33 static const std::string kPluginDescriptionValue("ClearKey CDM"); 34 static const std::string kAlgorithmsKey("algorithms"); 35 static const std::string kAlgorithmsValue(""); 36 static const std::string kListenerTestSupportKey("listenerTestSupport"); 37 static const std::string kListenerTestSupportValue("true"); [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 44 Result<ResourceMapping> TestGetResourceMapping(const std::string& local_target_path, in TestGetResourceMapping() 45 const std::string& local_overlay_path, in TestGetResourceMapping() 46 const std::string& overlay_name, in TestGetResourceMapping() 49 const std::string target_path = (local_target_path[0] == '/') in TestGetResourceMapping() 57 const std::string overlay_path = (local_overlay_path[0] == '/') in TestGetResourceMapping() 144 MappingExists(res, R::target::string::str1, R::overlay::string::str1, false /* rewrite */)); in TEST() 146 MappingExists(res, R::target::string::str3, R::overlay::string::str3, false /* rewrite */)); in TEST() 148 MappingExists(res, R::target::string::str4, R::overlay::string::str4, false /* rewrite */)); in TEST() 160 MappingExists(res, R::target::string::str1, R::overlay::string::str4, true /* rewrite */)); in TEST() 162 MappingExists(res, R::target::string::str3, R::overlay::string::str1, true /* rewrite */)); in TEST() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.h | 54 std::string mPackageName; 58 std::string mRSPackageName; 62 std::string mOutputBaseDirectory; 66 std::string mOutputDirectory; 69 std::string mRSSourceFileName; 71 std::string mBitCodeFileName; 75 std::string mResourceId; 78 std::string mScriptClassName; 81 std::string mClassName; 84 std::string mItemSizeof; [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | MimeIconUtils.java | 60 R.string.mime_type_folder, -1); in buildTypeInfo() 64 R.string.mime_type_apk, -1); in buildTypeInfo() 77 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 108 R.string.mime_type_document, R.string.mime_type_document_ext); in buildTypeInfo() 129 R.string.mime_type_compressed, R.string.mime_type_compressed_ext); in buildTypeInfo() 134 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 139 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 146 R.string.mime_type_generic, R.string.mime_type_generic_ext); in buildTypeInfo() 156 R.string.mime_type_image, R.string.mime_type_image_ext); in buildTypeInfo() 160 R.string.mime_type_document, R.string.mime_type_document_ext); in buildTypeInfo() [all …]
|
/frameworks/av/media/libmediaformatshaper/ |
D | CodecProperties.h | 34 CodecProperties(std::string name, std::string mediaType); 42 std::string getName(); 43 std::string getMediaType(); 46 void setMapping(std::string kind, std::string key, std::string value); 50 std::string getMapping(std::string key, std::string kind); 55 const char **getMappings(std::string kind, bool reverse); 58 void setFeatureValue(std::string key, int32_t value); 59 bool getFeatureValue(std::string key, int32_t *valuep); 62 void setTuningValue(std::string key, std::string value); 63 bool getTuningValue(std::string key, std::string &value); [all …]
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | CommandLineOptions.h | 36 static std::unique_ptr<std::vector<std::string>> ConvertArgvToVector(int argc, const char** argv); 38 explicit CommandLineOptions(const std::string& name) : name_(name) { in CommandLineOptions() 41 CommandLineOptions& OptionalFlag(const std::string& name, const std::string& description, 43 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description, 44 std::string* value); 45 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description, 46 std::vector<std::string>* value); 47 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description, 48 std::string* value); 49 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description, [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DumpHelpers.h | 32 void dumpVal(std::string& out, const char* name, bool); 33 void dumpVal(std::string& out, const char* name, const void*); 34 void dumpVal(std::string& out, const char* name, int); 35 void dumpVal(std::string& out, const char* name, float); 36 void dumpVal(std::string& out, const char* name, uint32_t); 37 void dumpHex(std::string& out, const char* name, uint64_t); 38 void dumpVal(std::string& out, const char* name, const char* value); 39 void dumpVal(std::string& out, const char* name, const std::string& value); 42 void dumpVal(std::string& out, const char* name, const char*, int); 43 void dumpVal(std::string& out, const char* name, const std::string&, int); [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.h | 51 std::string GetTestPath(const android::StringPiece& path) { in GetTestPath() 52 std::string base = temp_dir_; in GetTestPath() 61 void WriteFile(const std::string& path, const std::string& contents); 64 std::string temp_dir_; 75 bool CompileFile(const std::string& path, const std::string& contents, 79 bool Link(const std::vector<std::string>& args, IDiagnostics* diag); 83 bool Link(const std::vector<std::string>& args, const android::StringPiece& flat_dir, 87 std::string GetDefaultManifest(const char* package_name = kDefaultPackageName); 104 ManifestBuilder& AddContents(const std::string& contents); 105 ManifestBuilder& SetPackageName(const std::string& package_name); [all …]
|
/frameworks/av/media/utils/fuzzers/ |
D | BatteryNotifierFuzz.cpp | 30 std::vector<std::function<void(std::string /*flashlight_name*/, std::string /*camera_name*/, 34 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0102() 37 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0202() 40 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0302() 43 [](std::string, std::string, uid_t, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0402() 46 [](std::string, std::string, uid_t video_id, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0502() 49 [](std::string, std::string, uid_t video_id, uid_t, uid_t, uid_t) -> void { in __anon13a4140e0602() 52 [](std::string, std::string, uid_t, uid_t audio_id, uid_t, uid_t) -> void { in __anon13a4140e0702() 55 [](std::string, std::string, uid_t, uid_t audio_id, uid_t, uid_t) -> void { in __anon13a4140e0802() 58 [](std::string flashlight_name, std::string, uid_t, uid_t, uid_t light_id, uid_t) -> void { in __anon13a4140e0902() [all …]
|