| /expo/packages/@expo/cli/src/start/server/__tests__/ |
| H A D | openPlatforms-test.ts | 25 const manager = createDevServerManager(); constant 29 expect(manager.getDefaultDevServer).toHaveBeenCalledTimes(2); 30 expect(manager.getWebDevServer).toHaveBeenCalledTimes(1); 40 const manager = createDevServerManager(); constant 46 expect(manager.getWebDevServer).toHaveBeenCalledTimes(1); 51 const manager = createDevServerManager(); constant 52 asMock(manager.getDefaultDevServer).mockImplementationOnce( 68 expect(manager.getWebDevServer).toHaveBeenCalledTimes(1); 73 const manager = createDevServerManager(); constant 74 asMock(manager.getDefaultDevServer) [all …]
|
| /expo/packages/expo-gl/common/ |
| H A D | EXGLContextManager.cpp | 18 ContextManager manager; variable 39 std::shared_lock lock(manager.contextLookupMutex); in ContextGet() 40 auto iter = manager.contextMap.find(id); in ContextGet() 56 EXGLContextId ctxId = manager.nextId++; in ContextCreate() 57 if (manager.contextMap.find(ctxId) != manager.contextMap.end()) { in ContextCreate() 67 std::shared_lock lock(manager.contextLookupMutex); in ContextDestroy() 69 auto iter = manager.contextMap.find(id); in ContextDestroy() 70 if (iter != manager.contextMap.end()) { in ContextDestroy() 78 auto iter = manager.contextMap.find(id); in ContextDestroy() 79 if (iter != manager.contextMap.end()) { in ContextDestroy() [all …]
|
| /expo/ios/versioned/sdk49/ExpoGL/common/ |
| H A D | ABI49_0_0EXGLContextManager.cpp | 18 ContextManager manager; variable 39 std::shared_lock lock(manager.contextLookupMutex); in ContextGet() 40 auto iter = manager.contextMap.find(id); in ContextGet() 56 ABI49_0_0EXGLContextId ctxId = manager.nextId++; in ContextCreate() 57 if (manager.contextMap.find(ctxId) != manager.contextMap.end()) { in ContextCreate() 67 std::shared_lock lock(manager.contextLookupMutex); in ContextDestroy() 69 auto iter = manager.contextMap.find(id); in ContextDestroy() 70 if (iter != manager.contextMap.end()) { in ContextDestroy() 78 auto iter = manager.contextMap.find(id); in ContextDestroy() 79 if (iter != manager.contextMap.end()) { in ContextDestroy() [all …]
|
| /expo/ios/versioned/sdk47/EXGL/common/ |
| H A D | ABI47_0_0EXGLContextManager.cpp | 17 ContextManager manager; variable 20 std::lock_guard lock(manager.contextLookupMutex); in ContextGet() 21 auto iter = manager.contextMap.find(id); in ContextGet() 36 std::lock_guard<std::mutex> lock(manager.contextLookupMutex); in ContextCreate() 37 ABI47_0_0EXGLContextId ctxId = manager.nextId++; in ContextCreate() 38 if (manager.contextMap.find(ctxId) != manager.contextMap.end()) { in ContextCreate() 42 manager.contextMap[ctxId].ctx = new ABI47_0_0EXGLContext(ctxId); in ContextCreate() 47 std::lock_guard lock(manager.contextLookupMutex); in ContextDestroy() 49 auto iter = manager.contextMap.find(id); in ContextDestroy() 50 if (iter != manager.contextMap.end()) { in ContextDestroy() [all …]
|
| /expo/ios/versioned/sdk48/ExpoGL/common/ |
| H A D | ABI48_0_0EXGLContextManager.cpp | 17 ContextManager manager; variable 20 std::lock_guard lock(manager.contextLookupMutex); in ContextGet() 21 auto iter = manager.contextMap.find(id); in ContextGet() 36 std::lock_guard<std::mutex> lock(manager.contextLookupMutex); in ContextCreate() 37 ABI48_0_0EXGLContextId ctxId = manager.nextId++; in ContextCreate() 38 if (manager.contextMap.find(ctxId) != manager.contextMap.end()) { in ContextCreate() 42 manager.contextMap[ctxId].ctx = new ABI48_0_0EXGLContext(ctxId); in ContextCreate() 47 std::lock_guard lock(manager.contextLookupMutex); in ContextDestroy() 49 auto iter = manager.contextMap.find(id); in ContextDestroy() 50 if (iter != manager.contextMap.end()) { in ContextDestroy() [all …]
|
| /expo/packages/@expo/package-manager/src/ios/__tests__/ |
| H A D | CocoaPodsPackageManager-test.ts | 131 manager._runAsync = jest.fn((commands: string[]) => { 163 expect(manager._runAsync).toBeCalledTimes(3); 171 manager._runAsync = jest.fn((commands: string[]) => { 192 await manager.installAsync(); 197 expect(manager._runAsync).toBeCalledTimes(2); 204 manager._runAsync = jest.fn((commands: string[]) => { 214 await manager.installAsync(); 218 expect(manager._runAsync).toBeCalledTimes(1); 225 expect(() => manager.addAsync()).toThrow('Unimplemented'); 242 expect(await manager.versionAsync()).toBe('1.9.1'); [all …]
|
| /expo/packages/expo-dev-menu/ios/ |
| H A D | DevMenuPackagerConnectionHandler.swift | 6 weak var manager: DevMenuManager? variable 8 init(manager: DevMenuManager) { 9 self.manager = manager 36 guard let manager = manager, in sendDevCommandNotificationHandler() variable 38 let bridge = manager.currentBridge in sendDevCommandNotificationHandler() 49 self.manager?.toggleMenu() in sendDevCommandNotificationHandler() 67 self.manager?.toggleMenu() in devMenuNotificationHanlder()
|
| H A D | DevMenuViewController.swift | 9 private let manager: DevMenuManager variable 13 init(manager: DevMenuManager) { 14 self.manager = manager 56 return manager.userInterfaceStyle 67 "showOnboardingView": manager.shouldShowOnboarding(), in initialProps() 68 "appInfo": manager.getAppInfo(), in initialProps() 69 "devSettings": manager.getDevSettings(), in initialProps() 73 "registeredCallbacks": manager.registeredCallbacks.map { $0.name } in initialProps() 80 if !hasCalledJSLoadedNotification, let bridge = manager.appInstance.bridge { in forceRootViewToRenderHack() 89 guard let bridge = manager.appInstance.bridge else { in maybeRebuildRootView()
|
| H A D | DevMenuExtensionDefaultSettings.swift | 6 private let manager: DevMenuManager variable 8 init(manager: DevMenuManager) { 9 self.manager = manager
|
| H A D | DevMenuAppInstance.swift | 10 private let manager: DevMenuManager variable 13 init(manager: DevMenuManager) { 14 self.manager = manager 20 init(manager: DevMenuManager, bridge: RCTBridge) { 21 self.manager = manager
|
| /expo/packages/@expo/cli/src/run/android/ |
| H A D | resolveDevice.ts | 9 const manager = await AndroidDeviceManager.resolveAsync(); constant 10 debug(`Resolved default device (name: ${manager.device.name}, pid: ${manager.device.pid})`); 11 return manager; 15 const manager = constant 21 logDeviceArgument(manager.device.name); 22 return manager;
|
| /expo/packages/@expo/cli/src/start/platforms/android/__tests__/ |
| H A D | AndroidPlatformManager-test.ts | 22 const manager = new AndroidDeviceManager({ udid: '123', name: 'Pixel 5' } as any); constant 23 manager.isAppInstalledAsync = jest.fn(() => Promise.resolve(true)); 24 return manager; 29 const manager = new AndroidPlatformManager('/', 8081, { constant 36 manager._getAppIdResolver = jest.fn(() => ({ 40 expect(await manager.openAsync({ runtime: 'custom' })).toStrictEqual({ 49 const manager = new AndroidPlatformManager('/', 8081, { constant 55 manager._getAppIdResolver = jest.fn(() => ({ 59 await manager.openAsync({ runtime: 'custom', props: { launchActivity: 'foobar' } })
|
| /expo/ios/Exponent/Kernel/Services/ |
| H A D | EXSensorManager.m | 35 - (CMMotionManager *)manager 54 [self.manager stopAccelerometerUpdates]; 55 [self.manager stopDeviceMotionUpdates]; 56 [self.manager stopGyroUpdates]; 57 [self.manager stopMagnetometerUpdates]; 109 [self.manager stopDeviceMotionUpdates]; 121 if ([self.manager isGyroAvailable]) { 124 if (![self.manager isGyroActive]) { 142 [self.manager stopGyroUpdates]; 216 [self.manager [all …]
|
| /expo/packages/expo-dev-launcher/ios/Errors/ |
| H A D | EXDevLauncherErrorViewController.swift | 7 internal weak var manager: EXDevLauncherErrorManager? variable 14 guard let appUrl = manager?.controller?.appManifestURLWithFallback() else { in reload() 21 manager?.controller?.loadApp(appUrl, onSuccess: nil, onError: { [weak self] _ in in reload() 31 error = manager?.consumeError() in viewDidLoad() 50 …public static func create(forManager manager: EXDevLauncherErrorManager) -> EXDevLauncherErrorView… in create() 58 vc?.manager = manager in create() 64 self.manager?.controller?.navigateToLauncher() in navigateToLauncher()
|
| /expo/ios/versioned/sdk49/EXSensors/EXSensors/ |
| H A D | ABI49_0_0EXSensorsManager.m | 44 - (CMMotionManager *)manager 62 [[self manager] stopAccelerometerUpdates]; 63 [[self manager] stopDeviceMotionUpdates]; 64 [[self manager] stopGyroUpdates]; 65 [[self manager] stopMagnetometerUpdates]; 97 [[self manager] stopAccelerometerUpdates]; 164 [[self manager] stopDeviceMotionUpdates]; 181 if ([[self manager] isGyroAvailable]) { 184 if (![[self manager] isGyroActive]) { 207 [[self manager] stopGyroUpdates]; [all …]
|
| /expo/ios/versioned/sdk47/EXSensors/EXSensors/ |
| H A D | ABI47_0_0EXSensorsManager.m | 44 - (CMMotionManager *)manager 62 [[self manager] stopAccelerometerUpdates]; 63 [[self manager] stopDeviceMotionUpdates]; 64 [[self manager] stopGyroUpdates]; 65 [[self manager] stopMagnetometerUpdates]; 97 [[self manager] stopAccelerometerUpdates]; 164 [[self manager] stopDeviceMotionUpdates]; 181 if ([[self manager] isGyroAvailable]) { 184 if (![[self manager] isGyroActive]) { 207 [[self manager] stopGyroUpdates]; [all …]
|
| /expo/ios/versioned/sdk48/EXSensors/EXSensors/ |
| H A D | ABI48_0_0EXSensorsManager.m | 44 - (CMMotionManager *)manager 62 [[self manager] stopAccelerometerUpdates]; 63 [[self manager] stopDeviceMotionUpdates]; 64 [[self manager] stopGyroUpdates]; 65 [[self manager] stopMagnetometerUpdates]; 97 [[self manager] stopAccelerometerUpdates]; 164 [[self manager] stopDeviceMotionUpdates]; 181 if ([[self manager] isGyroAvailable]) { 184 if (![[self manager] isGyroActive]) { 207 [[self manager] stopGyroUpdates]; [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Modules/ |
| H A D | ABI48_0_0RCTUIManagerObserverCoordinator.h | 32 - (void)uiManagerWillPerformLayout:(ABI48_0_0RCTUIManager *)manager; 40 - (void)uiManagerDidPerformLayout:(ABI48_0_0RCTUIManager *)manager; 46 - (void)uiManagerWillPerformMounting:(ABI48_0_0RCTUIManager *)manager; 53 - (BOOL)uiManager:(ABI48_0_0RCTUIManager *)manager performMountingWithBlock:(ABI48_0_0RCTUIManagerM… 59 - (void)uiManagerDidPerformMounting:(ABI48_0_0RCTUIManager *)manager;
|
| H A D | ABI48_0_0RCTUIManagerObserverCoordinator.mm | 42 - (void)uiManagerWillPerformLayout:(ABI48_0_0RCTUIManager *)manager 48 [observer uiManagerWillPerformLayout:manager]; 53 - (void)uiManagerDidPerformLayout:(ABI48_0_0RCTUIManager *)manager 59 [observer uiManagerDidPerformLayout:manager]; 64 - (void)uiManagerWillPerformMounting:(ABI48_0_0RCTUIManager *)manager 70 [observer uiManagerWillPerformMounting:manager]; 75 - (BOOL)uiManager:(ABI48_0_0RCTUIManager *)manager performMountingWithBlock:(ABI48_0_0RCTUIManagerM… 81 if ([observer uiManager:manager performMountingWithBlock:block]) { 89 - (void)uiManagerDidPerformMounting:(ABI48_0_0RCTUIManager *)manager 95 [observer uiManagerDidPerformMounting:manager];
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Modules/ |
| H A D | ABI47_0_0RCTUIManagerObserverCoordinator.h | 32 - (void)uiManagerWillPerformLayout:(ABI47_0_0RCTUIManager *)manager; 40 - (void)uiManagerDidPerformLayout:(ABI47_0_0RCTUIManager *)manager; 46 - (void)uiManagerWillPerformMounting:(ABI47_0_0RCTUIManager *)manager; 53 - (BOOL)uiManager:(ABI47_0_0RCTUIManager *)manager performMountingWithBlock:(ABI47_0_0RCTUIManagerM… 59 - (void)uiManagerDidPerformMounting:(ABI47_0_0RCTUIManager *)manager;
|
| H A D | ABI47_0_0RCTUIManagerObserverCoordinator.mm | 42 - (void)uiManagerWillPerformLayout:(ABI47_0_0RCTUIManager *)manager 48 [observer uiManagerWillPerformLayout:manager]; 53 - (void)uiManagerDidPerformLayout:(ABI47_0_0RCTUIManager *)manager 59 [observer uiManagerDidPerformLayout:manager]; 64 - (void)uiManagerWillPerformMounting:(ABI47_0_0RCTUIManager *)manager 70 [observer uiManagerWillPerformMounting:manager]; 75 - (BOOL)uiManager:(ABI47_0_0RCTUIManager *)manager performMountingWithBlock:(ABI47_0_0RCTUIManagerM… 81 if ([observer uiManager:manager performMountingWithBlock:block]) { 89 - (void)uiManagerDidPerformMounting:(ABI47_0_0RCTUIManager *)manager 95 [observer uiManagerDidPerformMounting:manager];
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Modules/ |
| H A D | ABI49_0_0RCTUIManagerObserverCoordinator.h | 32 - (void)uiManagerWillPerformLayout:(ABI49_0_0RCTUIManager *)manager; 40 - (void)uiManagerDidPerformLayout:(ABI49_0_0RCTUIManager *)manager; 46 - (void)uiManagerWillPerformMounting:(ABI49_0_0RCTUIManager *)manager; 53 - (BOOL)uiManager:(ABI49_0_0RCTUIManager *)manager performMountingWithBlock:(ABI49_0_0RCTUIManagerM… 59 - (void)uiManagerDidPerformMounting:(ABI49_0_0RCTUIManager *)manager;
|
| H A D | ABI49_0_0RCTUIManagerObserverCoordinator.mm | 42 - (void)uiManagerWillPerformLayout:(ABI49_0_0RCTUIManager *)manager 48 [observer uiManagerWillPerformLayout:manager]; 53 - (void)uiManagerDidPerformLayout:(ABI49_0_0RCTUIManager *)manager 59 [observer uiManagerDidPerformLayout:manager]; 64 - (void)uiManagerWillPerformMounting:(ABI49_0_0RCTUIManager *)manager 70 [observer uiManagerWillPerformMounting:manager]; 75 - (BOOL)uiManager:(ABI49_0_0RCTUIManager *)manager performMountingWithBlock:(ABI49_0_0RCTUIManagerM… 81 if ([observer uiManager:manager performMountingWithBlock:block]) { 89 - (void)uiManagerDidPerformMounting:(ABI49_0_0RCTUIManager *)manager 95 [observer uiManagerDidPerformMounting:manager];
|
| /expo/packages/@expo/cli/src/start/platforms/__tests__/ |
| H A D | PlatformManager-test.ts | 46 const manager = new PlatformManager('/', { constant 56 manager._getAppIdResolver = jest.fn(() => ({ 65 manager, 76 const { manager } = createManager(); constant 86 expect(await manager.openAsync({ runtime: 'expo' })).toStrictEqual({ 115 expect(await manager.openAsync({ runtime: 'expo' })).toStrictEqual({ 145 expect(await manager.openAsync({ runtime: 'expo' })).toStrictEqual({ 177 expect(await manager.openAsync({ runtime: 'expo' })).toStrictEqual({ 201 expect(await manager.openAsync({ runtime: 'web' })).toStrictEqual({ 288 manager._resolveAlternativeLaunchUrl = jest.fn(() => url); [all …]
|
| /expo/packages/@expo/cli/src/run/__tests__/ |
| H A D | startBundler-test.ts | 35 const manager = await startBundlerAsync('/', { constant 40 expect(manager.startAsync).toHaveBeenCalledWith([ 51 expect(manager.getDefaultDevServer).toBeCalled(); 55 const manager = await startBundlerAsync('/', { constant 60 expect(manager.startAsync).toHaveBeenCalledWith([ 72 expect(manager.getDefaultDevServer).not.toBeCalled();
|