OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740

am: d660d03f7c

Change-Id: Ie39f06d2c162bfad204944a4c45a65950464e672
This commit is contained in:
Pawin Vongmasa
2019-09-09 16:50:51 -07:00
committed by android-build-merger
5 changed files with 9 additions and 9 deletions

View File

@@ -18,17 +18,17 @@ This folder includes test fixtures associated with testing audio encoder and dec
usage:
VtsHalMediaOmxV1\_0TargetAudioDecTest -I default -C <comp name> -R audio_decoder.<comp class> -P /sdcard/media/
VtsHalMediaOmxV1\_0TargetAudioDecTest -I default -C <comp name> -R audio_decoder.<comp class> -P /data/local/tmp/media/
VtsHalMediaOmxV1\_0TargetAudioEncTest -I default -C <comp name> -R audio_encoder.<comp class> -P /sdcard/media/
VtsHalMediaOmxV1\_0TargetAudioEncTest -I default -C <comp name> -R audio_encoder.<comp class> -P /data/local/tmp/media/
#### video :
This folder includes test fixtures associated with testing video encoder and decoder components such as simple encoding of a raw clip or decoding of an elementary stream, end of stream test, timestamp deviations test, flush test and so on. These tests are aimed towards testing the plugin that connects the component to the omx core.
usage:
VtsHalMediaOmxV1\_0TargetVideoDecTest -I default -C <comp name> -R video_decoder.<comp class> -P /sdcard/media/
VtsHalMediaOmxV1\_0TargetVideoDecTest -I default -C <comp name> -R video_decoder.<comp class> -P /data/local/tmp/media/
VtsHalMediaOmxV1\_0TargetVideoEncTest -I default -C <comp name> -R video_encoder.<comp class> -P /sdcard/media/
VtsHalMediaOmxV1\_0TargetVideoEncTest -I default -C <comp name> -R video_encoder.<comp class> -P /data/local/tmp/media/
While tesing audio/video encoder, decoder components, test fixtures require input files. These input are files are present in the folder 'res'. Before running the tests all the files in 'res' have to be placed in '/media/sdcard/' or a path of your choice and this path needs to be provided as an argument to the test application
While tesing audio/video encoder, decoder components, test fixtures require input files. These input are files are present in the folder 'res'. Before running the tests all the files in 'res' have to be placed in '/data/local/tmp/media' or a path of your choice and this path needs to be provided as an argument to the test application

View File

@@ -52,7 +52,7 @@ class ComponentTestEnvironment : public ::testing::Environment {
virtual void SetUp() {}
virtual void TearDown() {}
ComponentTestEnvironment() : instance("default"), res("/sdcard/media/") {}
ComponentTestEnvironment() : instance("default"), res("/data/local/tmp/media/") {}
void setInstance(const char* _instance) { instance = _instance; }

View File

@@ -52,7 +52,7 @@ class ComponentTestEnvironment : public ::testing::Environment {
virtual void SetUp() {}
virtual void TearDown() {}
ComponentTestEnvironment() : instance("default"), res("/sdcard/media/") {}
ComponentTestEnvironment() : instance("default"), res("/data/local/tmp/media/") {}
void setInstance(const char* _instance) { instance = _instance; }

View File

@@ -59,7 +59,7 @@ class ComponentTestEnvironment : public ::testing::Environment {
virtual void SetUp() {}
virtual void TearDown() {}
ComponentTestEnvironment() : instance("default"), res("/sdcard/media/") {}
ComponentTestEnvironment() : instance("default"), res("/data/local/tmp/media/") {}
void setInstance(const char* _instance) { instance = _instance; }

View File

@@ -70,7 +70,7 @@ class ComponentTestEnvironment : public ::testing::Environment {
virtual void SetUp() {}
virtual void TearDown() {}
ComponentTestEnvironment() : instance("default"), res("/sdcard/media/") {}
ComponentTestEnvironment() : instance("default"), res("/data/local/tmp/media/") {}
void setInstance(const char* _instance) { instance = _instance; }