/drivers/hdf_core/framework/core/manager/src/ |
H A D | devsvc_manager.c | 24 struct DevSvcRecord *record = NULL; in DevSvcManagerSearchServiceLocked() local 32 DLIST_FOR_EACH_ENTRY(record, &devSvcManager->services, struct DevSvcRecord, entry) { in DevSvcManagerSearchServiceLocked() 33 if (record->key == serviceKey) { in DevSvcManagerSearchServiceLocked() 34 searchResult = record; in DevSvcManagerSearchServiceLocked() 42 struct DevSvcManager *devSvcManager, const struct DevSvcRecord *record, uint32_t status) in NotifyServiceStatusLocked() 47 .deviceClass = record->devClass, in NotifyServiceStatusLocked() 48 .serviceName = record->servName, in NotifyServiceStatusLocked() 50 .info = record->servInfo, in NotifyServiceStatusLocked() 54 if ((holder->listenClass & record->devClass) && holder->NotifyStatus != NULL) { in NotifyServiceStatusLocked() 68 struct DevSvcRecord *record in NotifyServiceStatusOnRegisterLocked() local 41 NotifyServiceStatusLocked( struct DevSvcManager *devSvcManager, const struct DevSvcRecord *record, uint32_t status) NotifyServiceStatusLocked() argument 89 struct DevSvcRecord *record = NULL; DevSvcManagerAddService() local 135 struct DevSvcRecord *record = NULL; DevSvcManagerUpdateService() local 239 struct DevSvcRecord *record = NULL; DevSvcManagerListService() local 266 struct DevSvcRecord *record = NULL; DevSvcManagerListAllService() local 286 struct DevSvcRecord *record = NULL; DevSvcManagerListServiceByInterfaceDesc() local 421 struct DevSvcRecord *record = NULL; DevSvcManagerRelease() local [all...] |
/drivers/hdf_core/framework/core/host/src/ |
H A D | hdf_observer_record.c | 45 struct HdfServiceObserverRecord *record = NULL; in HdfServiceObserverRecordCompare() local 49 record = (struct HdfServiceObserverRecord *)listEntry; in HdfServiceObserverRecordCompare() 50 if (record->serviceKey == serviceKey) { in HdfServiceObserverRecordCompare() 57 struct HdfServiceObserverRecord *record, devid_t deviceId, uint16_t policy) in HdfServiceObserverRecordNotifySubscribers() 60 if (record == NULL) { in HdfServiceObserverRecordNotifySubscribers() 61 HDF_LOGE("%{public}s: record is null", __func__); in HdfServiceObserverRecordNotifySubscribers() 65 OsalMutexLock(&record->obsRecMutex); in HdfServiceObserverRecordNotifySubscribers() 66 HdfSListIteratorInit(&it, &record->subscribers); in HdfServiceObserverRecordNotifySubscribers() 73 subscriber->callback.OnServiceConnected(subscriber->callback.deviceObject, record->publisher); in HdfServiceObserverRecordNotifySubscribers() 77 OsalMutexUnlock(&record in HdfServiceObserverRecordNotifySubscribers() 56 HdfServiceObserverRecordNotifySubscribers( struct HdfServiceObserverRecord *record, devid_t deviceId, uint16_t policy) HdfServiceObserverRecordNotifySubscribers() argument [all...] |
/drivers/peripheral/memorytracker/test/unittest/phone/ |
H A D | hdf_memorytracker_test.cpp | 69 for (auto record : records) { in HWTEST_F() 70 printf("memtrack: \trecords[%d], flag=%d, size=%lld \n", i++, record.flags, (long long)record.size); in HWTEST_F() 89 for (auto record : records) { in HWTEST_F() 90 printf("memtrack: \trecords[%d], flag=%d, size=%lld \n", i++, record.flags, (long long)record.size); in HWTEST_F()
|
/drivers/external_device_manager/services/native/driver_extension/src/ |
H A D | driver_extension.cpp | 55 void DriverExtension::Init(const std::shared_ptr<AbilityLocalRecord> &record, in Init() argument 60 ExtensionBase<DriverExtensionContext>::Init(record, application, handler, token); in Init() 65 const std::shared_ptr<AbilityLocalRecord> &record, in CreateAndInitContext() 71 ExtensionBase<DriverExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 64 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
H A D | js_driver_extension.cpp | 128 void JsDriverExtension::Init(const std::shared_ptr<AbilityLocalRecord> &record, in Init() argument 132 DriverExtension::Init(record, application, handler, token); in Init()
|
/drivers/external_device_manager/services/native/driver_extension/include/ |
H A D | driver_extension.h | 39 * @param record the extension record. 46 const std::shared_ptr<AbilityLocalRecord> &record, 54 * @param record the extension record. 59 virtual void Init(const std::shared_ptr<AbilityLocalRecord> &record,
|
H A D | js_driver_extension.h | 48 * @param record the extension record. 53 virtual void Init(const std::shared_ptr<AppExecFwk::AbilityLocalRecord> &record,
|
/drivers/hdf_core/framework/core/host/include/ |
H A D | hdf_observer_record.h | 31 struct HdfServiceObserverRecord *record, devid_t deviceId, uint16_t policy);
|