Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
Dcom_android_providers_media_FuseDaemon.cpp88 return reinterpret_cast<jlong>(new fuse::FuseDaemon(env, media_provider)); in com_android_providers_media_FuseDaemon_new()
96 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_start()
118 const fuse::FuseDaemon* daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_is_started()
124 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_delete()
132 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_should_open_with_fuse()
148 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_uses_fuse_passthrough()
158 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_invalidate_fuse_dentry_cache()
175 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_check_fd_access()
184 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_initialize_device_id()
195 fuse::FuseDaemon* const daemon = reinterpret_cast<fuse::FuseDaemon*>(java_daemon); in com_android_providers_media_FuseDaemon_setup_volume_db_backup()
[all …]
DFuseDaemon.h34 class FuseDaemon final {
36 FuseDaemon(JNIEnv* env, jobject mediaProvider);
38 ~FuseDaemon() = default;
142 FuseDaemon(const FuseDaemon&) = delete;
143 void operator=(const FuseDaemon&) = delete;
DFuseDaemon.cpp2367 bool FuseDaemon::ShouldOpenWithFuse(int fd, bool for_read, const std::string& path) { in ShouldOpenWithFuse()
2395 bool FuseDaemon::UsesFusePassthrough() const { in UsesFusePassthrough()
2399 void FuseDaemon::InvalidateFuseDentryCache(const std::string& path) { in InvalidateFuseDentryCache()
2424 FuseDaemon::FuseDaemon(JNIEnv* env, jobject mediaProvider) : mp(env, mediaProvider), in FuseDaemon() function in mediaprovider::fuse::FuseDaemon
2427 bool FuseDaemon::IsStarted() const { in IsStarted()
2467 void FuseDaemon::Start(android::base::unique_fd fd, const std::string& path, in Start()
2573 std::unique_ptr<FdAccessResult> FuseDaemon::CheckFdAccess(int fd, uid_t uid) const { in CheckFdAccess()
2599 void FuseDaemon::InitializeDeviceId(const std::string& path) { in InitializeDeviceId()
2610 void FuseDaemon::SetupLevelDbConnection(const std::string& instance_name) { in SetupLevelDbConnection()
2632 void FuseDaemon::SetupLevelDbInstances() { in SetupLevelDbInstances()
[all …]
DAndroid.bp28 "FuseDaemon.cpp",
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DExternalStorageServiceImpl.java56 private static final Map<String, FuseDaemon> sFuseDaemons = new HashMap<>();
92 FuseDaemon daemon = new FuseDaemon(mediaProvider, this, deviceFd, sessionId, in onStartSession()
131 FuseDaemon daemon = onExitSession(sessionId); in onEndSession()
160 public FuseDaemon onExitSession(@NonNull String sessionId) { in onExitSession()
170 public static FuseDaemon getFuseDaemon(String sessionId) { in getFuseDaemon()
DFuseDaemon.java37 public final class FuseDaemon extends Thread { class
53 public FuseDaemon(@NonNull MediaProvider mediaProvider, in FuseDaemon() method in FuseDaemon
/packages/providers/MediaProvider/
Dlogging.sh10 adb shell setprop log.tag.FuseDaemon DEBUG
15 adb shell setprop log.tag.FuseDaemon INFO
22 adb shell setprop log.tag.FuseDaemon VERBOSE
28 adb shell setprop log.tag.FuseDaemon INFO
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseBackupAndRecovery.java49 import com.android.providers.media.fuse.FuseDaemon;
276 FuseDaemon fuseDaemonExternalPrimary = getFuseDaemonForFileWithWait(new File( in setupVolumeDbBackupAndRecovery()
293 FuseDaemon fuseDaemonPublicVolume = getFuseDaemonForPath( in setupVolumeDbBackupAndRecovery()
370 FuseDaemon fuseDaemon; in backupInternalDatabase()
409 FuseDaemon fuseDaemonExternalPrimary; in backupExternalDatabase()
420 FuseDaemon fuseDaemonPublicVolume; in backupExternalDatabase()
481 private void backupDataValues(FuseDaemon fuseDaemon, Cursor c) throws IOException { in backupDataValues()
485 private void backupDataValues(FuseDaemon externalPrimaryFuseDaemon, in backupDataValues()
486 FuseDaemon publicVolumeFuseDaemon, Cursor c) throws IOException { in backupDataValues()
568 private FuseDaemon getFuseDaemonForPath(@NonNull String path) in getFuseDaemonForPath()
[all …]
DMediaProvider.java287 import com.android.providers.media.fuse.FuseDaemon;
7355 FuseDaemon daemon = getFuseDaemonForFile(new File(arg), mVolumeCache);
7507 FuseDaemon fuseDaemon = getFuseDaemonForFile(file, mVolumeCache);
9336 public static FuseDaemon getFuseDaemonForFile(@NonNull File file, VolumeCache volumeCache)
9338 final FuseDaemon daemon = ExternalStorageServiceImpl.getFuseDaemon(
9348 public static FuseDaemon getFuseDaemonForFileWithWait(@NonNull File file,
9350 FuseDaemon fuseDaemon = null;
9375 final FuseDaemon daemon = getFuseDaemonForFile(new File(path), mVolumeCache);
9514 FuseDaemon daemon = null;
10796 return FuseDaemon.native_is_fuse_thread();
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DPulledMetrics.java30 import com.android.providers.media.fuse.FuseDaemon;
98 if (!FuseDaemon.native_is_fuse_thread()) { in logFileAccessViaFuse()
117 if (FuseDaemon.native_is_fuse_thread()) { in logVolumeAccessViaMediaProvider()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTestDatabaseBackupAndRecovery.java21 import com.android.providers.media.fuse.FuseDaemon;
79 protected FuseDaemon getFuseDaemonForFileWithWait(File fuseFilePath) in getFuseDaemonForFileWithWait()