Lines Matching refs:action

223     void SetCurrentAction(TestAction* action);
317 TestResults::SetCurrentAction(TestAction* action) in SetCurrentAction() argument
319 m_currentAction = action; in SetCurrentAction()
992 TestAction action; in run_phases() local
993 action.packageName = apk.package; in run_phases()
994 action.runner = apk.runner; in run_phases()
995 action.target = target; in run_phases()
996 testActions.push_back(action); in run_phases()
999 ActivityAction action; in run_phases() local
1000 action.packageName = apk.package; in run_phases()
1001 action.className = full_class_name(apk.package, actionString); in run_phases()
1002 activityActions.push_back(action); in run_phases()
1010 TestAction action; in run_phases() local
1011 action.packageName = apk.package; in run_phases()
1012 action.runner = apk.runner; in run_phases()
1013 action.className = full_class_name(apk.package, actionString); in run_phases()
1014 action.target = target; in run_phases()
1015 testActions.push_back(action); in run_phases()
1029 TestAction& action = testActions[i]; in run_phases() local
1030 testResults.SetCurrentAction(&action); in run_phases()
1031 err = run_instrumentation_test(action.packageName, action.runner, action.className, in run_phases()
1034 if (action.passCount == 0 && action.failCount == 0) { in run_phases()
1035 action.target->actionsWithNoTests = true; in run_phases()
1037 int total = action.passCount + action.failCount; in run_phases()
1039 total, total > 1 ? "s" : "", action.target->name.c_str()); in run_phases()
1040 if (action.passCount == 0 && action.failCount == 0) { in run_phases()
1041 printf("%s%d passed, %d failed%s\n", g_escapeYellowBold, action.passCount, in run_phases()
1042 action.failCount, g_escapeEndColor); in run_phases()
1043 } else if (action.failCount > 0) { in run_phases()
1044 printf("%d passed, %s%d failed%s\n", action.passCount, g_escapeRedBold, in run_phases()
1045 action.failCount, g_escapeEndColor); in run_phases()
1047 printf("%s%d passed%s, %d failed\n", g_escapeGreenBold, action.passCount, in run_phases()
1048 g_escapeEndColor, action.failCount); in run_phases()
1064 ActivityAction& action = activityActions[i]; in run_phases() local
1066 pretty_component_name(action.packageName, action.className).c_str()); in run_phases()
1070 const ActivityAction& action = activityActions[0]; in run_phases() local
1071 string componentName = action.packageName + "/" + action.className; in run_phases()
1163 const ActivityAction& action = activityActions[0]; in run_phases() local
1164 printf(" %s\n", pretty_component_name(action.packageName, action.className).c_str()); in run_phases()