Home
last modified time | relevance | path

Searched refs:toNonNullString (Results 1 – 2 of 2) sorted by relevance

/external/sl4a/Utils/src/com/googlecode/android_scripting/
DConvertUtils.java85 public static <T1, T2> String toNonNullString(T1 obj, @NonNull IFunction<T1, T2> function) { in toNonNullString() method in ConvertUtils
89 return toNonNullString(function.call(obj)); in toNonNullString()
99 public static <T> String toNonNullString(T obj) { in toNonNullString() method in ConvertUtils
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java19 import static com.googlecode.android_scripting.ConvertUtils.toNonNullString;
969 acct.put("Address", toNonNullString(data.getAddress(), Uri::toSafeString)); in buildPhoneAccount()
970 acct.put("SubscriptionAddress", toNonNullString(data.getSubscriptionAddress(), in buildPhoneAccount()
972 acct.put("Label", toNonNullString(data.getLabel())); in buildPhoneAccount()
973 acct.put("ShortDescription", toNonNullString(data.getShortDescription())); in buildPhoneAccount()