Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dcom_android_providers_media_leveldb_LevelDBInstance.cpp14 static std::string getStatusCode(leveldb::Status status) { in getStatusCode()
26 static jobject createLevelDBResult(JNIEnv* env, leveldb::Status status, std::string value) { in createLevelDBResult()
45 static leveldb::Status insertInLevelDB(JNIEnv* env, jobject obj, jlong leveldbptr, in insertInLevelDB()
57 leveldb::DB* leveldb = reinterpret_cast<leveldb::DB*>(leveldbptr); in insertInLevelDB() local
58 leveldb::Status status; in insertInLevelDB()
59 status = leveldb->Put(leveldb::WriteOptions(), utf_chars_key.c_str(), utf_chars_value.c_str()); in insertInLevelDB()
76 leveldb::Options options; in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance()
78 leveldb::DB* leveldb; in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance() local
79 leveldb::Status status = leveldb::DB::Open(options, utf_chars_path.c_str(), &leveldb); in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance()
81 return reinterpret_cast<jlong>(leveldb); in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance()
[all …]
DFuseDaemon.cpp409 std::map<std::string, leveldb::DB*> level_db_connection_map;
2618 leveldb::Options options; in SetupLevelDbConnection()
2620 leveldb::DB* leveldb; in SetupLevelDbConnection() local
2621 leveldb::Status status = leveldb::DB::Open(options, leveldbPath, &leveldb); in SetupLevelDbConnection()
2624 std::pair<std::string, leveldb::DB*>(instance_name, leveldb)); in SetupLevelDbConnection()
2678 leveldb::Status status; in DeleteFromLevelDb()
2679 status = fuse->level_db_connection_map[volume_name]->Delete(leveldb::WriteOptions(), key); in DeleteFromLevelDb()
2696 leveldb::Status status; in InsertInLevelDb()
2697 status = fuse->level_db_connection_map[volume_name]->Put(leveldb::WriteOptions(), key, in InsertInLevelDb()
2720 leveldb::Iterator* it = in ReadFilePathsFromLevelDb()
[all …]
DAndroid.bp44 "leveldb",
93 "leveldb",
/packages/providers/MediaProvider/
Dproguard.flags2 -keep public final class com.android.providers.media.leveldb.LevelDBResult { *; }
3 -keep public final class com.android.providers.media.leveldb.LevelDBEntry { *; }
/packages/providers/MediaProvider/src/com/android/providers/media/leveldb/
DLevelDBEntry.java17 package com.android.providers.media.leveldb;
DLevelDBResult.java17 package com.android.providers.media.leveldb;
DLevelDBManager.java17 package com.android.providers.media.leveldb;
DLevelDBInstance.java17 package com.android.providers.media.leveldb;
/packages/providers/MediaProvider/tests/src/com/android/providers/media/leveldb/
DLevelDBManagerTest.java17 package com.android.providers.media.leveldb;