Home
last modified time | relevance | path

Searched refs:ResourcePath (Results 1 – 25 of 84) sorted by relevance

1234

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java16 import org.robolectric.res.ResourcePath;
19 private static ResourcePath SYSTEM_RESOURCE_PATH;
20 private static ResourcePath TEST_RESOURCE_PATH;
41 public static ResourcePath testResources() { in testResources()
43 TEST_RESOURCE_PATH = new ResourcePath(R.class, resourceFile("res"), resourceFile("assets")); in testResources()
48 public static ResourcePath systemResources() { in systemResources()
52 …SYSTEM_RESOURCE_PATH = new ResourcePath(android.R.class, fs.join("raw-res/res"), fs.join("raw-res/… in systemResources()
57 public static ResourcePath sdkResources(int apiLevel) { in sdkResources()
59 return new ResourcePath(null, sdkResFs.join("raw-res/res"), null, null); in sdkResources()
/external/webrtc/modules/audio_processing/test/
Dbitexactness_tools.cc28 return ResourcePath("far8_stereo", "pcm"); in GetApmRenderTestVectorFileName()
30 return ResourcePath("far16_stereo", "pcm"); in GetApmRenderTestVectorFileName()
32 return ResourcePath("far32_stereo", "pcm"); in GetApmRenderTestVectorFileName()
34 return ResourcePath("far48_stereo", "pcm"); in GetApmRenderTestVectorFileName()
44 return ResourcePath("near8_stereo", "pcm"); in GetApmCaptureTestVectorFileName()
46 return ResourcePath("near16_stereo", "pcm"); in GetApmCaptureTestVectorFileName()
48 return ResourcePath("near32_stereo", "pcm"); in GetApmCaptureTestVectorFileName()
50 return ResourcePath("near48_stereo", "pcm"); in GetApmCaptureTestVectorFileName()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DBuckManifestFactoryTest.java20 import org.robolectric.res.ResourcePath;
64 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in multiple_res_dirs()
67 …new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res2"), FileFsFile.from("buck/assets2… in multiple_res_dirs()
68 new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res1"), null), in multiple_res_dirs()
69 new ResourcePath(manifest.getRClass(), null, FileFsFile.from("buck/assets1")) in multiple_res_dirs()
93 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in pass_multiple_res_dirs_in_file()
96 …new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res2"), FileFsFile.from("buck/assets2… in pass_multiple_res_dirs_in_file()
97 new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res1"), null), in pass_multiple_res_dirs_in_file()
98 new ResourcePath(manifest.getRClass(), null, FileFsFile.from("buck/assets1")) in pass_multiple_res_dirs_in_file()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dtest_utils.cc31 using webrtc::test::ResourcePath;
55 test::ResourcePath("audio_processing/agc2/rnn_vad/samples", "pcm"), in CreatePcmSamplesReader()
64 ResourcePath("audio_processing/agc2/rnn_vad/pitch_buf_24k", "dat"), cols); in CreatePitchBuffer24kHzReader()
71 ResourcePath("audio_processing/agc2/rnn_vad/pitch_lp_res", "dat"), in CreateLpResidualAndPitchPeriodGainReader()
79 test::ResourcePath("audio_processing/agc2/rnn_vad/vad_prob", "dat")); in CreateVadProbsReader()
85 ResourcePath("audio_processing/agc2/rnn_vad/pitch_search_int", "dat"), in PitchTestData()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceMerger.java12 ResourcePath appResourcePath = appManifest.getResourcePath(); in buildResourceTable()
13 List<ResourcePath> allResourcePaths = appManifest.getIncludedResourcePaths(); in buildResourceTable()
14 for (ResourcePath resourcePath : allResourcePaths) { in buildResourceTable()
21 allResourcePaths.toArray(new ResourcePath[allResourcePaths.size()])); in buildResourceTable()
DResourcePath.java3 public class ResourcePath { class
9 public ResourcePath(Class<?> rClass, FsFile resourceBase, FsFile assetsDir) { in ResourcePath() method in ResourcePath
13 …public ResourcePath(Class<?> rClass, FsFile resourceBase, FsFile assetsDir, Class<?> internalRClas… in ResourcePath() method in ResourcePath
50 ResourcePath that = (ResourcePath) o; in equals()
DResourceTableFactory.java10 public PackageResourceTable newFrameworkResourceTable(ResourcePath resourcePath) { in newFrameworkResourceTable()
36 public PackageResourceTable newResourceTable(String packageName, ResourcePath... resourcePaths) { in newResourceTable()
43 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
49 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
110 private void parseResourceFiles(ResourcePath resourcePath, PackageResourceTable resourceTable) {
169 …private void loadOpaque(ResourcePath resourcePath, final PackageResourceTable resourceTable, final…
DRawResourceLoader.java6 private final ResourcePath resourcePath;
8 public RawResourceLoader(ResourcePath resourcePath) { in RawResourceLoader()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java69 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
92 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixFilePath()
115 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
138 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsFilePath()
/external/webrtc/modules/audio_processing/vad/
Dpitch_based_vad_unittest.cc25 test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat"); in TEST()
30 test::ResourcePath("audio_processing/agc/agc_pitch_gain", "dat"); in TEST()
35 test::ResourcePath("audio_processing/agc/agc_pitch_lag", "dat"); in TEST()
40 test::ResourcePath("audio_processing/agc/agc_voicing_prob", "dat"); in TEST()
Dvad_audio_proc_unittest.cc32 test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat"); in TEST()
37 test::ResourcePath("audio_processing/agc/agc_audio", "pcm"); in TEST()
Dstandalone_vad_unittest.cc67 fopen(test::ResourcePath("audio_processing/agc/agc_audio", "pcm").c_str(), in TEST()
72 test::ResourcePath("audio_processing/agc/agc_vad", "dat").c_str(), "rb"); in TEST()
Dvoice_activity_detector_unittest.cc62 fopen(test::ResourcePath("audio_processing/transient/audio16kHz", "pcm") in TEST()
97 fopen(test::ResourcePath("audio_processing/transient/audio32kHz", "pcm") in TEST()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java10 import org.robolectric.res.ResourcePath;
34 ResourcePath resourcePath = createRuntimeSdkResourcePath(dependencyResolver); in getSystemResourceTable()
41 private ResourcePath createRuntimeSdkResourcePath(DependencyResolver dependencyResolver) { in createRuntimeSdkResourcePath()
47 return new ResourcePath(androidRClass, in createRuntimeSdkResourcePath()
DAndroidConfigurer.java17 import org.robolectric.res.ResourcePath;
55 .doNotAcquireClass(ResourcePath.class) in configure()
/external/webrtc/api/test/
Dcreate_peer_connection_quality_test_frame_generator.cc84 slides.push_back(test::ResourcePath("web_screenshot_1850_1110", "yuv")); in CreateScreenShareFrameGenerator()
85 slides.push_back(test::ResourcePath("presentation_1850_1110", "yuv")); in CreateScreenShareFrameGenerator()
86 slides.push_back(test::ResourcePath("photo_1850_1110", "yuv")); in CreateScreenShareFrameGenerator()
87 slides.push_back(test::ResourcePath("difficult_photo_1850_1110", "yuv")); in CreateScreenShareFrameGenerator()
/external/webrtc/test/pc/e2e/
Dpeer_connection_e2e_smoke_test.cc162 test::ResourcePath("pc_quality_smoke_test_alice_source", "wav"); in TEST_F()
178 test::ResourcePath("pc_quality_smoke_test_bob_source", "wav"); in TEST_F()
228 test::ResourcePath("pc_quality_smoke_test_alice_source", "wav"); in TEST_F()
237 test::ResourcePath("pc_quality_smoke_test_bob_source", "wav"); in TEST_F()
263 test::ResourcePath("pc_quality_smoke_test_alice_source", "wav"); in TEST_F()
292 test::ResourcePath("pc_quality_smoke_test_alice_source", "wav"); in TEST_F()
326 test::ResourcePath("pc_quality_smoke_test_alice_source", "wav"); in TEST_F()
/external/webrtc/rtc_tools/network_tester/
Dnetwork_tester_unittest.cc24 0, 0, webrtc::test::ResourcePath("network_tester/client_config", "dat"), in TEST()
28 webrtc::test::ResourcePath("network_tester/server_config", "dat"), in TEST()
/external/webrtc/modules/audio_coding/test/
DTestVADDTX.cc223 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), 32000, 1, in Test()
243 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), 32000, 1, in Perform()
252 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), 32000, 1, in Perform()
265 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), 32000, in Perform()
279 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), 32000, in Perform()
/external/webrtc/modules/audio_processing/transient/
Dtransient_detector_unittest.cc51 test::ResourcePath(detect_file_name.str(), "dat").c_str()); in TEST()
63 test::ResourcePath(audio_file_name.str(), "pcm").c_str()); in TEST()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_libvpx.cc61 config.filepath = ResourcePath(config.filename, "yuv"); in CreateConfig()
350 config.filepath = ResourcePath(config.filename, "yuv"); in TEST()
379 config.filepath = ResourcePath(config.filename, "yuv"); in TEST()
416 config.filepath = ResourcePath(config.filename, "yuv"); in TEST()
436 config.filepath = ResourcePath(config.filename, "yuv"); in TEST()
462 config.filepath = ResourcePath(config.filename, "yuv"); in TEST()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DApkLoader.java14 import org.robolectric.res.ResourcePath;
53 .newFrameworkResourceTable(new ResourcePath(android.R.class, null, null)); in getCompileTimeSdkResourceTable()
/external/webrtc/modules/audio_processing/agc/
Dloudness_histogram_unittest.cc96 RunTest(true, test::ResourcePath( in TEST_F()
102 RunTest(false, test::ResourcePath( in TEST_F()
/external/webrtc/test/
Drtp_file_reader_unittest.cc26 test::ResourcePath("video_coding/" + filename, "rtp"); in Init()
67 test::ResourcePath("video_coding/" + filename, "pcap"); in Init()
/external/llvm-project/clang/tools/libclang/
DCIndexer.cpp145 StringRef ResourcePath = getClangResourcesPath(); in getClangToolchainPath() local
148 llvm::sys::path::parent_path(ResourcePath)))); in getClangToolchainPath()

1234