/system/tools/hidl/utils/ |
D | StringHelper.cpp | 102 std::vector<std::string> components; in ToCamelCase() local 103 Tokenize(in, &components); in ToCamelCase() 104 if (components.empty()) { in ToCamelCase() 109 components[0] = Lowercase(components[0]); in ToCamelCase() 110 for (size_t i = 1; i < components.size(); i++) { in ToCamelCase() 111 components[i] = Capitalize(components[i]); in ToCamelCase() 113 return JoinStrings(components, ""); in ToCamelCase() 117 std::vector<std::string> components; in ToPascalCase() local 118 Tokenize(in, &components); in ToPascalCase() 119 for (size_t i = 0; i < components.size(); i++) { in ToPascalCase() [all …]
|
D | FQName.cpp | 379 std::vector<std::string> components; in tokenName() local 380 getPackageAndVersionComponents(&components, true /* cpp_compatible */); in tokenName() 386 components.insert(components.end(), nameComponents.begin(), nameComponents.end()); in tokenName() 389 return StringHelper::JoinStrings(components, "_"); in tokenName() 393 std::vector<std::string> components; in cppNamespace() local 394 getPackageAndVersionComponents(&components, true /* cpp_compatible */); in cppNamespace() 397 out += StringHelper::JoinStrings(components, "::"); in cppNamespace() 403 std::vector<std::string> components; in cppLocalName() local 404 StringHelper::SplitString(mName, '.', &components); in cppLocalName() 406 return StringHelper::JoinStrings(components, "::") in cppLocalName() [all …]
|
/system/tools/hidl/test/utils_test/ |
D | main.cpp | 107 std::vector<std::string> components; in TEST_F() local 109 StringHelper::SplitString("", '.', &components); in TEST_F() 110 EXPECT_EQ(std::vector<std::string>({""}), components); in TEST_F() 111 StringHelper::SplitString("a.", '.', &components); in TEST_F() 112 EXPECT_EQ(std::vector<std::string>({"a", ""}), components); in TEST_F() 113 StringHelper::SplitString(".a", '.', &components); in TEST_F() 114 EXPECT_EQ(std::vector<std::string>({"", "a"}), components); in TEST_F() 115 StringHelper::SplitString("..", '.', &components); in TEST_F() 116 EXPECT_EQ(std::vector<std::string>({"", "", ""}), components); in TEST_F() 117 StringHelper::SplitString("asdf.asdf", '.', &components); in TEST_F() [all …]
|
/system/extras/boottime_tools/bootio/ |
D | bootio.cpp | 74 std::vector <std::string> components = android::base::Split(start, " "); in StartDataCollection() local 75 if (components.size() != 2) { in StartDataCollection() 79 timeout = atoi(components.at(LOG_TIMEOUT_INDEX).c_str()); in StartDataCollection() 80 samples = atoi(components.at(LOG_SAMPLES_INDEX).c_str()); in StartDataCollection()
|
/system/tools/hidl/build/ |
D | fqName.go | 53 components := strings.Split(pkg, ".") 55 if len(components) > len(f.packageComponents) { 59 for i, v := range components {
|
/system/tools/hidl/utils/include/hidl-util/ |
D | StringHelper.h | 75 std::vector<std::string> *components); 78 const std::vector<std::string> &components,
|
D | FQName.h | 213 void getPackageComponents(std::vector<std::string> *components) const; 216 std::vector<std::string> *components,
|
/system/core/adb/ |
D | commandline.cpp | 996 std::vector<std::string> components = android::base::Split(service, "-"); in wait_for_device() local 997 if (components.size() < 3 || components.size() > 4) { in wait_for_device() 1007 if (components.size() == 3) { in wait_for_device() 1008 auto it = components.begin() + 2; in wait_for_device() 1010 components.insert(it, "usb"); in wait_for_device() 1012 components.insert(it, "local"); in wait_for_device() 1014 components.insert(it, "any"); in wait_for_device() 1016 } else if (components[2] != "any" && components[2] != "local" && components[2] != "usb") { in wait_for_device() 1018 components[2].c_str()); in wait_for_device() 1022 if (components[3] != "any" && components[3] != "bootloader" && components[3] != "device" && in wait_for_device() [all …]
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app_neverallows.te | 20 # Only trusted components of Android should be registering 115 # against privileged system components 132 # incidence rate of security issues than system/core components and have 193 # HwBinder services offered by core components (as opposed to vendor components)
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | app_neverallows.te | 25 # Only trusted components of Android should be registering 120 # against privileged system components 137 # incidence rate of security issues than system/core components and have 203 # HwBinder services offered by core components (as opposed to vendor components)
|
/system/extras/power_profile/gps_on/Application/ |
D | build.gradle | 26 'common', // components that are reused by multiple samples
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | app_neverallows.te | 26 # Only trusted components of Android should be registering 143 # against privileged system components 160 # incidence rate of security issues than system/core components and have 231 # HwBinder services offered by core components (as opposed to vendor components)
|
/system/sepolicy/private/ |
D | app_neverallows.te | 26 # Only trusted components of Android should be registering 143 # against privileged system components 160 # incidence rate of security issues than system/core components and have 231 # HwBinder services offered by core components (as opposed to vendor components)
|
/system/extras/power_profile/camera_avg/Application/ |
D | build.gradle | 29 'common', // components that are reused by multiple samples
|
/system/extras/power_profile/camera_flashlight/Application/ |
D | build.gradle | 29 'common', // components that are reused by multiple samples
|
/system/core/libpixelflinger/include/pixelflinger/ |
D | format.h | 123 uint16_t components; // GGLFormatComponents member
|
/system/sepolicy/public/ |
D | tzdatacheck.te | 15 # or break assumptions made / invalidate data held by the components actually
|
D | bootstat.te | 41 # ... and refine, as these components should not set the last boot reason
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | tzdatacheck.te | 15 # or break assumptions made / invalidate data held by the components actually
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | tzdatacheck.te | 15 # or break assumptions made / invalidate data held by the components actually
|
D | bootstat.te | 41 # ... and refine, as these components should not set the last boot reason
|
/system/tools/hidl/ |
D | Coordinator.cpp | 431 std::vector<std::string> components; in getPackagePath() local 433 components.push_back(StringHelper::RTrimAll(packageRoot->path, "/")); in getPackagePath() 435 components.insert(components.end(), suffixComponents.begin(), suffixComponents.end()); in getPackagePath() 436 components.push_back(sanitized ? fqName.sanitizedVersion() : fqName.version()); in getPackagePath() 438 *path = StringHelper::JoinStrings(components, "/") + "/"; in getPackagePath()
|
D | AST.h | 238 void getPackageComponents(std::vector<std::string> *components) const; 241 std::vector<std::string> *components, bool cpp_compatible) const;
|
/system/libvintf/ |
D | parse_string.cpp | 32 std::vector<std::string> components; in SplitString() local 37 components.push_back(s.substr(startPos, matchPos - startPos)); in SplitString() 42 components.push_back(s.substr(startPos)); in SplitString() 44 return components; in SplitString()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | attributes | 92 # All HwBinder services guaranteed to be offered only by core domain components 130 # All socket devices owned by core domain components 138 # communicating with core components
|