mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Added query for Cleartext Storage in Android Database
This commit is contained in:
46
java/ql/test/stubs/google-android-9.0.0/android/database/DatabaseUtils.java
generated
Normal file
46
java/ql/test/stubs/google-android-9.0.0/android/database/DatabaseUtils.java
generated
Normal file
@@ -0,0 +1,46 @@
|
||||
package android.database;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
|
||||
public class DatabaseUtils {
|
||||
|
||||
public static ParcelFileDescriptor blobFileDescriptorForQuery(SQLiteDatabase db, String query,
|
||||
String[] selectionArgs) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static String stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) {
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
public static void createDbFromSqlStatements(Context context, String dbName, int dbVersion, String sqlStatements) {
|
||||
|
||||
}
|
||||
|
||||
public static int queryNumEntries(SQLiteDatabase db, String table, String selection) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static int queryNumEntries(SQLiteDatabase db, String table, String selection, String[] selectionArgs) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String concatenateWhere(String a, String b) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user