Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 122) sorted by relevance

12345

/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessorTest.java68 JavaFileObject src = JavaFileObjects.forSourceLines("a.b.Class", in testSignatureFormat() local
75 assertThat(compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0)).containsEntry( in testSignatureFormat()
82 JavaFileObject src = JavaFileObjects.forSourceLines("a.b.Class", in testSourcePosition() local
89 Map<String, String> row = compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0); in testSourcePosition()
98 JavaFileObject src = JavaFileObjects.forSourceLines("a.b.Class", in testAnnotationProperties() local
105 assertThat(compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0)).containsEntry( in testAnnotationProperties()
111 JavaFileObject src = JavaFileObjects.forSourceLines("a.b.Class", in testSourcePositionOverride() local
118 Map<String, String> row = compileAndReadCsv(src, "a/b/Class.uau").getContents().get(0); in testSourcePositionOverride()
129 JavaFileObject src = JavaFileObjects.forSourceLines("a.b.Class", in testSourcePositionOverrideWrongFormat() local
138 .compile(ANNOTATION, src); in testSourcePositionOverrideWrongFormat()
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DLittleEndian.java40 public static int getUInt8(byte[] src, int offset) { in getUInt8() argument
41 return src[offset] & 0xFF; in getUInt8()
50 public static int getUInt16(byte[] src, int offset) { in getUInt16() argument
51 final int v0 = src[offset + 0] & 0xFF; in getUInt16()
52 final int v1 = src[offset + 1] & 0xFF; in getUInt16()
62 public static long getUInt32(byte[] src, int offset) { in getUInt32() argument
63 final long v0 = src[offset + 0] & 0xFF; in getUInt32()
64 final long v1 = src[offset + 1] & 0xFF; in getUInt32()
65 final long v2 = src[offset + 2] & 0xFF; in getUInt32()
66 final long v3 = src[offset + 3] & 0xFF; in getUInt32()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java205 File src = null; in resolveRelativeFilePath() local
207 src = buildInfo.getFile(fileName); in resolveRelativeFilePath()
208 if (src != null && src.exists()) { in resolveRelativeFilePath()
209 return src; in resolveRelativeFilePath()
240 src = FileUtil.findFile(fileName, null, moduleDir); in resolveRelativeFilePath()
241 if (src != null) { in resolveRelativeFilePath()
247 .startsWith(src.getAbsolutePath())) { in resolveRelativeFilePath()
252 return src; in resolveRelativeFilePath()
290 src = FileUtil.findFile(fileName, null, scanDirs.toArray(new File[] {})); in resolveRelativeFilePath()
291 if (src != null) { in resolveRelativeFilePath()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DByteArrayList.java154 public boolean addAll(byte[] src) { in addAll() argument
155 if (src == null) { in addAll()
159 return addAll(src, 0, src.length); in addAll()
170 public boolean addAll(byte[] src, int srcOffset, int length) { in addAll() argument
171 if (src == null) { in addAll()
176 System.arraycopy(src, srcOffset, mStorage, mCurBytes, length); in addAll()
187 public boolean addall(ByteArrayList src) { in addall() argument
188 if (src == null) { in addall()
192 return addAll(src.getContents()); in addall()
/tools/test/graphicsbenchmark/apps/sample_app/
DAndroid.bp19 "src/cpp/circle.cpp",
20 "src/cpp/common.cpp",
21 "src/cpp/shader.cpp",
22 "src/cpp/vecmath.cpp",
23 "src/cpp/renderer.cpp",
24 "src/cpp/main.cpp",
38 export_include_dirs: ["src/cpp"],
/tools/asuite/
Dasuite.sh22 for src in ${asuite_srcs[@]}; do
26 if [[ -f $src ]] && should_add_completion $src ; then
27 source $src || true
/tools/trebuchet/
DAndroid.bp26 "core/common/src/main/**/*.kt",
27 "core/model/src/main/**/*.kt",
38 "trebuchet/startup-common/src/**/*.kt",
49 "core/common/src/test/**/*.kt",
83 "trebuchet/analyzer/src/**/*.kt",
95 "trebuchet/startup-analyzer/src/**/*.kt",
108 "trebuchet/startup-summarizer/src/**/*.kt",
121 "trebuchet/traceutils/src/**/*.kt",
133 "trebuchet/viewer/src/main/**/*.kt",
/tools/asuite/asuite_plugin/
Dbuild.gradle13 java.srcDirs = ['src/java']
14 resources.srcDirs = ['src/resources']
17 java.srcDirs = ['src/test']
18 resources.srcDirs = ['src/test/resources']
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java34 mTotalSize = Arrays.stream(sources).mapToLong(src -> src.size()).sum(); in ChainedDataSource()
48 for (DataSource src : mSources) { in feed()
50 if (offset >= src.size()) { in feed()
51 offset -= src.size(); in feed()
56 long remaining = src.size() - offset; in feed()
58 src.feed(offset, size, sink); in feed()
63 src.feed(offset, remaining, sink); in feed()
DVerityTreeBuilder.java158 DataSource src; in generateVerityTree() local
160 src = fileSource; in generateVerityTree()
161 digestDataByChunks(src, middleBufferSink); in generateVerityTree()
163 src = DataSources.asDataSource(slice(verityBuffer.asReadOnlyBuffer(), in generateVerityTree()
165 digestDataByChunks(src, middleBufferSink); in generateVerityTree()
169 long totalOutput = divideRoundup(src.size(), CHUNK_SIZE) * digestSize; in generateVerityTree()
/tools/asuite/aidegen/lib/
Declipse_project_file_gen.py233 for src in self.src_paths:
234 src_abspath = os.path.join(common_util.get_android_root_dir(), src)
236 src, self.module_relpath):
237 src = src.replace(self.module_relpath, '').strip(os.sep)
239 src = os.path.join(constant.KEY_DEPENDENCIES, src)
242 self._EXCLUDE_ANDROID_BP_ENTRY.format(src))
244 src_path_entries.append(self._CLASSPATH_SRC_ENTRY.format(src))
/tools/apifinder/
DAndroid.bp26 srcs: ["src/main/**/*.java"],
42 srcs: ["src/test/**/JavaApiUsedByMainlineModuleTest.java"],
43 java_resource_dirs: ["src/test/res"],
57 path: "src/test/res",
58 srcs: ["src/test/res/**/*.java"],
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java134 public void write(long devOffset, ByteBuffer src) throws IOException { in write() argument
137 if (devOffset + src.remaining() > getSize()) throw new in write()
140 ", length=" + src.remaining() + in write()
143 data.limit((int) (devOffset + src.remaining())); in write()
147 data.put(src); in write()
/tools/dexter/testdata/expected/
Dmi.rewrite4 .src "Target.java"
15 .src "Target.java"
30 .src "Target.java"
46 .src "Target.java"
63 .src "Target.java"
Dmi.object_exit_hook4 .src "Target.java"
15 .src "Target.java"
30 .src "Target.java"
46 .src "Target.java"
63 .src "Target.java"
Dmi.compact_cfg5 .src "Target.java"
18 .src "Target.java"
35 .src "Target.java"
53 .src "Target.java"
72 .src "Target.java"
Dentry_hooks.asm4 .src "entryHooks.java"
18 .src "entryHooks.java"
57 .src "entryHooks.java"
71 .src "entryHooks.java"
112 .src "entryHooks.java"
126 .src "entryHooks.java"
161 .src "entryHooks.java"
194 .src "entryHooks.java"
211 .src "entryHooks.java"
230 .src "entryHooks.java"
[all …]
Dmi.mi4 .src "Target.java"
15 .src "Target.java"
30 .src "Target.java"
46 .src "Target.java"
67 .src "Target.java"
Dmi.scratch_regs4 .src "Target.java"
18 .src "Target.java"
42 .src "Target.java"
67 .src "Target.java"
93 .src "Target.java"
/tools/apksig/
DAndroid.bp22 "src/main/java/**/*.java",
30 srcs: ["src/apksigner/java/**/*.java"],
31 java_resource_dirs: ["src/apksigner/java"],
33 manifest: "src/apksigner/apksigner.mf",
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py319 ethernet = scapy.Ether(src=self.src_mac, dst=mac_dst)
400 ip4 = scapy.IP(src=self.src_ipv4, dst=IPV4_BROADCAST)
403 ethernet = scapy.Ether(dst=MAC_BROADCAST, src=self.src_mac)
463 base = scapy.IPv6(dst=node_mcast, src=self.src_ipv6)
469 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
530 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
543 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
600 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
606 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
662 base = scapy.IP(src=self.src_ipv4, dst=sta_ip)
[all …]
/tools/tradefederation/core/
DAndroid.bp71 include_dirs: ["external/protobuf/src"],
88 include_dirs: ["external/protobuf/src"],
134 "src/**/*.java",
179 "src/**/*.java",
218 src: "tradefed.sh",
223 src: "tradefed_win.bat",
228 src: "script_help.sh",
233 src: "run_tf_cmd.sh",
238 src: "atest_tradefed.sh",
/tools/apkzlib/
DAndroid.bp21 "src/main/java/com/android/tools/build/apkzlib/utils/**/*.java",
22 "src/main/java/com/android/tools/build/apkzlib/zip/**/*.java",
30 "src/main/java/com/android/tools/build/apkzlib/**/*.java",
/tools/treble/build/sandbox/
Dnsjail.cfg44 # The user must mount the source to /src using --bindmount
46 cwd: "/src"
112 src: "/proc/self/fd"
120 src: "/dev/null"
128 src: "/dev/urandom"
136 src: "/dev/random"
144 src: "/dev/zero"
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java480 File src = null; in resolveRelativeFilePath() local
482 src = buildInfo.getFile(fileName); in resolveRelativeFilePath()
483 if (src != null && src.exists()) { in resolveRelativeFilePath()
484 return src; in resolveRelativeFilePath()
516 src = FileUtil.findFile(fileName, null, moduleDir); in resolveRelativeFilePath()
517 if (src != null) { in resolveRelativeFilePath()
518 CLog.i("Retrieving src file from" + src.getAbsolutePath()); in resolveRelativeFilePath()
519 return src; in resolveRelativeFilePath()
554 return src; in resolveRelativeFilePath()

12345