Home
last modified time | relevance | path

Searched refs:identifier (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/
H A DSharedPreferencesNotificationsStore.kt33 fun getNotificationRequest(identifier: String) = in <lambda>()
35 preferencesNotificationRequestKey(identifier), in <lambda>()
74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>()
84 fun removeNotificationRequest(identifier: String) = in <lambda>()
85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>()
96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>()
97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>()
105 removeNotificationRequest(this, it.identifier) in <lambda>()
106 it.identifier in <lambda>()
117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>()
[all …]
H A DSharedPreferencesNotificationCategoriesStore.kt33 fun getNotificationCategory(identifier: String) = in <lambda>()
35 preferencesNotificationCategoryKey(identifier), in <lambda>()
76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>()
88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>()
90 preferencesNotificationCategoryKey(identifier), in <lambda>()
96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>()
104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>()
105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
H A DExpoSchedulingDelegate.kt35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>()
36 store.getNotificationRequest(identifier) in <lambda>()
59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>()
62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>()
67 override fun triggerNotification(identifier: String) { in <lambda>()
69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>()
73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/delegates/
H A DSharedPreferencesNotificationsStore.kt33 fun getNotificationRequest(identifier: String) = in <lambda>()
35 preferencesNotificationRequestKey(identifier), in <lambda>()
74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>()
84 fun removeNotificationRequest(identifier: String) = in <lambda>()
85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>()
96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>()
97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>()
105 removeNotificationRequest(this, it.identifier) in <lambda>()
106 it.identifier in <lambda>()
117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>()
[all …]
H A DSharedPreferencesNotificationCategoriesStore.kt33 fun getNotificationCategory(identifier: String) = in <lambda>()
35 preferencesNotificationCategoryKey(identifier), in <lambda>()
76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>()
88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>()
90 preferencesNotificationCategoryKey(identifier), in <lambda>()
96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>()
104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>()
105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
H A DExpoSchedulingDelegate.kt35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>()
36 store.getNotificationRequest(identifier) in <lambda>()
59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>()
62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>()
67 override fun triggerNotification(identifier: String) { in <lambda>()
69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>()
73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/delegates/
H A DSharedPreferencesNotificationsStore.kt33 fun getNotificationRequest(identifier: String) = in <lambda>()
35 preferencesNotificationRequestKey(identifier), in <lambda>()
74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>()
84 fun removeNotificationRequest(identifier: String) = in <lambda>()
85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>()
96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>()
97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>()
105 removeNotificationRequest(this, it.identifier) in <lambda>()
106 it.identifier in <lambda>()
117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>()
[all …]
H A DSharedPreferencesNotificationCategoriesStore.kt33 fun getNotificationCategory(identifier: String) = in <lambda>()
35 preferencesNotificationCategoryKey(identifier), in <lambda>()
76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>()
88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>()
90 preferencesNotificationCategoryKey(identifier), in <lambda>()
96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>()
104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>()
105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
H A DExpoSchedulingDelegate.kt35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>()
36 store.getNotificationRequest(identifier) in <lambda>()
59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>()
62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>()
67 override fun triggerNotification(identifier: String) { in <lambda>()
69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>()
73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/delegates/
H A DSharedPreferencesNotificationsStore.kt33 fun getNotificationRequest(identifier: String) = in <lambda>()
35 preferencesNotificationRequestKey(identifier), in <lambda>()
74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>()
84 fun removeNotificationRequest(identifier: String) = in <lambda>()
85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>()
96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>()
97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>()
105 removeNotificationRequest(this, it.identifier) in <lambda>()
106 it.identifier in <lambda>()
117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>()
[all …]
H A DSharedPreferencesNotificationCategoriesStore.kt33 fun getNotificationCategory(identifier: String) = in <lambda>()
35 preferencesNotificationCategoryKey(identifier), in <lambda>()
76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>()
88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>()
90 preferencesNotificationCategoryKey(identifier), in <lambda>()
96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>()
104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>()
105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
H A DExpoSchedulingDelegate.kt35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>()
36 store.getNotificationRequest(identifier) in <lambda>()
59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>()
62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>()
67 override fun triggerNotification(identifier: String) { in <lambda>()
69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>()
73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>()
79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>()
[all …]
/expo/packages/expo-file-system/ios/
H A DFileSystemBackgroundSessionHandler.swift10 public func invokeCompletionHandler(forSessionIdentifier identifier: String) { in invokeCompletionHandler()
11 guard let completionHandler = completionHandlers[identifier] else { in invokeCompletionHandler()
17 completionHandlers.removeValue(forKey: identifier) in invokeCompletionHandler()
22 …tion(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, complet…
23 completionHandlers[identifier] = completionHandler
/expo/packages/expo-notifications/src/__tests__/
H A DNotifications-test.ts5 identifier: 'test_id',
18 input.identifier,
34 input.identifier,
56 input.identifier,
79 input.identifier,
103 input.identifier,
126 input.identifier,
150 input.identifier,
175 input.identifier,
192 input.identifier,
[all …]
/expo/packages/expo-file-system/ios/EXSessionTasks/
H A DEXSessionHandler.m26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier
28 if (!identifier) {
32 void (^completionHandler)(void) = _completionHandlers[identifier];
38 [_completionHandlers removeObjectForKey:identifier];
44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle…
46 _completionHandlers[identifier] = completionHandler;
/expo/ios/versioned/sdk47/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI47_0_0EXSessionHandler.m26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier
28 if (!identifier) {
32 void (^completionHandler)(void) = _completionHandlers[identifier];
38 [_completionHandlers removeObjectForKey:identifier];
44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle…
46 _completionHandlers[identifier] = completionHandler;
/expo/ios/versioned/sdk48/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI48_0_0EXSessionHandler.m26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier
28 if (!identifier) {
32 void (^completionHandler)(void) = _completionHandlers[identifier];
38 [_completionHandlers removeObjectForKey:identifier];
44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle…
46 _completionHandlers[identifier] = completionHandler;
/expo/ios/versioned/sdk49/EXFileSystem/EXFileSystem/EXSessionTasks/
H A DABI49_0_0EXSessionHandler.m26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier
28 if (!identifier) {
32 void (^completionHandler)(void) = _completionHandlers[identifier];
38 [_completionHandlers removeObjectForKey:identifier];
44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle…
46 _completionHandlers[identifier] = completionHandler;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/view/
H A DABI49_0_0Touch.h40 int identifier; member
66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator()
72 return lhs.identifier == rhs.identifier; in operator()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/view/
H A DABI48_0_0Touch.h40 int identifier; member
66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator()
72 return lhs.identifier == rhs.identifier; in operator()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/view/
H A DABI47_0_0Touch.h40 int identifier; member
66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator()
72 return lhs.identifier == rhs.identifier; in operator()
/expo/packages/expo-notifications/ios/EXNotifications/Notifications/Presenting/
H A DEXNotificationPresentationModule.m36 presentNotificationWithIdentifier:(NSString *)identifier
43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c…
44 [_presentedNotifications addObject:identifier];
48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set
49 [weakSelf.presentedNotifications removeObject:identifier];
53 resolve(identifier);
69 dismissNotificationWithIdentifier:(NSString *)identifier
73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]];
103 NSString *identifier = notification.request.identifier;
104 if ([_presentedNotifications containsObject:identifier]) {
[all …]
/expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Notifications/Presenting/
H A DABI48_0_0EXNotificationPresentationModule.m36 presentNotificationWithIdentifier:(NSString *)identifier
43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c…
44 [_presentedNotifications addObject:identifier];
48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set
49 [weakSelf.presentedNotifications removeObject:identifier];
53 resolve(identifier);
69 dismissNotificationWithIdentifier:(NSString *)identifier
73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]];
103 NSString *identifier = notification.request.identifier;
104 if ([_presentedNotifications containsObject:identifier]) {
[all …]
/expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Notifications/Presenting/
H A DABI47_0_0EXNotificationPresentationModule.m36 presentNotificationWithIdentifier:(NSString *)identifier
43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c…
44 [_presentedNotifications addObject:identifier];
48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set
49 [weakSelf.presentedNotifications removeObject:identifier];
53 resolve(identifier);
69 dismissNotificationWithIdentifier:(NSString *)identifier
73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]];
103 NSString *identifier = notification.request.identifier;
104 if ([_presentedNotifications containsObject:identifier]) {
[all …]
/expo/ios/versioned/sdk48/ExpoDevice/
H A DUIDevice.swift14 let identifier = machineMirror.children.reduce("") { identifier, element in variable
16 return identifier
18 return identifier + String(UnicodeScalar(UInt8(value)))
21 return identifier
26 func mapToDevice(identifier: String) -> ExpoDeviceType { in mapToDevice()
27 let currentYear = Calendar(identifier: .gregorian).dateComponents([.year], from: Date()).year in mapToDevice()
30 switch identifier { in mapToDevice()
154 return ExpoDeviceType(modelName: identifier, deviceYearClass: currentYear) in mapToDevice()
157 switch identifier { in mapToDevice()
165 return identifier in mapToDevice()
[all …]

12345678910>>...23