Home
last modified time | relevance | path

Searched refs:wantAction (Results 1 - 2 of 2) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp75 std::string wantAction = want.GetAction(); variable
76 if (wantAction == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED ||
77 wantAction == CommonEventSupport::COMMON_EVENT_BUNDLE_REMOVED ||
78 wantAction == CommonEventSupport::COMMON_EVENT_PACKAGE_FULLY_REMOVED) {
84 wantAction.c_str(), bundleName.c_str(), uid, ret);
85 } else if (wantAction == CommonEventSupport::COMMON_EVENT_UID_REMOVED ||
86 wantAction == CommonEventSupport::COMMON_EVENT_USER_REMOVED) {
92 wantAction.c_str(), deleteUsers, totalUsers, ret);
93 } else if (wantAction == CommonEventSupport::COMMON_EVENT_USER_STOPPED) {
/base/notification/common_event_service/frameworks/extension/src/
H A Djs_static_subscriber_extension.cpp232 napi_value wantAction = nullptr; in OnReceiveEvent()
233 napi_create_string_utf8(env, want.GetAction().c_str(), want.GetAction().size(), &wantAction); in OnReceiveEvent()
234 napi_set_named_property(env, commonEventData, "event", wantAction); in OnReceiveEvent()

Completed in 3 milliseconds