Searched refs:lastRecord_ (Results 1 – 3 of 3) sorted by relevance
/base/location/services/location_locator/locator/source/ |
D | subability_common.cpp | 32 lastRecord_ = std::make_unique<WorkRecord>(); in SubAbility() 38 lastRecord_ = nullptr; in ~SubAbility() 62 lastRecord_->Clear(); in HandleRefrashRequirements() 63 lastRecord_->Set(*newRecord_); in HandleRefrashRequirements() 82 for (int i = 0; i < lastRecord_->Size(); i++) { in HandleRemoveRecord() 83 int uid = lastRecord_->GetUid(i); in HandleRemoveRecord() 84 bool isFind = newRecord.Find(uid, lastRecord_->GetName(i), lastRecord_->GetUuid(i)); in HandleRemoveRecord() 86 isFind, uid, lastRecord_->ToString().c_str(), newRecord.ToString().c_str()); in HandleRemoveRecord() 89 workRecord->Add(uid, lastRecord_->GetPid(i), lastRecord_->GetName(i), in HandleRemoveRecord() 90 lastRecord_->GetTimeInterval(i), lastRecord_->GetUuid(i)); in HandleRemoveRecord() [all …]
|
/base/location/services/location_locator/locator/include/ |
D | subability_common.h | 72 std::unique_ptr<WorkRecord> lastRecord_; variable
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 1163 gnssAbility->lastRecord_->Add(0, 0, "nameForTest", 0, "uuidForTest"); 1166 gnssAbility->lastRecord_->Clear(); 1167 gnssAbility->lastRecord_->Set(*workRecord);
|