• Home
  • Raw
  • Download

Lines Matching refs:NativeBridgeState

55 enum class NativeBridgeState {  enum
69 static const char* GetNativeBridgeStateString(NativeBridgeState state) { in GetNativeBridgeStateString()
71 case NativeBridgeState::kNotSetup: in GetNativeBridgeStateString()
74 case NativeBridgeState::kOpened: in GetNativeBridgeStateString()
77 case NativeBridgeState::kPreInitialized: in GetNativeBridgeStateString()
80 case NativeBridgeState::kInitialized: in GetNativeBridgeStateString()
83 case NativeBridgeState::kClosed: in GetNativeBridgeStateString()
89 static NativeBridgeState state = NativeBridgeState::kNotSetup;
196 state = NativeBridgeState::kClosed; in CloseNativeBridge()
206 if (state != NativeBridgeState::kNotSetup) { in LoadNativeBridge()
249 state = NativeBridgeState::kOpened; in LoadNativeBridge()
252 return state == NativeBridgeState::kOpened; in LoadNativeBridge()
265 if (state != NativeBridgeState::kOpened) { in PreInitializeNativeBridge()
285 state = NativeBridgeState::kPreInitialized; in PreInitializeNativeBridge()
416 if (state == NativeBridgeState::kPreInitialized) { in InitializeNativeBridge()
435 if (state == NativeBridgeState::kPreInitialized) { in InitializeNativeBridge()
438 state = NativeBridgeState::kInitialized; in InitializeNativeBridge()
451 return state == NativeBridgeState::kInitialized; in InitializeNativeBridge()
459 case NativeBridgeState::kOpened: in UnloadNativeBridge()
460 case NativeBridgeState::kPreInitialized: in UnloadNativeBridge()
461 case NativeBridgeState::kInitialized: in UnloadNativeBridge()
467 case NativeBridgeState::kNotSetup: in UnloadNativeBridge()
472 case NativeBridgeState::kClosed: in UnloadNativeBridge()
483 return state == NativeBridgeState::kOpened in NativeBridgeAvailable()
484 || state == NativeBridgeState::kPreInitialized in NativeBridgeAvailable()
485 || state == NativeBridgeState::kInitialized; in NativeBridgeAvailable()
491 return state == NativeBridgeState::kInitialized; in NativeBridgeInitialized()