Home
last modified time | relevance | path

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

123

/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()
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/powermgr/power_manager/interfaces/innerkits/native/include/
Dwork_trigger.h33 : uid_(uid), name_(name), pid_(pid) {} in uid_() function
58 return uid_; in GetUid()
68 return (uid_ == other.uid_) && (pid_ == other.pid_) && (abilityId_ == other.abilityId_) &&
77 int32_t uid_{INVALID_UID};
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1000; variable
27 return uid_; in GetCallingUid()
37 uid_ = uid; in SetCallingUid()
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_info.cpp25 STATS_WRITE_PARCEL_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_READ_PARCEL_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/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/location/frameworks/location_common/common/source/
Dapp_identity.cpp22 uid_ = 0; in AppIdentity()
30 : uid_(uid), pid_(pid), tokenId_(tokenId), firstTokenId_(firstTokenId) in AppIdentity()
36 std::string str = "uid : " + std::to_string(uid_) + in ToString()
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
Daccount_mgr_inner_sdk_func_test.cpp143 accountInfo.uid_ = TEST_ACCOUNT_UID;
152 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
165 EXPECT_EQ(accountInfoget.uid_, DEFAULT_OHOS_ACCOUNT_UID);
185 accountInfo.uid_ = TEST_ACCOUNT_UID;
194 EXPECT_EQ(accountInfoget.uid_, TEST_EXPECTED_UID);
205 accountInfo.uid_ = TEST_DIFF_ACCOUNT_UID;
210 accountInfo.uid_ = TEST_ACCOUNT_UID;
215 EXPECT_EQ(accountInfoget.uid_, DEFAULT_OHOS_ACCOUNT_UID);
235 accountInfo.uid_ = TEST_DIFF_ACCOUNT_UID;
244 EXPECT_EQ(accountInfoget.uid_, TEST_DIFF_EXPECTED_UID);
[all …]
/base/sensors/sensor/utils/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/hiviewdfx/hidumper/frameworks/native/include/common/
Ddumper_parameter.h48 uid_ = uid; in SetUid()
52 return uid_; in GetUid()
64 int uid_ {-1};
/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/location/interfaces/inner_api/include/
Dapp_identity.h41 return uid_; in GetUid()
46 uid_ = uid; in SetUid()
81 pid_t uid_;
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Daccount_info.h82 std::string uid_; variable
89 : name_(name), uid_(id), status_(status), rawUid_(id) in OhosAccountInfo()
99 uid_ = ""; in OhosAccountInfo()
167 return (ohosAccountInfo_.uid_ == info.ohosAccountInfo_.uid_);
173 ohosAccountInfo_.uid_ = DEFAULT_OHOS_ACCOUNT_UID;
/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()
43 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
69 uid_ = uid; in InitUid()
138 return uid_; in GetUid()
/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/account/os_account/services/accountmgr/test/unittest/ohos_account_data_deal_test/
Dohos_account_data_deal_test.cpp93 EXPECT_EQ(accountInfo.ohosAccountInfo_.uid_, TEST_STR_OPEN_ID);
122 accountInfo.ohosAccountInfo_.uid_ = "rewrite content";
171 EXPECT_EQ(accountInfo.ohosAccountInfo_.uid_, DEFAULT_OHOS_ACCOUNT_UID);
178 accountInfo.ohosAccountInfo_.uid_ = TEST_STR_OPEN_ID;
192 EXPECT_EQ(accountInfoNew.ohosAccountInfo_.uid_, TEST_STR_OPEN_ID);
/base/powermgr/power_manager/frameworks/native/
Drunning_lock_info.cpp100 READ_PARCEL_WITH_RET(parcel, Int32, uid_, false); in ReadFromParcel()
105 pid_: %{public}d, abilityId_: %{public}d", name_.c_str(), uid_, pid_, abilityId_); in ReadFromParcel()
125 WRITE_PARCEL_WITH_RET(parcel, Int32, uid_, false); in Marshalling()
130 pid_: %{public}d, abilityId_: %{public}d", name_.c_str(), uid_, pid_, abilityId_); in Marshalling()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Dcppcrash_reporter.cpp54 uid_ = process_->GetUid(); in Format()
97 info.id = uid_; in ReportToHiview()
105 DfxLogInfo("Finish report fault to FaultLogger %s(%d,%d)", cmdline_.c_str(), pid_, uid_); in ReportToHiview()
Dcppcrash_reporter.h36 uid_ = 0; in CppCrashReporter()
69 uint32_t uid_; variable
/base/account/os_account/services/accountmgr/test/unittest/account_mgr_service_test/
Daccount_mgr_service_test.cpp137 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
151 ret = (testInfo.second.uid_ == DEFAULT_OHOS_ACCOUNT_UID);
177 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
199 ret = (testInfo.second.uid_ == DEFAULT_OHOS_ACCOUNT_UID);
226 ret = (testInfo.second.uid_ == TEST_DIFF_EXPECTED_UID);
240 ret = (testInfo.second.uid_ == DEFAULT_OHOS_ACCOUNT_UID);
266 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
280 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
294 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID);
308 ret = (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/location/services/location_locator/locator/source/
Drequest.cpp25 this->uid_ = -1; in Request()
64 this->uid_ = uid; in SetUid()
69 return uid_; in GetUid()
239 ", uid:" + std::to_string(uid_) + in ToString()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
Dfaultlog_info.cpp35 return uid_; in GetId()
75 uid_ = id; in SetId()

123