/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | field_mask_utility.cc | 113 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument 116 int length = paths.length(); in DecodeCompactFieldMaskPaths() 131 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths() 135 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths() 139 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths() 142 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths() 150 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths() 151 paths[i + 1] != ')' && paths[i + 1] != '(') { in DecodeCompactFieldMaskPaths() 154 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths() 162 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths() [all …]
|
D | field_mask_utility.h | 64 util::Status DecodeCompactFieldMaskPaths(StringPiece paths,
|
/frameworks/av/apex/ |
D | ld.config.txt | 5 # There are no versioned APEX paths here - this APEX module does not support 22 namespace.default.search.paths = /apex/com.android.media.swcodec/${LIB} 23 namespace.default.asan.search.paths = /apex/com.android.media.swcodec/${LIB} 40 namespace.platform.search.paths = /system/${LIB} 41 namespace.platform.asan.search.paths = /data/asan/system/${LIB} 42 namespace.platform.asan.search.paths += /system/${LIB} 45 # Add /apex/... pat to the permitted paths because linker uses realpath(3) 46 # to check the accessibility of the lib. We could add this to search.paths 48 # the order of /system/lib and /apex/... in search.paths. If /apex/... 53 namespace.platform.permitted.paths = /apex/com.android.runtime/${LIB}/bionic [all …]
|
/frameworks/base/services/robotests/backup/src/android/app/backup/ |
D | BackupUtilsTest.java | 52 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(file("a/b.txt"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasIt() 61 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasItsDirectory() 69 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(file("a/c.txt"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasOtherFile() 76 boolean isSpecified = BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths()); in testIsFileSpecifiedInPathList_whenFileAndPathListEmpty() 84 BackupUtils.isFileSpecifiedInPathList(directory("a"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListHasIt() 91 boolean isSpecified = BackupUtils.isFileSpecifiedInPathList(directory("a"), paths()); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListEmpty() 99 BackupUtils.isFileSpecifiedInPathList(directory("a/b"), paths(directory("a"))); in testIsFileSpecifiedInPathList_whenDirectoryAndPathListHasParent() 108 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("c"))); in testIsFileSpecifiedInPathList_whenFileAndPathListDoesntContainDirectory() 117 BackupUtils.isFileSpecifiedInPathList(file("a/b.txt"), paths(directory("a/b"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasDirectoryWhoseNameIsPrefix() 127 file("name/subname.txt"), paths(directory("nam"))); in testIsFileSpecifiedInPathList_whenFileAndPathListHasDirectoryWhoseNameIsPrefix2() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 56 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument 58 var firstInvalid = paths.FirstOrDefault(p => !ValidatePath(p)); in ToJson() 63 var query = paths.Select(JsonFormatter.ToCamelCase); in ToJson() 66 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToCamelCase))); in ToJson() 76 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1133 final List<String> paths = uri.getPathSegments(); in isDocumentUri() local 1134 if (paths.size() == 2) { in isDocumentUri() 1135 return PATH_DOCUMENT.equals(paths.get(0)); in isDocumentUri() 1136 } else if (paths.size() == 4) { in isDocumentUri() 1137 return PATH_TREE.equals(paths.get(0)) && PATH_DOCUMENT.equals(paths.get(2)); in isDocumentUri() 1176 final List<String> paths = uri.getPathSegments(); in isTreeUri() local 1177 return (paths.size() >= 2 && PATH_TREE.equals(paths.get(0))); in isTreeUri() 1182 final List<String> paths = uri.getPathSegments(); in isRootUri() local 1183 return (paths.size() == pathSize && PATH_ROOT.equals(paths.get(0))); in isRootUri() 1204 final List<String> paths = rootUri.getPathSegments(); in getRootId() local [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 146 List<String> paths = new ArrayList<String>(); in toFieldMask() local 147 getFieldPaths(root, "", paths); in toFieldMask() 148 return FieldMask.newBuilder().addAllPaths(paths).build(); in toFieldMask() 154 private void getFieldPaths(Node node, String path, List<String> paths) { in getFieldPaths() argument 156 paths.add(path); in getFieldPaths() 161 getFieldPaths(entry.getValue(), childPath, paths); in getFieldPaths() local 191 List<String> paths = new ArrayList<String>(); in intersectFieldPath() local 192 getFieldPaths(node, path, paths); in intersectFieldPath() 193 for (String value : paths) { in intersectFieldPath()
|
D | FieldMaskUtil.java | 105 public static FieldMask fromStringList(Class<? extends Message> type, Iterable<String> paths) { in fromStringList() argument 107 for (String path : paths) { in fromStringList() 154 List<String> paths = new ArrayList<String>(fieldMask.getPathsCount()); in toJsonString() local 159 paths.add(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, path)); in toJsonString() 161 return Joiner.on(FIELD_PATH_SEPARATOR).join(paths); in toJsonString() 169 Iterable<String> paths = Splitter.on(FIELD_PATH_SEPARATOR).split(value); in fromJsonString() local 171 for (String path : paths) { in fromJsonString()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | field_mask.pb.cc | 192 this->paths(this->paths_size() - 1).data(), in MergePartialFromCodedStream() 193 this->paths(this->paths_size() - 1).length(), in MergePartialFromCodedStream() 231 this->paths(i).data(), this->paths(i).length(), in SerializeWithCachedSizes() 235 1, this->paths(i), output); in SerializeWithCachedSizes() 247 this->paths(i).data(), this->paths(i).length(), in InternalSerializeWithCachedSizesToArray() 251 WriteStringToArray(1, this->paths(i), target); in InternalSerializeWithCachedSizesToArray() 266 this->paths(i)); in ByteSize() 347 const ::std::string& FieldMask::paths(int index) const { in paths() function in google::protobuf::FieldMask 385 FieldMask::paths() const { in paths() function in google::protobuf::FieldMask
|
D | field_mask.proto | 42 // `FieldMask` represents a set of symbolic field paths, for example: 44 // paths: "f.a" 45 // paths: "f.b.d" 137 // paths: "f.b" 150 // paths: "f.b.d" 189 // In JSON, a field mask is encoded as a single string where paths are 207 // paths: "user.display_name" 208 // paths: "photo" 232 // paths: "name" 238 // paths: "sub_message" [all …]
|
D | field_mask.pb.h | 108 const ::std::string& paths(int index) const; 117 const ::google::protobuf::RepeatedPtrField< ::std::string>& paths() const; 149 inline const ::std::string& FieldMask::paths(int index) const { in paths() function 187 FieldMask::paths() const { in paths() function
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | DexMetadataHelper.java | 202 public static void validateDexPaths(String[] paths) { in validateDexPaths() argument 204 for (int i = 0; i < paths.length; i++) { in validateDexPaths() 205 if (PackageParser.isApkPath(paths[i])) { in validateDexPaths() 206 apks.add(paths[i]); in validateDexPaths() 210 for (int i = 0; i < paths.length; i++) { in validateDexPaths() 211 String dmPath = paths[i]; in validateDexPaths()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | field_mask_util.cc | 43 return Join(mask.paths(), ","); in ToString() 48 vector<string> paths = Split(str, ","); in FromString() local 49 for (int i = 0; i < paths.size(); ++i) { in FromString() 50 if (paths[i].empty()) continue; in FromString() 51 out->add_paths(paths[i]); in FromString() 104 const string& path = mask.paths(i); in ToJsonString() 119 vector<string> paths = Split(str, ","); in FromJsonString() local 120 for (int i = 0; i < paths.size(); ++i) { in FromJsonString() 121 if (paths[i].empty()) continue; in FromJsonString() 123 if (!CamelCaseToSnakeCase(paths[i], &snakecase_path)) { in FromJsonString() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | BenchmarkHelpers.cpp | 25 void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTable_config* config, in GetResourceBenchmarkOld() argument 28 for (const std::string& path : paths) { in GetResourceBenchmarkOld() 54 void GetResourceBenchmark(const std::vector<std::string>& paths, const ResTable_config* config, in GetResourceBenchmark() argument 58 for (const std::string& path : paths) { in GetResourceBenchmark()
|
D | BenchmarkHelpers.h | 30 void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTable_config* config, 33 void GetResourceBenchmark(const std::vector<std::string>& paths, const ResTable_config* config,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 604 private void assertHasDclInfo(TestData owner, TestData loader, List<String> paths) { in assertHasDclInfo() argument 607 for (String path : paths) { in assertHasDclInfo() 658 List<String> paths = new ArrayList<>(); in getSecondaryDexPaths() local 659 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary1.dex"); in getSecondaryDexPaths() 660 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary2.dex"); in getSecondaryDexPaths() 661 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary3.dex"); in getSecondaryDexPaths() 662 return paths; in getSecondaryDexPaths() 666 List<String> paths = new ArrayList<>(); in getSecondaryDexPathsForOwnUse() local 667 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary4.dex"); in getSecondaryDexPathsForOwnUse() 668 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary5.dex"); in getSecondaryDexPathsForOwnUse() [all …]
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 214 final String paths = sb.toString(); in getDebugLayerAppPaths() local 216 if (DEBUG) Log.v(TAG, "Debug layer app libs: " + paths); in getDebugLayerAppPaths() 218 return paths; in getDebugLayerAppPaths() 262 String paths = getDebugLayerAppPaths(pm, layerApps[i]); in setupGpuLayers() local 263 if (paths != null) { in setupGpuLayers() 266 layerPaths += paths + ":"; in setupGpuLayers() 444 String paths, in setupAngleWithTempRulesFile() argument 482 setAngleInfo(paths, packageName, devOptIn, rulesFd, rulesOffset, rulesLength); in setupAngleWithTempRulesFile() 510 String paths, in setupAngleRulesApk() argument 519 setAngleInfo(paths, packageName, devOptIn, assetsFd.getFileDescriptor(), in setupAngleRulesApk() [all …]
|
D | FileObserver.java | 119 final String[] paths = new String[count]; in startWatching() local 121 paths[i] = files.get(i).getAbsolutePath(); in startWatching() 126 startWatching(m_fd, paths, mask, wfds); in startWatching() 172 private native void startWatching(int fd, String[] paths, in startWatching() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 79 final ArrayList<String> paths = new ArrayList<String>(); in captureHeaps() local 104 paths.add(path); in captureHeaps() 118 if (DumpTruck.zipUp(zipfile, paths)) { in captureHeaps() 171 private static boolean zipUp(String zipfilePath, ArrayList<String> paths) { in zipUp() argument 175 for (String filename : paths) { in zipUp()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 192 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument 193 mPaths = paths; in ClientProxy() 238 public static void scanFile(Context context, String[] paths, String[] mimeTypes, in scanFile() argument 240 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_layers.cpp | 350 std::vector<std::string> paths = in LoadLayers() local 356 auto it = paths.begin(); in LoadLayers() 357 paths.insert(it, system_path); in LoadLayers() 361 for (uint32_t j = 0; j < paths.size() && !layer_found; j++) { in LoadLayers() 364 ALOGI("Searching %s for GLES layers", paths[j].c_str()); in LoadLayers() 367 android::base::Realpath(paths[j] + "/" + layers[i], &layer); in LoadLayers()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Scan.cpp | 89 std::set<std::string> paths; in FindApkFiles() local 95 paths.insert(apk_paths->cbegin(), apk_paths->cend()); in FindApkFiles() 97 return std::make_unique<std::vector<std::string>>(paths.cbegin(), paths.cend()); in FindApkFiles()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 163 final List<String> paths = pkg.getAllCodePaths(); in performDexOptLI() local 175 boolean[] pathsWithCode = new boolean[paths.size()]; in performDexOptLI() 177 for (int i = 1; i < paths.size(); i++) { in performDexOptLI() 184 if (paths.size() != classLoaderContexts.length) { in performDexOptLI() 188 + "pkg.getAllCodePaths=" + paths in performDexOptLI() 195 for (int i = 0; i < paths.size(); i++) { in performDexOptLI() 203 + "but has no dependency listed. Index=" + i + " path=" + paths.get(i)); in performDexOptLI() 207 String path = paths.get(i); in performDexOptLI() 459 final List<String> paths = pkg.getAllCodePathsExcludingResourceOnly(); in dumpDexoptState() local 461 for (String path : paths) { in dumpDexoptState()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | well_known_types_test.py | 313 mask.paths.append('foo') 315 mask.paths.append('bar') 321 self.assertEqual(['foo'], mask.paths) 323 self.assertEqual(['foo', 'bar'], mask.paths) 329 self.assertEqual(75, len(mask.paths)) 332 self.assertTrue(field.name in mask.paths) 333 mask.paths.append('optional_nested_message.bb') 335 mask.paths.append('repeated_nested_message.bb') 428 mask.paths.append(field_name)
|
D | well_known_types.py | 382 return ','.join(self.paths) 388 self.paths.append(path) 392 for path in self.paths: 401 self.paths.append(field.name) 430 for path in mask2.paths: 496 for path in field_mask.paths: 616 field_mask.paths.append(prefix)
|