/base/sensors/sensor/frameworks/native/src/ |
H A D | geomagnetic_field.cpp | 133 for (int32_t row = 1; row <= expansionDegree; row++) { in GetSchmidtQuasiNormalFactors() 134 schmidtQuasiNormFactors[row].resize(row + 1); in GetSchmidtQuasiNormalFactors() 135 schmidtQuasiNormFactors[row][0] = in GetSchmidtQuasiNormalFactors() 136 schmidtQuasiNormFactors[row - 1][0] * (2 * row - 1) / static_cast<float>(row); in GetSchmidtQuasiNormalFactors() 137 for (int32_t column = 1; column <= row; colum in GetSchmidtQuasiNormalFactors() [all...] |
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
H A D | napi_app_event_holder.h | 29 AppEventPackage() : packageId(0), row(0), size(0), data(0), events(0) {}
in AppEventPackage() 32 int row;
member 48 void SetRow(int row);
|
H A D | napi_app_event_watcher.h | 29 int row = 0;
member
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
H A D | app_event_observer.cpp | 158 strStream << "{" << row << "," << size << "," << timeout << "," << onStartup << "," << onBackground << "}";
in ToString() 196 ++currCond_.row;
in ProcessEvent() 206 return MeetNumberCondition(currCond_.row, reportConfig_.triggerCond.row)
in MeetProcessCondition() 212 currCond_.row = 0;
in ResetCurrCondition() 249 return MeetNumberCondition(currCond_.timeout, reportConfig_.triggerCond.timeout) && currCond_.row > 0;
in MeetTimeoutCondition() 254 return reportConfig_.triggerCond.timeout > 0 && currCond_.row > 0;
in HasTimeoutCondition() 268 return reportConfig_.triggerCond.onStartup && currCond_.row > 0;
in MeetStartupCondition() 282 return reportConfig_.triggerCond.onBackground && currCond_.row > 0;
in MeetBackgroundCondition()
|
/base/telephony/sms_mms/services/mms/ |
H A D | mms_apn_info.cpp | 95 for (int row = 0; row < count; row++) { in GetMmsApnValue() 96 resultSet->GoToRow(row); in GetMmsApnValue()
|
/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
H A D | ndk_app_event_watcher.cpp | 34 void NdkAppEventWatcher::SetTriggerCondition(int row, int size, int timeOut) in SetTriggerCondition() argument 36 reportConfig_.triggerCond = {row, size, timeOut * HiAppEvent::TIMEOUT_STEP}; in SetTriggerCondition() 117 onTrigger_(triggerCond.row, triggerCond.size); in OnTrigger()
|
H A D | ndk_app_event_watcher_proxy.cpp | 35 int NdkAppEventWatcherProxy::SetTriggerCondition(int row, int size, int timeOut) in SetTriggerCondition() argument 37 watcher_->SetTriggerCondition(row, size, timeOut); in SetTriggerCondition()
|
H A D | ndk_app_event_watcher_service.cpp | 53 int SetTriggerCondition(struct HiAppEvent_Watcher* watcher, int row, int size, int timeOut) in SetTriggerCondition() argument 57 return ndkWatcher->SetTriggerCondition(row, size, timeOut); in SetTriggerCondition()
|
/base/telephony/core_service/services/sim/src/ |
H A D | operator_config_loader.cpp | 166 for (int row = 0; row < count; row++) { in GetOpKey() 167 if (MatchOperatorRule(resultSet, row)) { in GetOpKey() 211 bool OperatorConfigLoader::MatchOperatorRule(std::shared_ptr<DataShare::DataShareResultSet> &resultSet, int row) in MatchOperatorRule() argument 220 resultSet->GoToRow(row); in MatchOperatorRule()
|
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/ |
H A D | common.h | 83 int row = 0; member 105 int row; member
|
H A D | appevent_watcher_impl.h | 43 int row = 0; member
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
H A D | napi_mms_pdu.cpp | 172 for (int row = 0; row < count; row++) { in QueryMmsPdu() 173 resultSet->GoToRow(row); in QueryMmsPdu()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_app_event_holder.cpp | 163 NapiUtil::SetNamedProperty(env, packageObj, "row", NapiUtil::CreateInt32(env, package->row));
in NapiTakeNext() 170 void NapiAppEventHolder::SetRow(int row)
in SetRow() argument 172 HILOG_INFO(LOG_CORE, "hodler seq=%{public}" PRId64 " set row=%{public}d", observerSeq_, row);
in SetRow() 173 takeRow_ = row;
in SetRow() 224 package->row = static_cast<int>(eventStrs.size());
in TakeNext()
|
H A D | napi_hiappevent_processor.cpp | 212 int row = 0;
in GenConfigBatchReportProp() local 213 if (!GenConfigIntProp(env, config, key, row) || !IsValidBatchReport(row)) {
in GenConfigBatchReportProp() 216 out.triggerCond.row = row;
in GenConfigBatchReportProp()
|
H A D | napi_hiappevent_watch.cpp | 42 const std::string COND_PROPS[] = { "row", "size", "timeOut" };
206 .row = 0,
in GetCondition() 216 int row = GetConditionValue(env, cond, COND_PROPS[index++]);
in GetCondition() local 217 if (row < 0) {
in GetCondition() 218 NapiUtil::ThrowError(env, NapiError::ERR_INVALID_COND_ROW, "Invalid row value.");
in GetCondition() 221 resCond.row = row;
in GetCondition()
|
H A D | napi_app_event_watcher.cpp | 153 context_->triggerContext->row = triggerCond.row;
in OnTrigger() 184 NapiUtil::CreateInt32(context->env, context->row),
in OnTrigger()
|
/base/hiviewdfx/hiappevent/frameworks/native/ndk/include/ |
H A D | ndk_app_event_watcher.h | 32 void SetTriggerCondition(int row, int size, int timeOut);
|
H A D | ndk_app_event_watcher_proxy.h | 33 int SetTriggerCondition(int row, int size, int timeOut);
|
H A D | ndk_app_event_watcher_service.h | 31 int SetTriggerCondition(struct HiAppEvent_Watcher* watcher, int row, int size, int timeOut);
|
/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/ |
H A D | hiappevent.h | 183 * @param row The row of events received by watcher. 188 typedef void (*OH_HiAppEvent_OnTrigger)(int row, int size); 481 * @param row The row of write events that trigger the onTrigger callback. 489 int OH_HiAppEvent_SetTriggerCondition(HiAppEvent_Watcher* watcher, int row, int size, int timeOut);
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
H A D | hiappevent_watcher_test.cpp | 75 std::cout << GetName() << " onTrigger, row=" << triggerCond.row << ", size=" << triggerCond.size << std::endl;
108 TriggerCondition BuildCondition(int row, int size, int timeout)
in BuildCondition() argument 111 .row = row,
in BuildCondition() 129 TriggerCondition cond = BuildCondition(1, 0, 0); // row is 1
in BuildWatcherWithRow()
|
H A D | hiappevent_inner_api_test.cpp | 85 ASSERT_EQ(config.triggerCond.row, 0);
in CheckGetEmptyConfig() 114 ASSERT_EQ(configA.triggerCond.row, configB.triggerCond.row);
in CheckSameConfig() 165 .row = 2, // 2 events
in CheckSetRowConfig() 362 * @tc.desc: check the row callback AppEventProcessor.
533 .row = 1,
in HWTEST_F() 636 * @tc.desc: Adding an processor with invalid triggerCond.row.
645 .row = limitRow,
in HWTEST_F() 653 config.triggerCond.row = -1;
in HWTEST_F() 658 .triggerCond.row in HWTEST_F() [all...] |
/base/hiviewdfx/hiappevent/interfaces/native/inner_api/include/ |
H A D | base_type.h | 38 int row = 0;
member
|
/base/hiviewdfx/hidumper/test/scripts/testModule/ |
H A D | utils.py | 85 row = [int(col.strip()) for col in line.split()]
86 matrix.append(row)
|
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | hiappevent_ffi.cpp | 49 cond.row = triggerCondition.row; in CheckCondition() 50 if (cond.row < 0) { in CheckCondition() 115 conf.triggerCond.row = 0; in ConvertReportConfig() 117 conf.triggerCond.row = processor.batchReport; in ConvertReportConfig()
|