summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-12-06 14:49:12 -0800
committerAlex Sakhartchouk <alexst@google.com>2011-12-06 14:49:12 -0800
commit5de7657ac2aea7ae671e2cadb05dcb6207a51404 (patch)
treebb0715a4a993827f3f954ba9d1d1c59aaa239d9a /tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java
parent16bf40b8c7cd1c4f5efefa352003308ef9dcce81 (diff)
downloadframeworks_base-5de7657ac2aea7ae671e2cadb05dcb6207a51404.zip
frameworks_base-5de7657ac2aea7ae671e2cadb05dcb6207a51404.tar.gz
frameworks_base-5de7657ac2aea7ae671e2cadb05dcb6207a51404.tar.bz2
Fixing file writing bug
Change-Id: I01b6fa9f14ecf01e8957cb1b9277ba88eea46845
Diffstat (limited to 'tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java')
-rw-r--r--tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java b/tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java
index cca237e..c8b58b2 100644
--- a/tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java
+++ b/tests/RenderScriptTests/PerfTest/src/com/android/perftest/UiTest.java
@@ -82,6 +82,9 @@ public class UiTest implements RsBenchBaseTest{
mTests[index].testName = Allocation.createFromString(mRS,
mNames[index],
Allocation.USAGE_SCRIPT);
+ mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
+ mNames[index],
+ Allocation.USAGE_SCRIPT);
ScriptField_UiTestData_s.Item dataItem = new ScriptField_UiTestData_s.Item();
dataItem.testId = testId;