/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/ |
H A D | event_handler_utils.h | 47 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 D | event_queue.cpp | 447 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 D | distributed_input_sourceinject_test.cpp | 171 .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 D | dinput_sink_state_test.cpp | 32 .when = 0, 39 .when = 1, 46 .when = 1,
|
/foundation/distributedhardware/distributed_input/services/state/src/ |
H A D | dinput_sink_state.cpp | 104 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 D | event_queue.h | 232 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 D | dinput_source_listener.h | 72 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 D | gt_bundle_parser.cpp | 109 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 D | bundle_parser.cpp | 161 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 D | bundle_info.h | 72 std::string when; member 128 // user related fields, assign when calling the get interface
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/ |
H A D | dinput_source_listener.cpp | 364 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 D | bundle_manager_utils.h | 268 char* when; member
|
H A D | bundle_manager_convert.cpp | 81 uScene.when = MallocCString(usedScence.when); in ConvertUsedScene()
|
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/src/ |
H A D | distributed_input_collector.cpp | 136 tmpJson[INPUT_KEY_WHEN] = mEventBuffer[ind].when; in StartCollectEventsThread()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | bundle_info.cpp | 72 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 D | message_handler.c | 60 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 D | distributed_input_sink_transport.cpp | 685 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 D | constants_dinput.h | 28 #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 D | input_hub.cpp | 299 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 D | softbus_hisysevt_transreporter.c | 188 int64_t when = t.sec * TIME_THOUSANDS_FACTOR + (t.usec / TIME_THOUSANDS_FACTOR); in GetSoftbusRecordTimeMillis() local 189 return when; in GetSoftbusRecordTimeMillis()
|
H A D | softbus_hisysevt_bus_center.c | 293 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 D | json_serializer_test.cpp | 553 usedScene.when = "1"; in BenchmarkTestForReqPermissionUsedSceToJson() 570 jsonObject["when"] = "1"; in BenchmarkTestForReqPermissionUsedSceFromJson()
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | distributed_input_node_manager.cpp | 547 "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 D | bms_bundle_data_storage_database_test.cpp | 1328 "when": "" 1338 "when": "" 1348 "when": "" 1358 "when": "" 1368 "when": ""
|
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_server.cpp | 609 // 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()
|