Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DUsageGraphTest.java65 SparseIntArray paths = new SparseIntArray(); in calculateLocalPaths_singlePath() local
66 paths.append(0, 100); in calculateLocalPaths_singlePath()
67 paths.append(500, 50); in calculateLocalPaths_singlePath()
68 paths.append(501, -1); in calculateLocalPaths_singlePath()
71 mGraph.calculateLocalPaths(paths, localPaths); in calculateLocalPaths_singlePath()
84 SparseIntArray paths = new SparseIntArray(); in calculateLocalPaths_multiplePaths() local
85 paths.append(0, 100); in calculateLocalPaths_multiplePaths()
86 paths.append(200, 75); in calculateLocalPaths_multiplePaths()
87 paths.append(201, -1); in calculateLocalPaths_multiplePaths()
89 paths.append(300, 50); in calculateLocalPaths_multiplePaths()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDiscoveredPrinter.java48 public final List<Uri> paths; field in DiscoveredPrinter
61 public DiscoveredPrinter(Uri uuid, String name, List<Uri> paths, String location) { in DiscoveredPrinter() argument
64 this.path = paths.get(0); in DiscoveredPrinter()
65 this.paths = Collections.unmodifiableList(paths); in DiscoveredPrinter()
112 this.paths = Collections.singletonList(path); in DiscoveredPrinter()
128 for (Uri path : paths) { in isSecure()
173 && Objects.equals(paths, other.paths) in equals()
182 result = 31 * result + paths.hashCode(); in hashCode()
DMultiDiscovery.java77 List<Uri> allPaths = new ArrayList<>(combined.paths); in merged()
78 for (Uri path : discovered.paths) { in merged()
/packages/apps/TV/tests/robotests/src/com/android/tv/testing/
DTvRobolectricTestRunner.java60 List<ResourcePath> paths = super.getIncludedResourcePaths(); in getAppManifest()
61 TvRobolectricTestRunner.getIncludedResourcePaths(paths); in getAppManifest()
62 return paths; in getAppManifest()
67 public static void getIncludedResourcePaths(List<ResourcePath> paths) {
68 paths.add(
73 paths.add(
78 paths.add(
83 paths.add(
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/
DCarUiRobolectricTestRunner.java116 List<ResourcePath> paths = super.getIncludedResourcePaths(); in getAppManifest()
117 paths.add(createResourcePath( in getAppManifest()
123 paths.add(createResourcePath( in getAppManifest()
125 paths.add(createResourcePath(createSupportResourcePathFromJar(rootRelativePath, in getAppManifest()
127 paths.add(createResourcePath( in getAppManifest()
130 return paths; in getAppManifest()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterAlbum.java47 void setMediaItems(ArrayList<Path> paths) { in setMediaItems() argument
48 mPaths = paths; in setMediaItems()
75 ArrayList<Path> paths, int start, int count, in getMediaItemFromPath() argument
77 if (start >= paths.size()) { in getMediaItemFromPath()
80 int end = Math.min(start + count, paths.size()); in getMediaItemFromPath()
81 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end)); in getMediaItemFromPath()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java143 SparseIntArray points, SparseIntArray paths, SparseIntArray localPaths) { in addPathAndUpdate() argument
146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate()
149 paths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); in addPathAndUpdate()
150 calculateLocalPaths(paths, localPaths); in addPathAndUpdate()
177 void calculateLocalPaths(SparseIntArray paths, SparseIntArray localPaths) { in calculateLocalPaths() argument
187 for (int i = 0; i < paths.size(); i++) { in calculateLocalPaths()
188 int x = paths.keyAt(i); in calculateLocalPaths()
189 int y = paths.valueAt(i); in calculateLocalPaths()
195 if (i == paths.size() - 1 && skippedLastPoint) { in calculateLocalPaths()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java143 SparseIntArray points, SparseIntArray paths, SparseIntArray localPaths) { in addPathAndUpdate() argument
146 paths.put(points.keyAt(i), points.valueAt(i)); in addPathAndUpdate()
149 paths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); in addPathAndUpdate()
150 calculateLocalPaths(paths, localPaths); in addPathAndUpdate()
177 void calculateLocalPaths(SparseIntArray paths, SparseIntArray localPaths) { in calculateLocalPaths() argument
187 for (int i = 0; i < paths.size(); i++) { in calculateLocalPaths()
188 int x = paths.keyAt(i); in calculateLocalPaths()
189 int y = paths.valueAt(i); in calculateLocalPaths()
195 if (i == paths.size() - 1 && skippedLastPoint) { in calculateLocalPaths()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/testing/
DTvTunerRobolectricTestRunner.java60 List<ResourcePath> paths = super.getIncludedResourcePaths(); in getAppManifest()
61 TvTunerRobolectricTestRunner.getIncludedResourcePaths(paths); in getAppManifest()
62 return paths; in getAppManifest()
67 public static void getIncludedResourcePaths(List<ResourcePath> paths) {
68 paths.add(new ResourcePath(null, Fs.fileFromPath("./packages/apps/TV/tuner/res"), null));
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dfilestreamtest.cpp27 const char *paths[] = { in SetUp() local
35 for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); i++) { in SetUp()
36 fp = fopen(paths[i], "rb"); in SetUp()
38 filename_ = paths[i]; in SetUp()
Djsoncheckertest.cpp22 const char *paths[] = { in ReadFile() local
31 for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); i++) { in ReadFile()
32 sprintf(buffer, paths[i], filename); in ReadFile()
Dencodedstreamtest.cpp44 const char *paths[] = { in Open() local
52 for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); i++) { in Open()
53 sprintf(buffer, paths[i], filename); in Open()
Ddocumenttest.cpp99 const char *paths[] = { in OpenEncodedFile() local
107 for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); i++) { in OpenEncodedFile()
108 sprintf(buffer, paths[i], filename); in OpenEncodedFile()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dperftest.h69 const char *paths[] = { in SetUp() local
77 for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); i++) { in SetUp()
78 fp = fopen(filename_ = paths[i], "rb"); in SetUp()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java192 public BulkDeleteTask(Delegate delegate, List<Object> paths) { in BulkDeleteTask() argument
194 mPaths = paths; in BulkDeleteTask()
273 List<Object> paths = new ArrayList<Object>(); in getPathsForSelectedItems() local
277 paths.add(mDelegate.getPathForItemAtPosition(i)); in getPathsForSelectedItems()
280 return paths; in getPathsForSelectedItems()
/packages/modules/SdkExtensions/derive_sdk/
Dderive_sdk.cpp40 std::vector<std::string> paths; in main() local
50 paths.push_back(path); in main()
55 for (const auto& path : paths) { in main()
/packages/services/Car/tests/robotests/src/com/android/car/
DCarServiceRobolectricTestRunner.java54 final List<ResourcePath> paths = super.getIncludedResourcePaths(); in getAppManifest()
55 return paths; in getAppManifest()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java255 Set<String> paths = new HashSet<String>(); in doInBackground() local
274 paths.add(dirPath); in doInBackground()
289 for (String path : paths) { in doInBackground()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java197 public static Query forUrisMatching(String authority, String... paths) { in forUrisMatching() argument
199 for (int i = 0; i < paths.length; i++) { in forUrisMatching()
200 matcher.addURI(authority, paths[i], i); in forUrisMatching()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java672 List<String> paths = uri.getPathSegments(); in parseChannel() local
673 if (paths.size() > 1 && paths.get(0).equals(PLAY_FROM_CHANNEL)) { in parseChannel()
DTunerSessionWorker.java677 List<String> paths = uri.getPathSegments(); in parseChannel() local
678 if (paths.size() > 1 && paths.get(0).equals(PLAY_FROM_CHANNEL)) { in parseChannel()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java179 for (Uri path : printer.paths) { in onPrinterFound()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in157 # part of the path. The tag can be used to show relative paths in the file list.
161 # Note that you can specify absolute paths here, but also relative paths, which
171 # specify the list of include paths that are normally passed to the compiler
820 # Note that relative paths are relative to the directory from which doxygen is
1025 # the include paths will already be set by doxygen for the files and directories
2033 # where loc1 and loc2 can be relative or absolute paths or URLs. See the
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile123 # the path. The tag can be used to show relative paths in the file list.
133 # definition is used. Otherwise one should specify the include paths that
1333 # where "loc1" and "loc2" can be relative or absolute paths or
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile123 # the path. The tag can be used to show relative paths in the file list.
133 # definition is used. Otherwise one should specify the include paths that
1333 # where "loc1" and "loc2" can be relative or absolute paths or

12