Home
last modified time | relevance | path

Searched refs:timeInterval (Results 1 – 25 of 40) sorted by relevance

12

/base/location/test/location_passive/source/
Dpassive_ability_test.cpp95 int timeInterval = i; variable
98 workRecord->Add(uid, pid, name, timeInterval, uuid);
145 int timeInterval = 1; variable
148 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations));
151 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations));
206 int timeInterval = 0; variable
225 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
237 int timeInterval = 0; variable
256 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
/base/location/services/location_passive/passive/source/
Dpassive_ability.cpp118 LocationErrCode PassiveAbility::SetMocked(const int timeInterval, in SetMocked() argument
121 if (!SetMockedLocations(timeInterval, location)) { in SetMocked()
166 int timeInterval = data.ReadInt32(); in SendMessage() local
176 AppExecFwk::InnerEvent::Get(code, vcLoc, timeInterval); in SendMessage()
199 int timeInterval = event->GetParam(); in ProcessEvent() local
210 passiveAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()
/base/location/test/location_network/source/
Dnetwork_ability_test.cpp100 int timeInterval = i; variable
103 workRecord->Add(uid, pid, name, timeInterval, uuid);
186 int timeInterval = 1; variable
189 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations));
192 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations));
247 int timeInterval = 0; variable
266 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
278 int timeInterval = 0; variable
297 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
/base/location/interfaces/inner_api/include/
Drequest_config.h55 inline void SetTimeInterval(int timeInterval) in SetTimeInterval() argument
57 timeInterval_ = timeInterval; in SetTimeInterval()
/base/hiviewdfx/faultloggerd/test/performancetest/src/
Dfaultloggerd_performance_test.cpp231 double timeInterval = GetStopTime(befor)/PERFORMANCE_TEST_NUMBER_ONE_HUNDRED; variable
232 …OG_(INFO) << "dumpcatcher Command Performance time(PID(root), TID(root)): " << timeInterval << "s";
278 double timeInterval = GetStopTime(befor)/PERFORMANCE_TEST_NUMBER_ONE_HUNDRED; variable
279 …GTEST_LOG_(INFO) << "DumpCatchMultiPid API time(PID(root), PID(foundation)): " << timeInterval << …
307 double timeInterval = GetStopTime(befor)/PERFORMANCE_TEST_NUMBER_ONE_HUNDRED; variable
308 …GTEST_LOG_(INFO) << "DumpCatchFrame API time(PID(test_per), PID(test_per)):" << timeInterval << "s…
/base/location/services/location_locator/locator/source/
Dwork_record.cpp39 int timeInterval = parcel.ReadInt32(); in ReadFromParcel() local
41 Add(uid, pid, name, timeInterval, uuid); in ReadFromParcel()
176 bool WorkRecord::Add(int uid, int pid, std::string name, int timeInterval, std::string uuid) in Add() argument
182 timeInterval_.push_back(timeInterval); in Add()
274 int timeInterval = workRecord.GetTimeInterval(i); in Set() local
276 Add(uid, pid, name, timeInterval, uuid); in Set()
Dlocator_ability.cpp638 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId) in SendLocationMockMsgToGnssSa() argument
650 return gnssProxy->SetMocked(timeInterval, location); in SendLocationMockMsgToGnssSa()
656 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId) in SendLocationMockMsgToNetworkSa() argument
669 return networkProxy->SetMocked(timeInterval, location); in SendLocationMockMsgToNetworkSa()
675 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId) in SendLocationMockMsgToPassiveSa() argument
688 return passiveProxy->SetMocked(timeInterval, location); in SendLocationMockMsgToPassiveSa()
694 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId) in ProcessLocationMockMsg() argument
699 SendLocationMockMsgToGnssSa(obj, timeInterval, location, msgId); in ProcessLocationMockMsg()
701 SendLocationMockMsgToNetworkSa(obj, timeInterval, location, msgId); in ProcessLocationMockMsg()
703 SendLocationMockMsgToPassiveSa(obj, timeInterval, location, msgId); in ProcessLocationMockMsg()
[all …]
Dpassive_ability_proxy.cpp101 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked() argument
115 data.WriteInt32(timeInterval); in SetMocked()
Dnetwork_ability_proxy.cpp116 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked() argument
130 data.WriteInt32(timeInterval); in SetMocked()
Dsubability_common.cpp164 bool SubAbility::SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Locat… in SetMockedLocations() argument
171 mockTimeInterval_ = timeInterval; in SetMockedLocations()
/base/location/services/location_locator/locator/include/
Dlocator_ability.h102 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location);
112 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
114 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
116 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
118 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location, int msgId);
Dsubability_common.h65 virtual LocationErrCode SetMocked(const int timeInterval,
81 …bool SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Location>> &loca…
Dpassive_ability_proxy.h40 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
Dnetwork_ability_proxy.h41 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
Dwork_record.h30 bool Add(int uid, int pid, std::string name, int timeInterval, std::string uuid);
Dgnss_ability_proxy.h50 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
/base/location/services/location_network/network/source/
Dnetwork_ability.cpp268 LocationErrCode NetworkAbility::SetMocked(const int timeInterval, in SetMocked() argument
271 if (!SetMockedLocations(timeInterval, location)) { in SetMocked()
372 int timeInterval = data.ReadInt32(); in SendMessage() local
382 AppExecFwk::InnerEvent::Get(code, vcLoc, timeInterval); in SendMessage()
427 int timeInterval = event->GetParam(); in ProcessEvent() local
434 networkAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()
/base/location/test/location_passive/mock/include/
Dmock_passive_ability_stub.h42 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/location/test/location_network/mock/include/
Dmock_network_ability_stub.h43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/location/services/location_gnss/gnss/source/
Dgnss_ability.cpp563 LocationErrCode GnssAbility::SetMocked(const int timeInterval, in SetMocked() argument
566 if (!SetMockedLocations(timeInterval, location)) { in SetMocked()
651 int timeInterval = data.ReadInt32(); in SendMessage() local
661 AppExecFwk::InnerEvent::Get(code, vcLoc, timeInterval); in SendMessage()
700 int timeInterval = event->GetParam(); in ProcessEvent() local
707 gnssAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp109 int timeInterval = i; variable
112 workRecord->Add(uid, pid, name, timeInterval, uuid);
558 int timeInterval = 0; variable
562 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations));
566 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations));
621 int timeInterval = 0; variable
640 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
652 int timeInterval = 0; variable
671 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
/base/location/services/location_passive/passive/include/
Dpassive_ability.h61 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp348 uint32_t timeInterval = minTimeIntervalInSecond; variable
349 rrc->SetTimeInterval(timeInterval);
350 EXPECT_EQ(rrc->GetTimeInterval(), timeInterval) << "timeInterval set error";
351 timeInterval = minTimeIntervalInSecond + 1;
352 rrc->SetTimeInterval(timeInterval);
353 EXPECT_EQ(rrc->GetTimeInterval(), timeInterval) << "timeInterval set error.";
/base/location/test/location_gnss/mock/include/
Dmock_gnss_ability_stub.h55 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
/base/location/frameworks/native/source/
Dlocator_impl.cpp273 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMockedLocations() argument
276 return client_->SetMockedLocations(timeInterval, location); in SetMockedLocations()
482 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMockedLocationsV9() argument
485 return client_->SetMockedLocationsV9(timeInterval, location); in SetMockedLocationsV9()

12