Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DDatabaseUtils.java509 final Object bindArg = bindArgs[i]; in bindArgs() local
510 switch (getTypeOfObject(bindArg)) { in bindArgs()
515 st.bindLong(i + 1, ((Number) bindArg).longValue()); in bindArgs()
518 st.bindDouble(i + 1, ((Number) bindArg).doubleValue()); in bindArgs()
521 st.bindBlob(i + 1, (byte[]) bindArg); in bindArgs()
525 if (bindArg instanceof Boolean) { in bindArgs()
529 st.bindLong(i + 1, ((Boolean) bindArg).booleanValue() ? 1 : 0); in bindArgs()
531 st.bindString(i + 1, bindArg.toString()); in bindArgs()