• Home
  • Raw
  • Download

Lines Matching refs:execution

357         ANeuralNetworksExecution* execution = nullptr;  in executeWithMemoryAsInput()  local
358 ASSERT_EQ(ANeuralNetworksExecution_create(compilation, &execution), in executeWithMemoryAsInput()
360 ASSERT_EQ(ANeuralNetworksExecution_setInputFromMemory(execution, 0, nullptr, memory, 0, 0), in executeWithMemoryAsInput()
362 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &data, sizeof(float)), in executeWithMemoryAsInput()
364 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), expectedResult); in executeWithMemoryAsInput()
365 ANeuralNetworksExecution_free(execution); in executeWithMemoryAsInput()
371 ANeuralNetworksExecution* execution = nullptr; in executeWithMemoryAsOutput() local
372 ASSERT_EQ(ANeuralNetworksExecution_create(compilation, &execution), in executeWithMemoryAsOutput()
374 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, &data, sizeof(float)), in executeWithMemoryAsOutput()
376 ASSERT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, 0), in executeWithMemoryAsOutput()
378 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), expectedResult); in executeWithMemoryAsOutput()
379 ANeuralNetworksExecution_free(execution); in executeWithMemoryAsOutput()
1216 ANeuralNetworksExecution* execution = nullptr; in TEST_F() local
1217 EXPECT_EQ(ANeuralNetworksExecution_create(nullptr, &execution), in TEST_F()
1221 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_BAD_STATE); in TEST_F()
1249 ANeuralNetworksExecution* execution; in TEST_F() local
1250 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1253 EXPECT_EQ(ANeuralNetworksExecution_setTimeout(execution, kShortWaitInNanoseconds), in TEST_F()
1255 ANeuralNetworksExecution_free(execution); in TEST_F()
1262 ANeuralNetworksExecution* execution; in TEST_F() local
1263 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1265 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, false), in TEST_F()
1267 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, true), ANEURALNETWORKS_BAD_DATA); in TEST_F()
1270 ANeuralNetworksExecution_free(execution); in TEST_F()
1284 ANeuralNetworksExecution* execution; in TEST_F() local
1285 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
1290 ASSERT_EQ(ANeuralNetworksExecution_setReusable(execution, false), in TEST_F()
1293 ANeuralNetworksExecution_free(execution); in TEST_F()
1301 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, &in0, sizeof(in0)), in TEST_F()
1303 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F()
1305 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F()
1308 ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &out0, sizeof(out0)), in TEST_F()
1319 auto testTooLate = [this, execution, &in0, &out0, memory] { in TEST_F()
1324 ANeuralNetworksExecution_setLoopTimeout(execution, kShortWaitInNanoseconds), in TEST_F()
1329 ASSERT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(execution, true), in TEST_F()
1332 ANeuralNetworksExecution_enableInputAndOutputPadding(execution, false), in TEST_F()
1338 ANeuralNetworksExecution_setInput(execution, 0, nullptr, &in0, sizeof(in0)), in TEST_F()
1340 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &out0, in TEST_F()
1343 ASSERT_EQ(ANeuralNetworksExecution_setInputFromMemory(execution, 0, nullptr, memory, in TEST_F()
1346 ASSERT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, in TEST_F()
1352 ASSERT_EQ(ANeuralNetworksExecution_setReusable(execution, true), in TEST_F()
1354 ASSERT_EQ(ANeuralNetworksExecution_setReusable(execution, false), in TEST_F()
1361 ASSERT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), in TEST_F()
1366 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), ANEURALNETWORKS_BAD_STATE); in TEST_F()
1373 ASSERT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), in TEST_F()
1382 execution, nullptr, 0, 0, &event), in TEST_F()
1391 ASSERT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), in TEST_F()
1400 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), in TEST_F()
1409 ASSERT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), in TEST_F()
1418 execution, nullptr, 0, 0, &event), in TEST_F()
1431 ANeuralNetworksExecution_free(execution); in TEST_F()
1443 ANeuralNetworksExecution* execution) -> int { in testConcurrentExecution() argument
1447 int result = ANeuralNetworksExecution_startCompute(execution, &event); in testConcurrentExecution()
1455 return ANeuralNetworksExecution_compute(execution); in testConcurrentExecution()
1461 result = ANeuralNetworksExecution_burstCompute(execution, burst); in testConcurrentExecution()
1469 execution, nullptr, 0, 0, &event); in testConcurrentExecution()
1486 ANeuralNetworksExecution* execution; in testConcurrentExecution() local
1487 ASSERT_EQ(ANeuralNetworksExecution_create(compilation, &execution), in testConcurrentExecution()
1492 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, &in0, sizeof(in0)), in testConcurrentExecution()
1494 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in testConcurrentExecution()
1496 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in testConcurrentExecution()
1499 ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &out0, sizeof(out0)), in testConcurrentExecution()
1502 ASSERT_EQ(ANeuralNetworksExecution_setReusable(execution, reusable), in testConcurrentExecution()
1506 ANeuralNetworksExecution_free(execution); in testConcurrentExecution()
1512 auto first = std::async(std::launch::async, [compute, executionType1, execution] { in testConcurrentExecution()
1513 return compute(executionType1, execution); in testConcurrentExecution()
1515 auto second = std::async(std::launch::async, [compute, executionType2, execution] { in testConcurrentExecution()
1516 return compute(executionType2, execution); in testConcurrentExecution()
1535 ANeuralNetworksExecution_free(execution); in testConcurrentExecution()
1846 ANeuralNetworksExecution* execution; in TEST_F() local
1847 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
1861 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, nullptr, 0, in TEST_F()
1866 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 999, nullptr, memory, 0, in TEST_F()
1871 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, -1, nullptr, memory, 0, in TEST_F()
1876 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, in TEST_F()
1881 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, in TEST_F()
1886 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, in TEST_F()
1891 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, &kInvalidTensorType1, in TEST_F()
1894 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, &kInvalidTensorType2, in TEST_F()
1899 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, 8), in TEST_F()
1901 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, 8), in TEST_F()
1904 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, buffer, 8), in TEST_F()
1909 ANeuralNetworksExecution_free(execution); in TEST_F()
1915 ANeuralNetworksExecution* execution; in TEST_F() local
1916 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
1932 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, in TEST_F()
1938 ANeuralNetworksExecution_free(execution); in TEST_F()
2029 ANeuralNetworksExecution* execution; in TEST_F() local
2041 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
2043 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, buffer, 8), in TEST_F()
2045 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(execution, true), in TEST_F()
2047 ANeuralNetworksExecution_free(execution); in TEST_F()
2050 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
2052 EXPECT_EQ(ANeuralNetworksExecution_setInputFromMemory(execution, 0, nullptr, memory, 0, 8), in TEST_F()
2054 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(execution, true), in TEST_F()
2056 ANeuralNetworksExecution_free(execution); in TEST_F()
2059 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
2061 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, buffer, 8), in TEST_F()
2063 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(execution, true), in TEST_F()
2065 ANeuralNetworksExecution_free(execution); in TEST_F()
2068 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
2070 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, 8), in TEST_F()
2072 EXPECT_EQ(ANeuralNetworksExecution_enableInputAndOutputPadding(execution, true), in TEST_F()
2074 ANeuralNetworksExecution_free(execution); in TEST_F()
2111 ANeuralNetworksExecution* execution = nullptr; in TEST_F() local
2112 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
2114 ASSERT_EQ(ANeuralNetworksExecution_setInputFromMemory(execution, 0, nullptr, memory, 0, 0), in TEST_F()
2116 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &data, sizeof(float)), in TEST_F()
2123 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), ANEURALNETWORKS_OP_FAILED); in TEST_F()
2124 ANeuralNetworksExecution_free(execution); in TEST_F()
2244 ANeuralNetworksExecution* execution; in TEST_F() local
2245 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2250 EXPECT_EQ(ANeuralNetworksExecution_startCompute(execution, nullptr), in TEST_F()
2254 ANeuralNetworksExecution_free(execution); in TEST_F()
2277 ANeuralNetworksExecution* execution; in TEST_F() local
2278 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2281 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, input0, sizeof(input0)), in TEST_F()
2283 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, input1, sizeof(input1)), in TEST_F()
2285 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, input2, sizeof(input2)), in TEST_F()
2287 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, output0, sizeof(output0)), in TEST_F()
2290 EXPECT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2298 ANeuralNetworksExecution_free(execution); in TEST_F()
2359 ANeuralNetworksExecution* execution; in TEST_F() local
2360 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2364 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, input0, sizeof(input0)), in TEST_F()
2366 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, input1, sizeof(input1)), in TEST_F()
2368 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, input2, sizeof(input2)), in TEST_F()
2370 EXPECT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, output0, sizeof(output0)), in TEST_F()
2375 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandRank(execution, 0, &rank), in TEST_F()
2377 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandDimensions(execution, 0, dims), in TEST_F()
2381 EXPECT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2389 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandRank(execution, 0, nullptr), in TEST_F()
2391 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandDimensions(execution, 0, nullptr), in TEST_F()
2395 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandRank(execution, -1, &rank), in TEST_F()
2397 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandRank(execution, 999, &rank), in TEST_F()
2399 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandDimensions(execution, -1, dims), in TEST_F()
2401 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandDimensions(execution, 999, dims), in TEST_F()
2404 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandRank(execution, 0, &rank), in TEST_F()
2406 EXPECT_EQ(ANeuralNetworksExecution_getOutputOperandDimensions(execution, 0, dims), in TEST_F()
2413 ANeuralNetworksExecution_free(execution); in TEST_F()
2539 ANeuralNetworksExecution* execution; in TEST_F() local
2540 EXPECT_EQ(ANeuralNetworksExecution_create(secondCompilation, &execution), in TEST_F()
2543 EXPECT_EQ(ANeuralNetworksExecution_burstCompute(execution, mBurst), ANEURALNETWORKS_BAD_DATA); in TEST_F()
2545 ANeuralNetworksExecution_free(execution); in TEST_F()
2633 ANeuralNetworksExecution* execution; in TEST_F() local
2634 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2635 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, input0, sizeof(input0)), in TEST_F()
2637 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, input1, sizeof(input1)), in TEST_F()
2639 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, input2, sizeof(input2)), in TEST_F()
2641 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, in TEST_F()
2646 EXPECT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2647 ANeuralNetworksExecution_free(execution); in TEST_F()
2674 ANeuralNetworksExecution* execution; in TEST_F() local
2675 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2676 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, input0, sizeof(input0)), in TEST_F()
2678 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, input1, sizeof(input1)), in TEST_F()
2680 EXPECT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, input2, sizeof(input2)), in TEST_F()
2682 EXPECT_EQ(ANeuralNetworksExecution_setOutputFromMemory(execution, 0, nullptr, memory, 0, in TEST_F()
2687 EXPECT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2688 ANeuralNetworksExecution_free(execution); in TEST_F()
2873 ANeuralNetworksExecution* execution = nullptr; in TEST_F() local
2874 EXPECT_EQ(ANeuralNetworksExecution_create(nullptr, &execution), in TEST_F()
2881 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_BAD_STATE); in TEST_F()
2990 ANeuralNetworksExecution* execution; in TEST_F() local
2991 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
2994 EXPECT_EQ(ANeuralNetworksExecution_setTimeout(execution, kShortWaitInNanoseconds), in TEST_F()
2996 ANeuralNetworksExecution_free(execution); in TEST_F()
3006 ANeuralNetworksExecution* execution; in TEST_F() local
3007 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
3009 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, false), in TEST_F()
3011 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, true), ANEURALNETWORKS_BAD_DATA); in TEST_F()
3014 ANeuralNetworksExecution_free(execution); in TEST_F()
3093 ANeuralNetworksExecution* execution = nullptr; in TEST_F() local
3094 EXPECT_EQ(ANeuralNetworksExecution_create(mInvalidCompilation, &execution), in TEST_F()
3096 ANeuralNetworksExecution_free(execution); in TEST_F()
3126 ANeuralNetworksExecution* execution; in TEST_F() local
3127 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F()
3134 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, false), in TEST_F()
3136 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, true), in TEST_F()
3141 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, &in0, sizeof(in0)), in TEST_F()
3143 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F()
3145 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F()
3147 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &out0, sizeof(out0)), in TEST_F()
3153 execution, ANEURALNETWORKS_DURATION_ON_HARDWARE, &duration), in TEST_F()
3156 execution, ANEURALNETWORKS_DURATION_IN_DRIVER, &duration), in TEST_F()
3159 auto testSetTimeoutTooLate = [execution] { in TEST_F()
3161 EXPECT_EQ(ANeuralNetworksExecution_setTimeout(execution, kShortWaitInNanoseconds), in TEST_F()
3165 auto testMeasureTooLate = [execution] { in TEST_F()
3167 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, false), in TEST_F()
3169 EXPECT_EQ(ANeuralNetworksExecution_setMeasureTiming(execution, true), in TEST_F()
3177 ASSERT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), in TEST_F()
3187 ASSERT_EQ(ANeuralNetworksExecution_compute(execution), ANEURALNETWORKS_NO_ERROR); in TEST_F()
3196 ASSERT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), in TEST_F()
3205 ASSERT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution, nullptr, in TEST_F()
3248 std::vector<ANeuralNetworksExecution*> executions = {nullptr, execution}; in TEST_F()
3265 ANeuralNetworksExecution_free(execution); in TEST_F()
3293 ANeuralNetworksExecution* execution; in runExecutionSetTimeoutTest() local
3294 ASSERT_EQ(ANeuralNetworksExecution_create(compilation, &execution), in runExecutionSetTimeoutTest()
3297 [execution] { ANeuralNetworksExecution_free(execution); }); in runExecutionSetTimeoutTest()
3301 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 0, nullptr, &in0, sizeof(in0)), in runExecutionSetTimeoutTest()
3303 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in runExecutionSetTimeoutTest()
3305 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in runExecutionSetTimeoutTest()
3307 ASSERT_EQ(ANeuralNetworksExecution_setOutput(execution, 0, nullptr, &out0, sizeof(out0)), in runExecutionSetTimeoutTest()
3311 EXPECT_EQ(ANeuralNetworksExecution_setTimeout(execution, timeoutDuration), in runExecutionSetTimeoutTest()
3332 EXPECT_EQ(ANeuralNetworksExecution_startCompute(execution, &event), in runExecutionSetTimeoutTest()
3339 checkResult(ANeuralNetworksExecution_compute(execution)); in runExecutionSetTimeoutTest()
3346 checkResult(ANeuralNetworksExecution_burstCompute(execution, burst)); in runExecutionSetTimeoutTest()
3352 EXPECT_EQ(ANeuralNetworksExecution_startComputeWithDependencies(execution, nullptr, in runExecutionSetTimeoutTest()