Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/
DDatabaseUtils.java217 final Object bindArg = bindArgs[i]; in bindArgs() local
218 switch (getTypeOfObject(bindArg)) { in bindArgs()
223 st.bindLong(i + 1, ((Number) bindArg).longValue()); in bindArgs()
226 st.bindDouble(i + 1, ((Number) bindArg).doubleValue()); in bindArgs()
229 st.bindBlob(i + 1, (byte[]) bindArg); in bindArgs()
233 if (bindArg instanceof Boolean) { in bindArgs()
237 st.bindLong(i + 1, ((Boolean) bindArg).booleanValue() ? 1 : 0); in bindArgs()
239 st.bindString(i + 1, bindArg.toString()); in bindArgs()