Lines Matching defs:arg1
43 // delimiters for parsing carrier configs of the form "arg1, arg2 : action1, action2"
81 String arg1 = null;
91 arg1 = intent.getStringExtra(TelephonyIntents.EXTRA_APN_TYPE_KEY);
106 matchConfig(config, arg1, arg2, actionList);
114 Rlog.d(TAG, "no matching entry for signal: " + intent.getAction() + "arg1: " + arg1
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
125 * case 3: config {arg1 : actionIdx1, actionIdx2...} only need to match arg1
128 * @param arg1 first 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) {
143 if (args.length == 2 && TextUtils.equals(arg1, args[0]) &&
147 } else if ((splitStr.length == 2) && (arg1 != null) && (arg2 == null)) {
150 if (args.length == 1 && TextUtils.equals(arg1, args[0])) {