Lines Matching refs:NativeBridgeState

43 enum class NativeBridgeState {  enum
57 static const char* GetNativeBridgeStateString(NativeBridgeState state) { in GetNativeBridgeStateString()
59 case NativeBridgeState::kNotSetup: in GetNativeBridgeStateString()
62 case NativeBridgeState::kOpened: in GetNativeBridgeStateString()
65 case NativeBridgeState::kPreInitialized: in GetNativeBridgeStateString()
68 case NativeBridgeState::kInitialized: in GetNativeBridgeStateString()
71 case NativeBridgeState::kClosed: in GetNativeBridgeStateString()
77 static NativeBridgeState state = NativeBridgeState::kNotSetup;
170 state = NativeBridgeState::kClosed; in CloseNativeBridge()
180 if (state != NativeBridgeState::kNotSetup) { in LoadNativeBridge()
223 state = NativeBridgeState::kOpened; in LoadNativeBridge()
226 return state == NativeBridgeState::kOpened; in LoadNativeBridge()
258 if (state != NativeBridgeState::kOpened) { in PreInitializeNativeBridge()
278 state = NativeBridgeState::kPreInitialized; in PreInitializeNativeBridge()
409 if (state == NativeBridgeState::kPreInitialized) { in InitializeNativeBridge()
428 if (state == NativeBridgeState::kPreInitialized) { in InitializeNativeBridge()
431 state = NativeBridgeState::kInitialized; in InitializeNativeBridge()
444 return state == NativeBridgeState::kInitialized; in InitializeNativeBridge()
452 case NativeBridgeState::kOpened: in UnloadNativeBridge()
453 case NativeBridgeState::kPreInitialized: in UnloadNativeBridge()
454 case NativeBridgeState::kInitialized: in UnloadNativeBridge()
460 case NativeBridgeState::kNotSetup: in UnloadNativeBridge()
465 case NativeBridgeState::kClosed: in UnloadNativeBridge()
476 return state == NativeBridgeState::kOpened in NativeBridgeAvailable()
477 || state == NativeBridgeState::kPreInitialized in NativeBridgeAvailable()
478 || state == NativeBridgeState::kInitialized; in NativeBridgeAvailable()
484 return state == NativeBridgeState::kInitialized; in NativeBridgeInitialized()