| /expo/packages/expo-modules-core/ios/Swift/ |
| H A D | JavaScriptFunction.swift | 27 …public func call(_ arguments: Any..., usingThis this: JavaScriptObject? = nil) throws -> ReturnTyp… in call() function 28 return try call(withArguments: arguments, asConstructor: false, usingThis: this) in call() 35 return try call(withArguments: arguments, asConstructor: true, usingThis: nil) in callAsConstructor() 41 …private func call(withArguments arguments: [Any] = [], asConstructor: Bool = false, usingThis this… in call() function 45 let value = rawFunction.call(withArguments: arguments, thisObject: this, asConstructor: false) in call()
|
| H A D | ModuleHolder.swift | 64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -… 73 function.call(by: self, withArguments: args, appContext: appContext, callback: callback) 83 let result = try function.call(by: self, withArguments: arguments, appContext: appContext) in callSync() 127 try? $0.call(module, nil) in post() 133 try? $0.call(module, payload) in post<PayloadType>() 147 definition.functions["startObserving"]?.call(withArguments: [], appContext: appContext) in modifyListenersCount() 149 definition.functions["stopObserving"]?.call(withArguments: [], appContext: appContext) in modifyListenersCount()
|
| H A D | EventListener.swift | 6 let call: (Any?, Any?) throws -> Void variable 13 self.call = { _, _ in listener() } 21 self.call = { sender, _ in 34 self.call = { sender, payload in
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/ |
| H A D | JavaScriptFunction.swift | 27 …public func call(_ arguments: Any..., usingThis this: JavaScriptObject? = nil) throws -> ReturnTyp… in call() function 28 return try call(withArguments: arguments, asConstructor: false, usingThis: this) in call() 35 return try call(withArguments: arguments, asConstructor: true, usingThis: nil) in callAsConstructor() 41 …private func call(withArguments arguments: [Any] = [], asConstructor: Bool = false, usingThis this… in call() function 45 let value = rawFunction.call(withArguments: arguments, thisObject: this, asConstructor: false) in call()
|
| H A D | ModuleHolder.swift | 64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -… 73 function.call(by: self, withArguments: args, appContext: appContext, callback: callback) 83 let result = try function.call(by: self, withArguments: arguments, appContext: appContext) in callSync() 127 try? $0.call(module, nil) in post() 133 try? $0.call(module, payload) in post<PayloadType>() 147 definition.functions["startObserving"]?.call(withArguments: [], appContext: appContext) in modifyListenersCount() 149 definition.functions["stopObserving"]?.call(withArguments: [], appContext: appContext) in modifyListenersCount()
|
| H A D | EventListener.swift | 6 let call: (Any?, Any?) throws -> Void variable 13 self.call = { _, _ in listener() } 21 self.call = { sender, _ in 34 self.call = { sender, payload in
|
| /expo/android/expoview/src/main/java/host/exp/exponent/notifications/ |
| H A D | ExponentNotification.kt | 46 call("putString", NotificationConstants.NOTIFICATION_ORIGIN_KEY, origin) in toWriteableMap() 48 call("putString", NotificationConstants.NOTIFICATION_DATA_KEY, body) in toWriteableMap() 49 call("putInt", NotificationConstants.NOTIFICATION_ID_KEY, notificationId) in toWriteableMap() 50 call("putBoolean", NotificationConstants.NOTIFICATION_IS_MULTIPLE_KEY, isMultiple) in toWriteableMap() 51 call("putBoolean", NotificationConstants.NOTIFICATION_REMOTE_KEY, isRemote) in toWriteableMap() 52 call("putString", NotificationConstants.NOTIFICATION_ACTION_TYPE, actionType) in toWriteableMap() 53 call("putString", NotificationConstants.NOTIFICATION_INPUT_TEXT, inputText) in toWriteableMap()
|
| /expo/android/expoview/src/main/java/host/exp/exponent/network/ |
| H A D | ExponentHttpClient.kt | 29 fun call(request: Request, callback: ExpoHttpCallback) { in onFailure() method in host.exp.exponent.network.ExponentHttpClient 31 override fun onFailure(call: Call, e: IOException) { in onFailure() 36 override fun onResponse(call: Call, response: Response) { in onFailure() 45 override fun onFailure(call: Call, e: IOException) { in callSafe() 50 override fun onResponse(call: Call, response: Response) { in callSafe() 66 call( in callDefaultCache() 108 override fun onFailure(call: Call, e: IOException) { in tryForcedCachedResponse() 109 tryHardCodedResponse(uri, call, callback, initialResponse, initialException) in tryForcedCachedResponse() 113 override fun onResponse(call: Call, response: Response) { in tryForcedCachedResponse() 125 call: Call, in tryHardCodedResponse() [all …]
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/ |
| H A D | ModuleHolder.swift | 64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -… 69 function.call(by: self, withArguments: args, callback: callback) 79 let result = try function.call(by: self, withArguments: arguments) in callSync() 118 try? $0.call(module, nil) in post() 124 try? $0.call(module, payload) in post<PayloadType>() 135 definition.functions["startObserving"]?.call(withArguments: []) in modifyListenersCount() 137 definition.functions["stopObserving"]?.call(withArguments: []) in modifyListenersCount()
|
| H A D | EventListener.swift | 6 let call: (Any?, Any?) throws -> Void variable 13 self.call = { _, _ in listener() } 21 self.call = { sender, _ in 34 self.call = { sender, payload in
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/ |
| H A D | ModuleHolder.swift | 64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -… 69 function.call(by: self, withArguments: args, callback: callback) 79 let result = try function.call(by: self, withArguments: arguments) in callSync() 118 try? $0.call(module, nil) in post() 124 try? $0.call(module, payload) in post<PayloadType>() 135 definition.functions["startObserving"]?.call(withArguments: []) in modifyListenersCount() 137 definition.functions["stopObserving"]?.call(withArguments: []) in modifyListenersCount()
|
| H A D | EventListener.swift | 6 let call: (Any?, Any?) throws -> Void variable 13 self.call = { _, _ in listener() } 21 self.call = { sender, _ in 34 self.call = { sender, payload in
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Functions/ |
| H A D | AnyFunction.swift | 41 …func call(by owner: AnyObject?, withArguments args: [Any], callback: @escaping (FunctionCallResult… 50 func call(withArguments args: [Any]) { in call() function 51 call(by: nil, withArguments: args, callback: { _ in }) in call()
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/ |
| H A D | EventListener.kt | 12 fun call() { in call() method 24 fun call(sender: Payload) { in call() method 36 fun call(sender: Sender, payload: Payload) { in call() method
|
| /expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/functions/ |
| H A D | AnyFunctionTest.kt | 34 fun `call should throw if pass more arguments then expected`() { in call should throw if pass more arguments then expected() 39 method.call( in call should throw if pass more arguments then expected() 53 fun `call should throw if pass less arguments then expected`() { in call should throw if pass less arguments then expected() 58 method.call( in call should throw if pass less arguments then expected() 71 fun `call should throw if cannot convert args`() { in call should throw if cannot convert args() 81 method.call( in call should throw if cannot convert args()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/events/ |
| H A D | EventListener.kt | 12 fun call() { in call() method 24 fun call(sender: Payload) { in call() method 36 fun call(sender: Sender, payload: Payload) { in call() method
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/events/ |
| H A D | EventListener.kt | 12 fun call() { in call() method 24 fun call(sender: Payload) { in call() method 36 fun call(sender: Sender, payload: Payload) { in call() method
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/events/ |
| H A D | EventListener.kt | 12 fun call() { in call() method 24 fun call(sender: Payload) { in call() method 36 fun call(sender: Sender, payload: Payload) { in call() method
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Functions/ |
| H A D | AnyFunction.swift | 46 …func call(by owner: AnyObject?, withArguments args: [Any], callback: @escaping (FunctionCallResult… 72 func call(withArguments args: [Any]) { in call() function 73 call(by: nil, withArguments: args, callback: { _ in }) in call()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/ |
| H A D | ModuleHolder.kt | 48 fun call(methodName: String, args: ReadableArray, promise: Promise) = exceptionDecorator({ in <lambda>() method 54 method.call(this, args, promise) in <lambda>() 65 return method.call(args) in <lambda>() 70 (listener as? BasicEventListener)?.call() in <lambda>() 76 (listener as? EventListenerWithPayload<Payload>)?.call(payload) in <lambda>() 82 (listener as? EventListenerWithSenderAndPayload<Sender, Payload>)?.call(sender, payload) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/ |
| H A D | ModuleHolder.kt | 48 fun call(methodName: String, args: ReadableArray, promise: Promise) = exceptionDecorator({ in <lambda>() method in abi48_0_0.expo.modules.kotlin.ModuleHolder 54 method.call(this, args, promise) in <lambda>() 65 return method.call(args) in <lambda>() 70 (listener as? BasicEventListener)?.call() in <lambda>() 76 (listener as? EventListenerWithPayload<Payload>)?.call(payload) in <lambda>() 82 (listener as? EventListenerWithSenderAndPayload<Sender, Payload>)?.call(sender, payload) in <lambda>()
|
| /expo/packages/expo-modules-core/ios/Swift/Functions/ |
| H A D | AnyFunction.swift | 47 …func call(by owner: AnyObject?, withArguments args: [Any], appContext: AppContext, callback: @esca… 73 func call(withArguments args: [Any], appContext: AppContext) { in call() function 74 call(by: nil, withArguments: args, appContext: appContext, callback: { _ in }) in call()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Functions/ |
| H A D | AnyFunction.swift | 47 …func call(by owner: AnyObject?, withArguments args: [Any], appContext: AppContext, callback: @esca… 73 func call(withArguments args: [Any], appContext: AppContext) { in call() function 74 call(by: nil, withArguments: args, appContext: appContext, callback: { _ in }) in call()
|
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | FunctionSpec.swift | 18 .call(function: functionName, args: []) { result in in spec() 36 .call(function: functionName, args: []) in spec() 101 .call(function: functionName, args: [dict]) { result in in spec() 119 .call(function: functionName, args: [dict]) { result in in spec() 131 .call(by: nil, withArguments: [dict], appContext: appContext) as? TestRecord in spec() 149 .call(function: functionName, args: [dict]) { result in in spec() 173 .call(function: functionName, args: [1, 2]) { result in in spec() 193 expect({ try fn.call(by: nil, withArguments: ["test"], appContext: appContext) }) in spec() 207 expect({ try fn.call(by: nil, withArguments: [], appContext: appContext) }) in spec() 225 .call(function: functionName, args: [1]) { result in in spec() [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | FunctionSpec.swift | 18 .call(function: functionName, args: []) { result in in spec() 36 .call(function: functionName, args: []) in spec() 101 .call(function: functionName, args: [dict]) { result in in spec() 119 .call(function: functionName, args: [dict]) { result in in spec() 131 .call(by: nil, withArguments: [dict], appContext: appContext) as? TestRecord in spec() 149 .call(function: functionName, args: [dict]) { result in in spec() 173 .call(function: functionName, args: [1, 2]) { result in in spec() 193 expect({ try fn.call(by: nil, withArguments: ["test"], appContext: appContext) }) in spec() 207 expect({ try fn.call(by: nil, withArguments: [], appContext: appContext) }) in spec() 225 .call(function: functionName, args: [1]) { result in in spec() [all …]
|