/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | UsageGraphTest.java | 65 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/ |
D | TvRobolectricTestRunner.java | 60 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/ |
D | DiscoveredPrinter.java | 48 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()
|
D | MultiDiscovery.java | 77 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/ |
D | TvTunerRobolectricTestRunner.java | 60 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/ |
D | ClusterAlbum.java | 47 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/ |
D | filestreamtest.cpp | 27 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()
|
D | jsoncheckertest.cpp | 22 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()
|
D | encodedstreamtest.cpp | 44 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()
|
D | documenttest.cpp | 99 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/ |
D | UsageGraph.java | 143 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/ |
D | perftest.h | 69 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/ |
D | MultiChoiceManager.java | 190 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/ |
D | test_utils.rs | 20 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/ |
D | build.rs | 21 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/ |
D | mainline_modules_sdks.py | 277 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/ |
D | build.rs | 25 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/ |
D | MediaDocumentsProviderTest.java | 258 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/ |
D | DataModel.java | 255 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/ |
D | update-art-module-prebuilts.py | 188 def install_paths_per_git_root(roots, paths): argument 200 for path in paths:
|
/packages/apps/Gallery2/ |
D | .gitignore | 1 # Project files and paths.
|
/packages/apps/Camera2/ |
D | .gitignore | 1 # Project files and paths.
|
/packages/modules/adb/ |
D | adb.bash | 198 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/ |
D | MockContentProvider.java | 197 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/ |
D | auth.cpp | 391 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()
|