Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 45) 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/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/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/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/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/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/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/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.java190 public BulkDeleteTask(Delegate delegate, List<Object> paths) { in BulkDeleteTask() argument
192 mPaths = paths; in BulkDeleteTask()
262 List<Object> paths = new ArrayList<Object>(); in getPathsForSelectedItems() local
266 paths.add(mDelegate.getPathForItemAtPosition(i)); in getPathsForSelectedItems()
269 return paths; in getPathsForSelectedItems()
/packages/modules/Bluetooth/tools/pdl/src/
Dtest_utils.rs20 let paths = std::env::var_os("PATH").unwrap(); in find_binary() localVariable
21 for mut path in std::iter::once(current_exe.clone()).chain(std::env::split_paths(&paths)) { in find_binary()
32 paths.to_string_lossy(), in find_binary()
/packages/modules/Bluetooth/system/gd/rust/topshim/
Dbuild.rs21 let paths = vec![ in main() localVariable
30 paths.iter().map(|tail| format!("-I{}{}", search_root, tail)).collect::<Vec<String>>(); in main()
/packages/modules/common/build/
Dmainline_modules_sdks.py277 paths = [
312 ] + paths
1082 paths = [transformation.path for transformation in transformations]
1084 paths)
1110 def copy_zip_and_replace(producer, src_zip_path, dest_zip_path, src_dir, paths): argument
1121 ["zip", "-q", abs_src_zip_path, "--out", abs_dest_zip_path] + paths,
/packages/modules/Bluetooth/system/gd/rust/facade_proto/
Dbuild.rs25 fn paths_to_strs<P: AsRef<Path>>(paths: &[P]) -> Vec<&str> { in paths_to_strs()
26 paths.iter().map(|p| p.as_ref().as_os_str().to_str().unwrap()).collect() in paths_to_strs()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaDocumentsProviderTest.java258 private static void assertProbe(ContentResolver resolver, String... paths) { in assertProbe() argument
261 for (String path : paths) { in assertProbe()
265 assertNotNull(Arrays.toString(paths), c); in assertProbe()
/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/modules/ArtPrebuilt/
Dupdate-art-module-prebuilts.py188 def install_paths_per_git_root(roots, paths): argument
200 for path in paths:
/packages/apps/Gallery2/
D.gitignore1 # Project files and paths.
/packages/apps/Camera2/
D.gitignore1 # Project files and paths.
/packages/modules/adb/
Dadb.bash198 paths=$(command adb ${args[@]} shell echo '$'PATH 2> /dev/null | tr -d '\r' | tr : '\n')
199 COMMAND=$(command adb ${args[@]} shell ls $paths '2>' /dev/null | tr -d '\r' | {
/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/modules/adb/client/
Dauth.cpp391 static void adb_auth_inotify_init(const std::set<std::string>& paths) { in adb_auth_inotify_init() argument
400 for (const std::string& path : paths) { in adb_auth_inotify_init()

12