Lines Matching refs:pb
180 String pb = ((String)args[0]).trim(); in register()
181 while (pb.endsWith("\"")) pb = pb.substring(0, pb.length() - 1); in register()
182 while (pb.startsWith("\"")) pb = pb.substring(1, pb.length()); in register()
183 if (getPhonebookResult(pb, false) == null && !"SM".equals(pb)) { in register()
184 if (DBG) log("Dont know phonebook: '" + pb + "'"); in register()
187 mCurrentPhonebook = pb; in register()
303 private synchronized PhonebookResult getPhonebookResult(String pb, boolean force) { in getPhonebookResult() argument
304 if (pb == null) { in getPhonebookResult()
307 PhonebookResult pbr = mPhonebooks.get(pb); in getPhonebookResult()
312 if (!queryPhonebook(pb, pbr)) { in getPhonebookResult()
320 private synchronized boolean queryPhonebook(String pb, PhonebookResult pbr) { in queryPhonebook() argument
324 if (pb.equals("ME")) { in queryPhonebook()
327 } else if (pb.equals("DC")) { in queryPhonebook()
329 } else if (pb.equals("RC")) { in queryPhonebook()
331 } else if (pb.equals("MC")) { in queryPhonebook()
360 Log.i(TAG, "Refreshed phonebook " + pb + " with " + pbr.cursor.getCount() + " results"); in queryPhonebook()