Home
last modified time | relevance | path

Searched refs:when (Results 1 - 25 of 28) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Devent_handler_utils.h47 static inline int64_t TimePointToTimeOut(const InnerEvent::TimePoint &when) in TimePointToTimeOut() argument
50 if (when <= now) { in TimePointToTimeOut()
54 auto duration = when - now; in TimePointToTimeOut()
H A Devent_queue.cpp447 void EventQueue::WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock) in WaitUntilLocked() argument
451 if (!ioWaiterHolder->WaitFor(lock, TimePointToTimeOut(when))) { in WaitUntilLocked()
/foundation/distributedhardware/distributed_input/services/source/inputinject/test/sourceinjectunittest/
H A Ddistributed_input_sourceinject_test.cpp171 .when = 0, in HWTEST_F()
178 .when = 1, in HWTEST_F()
185 .when = 2, in HWTEST_F()
192 .when = 3, in HWTEST_F()
211 .when = 0, in HWTEST_F()
218 .when = 1, in HWTEST_F()
225 .when = 2, in HWTEST_F()
232 .when = 3, in HWTEST_F()
239 .when = 4, in HWTEST_F()
254 .when in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_input/services/state/test/dinpusinkstatetest/
H A Ddinput_sink_state_test.cpp32 .when = 0,
39 .when = 1,
46 .when = 1,
/foundation/distributedhardware/distributed_input/services/state/src/
H A Ddinput_sink_state.cpp104 RawEvent mscScanEv = { event.when, EV_MSC, MSC_SCAN, scanId, dhId, event.path }; in SimulateMouseBtnMouseUpState()
105 RawEvent btnMouseUpEv = { event.when, EV_KEY, BTN_MOUSE, KEY_UP_STATE, dhId, event.path }; in SimulateMouseBtnMouseUpState()
106 RawEvent sycReportEv = { event.when, EV_SYN, SYN_REPORT, 0x0, dhId, event.path }; in SimulateMouseBtnMouseUpState()
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/
H A Devent_queue.h232 void WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock);
246 // Next wake up time when block in 'GetEvent'.
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/
H A Ddinput_source_listener.h72 void RecordEventLog(int64_t when, int32_t type, int32_t code, int32_t value, const std::string &path);
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_parser.cpp109 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] ExtractHapProfile failed when excute parse bundle!"); in ParseBundleAttr()
117 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] cJSON_Parse failed when excute parse bundle!"); in ParseBundleAttr()
125 HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] cJSON_GetObjectItem failed when excute parse bundle!"); in ParseBundleAttr()
1001 char *when = ParseValue(usedSceneObject, PROFILE_KEY_REQPERMISSIONS_WHEN); in SetReqPermission() local
1002 if (when == nullptr) { in SetReqPermission()
1005 if (strcmp(when, GRANTTIME_INUSE) == 0) { in SetReqPermission()
1006 permission->when = INUSE; in SetReqPermission()
1007 } else if (strcmp(when, GRANTTIME_ALWAYS) == 0) { in SetReqPermission()
1008 permission->when = ALWAYS; in SetReqPermission()
H A Dbundle_parser.cpp161 char *when = ParseValue(usedSceneObject, PROFILE_KEY_REQPERMISSIONS_WHEN); in SetReqPermission() local
162 if (when == nullptr) { in SetReqPermission()
163 HILOG_ERROR(HILOG_MODULE_APP, "the value of when is invalid!"); in SetReqPermission()
166 if (strcmp(when, GRANTTIME_INUSE) == 0) { in SetReqPermission()
167 permission->when = INUSE; in SetReqPermission()
168 } else if (strcmp(when, GRANTTIME_ALWAYS) == 0) { in SetReqPermission()
169 permission->when = ALWAYS; in SetReqPermission()
171 HILOG_ERROR(HILOG_MODULE_APP, "the type of when is invalid!"); in SetReqPermission()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dbundle_info.h72 std::string when; member
128 // user related fields, assign when calling the get interface
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/
H A Ddinput_source_listener.cpp364 mEventBuffer[idx].when = oneData[INPUT_KEY_WHEN]; in OnReceivedEventRemoteInput()
532 void DInputSourceListener::RecordEventLog(int64_t when, int32_t type, int32_t code, in RecordEventLog() argument
551 "Path: %{public}s, When: %{public}" PRId64 "", eventType.c_str(), code, value, path.c_str(), when); in RecordEventLog()
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/
H A Dbundle_manager_utils.h268 char* when; member
H A Dbundle_manager_convert.cpp81 uScene.when = MallocCString(usedScence.when); in ConvertUsedScene()
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/src/
H A Ddistributed_input_collector.cpp136 tmpJson[INPUT_KEY_WHEN] = mEventBuffer[ind].when; in StartCollectEventsThread()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_info.cpp72 const char* REQUESTPERMISSION_WHEN = "when";
95 when = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
105 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(when)); in Marshalling()
506 {REQUESTPERMISSION_WHEN, usedScene.when} in to_json()
553 usedScene.when, in from_json()
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c60 int64_t when = t.sec * TIME_THOUSANDS_MULTIPLIER * TIME_THOUSANDS_MULTIPLIER + t.usec; in UptimeMicros() local
61 return when; in UptimeMicros()
/foundation/distributedhardware/distributed_input/services/sink/transport/src/
H A Ddistributed_input_sink_transport.cpp685 int64_t when = event[INPUT_KEY_WHEN]; in RecordEventLog() local
690 "Path: %{public}s, When: %{public}" PRId64 "", eventType.c_str(), code, value, path.c_str(), when); in RecordEventLog()
/foundation/distributedhardware/distributed_input/common/include/
H A Dconstants_dinput.h28 #define INPUT_KEY_WHEN "when"
249 int64_t when; member
305 // Synthetic raw event type codes produced when devices are added or removed.
307 // Sent when a device is added.
310 // Sent when a device is removed.
313 // Sent when all added/removed devices from the most recent scan have been reported.
H A Dinput_hub.cpp299 event.when = ProcessEventTimestamp(iev); in RecordDeviceChangeStates()
327 event->when = ProcessEventTimestamp(iev); in CollectEvent()
1403 event.value, event.path.c_str(), GetAnonyString(event.descriptor).c_str(), event.when); in RecordChangeEventLog()
1428 event->value, event->path.c_str(), GetAnonyString(event->descriptor).c_str(), event->when); in RecordEventLog()
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_transreporter.c188 int64_t when = t.sec * TIME_THOUSANDS_FACTOR + (t.usec / TIME_THOUSANDS_FACTOR); in GetSoftbusRecordTimeMillis() local
189 return when; in GetSoftbusRecordTimeMillis()
H A Dsoftbus_hisysevt_bus_center.c293 int64_t when = t.sec * SECOND_TO_MSENC + t.usec / MILLISECOND_TO_MICRO; in LnnUpTimeMs() local
294 return when; in LnnUpTimeMs()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp553 usedScene.when = "1"; in BenchmarkTestForReqPermissionUsedSceToJson()
570 jsonObject["when"] = "1"; in BenchmarkTestForReqPermissionUsedSceFromJson()
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/
H A Ddistributed_input_node_manager.cpp547 "eventValue: %{public}d, when: %{public}" PRId64"", GetAnonyString(deviceId).c_str(), in ProcessInjectEvent()
548 GetAnonyString(dhId).c_str(), event.type, event.code, event.value, rawEvent.when); in ProcessInjectEvent()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp1328 "when": ""
1338 "when": ""
1348 "when": ""
1358 "when": ""
1368 "when": ""
/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_server.cpp609 // check codec name when secure video path is false in CheckDrmSvpConsistency()
618 // check codec name when secure video path is true in CheckDrmSvpConsistency()
624 // check session level when secure video path is true in CheckDrmSvpConsistency()
941 later in "PostProcessingOnOutputBufferAvailable" by video processing engine when the frame is processed in CheckDrmSvpConsistency()

Completed in 29 milliseconds

12