/base/location/test/location_passive/source/ |
D | passive_ability_test.cpp | 95 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/ |
D | passive_ability.cpp | 118 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/ |
D | network_ability_test.cpp | 100 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/ |
D | request_config.h | 55 inline void SetTimeInterval(int timeInterval) in SetTimeInterval() argument 57 timeInterval_ = timeInterval; in SetTimeInterval()
|
/base/hiviewdfx/faultloggerd/test/performancetest/src/ |
D | faultloggerd_performance_test.cpp | 231 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/ |
D | work_record.cpp | 39 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()
|
D | locator_ability.cpp | 638 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 …]
|
D | passive_ability_proxy.cpp | 101 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked() argument 115 data.WriteInt32(timeInterval); in SetMocked()
|
D | network_ability_proxy.cpp | 116 const int timeInterval, const std::vector<std::shared_ptr<Location>> &location) in SetMocked() argument 130 data.WriteInt32(timeInterval); in SetMocked()
|
D | subability_common.cpp | 164 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/ |
D | locator_ability.h | 102 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);
|
D | subability_common.h | 65 virtual LocationErrCode SetMocked(const int timeInterval, 81 …bool SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Location>> &loca…
|
D | passive_ability_proxy.h | 40 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
D | network_ability_proxy.h | 41 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
D | work_record.h | 30 bool Add(int uid, int pid, std::string name, int timeInterval, std::string uuid);
|
D | gnss_ability_proxy.h | 50 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
/base/location/services/location_network/network/source/ |
D | network_ability.cpp | 268 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/ |
D | mock_passive_ability_stub.h | 42 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/test/location_network/mock/include/ |
D | mock_network_ability_stub.h | 43 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/services/location_gnss/gnss/source/ |
D | gnss_ability.cpp | 563 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/ |
D | gnss_ability_test.cpp | 109 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/ |
D | passive_ability.h | 61 …LocationErrCode SetMocked(const int timeInterval, const std::vector<std::shared_ptr<Location>> &lo…
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | reminder_request_test.cpp | 348 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/ |
D | mock_gnss_ability_stub.h | 55 MOCK_METHOD(LocationErrCode, SetMocked, (const int timeInterval,
|
/base/location/frameworks/native/source/ |
D | locator_impl.cpp | 273 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()
|