public void a(String s, long l) { b b1 = com.inmobi.commons.core.b.b.a(); int i = b1.a("ad", "ad_type=? AND insertion_ts<?", new String[] { s, String.valueOf(System.currentTimeMillis() - 1000L * l) }); Logger.a(com.inmobi.commons.core.utilities.Logger.InternalLogLevel.INTERNAL, b, (new StringBuilder()).append("Deleted ").append(i).append(" expired ads from cache of type:").append(s).toString()); b1.b(); }
public int a(long l, String s) { b b1 = com.inmobi.commons.core.b.b.a(); int i; if (s != null && s.trim().length() != 0) { i = b1.b("ad", "placement_id=? AND ad_size=?", new String[] { String.valueOf(l), s }); } else { i = b1.b("ad", "placement_id=?", new String[] { String.valueOf(l) }); } b1.b(); return i; }
private c() { b b1 = com.inmobi.commons.core.b.b.a(); b1.a("ad", "(id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, placement_id INTEGER NOT NULL, ad_content TEXT NOT NULL, ad_type TEXT NOT NULL, ad_size TEXT, insertion_ts INTEGER NOT NULL, imp_id TEXT NOT NULL)"); b1.b(); }
list = Arrays.toString(s).replace("[", "(").replace("]", ")"); b1.a("ad", (new StringBuilder()).append("id IN ").append(list).toString(), null); b1.b(); if (true) goto _L2; else goto _L8