| /expo/packages/expo-task-manager/android/src/main/java/expo/modules/taskManager/repository/ |
| H A D | ManagedTasksAndEventsRepository.java | 34 sEvents.put(appScopeKey, events); in putEvents() 39 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 44 return sEvents.containsKey(appScopeKey); in hasEvents() 49 sEvents.remove(appScopeKey); in removeEvents() 54 return sEvents.get(appScopeKey); in getEvents() 75 return sTasks.get(appScopeKey); in getTasks() 80 return sTasks.containsKey(appScopeKey); in hasTasks() 85 sTasks.put(appScopeKey, tasks); in putTasks() 90 sTasks.remove(appScopeKey); in removeTasks() 95 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | BareTasksAndEventsRepository.java | 43 sEvents.put(appScopeKey, events); in putEvents() 48 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 52 public boolean hasEvents(String appScopeKey) { in hasEvents() argument 53 return sEvents.containsKey(appScopeKey); in hasEvents() 58 sEvents.remove(appScopeKey); in removeEvents() 96 public boolean hasTasks(String appScopeKey) { in hasTasks() argument 97 return sTasks.containsKey(appScopeKey); in hasTasks() 102 sTasks.put(appScopeKey, tasks); in putTasks() 107 sTasks.remove(appScopeKey); in removeTasks() 112 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | TasksAndEventsRepository.java | 54 void putEvents(String appScopeKey, List<Bundle> events); in putEvents() argument 55 void putEventForAppScopeKey(String appScopeKey, Bundle body); in putEventForAppScopeKey() argument 56 boolean hasEvents(String appScopeKey); in hasEvents() argument 57 void removeEvents(String appScopeKey); in removeEvents() argument 58 List<Bundle> getEvents(String appScopeKey); in getEvents() argument 63 Map<String, TaskInterface> getTasks(String appScopeKey); in getTasks() argument 64 boolean hasTasks(String appScopeKey); in hasTasks() argument 65 void putTasks(String appScopeKey, Map<String, TaskInterface> tasks); in putTasks() argument 66 void removeTasks(String appScopeKey); in removeTasks() argument 67 void removeTask(String appScopeKey, String taskName); in removeTask() argument [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/taskManager/repository/ |
| H A D | ManagedTasksAndEventsRepository.java | 34 sEvents.put(appScopeKey, events); in putEvents() 39 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 44 return sEvents.containsKey(appScopeKey); in hasEvents() 49 sEvents.remove(appScopeKey); in removeEvents() 54 return sEvents.get(appScopeKey); in getEvents() 75 return sTasks.get(appScopeKey); in getTasks() 80 return sTasks.containsKey(appScopeKey); in hasTasks() 85 sTasks.put(appScopeKey, tasks); in putTasks() 90 sTasks.remove(appScopeKey); in removeTasks() 95 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | BareTasksAndEventsRepository.java | 43 sEvents.put(appScopeKey, events); in putEvents() 48 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 52 public boolean hasEvents(String appScopeKey) { in hasEvents() argument 53 return sEvents.containsKey(appScopeKey); in hasEvents() 58 sEvents.remove(appScopeKey); in removeEvents() 96 public boolean hasTasks(String appScopeKey) { in hasTasks() argument 97 return sTasks.containsKey(appScopeKey); in hasTasks() 102 sTasks.put(appScopeKey, tasks); in putTasks() 107 sTasks.remove(appScopeKey); in removeTasks() 112 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | TasksAndEventsRepository.java | 54 void putEvents(String appScopeKey, List<Bundle> events); in putEvents() argument 55 void putEventForAppScopeKey(String appScopeKey, Bundle body); in putEventForAppScopeKey() argument 56 boolean hasEvents(String appScopeKey); in hasEvents() argument 57 void removeEvents(String appScopeKey); in removeEvents() argument 58 List<Bundle> getEvents(String appScopeKey); in getEvents() argument 63 Map<String, TaskInterface> getTasks(String appScopeKey); in getTasks() argument 64 boolean hasTasks(String appScopeKey); in hasTasks() argument 65 void putTasks(String appScopeKey, Map<String, TaskInterface> tasks); in putTasks() argument 66 void removeTasks(String appScopeKey); in removeTasks() argument 67 void removeTask(String appScopeKey, String taskName); in removeTask() argument [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/taskManager/repository/ |
| H A D | ManagedTasksAndEventsRepository.java | 34 sEvents.put(appScopeKey, events); in putEvents() 39 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 44 return sEvents.containsKey(appScopeKey); in hasEvents() 49 sEvents.remove(appScopeKey); in removeEvents() 54 return sEvents.get(appScopeKey); in getEvents() 75 return sTasks.get(appScopeKey); in getTasks() 80 return sTasks.containsKey(appScopeKey); in hasTasks() 85 sTasks.put(appScopeKey, tasks); in putTasks() 90 sTasks.remove(appScopeKey); in removeTasks() 95 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | BareTasksAndEventsRepository.java | 43 sEvents.put(appScopeKey, events); in putEvents() 48 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 52 public boolean hasEvents(String appScopeKey) { in hasEvents() argument 53 return sEvents.containsKey(appScopeKey); in hasEvents() 58 sEvents.remove(appScopeKey); in removeEvents() 96 public boolean hasTasks(String appScopeKey) { in hasTasks() argument 97 return sTasks.containsKey(appScopeKey); in hasTasks() 102 sTasks.put(appScopeKey, tasks); in putTasks() 107 sTasks.remove(appScopeKey); in removeTasks() 112 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | TasksAndEventsRepository.java | 54 void putEvents(String appScopeKey, List<Bundle> events); in putEvents() argument 55 void putEventForAppScopeKey(String appScopeKey, Bundle body); in putEventForAppScopeKey() argument 56 boolean hasEvents(String appScopeKey); in hasEvents() argument 57 void removeEvents(String appScopeKey); in removeEvents() argument 58 List<Bundle> getEvents(String appScopeKey); in getEvents() argument 63 Map<String, TaskInterface> getTasks(String appScopeKey); in getTasks() argument 64 boolean hasTasks(String appScopeKey); in hasTasks() argument 65 void putTasks(String appScopeKey, Map<String, TaskInterface> tasks); in putTasks() argument 66 void removeTasks(String appScopeKey); in removeTasks() argument 67 void removeTask(String appScopeKey, String taskName); in removeTask() argument [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/taskManager/repository/ |
| H A D | ManagedTasksAndEventsRepository.java | 34 sEvents.put(appScopeKey, events); in putEvents() 39 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 44 return sEvents.containsKey(appScopeKey); in hasEvents() 49 sEvents.remove(appScopeKey); in removeEvents() 54 return sEvents.get(appScopeKey); in getEvents() 75 return sTasks.get(appScopeKey); in getTasks() 80 return sTasks.containsKey(appScopeKey); in hasTasks() 85 sTasks.put(appScopeKey, tasks); in putTasks() 90 sTasks.remove(appScopeKey); in removeTasks() 95 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | BareTasksAndEventsRepository.java | 43 sEvents.put(appScopeKey, events); in putEvents() 48 sEvents.get(appScopeKey).add(body); in putEventForAppScopeKey() 52 public boolean hasEvents(String appScopeKey) { in hasEvents() argument 53 return sEvents.containsKey(appScopeKey); in hasEvents() 58 sEvents.remove(appScopeKey); in removeEvents() 96 public boolean hasTasks(String appScopeKey) { in hasTasks() argument 97 return sTasks.containsKey(appScopeKey); in hasTasks() 102 sTasks.put(appScopeKey, tasks); in putTasks() 107 sTasks.remove(appScopeKey); in removeTasks() 112 if (sTasks.containsKey(appScopeKey)) { in removeTask() [all …]
|
| H A D | TasksAndEventsRepository.java | 54 void putEvents(String appScopeKey, List<Bundle> events); in putEvents() argument 55 void putEventForAppScopeKey(String appScopeKey, Bundle body); in putEventForAppScopeKey() argument 56 boolean hasEvents(String appScopeKey); in hasEvents() argument 57 void removeEvents(String appScopeKey); in removeEvents() argument 58 List<Bundle> getEvents(String appScopeKey); in getEvents() argument 63 Map<String, TaskInterface> getTasks(String appScopeKey); in getTasks() argument 64 boolean hasTasks(String appScopeKey); in hasTasks() argument 65 void putTasks(String appScopeKey, Map<String, TaskInterface> tasks); in putTasks() argument 66 void removeTasks(String appScopeKey); in removeTasks() argument 67 void removeTask(String appScopeKey, String taskName); in removeTask() argument [all …]
|
| /expo/packages/expo-task-manager/android/src/main/java/expo/modules/taskManager/ |
| H A D | TaskService.java | 144 removeAppFromConfig(appScopeKey); in unregisterAllTasksForAppScopeKey() 207 sEvents.remove(appScopeKey); in notifyTaskFinished() 215 invalidateAppRecord(appScopeKey); in notifyTaskFinished() 234 sTaskManagers.remove(appScopeKey); in setTaskManager() 269 return appLoader.isRunning(appScopeKey); in isStartedByHeadlessLoader() 383 String appScopeKey = task.getAppScopeKey(); in executeTask() local 390 if (sEvents.get(appScopeKey) == null) { in executeTask() 393 sEvents.put(appScopeKey, appEvents); in executeTask() 415 sEvents.remove(appScopeKey); in executeTask() 503 if (taskName == null || appScopeKey == null) { in getTaskConsumer() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/taskManager/ |
| H A D | TaskService.java | 144 removeAppFromConfig(appScopeKey); in unregisterAllTasksForAppScopeKey() 207 sEvents.remove(appScopeKey); in notifyTaskFinished() 215 invalidateAppRecord(appScopeKey); in notifyTaskFinished() 234 sTaskManagers.remove(appScopeKey); in setTaskManager() 269 return appLoader.isRunning(appScopeKey); in isStartedByHeadlessLoader() 383 String appScopeKey = task.getAppScopeKey(); in executeTask() local 390 if (sEvents.get(appScopeKey) == null) { in executeTask() 393 sEvents.put(appScopeKey, appEvents); in executeTask() 415 sEvents.remove(appScopeKey); in executeTask() 503 if (taskName == null || appScopeKey == null) { in getTaskConsumer() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/taskManager/ |
| H A D | TaskService.java | 144 removeAppFromConfig(appScopeKey); in unregisterAllTasksForAppScopeKey() 207 sEvents.remove(appScopeKey); in notifyTaskFinished() 215 invalidateAppRecord(appScopeKey); in notifyTaskFinished() 234 sTaskManagers.remove(appScopeKey); in setTaskManager() 269 return appLoader.isRunning(appScopeKey); in isStartedByHeadlessLoader() 383 String appScopeKey = task.getAppScopeKey(); in executeTask() local 390 if (sEvents.get(appScopeKey) == null) { in executeTask() 393 sEvents.put(appScopeKey, appEvents); in executeTask() 415 sEvents.remove(appScopeKey); in executeTask() 503 if (taskName == null || appScopeKey == null) { in getTaskConsumer() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/taskManager/ |
| H A D | TaskService.java | 144 removeAppFromConfig(appScopeKey); in unregisterAllTasksForAppScopeKey() 207 sEvents.remove(appScopeKey); in notifyTaskFinished() 215 invalidateAppRecord(appScopeKey); in notifyTaskFinished() 234 sTaskManagers.remove(appScopeKey); in setTaskManager() 269 return appLoader.isRunning(appScopeKey); in isStartedByHeadlessLoader() 383 String appScopeKey = task.getAppScopeKey(); in executeTask() local 390 if (sEvents.get(appScopeKey) == null) { in executeTask() 393 sEvents.put(appScopeKey, appEvents); in executeTask() 415 sEvents.remove(appScopeKey); in executeTask() 503 if (taskName == null || appScopeKey == null) { in getTaskConsumer() [all …]
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/adapters/react/apploader/ |
| H A D | RNHeadlessAppLoader.kt | 18 if (params == null || params.appScopeKey == null) { in loadApp() 24 if (!appRecords.containsKey(params.appScopeKey)) { in loadApp() 26 HeadlessAppLoaderNotifier.notifyAppLoaded(params.appScopeKey) in loadApp() 29 appRecords[params.appScopeKey] = reactInstanceManager in loadApp() 43 override fun invalidateApp(appScopeKey: String?): Boolean { in invalidateApp() 44 return if (appRecords.containsKey(appScopeKey) && appRecords[appScopeKey] != null) { in invalidateApp() 45 val appRecord: ReactInstanceManager = appRecords[appScopeKey]!! in invalidateApp() 53 HeadlessAppLoaderNotifier.notifyAppDestroyed(appScopeKey) in invalidateApp() 54 appRecords.remove(appScopeKey) in invalidateApp() 62 override fun isRunning(appScopeKey: String?): Boolean = [all …]
|
| H A D | HeadlessAppLoaderNotifier.kt | 7 fun appLoaded(appScopeKey: String) in appLoaded() 9 fun appDestroyed(appScopeKey: String) in appLoaded() 20 fun notifyAppLoaded(appScopeKey: String?) { in appLoaded() 21 if (appScopeKey != null) { in appLoaded() 22 listeners.forEach { it.get()?.appLoaded(appScopeKey) } in appLoaded() 26 fun notifyAppDestroyed(appScopeKey: String?) { in appLoaded() 27 if (appScopeKey != null) { in appLoaded() 28 listeners.forEach { it.get()?.appDestroyed(appScopeKey) } in appLoaded()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/adapters/react/apploader/ |
| H A D | HeadlessAppLoaderNotifier.kt | 7 fun appLoaded(appScopeKey: String) in appLoaded() 9 fun appDestroyed(appScopeKey: String) in appLoaded() 20 fun notifyAppLoaded(appScopeKey: String?) { in appLoaded() 21 if (appScopeKey != null) { in appLoaded() 22 listeners.forEach { it.get()?.appLoaded(appScopeKey) } in appLoaded() 26 fun notifyAppDestroyed(appScopeKey: String?) { in appLoaded() 27 if (appScopeKey != null) { in appLoaded() 28 listeners.forEach { it.get()?.appDestroyed(appScopeKey) } in appLoaded()
|
| H A D | RNHeadlessAppLoader.kt | 18 if (params == null || params.appScopeKey == null) { in loadApp() 24 if (!appRecords.containsKey(params.appScopeKey)) { in loadApp() 26 HeadlessAppLoaderNotifier.notifyAppLoaded(params.appScopeKey) in loadApp() 29 appRecords[params.appScopeKey] = reactInstanceManager in loadApp() 43 override fun invalidateApp(appScopeKey: String?): Boolean { in invalidateApp() 44 return if (appRecords.containsKey(appScopeKey) && appRecords[appScopeKey] != null) { in invalidateApp() 45 val appRecord: ReactInstanceManager = appRecords[appScopeKey]!! in invalidateApp() 53 HeadlessAppLoaderNotifier.notifyAppDestroyed(appScopeKey) in invalidateApp() 54 appRecords.remove(appScopeKey) in invalidateApp() 62 override fun isRunning(appScopeKey: String?): Boolean = [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/adapters/react/apploader/ |
| H A D | HeadlessAppLoaderNotifier.kt | 7 fun appLoaded(appScopeKey: String) in appLoaded() 9 fun appDestroyed(appScopeKey: String) in appLoaded() 20 fun notifyAppLoaded(appScopeKey: String?) { in appLoaded() 21 if (appScopeKey != null) { in appLoaded() 22 listeners.forEach { it.get()?.appLoaded(appScopeKey) } in appLoaded() 26 fun notifyAppDestroyed(appScopeKey: String?) { in appLoaded() 27 if (appScopeKey != null) { in appLoaded() 28 listeners.forEach { it.get()?.appDestroyed(appScopeKey) } in appLoaded()
|
| H A D | RNHeadlessAppLoader.kt | 18 if (params == null || params.appScopeKey == null) { in loadApp() 24 if (!appRecords.containsKey(params.appScopeKey)) { in loadApp() 26 HeadlessAppLoaderNotifier.notifyAppLoaded(params.appScopeKey) in loadApp() 29 appRecords[params.appScopeKey] = reactInstanceManager in loadApp() 43 override fun invalidateApp(appScopeKey: String?): Boolean { in invalidateApp() 44 return if (appRecords.containsKey(appScopeKey) && appRecords[appScopeKey] != null) { in invalidateApp() 45 val appRecord: ReactInstanceManager = appRecords[appScopeKey]!! in invalidateApp() 53 HeadlessAppLoaderNotifier.notifyAppDestroyed(appScopeKey) in invalidateApp() 54 appRecords.remove(appScopeKey) in invalidateApp() 62 override fun isRunning(appScopeKey: String?): Boolean = [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/adapters/react/apploader/ |
| H A D | HeadlessAppLoaderNotifier.kt | 7 fun appLoaded(appScopeKey: String) in appLoaded() 9 fun appDestroyed(appScopeKey: String) in appLoaded() 20 fun notifyAppLoaded(appScopeKey: String?) { in appLoaded() 21 if (appScopeKey != null) { in appLoaded() 22 listeners.forEach { it.get()?.appLoaded(appScopeKey) } in appLoaded() 26 fun notifyAppDestroyed(appScopeKey: String?) { in appLoaded() 27 if (appScopeKey != null) { in appLoaded() 28 listeners.forEach { it.get()?.appDestroyed(appScopeKey) } in appLoaded()
|
| H A D | RNHeadlessAppLoader.kt | 18 if (params == null || params.appScopeKey == null) { in loadApp() 24 if (!appRecords.containsKey(params.appScopeKey)) { in loadApp() 26 HeadlessAppLoaderNotifier.notifyAppLoaded(params.appScopeKey) in loadApp() 29 appRecords[params.appScopeKey] = reactInstanceManager in loadApp() 43 override fun invalidateApp(appScopeKey: String?): Boolean { in invalidateApp() 44 return if (appRecords.containsKey(appScopeKey) && appRecords[appScopeKey] != null) { in invalidateApp() 45 val appRecord: ReactInstanceManager = appRecords[appScopeKey]!! in invalidateApp() 53 HeadlessAppLoaderNotifier.notifyAppDestroyed(appScopeKey) in invalidateApp() 54 appRecords.remove(appScopeKey) in invalidateApp() 62 override fun isRunning(appScopeKey: String?): Boolean = [all …]
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/interfaces/taskManager/ |
| H A D | TaskServiceInterface.java | 18 boolean hasRegisteredTask(String taskName, String appScopeKey); in hasRegisteredTask() argument 23 …void registerTask(String taskName, String appScopeKey, String appUrl, Class consumerClass, Map<Str… in registerTask() argument 29 void unregisterTask(String taskName, String appScopeKey, Class consumerClass) throws Exception; in unregisterTask() argument 34 void unregisterAllTasksForAppScopeKey(String appScopeKey); in unregisterAllTasksForAppScopeKey() argument 39 boolean taskHasConsumerOfClass(String taskName, String appScopeKey, Class consumerClass); in taskHasConsumerOfClass() argument 44 Bundle getTaskOptions(String taskName, String appScopeKey); in getTaskOptions() argument 49 List<Bundle> getTasksForAppScopeKey(String appScopeKey); in getTasksForAppScopeKey() argument 54 List<TaskConsumerInterface> getTaskConsumers(String appScopeKey); in getTaskConsumers() argument 59 void notifyTaskFinished(String taskName, String appScopeKey, Map<String, Object> response); in notifyTaskFinished() argument 64 void setTaskManager(TaskManagerInterface taskManager, String appScopeKey, String appUrl); in setTaskManager() argument [all …]
|