Home
last modified time | relevance | path

Searched refs:uid_ (Results 1 – 25 of 89) sorted by relevance

1234

/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_ipc.cpp23 int uid_ = 1; variable
27 return uid_; in GetCallingUid()
32 uid_ = 1; in GetCallingPid()
33 return uid_; in GetCallingPid()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_bundle_option.cpp26 : bundleName_(bundleName), uid_(uid) in NotificationBundleOption()
44 uid_ = uid; in SetUid()
49 return uid_; in GetUid()
56 ", uid = " + std::to_string(uid_) + in Dump()
67 if (!parcel.WriteInt32(uid_)) { in Marshalling()
93 uid_ = parcel.ReadInt32(); in ReadFromParcel()
100 jsonObject["uid"] = uid_; in ToJson()
120 pBundle->uid_ = jsonObject.at("uid").get<int32_t>(); in FromJson()
Dbadge_number_callback_data.cpp27 : bundle_(bundle), uid_(uid), badgeNumber_(badgeNumber) in BadgeNumberCallbackData()
42 uid_ = uid; in SetUid()
47 return uid_; in GetUid()
64 ", uid = " + std::to_string(uid_) + in Dump()
76 if (!parcel.WriteInt32(uid_)) { in Marshalling()
103 uid_ = parcel.ReadInt32(); in ReadFromParcel()
Denabled_notification_callback_data.cpp27 : bundle_(bundle), uid_(uid), enable_(enable) in EnabledNotificationCallbackData()
42 uid_ = uid; in SetUid()
47 return uid_; in GetUid()
64 ", uid = " + std::to_string(uid_) + in Dump()
76 if (!parcel.WriteInt32(uid_)) { in Marshalling()
103 uid_ = static_cast<uid_t>(parcel.ReadInt32()); in ReadFromParcel()
/base/inputmethod/imf/services/adapter/focus_monitor/src/
Dfocus_change_listener.cpp28 IMSA_HILOGD("pid: %{public}d, uid: %{public}d", focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused()
29 focusHandle_(true, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused()
38 IMSA_HILOGD("pid: %{public}d, uid: %{public}d", focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
39 focusHandle_(false, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_info.cpp25 STATS_RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, uid_, false); in Marshalling()
28 …STATS_HILOGD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, total… in Marshalling()
48 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, parcel, Int32, uid_, false); in ReadFromParcel()
53 …STATS_HILOGD(COMP_FWK, "uid: %{public}d, type: %{public}d, power: %{public}lf", uid_, type_, total… in ReadFromParcel()
60 uid_ = uid; in SetUid()
80 if (uid_ > StatsUtils::INVALID_VALUE) { in SetPower()
81 … STATS_HILOGD(COMP_FWK, "Set APP power: %{public}lfmAh for uid: %{public}d", totalPowerMah_, uid_); in SetPower()
91 return uid_; in GetUid()
106 if (uid_ > StatsUtils::INVALID_VALUE) { in GetPower()
107 … STATS_HILOGD(COMP_FWK, "Get app power: %{public}lfmAh for uid: %{public}d", totalPowerMah_, uid_); in GetPower()
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
Dmock_ipc.cpp23 pid_t uid_ = 0; variable
28 return uid_; in GetCallingUid()
38 uid_ = uid; in SetCallingUid()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dtraffic_dumper.cpp88 currentPidInfo.uid_ = -1; in GetApplicationUidBytes()
91 pid_, currentPidInfo.uid_); in GetApplicationUidBytes()
97 receivedStats, static_cast<uint32_t>(currentPidInfo.uid_)); in GetApplicationUidBytes()
100 ret, currentPidInfo.uid_); in GetApplicationUidBytes()
111 sendStats, static_cast<uint32_t>(currentPidInfo.uid_)); in GetApplicationUidBytes()
114 ret, currentPidInfo.uid_); in GetApplicationUidBytes()
123 pid_, currentPidInfo.uid_); in GetApplicationUidBytes()
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
Dapp_trace_context.cpp65 appCallerEvent->uid_, appCallerEvent->pid_, retCode); in InnerStartAppTrace()
75 appCallerEvent->uid_, appCallerEvent->pid_, retCode); in InnerStartAppTrace()
90 appCallerEvent->uid_, appCallerEvent->pid_, result.retCode); in InnerDumpAppTrace()
99 appCallerEvent->uid_, appCallerEvent->pid_); in InnerDumpAppTrace()
113 eventJson[UCollectUtil::APP_EVENT_PARAM_UID] = appCallerEvent->uid_; in InnerShareAppEvent()
125 … HIVIEW_LOGI("send for uid=%{public}d pid=%{public}d", appCallerEvent->uid_, appCallerEvent->pid_); in InnerShareAppEvent()
126 EventPublish::GetInstance().PushEvent(appCallerEvent->uid_, UCollectUtil::MAIN_THREAD_JANK, in InnerShareAppEvent()
146 if (traceController->HasCallOnceToday(appCallerEvent->uid_, appCallerEvent->happenTime_)) { in InnerHasCallAppTrace()
148 appCallerEvent->uid_, appCallerEvent->pid_); in InnerHasCallAppTrace()
250 appCallerEvent_->uid_, appCallerEvent_->pid_); in DoCaptureTrace()
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1; variable
28 return uid_; in GetCallingUid()
43 uid_ = uid; in SetCallingUid()
/base/notification/common_event_service/test/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1000; variable
28 return uid_; in GetCallingUid()
38 uid_ = uid; in SetCallingUid()
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
Daccount_mgr_inner_sdk_func_test.cpp199 accountInfo.uid_ = TEST_ACCOUNT_UID;
208 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
219 accountInfo.uid_ = TEST_DIFF_ACCOUNT_UID;
224 accountInfo.uid_ = TEST_ACCOUNT_UID;
229 EXPECT_EQ(accountInfoget.uid_, DEFAULT_OHOS_ACCOUNT_UID);
249 accountInfo.uid_ = TEST_ACCOUNT_UID;
256 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
264 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
272 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
282 EXPECT_EQ(accountInfoget.uid_, DEFAULT_OHOS_ACCOUNT_UID);
[all …]
/base/location/frameworks/location_common/common/source/
Dapp_identity.cpp22 uid_ = 0; in AppIdentity()
31 : uid_(uid), pid_(pid), tokenId_(tokenId), tokenIdEx_(tokenIdEx), firstTokenId_(firstTokenId) in AppIdentity()
37 std::string str = "uid : " + std::to_string(uid_) + in ToString()
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Daccount_info.h83 std::string uid_; variable
91 : name_(name), uid_(id), status_(status), rawUid_(id) in OhosAccountInfo()
101 uid_ = ""; in OhosAccountInfo()
169 return (ohosAccountInfo_.uid_ == info.ohosAccountInfo_.uid_);
175 ohosAccountInfo_.uid_ = DEFAULT_OHOS_ACCOUNT_UID;
/base/sensors/sensor/utils/common/src/
Dsensor_channel_info.cpp20 SensorChannelInfo::SensorChannelInfo() : uid_(0), sensorId_(0), samplingPeriodNs_(0), fifoCount_(0) in SensorChannelInfo()
25 return uid_; in GetUid()
30 uid_ = uid; in SetUid()
/base/sensors/medical_sensor/utils/src/
Dmedical_channel_info.cpp20 MedicalSensorChannelInfo::MedicalSensorChannelInfo() : uid_(0), sensorId_(0), samplingPeriodNs_(0),… in MedicalSensorChannelInfo()
25 return uid_; in GetUid()
30 uid_ = uid; in SetUid()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Ddumper_parameter.h48 uid_ = uid; in SetUid()
52 return uid_; in GetUid()
63 int uid_ {-1};
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Doption_args.cpp36 uid_ = optArgs.uid_; in operator =()
63 uid_ = uid; in SetPid()
73 return uid_; in GetUid()
149 DUMPER_HILOGD(MODULE_COMMON, "debug| pid=%{public}d, uid=%{public}d", pid_, uid_); in Dump()
179 ret->uid_ = optArgs->uid_; in Clone()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dwatch_point.cpp23 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in WatchPoint()
31 uid_(builder.uid_), in WatchPoint()
45 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
71 uid_ = uid; in InitUid()
152 return uid_; in GetUid()
/base/location/interfaces/inner_api/include/
Dapp_identity.h41 return uid_; in GetUid()
46 uid_ = uid; in SetUid()
91 pid_t uid_;
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_data_deal_test.cpp103 EXPECT_EQ(accountInfo.ohosAccountInfo_.uid_, TEST_STR_OPEN_ID);
133 accountInfo.ohosAccountInfo_.uid_ = "rewrite content";
184 EXPECT_EQ(accountInfo.ohosAccountInfo_.uid_, DEFAULT_OHOS_ACCOUNT_UID);
191 accountInfo.ohosAccountInfo_.uid_ = TEST_STR_OPEN_ID;
205 EXPECT_EQ(accountInfoNew.ohosAccountInfo_.uid_, TEST_STR_OPEN_ID);
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_mgr_service_test.cpp145 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
159 EXPECT_EQ(testInfo.second.uid_, DEFAULT_OHOS_ACCOUNT_UID);
182 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
204 EXPECT_EQ(testInfo.second.uid_, DEFAULT_OHOS_ACCOUNT_UID);
228 ret = (testInfo.second.uid_ == TEST_DIFF_EXPECTED_UID);
242 EXPECT_EQ(testInfo.second.uid_, DEFAULT_OHOS_ACCOUNT_UID);
265 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
279 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
293 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
307 EXPECT_EQ(testInfo.second.uid_, DEFAULT_OHOS_ACCOUNT_UID);
/base/notification/distributed_notification_service/services/ans/include/
Dreminder_timer_info.h46 uid_ = uid; in SetUid()
82 int32_t uid_ {-1};
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
Dsec_comp_entity.h31 : componentInfo_(component), tokenId_(token), scId_(scId), pid_(pid), uid_(uid) {}; in SecCompEntity()
55 int32_t uid_; variable
/base/hiviewdfx/faultloggerd/tools/process_dump/
Dcppcrash_reporter.h35 uid_ = 0; in CppCrashReporter()
67 uint32_t uid_; variable

1234