Lines Matching defs:arg2
43 // delimiters for parsing carrier configs of the form "arg1, arg2 : action1, action2"
82 String arg2 = null;
92 arg2 = intent.getStringExtra(TelephonyIntents.EXTRA_ERROR_CODE_KEY);
106 matchConfig(config, arg1, arg2, actionList);
115 + "arg2: " + arg2);
122 * passing arg1, arg2 should match the format of the config
123 * case 1: config {actionIdx1, actionIdx2...} arg1 and arg2 must be null
124 * case 2: config {arg1, arg2 : actionIdx1, actionIdx2...} requires full match of non-null args
129 * @param arg2 second intent argument, set if required for config match
132 private static void matchConfig(String config, String arg1, String arg2,
137 if (splitStr.length == 1 && arg1 == null && arg2 == null) {
140 } else if (splitStr.length == 2 && arg1 != null && arg2 != null) {
144 TextUtils.equals(arg2, args[1])) {
147 } else if ((splitStr.length == 2) && (arg1 != null) && (arg2 == null)) {