Home
last modified time | relevance | path

Searched refs:notification (Results 1 – 25 of 43) sorted by relevance

12

/system/chre/chpp/services/
Dgnss.c498 struct ChppAppHeader *notification = in chppGnssServiceRequestStateResyncCallback() local
500 size_t notificationLen = sizeof(*notification); in chppGnssServiceRequestStateResyncCallback()
502 if (notification == NULL) { in chppGnssServiceRequestStateResyncCallback()
507 notification->handle = gGnssServiceContext.service.handle; in chppGnssServiceRequestStateResyncCallback()
508 notification->command = CHPP_GNSS_REQUEST_STATE_RESYNC_NOTIFICATION; in chppGnssServiceRequestStateResyncCallback()
511 gGnssServiceContext.service.appContext->transportContext, notification, in chppGnssServiceRequestStateResyncCallback()
554 struct ChppGnssLocationEventWithHeader *notification = NULL; in chppGnssServiceLocationEventCallback() local
557 if (!chppGnssLocationEventFromChre(event, &notification, &notificationLen)) { in chppGnssServiceLocationEventCallback()
560 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppGnssServiceLocationEventCallback()
561 if (notification == NULL) { in chppGnssServiceLocationEventCallback()
[all …]
Dwifi.c741 struct ChppWifiScanEventWithHeader *notification = NULL; in chppWifiServiceScanEventCallback() local
746 if (!chppWifiScanEventFromChre(event, &notification, &notificationLen)) { in chppWifiServiceScanEventCallback()
750 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppWifiServiceScanEventCallback()
751 if (notification == NULL) { in chppWifiServiceScanEventCallback()
758 if (notification != NULL) { in chppWifiServiceScanEventCallback()
759 notification->header.handle = gWifiServiceContext.service.handle; in chppWifiServiceScanEventCallback()
760 notification->header.type = CHPP_MESSAGE_TYPE_SERVICE_NOTIFICATION; in chppWifiServiceScanEventCallback()
761 notification->header.transaction = in chppWifiServiceScanEventCallback()
763 notification->header.error = in chppWifiServiceScanEventCallback()
767 notification->header.command = CHPP_WIFI_REQUEST_SCAN_ASYNC; in chppWifiServiceScanEventCallback()
[all …]
/system/chre/test/simulation/
Dhost_endpoint_notification_test.cc60 auto notification = in TEST_F() local
63 CHRE_EVENT_HOST_ENDPOINT_NOTIFICATION, notification); in TEST_F()
109 struct chreHostEndpointNotification notification; in TEST_F() local
111 waitForEvent(CHRE_EVENT_HOST_ENDPOINT_NOTIFICATION, &notification); in TEST_F()
113 ASSERT_EQ(notification.hostEndpointId, kHostEndpointId); in TEST_F()
114 ASSERT_EQ(notification.notificationType, in TEST_F()
116 ASSERT_EQ(notification.reserved, 0); in TEST_F()
/system/nfc/src/rust/nci/
Dnci.rs81 notification: Option<oneshot::Sender<NotificationPacket>>, field
95 pub notification: oneshot::Receiver<NotificationPacket>, field
105 notification: None, in send()
121 notification: Some(ntx), in send_and_notify()
125 Ok(ResponsePendingNotification { response: event, notification: nrx }) in send_and_notify()
205 if let Some(nsender) = queued.notification { in dispatch()
Dapi.rs129 let _notification_packet = reset.notification.await?; in nfc_init()
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingService.java116 Notification notification = in onBind() local
123 startForeground(NOTIFICATION_ID, notification); in onBind()
/system/memory/lmkd/
DREADME.md85 triggering low memory notification. Default for
89 triggering critical memory notification. Default =
99 before testing low memory kill notification.
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
DREADME8 the discovery notification as soon as a user turns on the screen.
/system/chre/host/common/
Dhost_protocol_host.cc213 auto notification = in encodeSettingChangeNotification() local
216 notification.Union()); in encodeSettingChangeNotification()
/system/sepolicy/private/
Datrace.te61 # Remove logspam from notification attempts to non-allowlisted services.
Dshell.te247 # Allow shell to set persist.sysui.notification.builder_extras_override property
/system/sepolicy/prebuilts/api/32.0/private/
Datrace.te62 # Remove logspam from notification attempts to non-allowlisted services.
/system/sepolicy/prebuilts/api/33.0/private/
Datrace.te62 # Remove logspam from notification attempts to non-allowlisted services.
/system/sepolicy/prebuilts/api/31.0/private/
Datrace.te62 # Remove logspam from notification attempts to non-allowlisted services.
/system/sepolicy/prebuilts/api/34.0/private/
Datrace.te61 # Remove logspam from notification attempts to non-allowlisted services.
Dshell.te247 # Allow shell to set persist.sysui.notification.builder_extras_override property
/system/sepolicy/prebuilts/api/30.0/private/
Datrace.te62 # Remove logspam from notification attempts to non-allowlisted services.
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp757 ServiceNotification* notification = new ServiceNotification(); in TEST_F() local
760 EXPECT_TRUE(IParent::registerForNotifications(instanceName, notification)); in TEST_F()
765 std::unique_lock<std::mutex> lock(notification->mutex); in TEST_F()
767 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
768 return notification->getRegistrations().size() >= 2; in TEST_F()
771 std::vector<std::string> registrations = notification->getRegistrations(); in TEST_F()
810 ServiceNotification* notification = new ServiceNotification(); in TEST_F() local
814 EXPECT_TRUE(ISimple::registerForNotifications("", notification)); in TEST_F()
821 std::unique_lock<std::mutex> lock(notification->mutex); in TEST_F()
823 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
[all …]
/system/tools/aidl/
Dhiddenapi-greylist374 "android.service.notification.IConditionListener",
375 "android.service.notification.IConditionProvider",
376 "android.service.notification.INotificationListener",
377 "android.service.notification.IStatusBarNotificationHolder",
/system/chre/chpp/
DQUICKSTART.md12 1. Thread notification mechanisms and thread signalling
/system/chre/apps/test/common/chre_api_test/rpc/
Dchre_api_test.proto177 // Retrieving subscribed disconnected host endpoint notification
/system/sepolicy/prebuilts/api/34.0/public/
Dapp.te79 # sigchld allowed for parent death notification.
/system/sepolicy/public/
Dapp.te79 # sigchld allowed for parent death notification.
/system/sepolicy/prebuilts/api/33.0/public/
Dapp.te89 # sigchld allowed for parent death notification.
/system/sepolicy/prebuilts/api/29.0/private/
Dservice_contexts134 notification u:object_r:notification_service:s0

12