core/process_utils library
Properties
- adbExecutable ↔ String
-
getter/setter pair
Functions
-
canKillAppPidOnHost(
) → bool -
cleanupTempFiles(
) → void -
extractDevicesJson(
String output) → String? -
Extracts the JSON array from
flutter devices --machineoutput. -
hasMeaningfulSessionFiles(
) → bool -
isAndroidAppPidAlive(
int pid) → bool -
isAndroidTarget(
) → bool -
isAppPidAlive(
int pid) → bool -
isProcessAlive(
int pid) → bool -
projectPathFromSessionDir(
) → String -
readAppId(
) → String? -
Reads the persisted app bundle id / package name from
.fdb/app_id.txt. -
readAppPid(
) → int? -
Reads the app VM PID from
appPidFilewritten byfdb launchafter the VM service is confirmed reachable. -
readControllerPid(
) → int? -
readControllerPort(
) → int? -
readControllerToken(
) → String? -
readDevice(
) → String? -
readLogCollectorPid(
) → int? - Read the log collector PID from its PID file.
-
readPid(
) → int? -
readPlatformInfo(
) → ({bool emulator, String platform})? -
Returns
(platform, emulator)from the platform file, or null if absent. -
readVmUri(
) → String? -
writeAppId(
String appId) → void -
Persists
appIdto.fdb/app_id.txtso later commands (e.g. crash-report) can use it without requiring--app-id. -
writePlatformInfo(
String targetPlatform, bool emulator) → void -
Stores the Flutter target platform string and emulator flag for the active
session. Written by
fdb launch, read byfdb screenshot.