/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_thread_test.cpp | 71 instance.InitGrContext(); 99 instance.PostTask(task); 103 instance.PostTask(task); 118 instance.PostRTTask(task); 121 instance.tid_ = tid; 122 instance.PostRTTask(task); 144 instance.tid_ = 0; 181 instance.handler_ = std::make_shared<AppExecFwk::EventHandler>(instance.runner_); 217 instance.handler_ = std::make_shared<AppExecFwk::EventHandler>(instance.runner_); 235 instance.Render(); [all …]
|
H A D | rs_realtime_refresh_rate_manager_test.cpp | 43 instance.SetShowRefreshRateEnabled(true); 47 instance.SetShowRefreshRateEnabled(true); 48 ret = instance.GetShowRefreshRateEnabled(); 51 instance.SetShowRefreshRateEnabled(false); 52 ret = instance.GetShowRefreshRateEnabled(); 55 instance.SetShowRefreshRateEnabled(false); 56 ret = instance.GetShowRefreshRateEnabled(); 92 instance.SetShowRefreshRateEnabled(true); 96 instance.SetShowRefreshRateEnabled(true); 100 instance.SetShowRefreshRateEnabled(false); [all …]
|
/ohos5.0/foundation/barrierfree/accessibility/frameworks/acfwk/test/unittest/ |
H A D | accessibility_config_impl_test.cpp | 475 instance.InitializeContext(); 494 instance.InitializeContext(); 513 instance.InitializeContext(); 532 instance.InitializeContext(); 551 instance.InitializeContext(); 570 instance.InitializeContext(); 590 instance.InitializeContext(); 610 instance.InitializeContext(); 630 instance.InitializeContext(); 650 instance.InitializeContext(); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/cj/src/ |
H A D | distributed_kv_store_ffi.cpp | 41 if (instance == nullptr) { in FfiOHOSDistributedKVStoreGetKVStore() 51 if (instance == nullptr) { in FfiOHOSDistributedKVStoreCloseKVStore() 60 if (instance == nullptr) { in FfiOHOSDistributedKVStoreDeleteKVStore() 69 if (instance == nullptr) { in FfiOHOSDistributedKVStoreGetAllKVStoreId() 79 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStorePut() 88 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStorePutBatch() 97 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStoreDelete() 106 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStoreDeleteBatch() 115 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStoreGet() 125 if (instance == nullptr) { in FfiOHOSDistributedKVStoreSingleKVStoreBackup() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_point_light_manager_test.cpp | 159 instance->PrepareLight(); 164 instance->PrepareLight(); 167 instance->PrepareLight(); 172 instance->PrepareLight(); 175 instance->PrepareLight(); 214 instance->PrepareLight(); 219 instance->PrepareLight(); 225 instance->PrepareLight(); 232 instance->PrepareLight(); 236 instance->PrepareLight(); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/transaction/ |
H A D | rs_interfaces_test.cpp | 156 instance.SetAppWindowNum(1); 170 instance.ReportJankStats(); 185 instance.ReportEventResponse(info); 200 instance.ReportEventComplete(info); 215 instance.ReportEventJankFrame(info); 230 instance.ReportGameStateData(info); 259 instance.GetActiveDirtyRegionInfo(); 273 instance.GetGlobalDirtyRegionInfo(); 287 instance.GetLayerComposeInfo(); 315 instance.SetVmaCacheStatus(true); [all …]
|
H A D | rs_sync_transaction_controller_test.cpp | 51 instance->needCloseSync_ = true; 52 ptr = instance->GetRSTransaction(); 65 instance->needCloseSync_ = false; 66 instance->OpenSyncTransaction(); 69 instance->OpenSyncTransaction(); 73 instance->needCloseSync_ = false; 74 instance->OpenSyncTransaction(); 88 instance->CloseSyncTransaction(); 91 instance->CloseSyncTransaction(); 94 instance->needCloseSync_ = true; [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | stat_ffi.cpp | 29 if (!instance) { in FfiOHOSStatGetIno() 39 if (!instance) { in FfiOHOSStatGetMode() 49 if (!instance) { in FfiOHOSStatGetUid() 59 if (!instance) { in FfiOHOSStatGetGid() 69 if (!instance) { in FfiOHOSStatGetSize() 79 if (!instance) { in FfiOHOSStatGetAtime() 89 if (!instance) { in FfiOHOSStatGetMtime() 99 if (!instance) { in FfiOHOSStatGetCtime() 110 if (!instance) { in FfiOHOSStatIsBlockDevice() 121 if (!instance) { in FfiOHOSStatIsCharacterDevice() [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_payload_statistics_impl_unittest.cpp | 72 instance.StartStatistics(); in InitIPCPayloadStatisticsData() 107 EXPECT_EQ(instance.GetTotalCount(), 0); 123 EXPECT_EQ(instance.StopStatistics(), true); 134 EXPECT_EQ(instance.GetTotalCost(), 0); 150 EXPECT_EQ(instance.StopStatistics(), true); 180 EXPECT_EQ(instance.StopStatistics(), true); 191 EXPECT_EQ(instance.GetCount(PID_1), 0); 207 EXPECT_EQ(instance.StopStatistics(), true); 218 EXPECT_EQ(instance.GetCost(PID_1), 0); 234 EXPECT_EQ(instance.StopStatistics(), true); [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_image_ndk/ |
H A D | detail_enhancer_image_ndk_unit_test.cpp | 126 OH_ImageProcessing* instance = nullptr; variable 135 OH_ImageProcessing* instance = nullptr; variable 144 OH_ImageProcessing* instance = nullptr; variable 153 OH_ImageProcessing* instance = nullptr; variable 205 OH_ImageProcessing_Destroy(instance); 217 OH_ImageProcessing::Destroy(instance); 228 OH_ImageProcessing_Destroy(instance); 239 OH_ImageProcessing::Destroy(instance); 262 OH_ImageProcessing_Destroy(instance); 287 OH_ImageProcessing_Destroy(instance); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkModifier.js | 35 let component = instance; 80 let component = instance; 224 initializeModifier(instance) {} 225 onComponentChanged(instance) {} 245 applyNormalAttribute(instance) { argument 255 applyNormalAttribute(instance) { argument 265 applyNormalAttribute(instance) { argument 275 applyNormalAttribute(instance) { argument 285 applyNormalAttribute(instance) { argument 295 applyNormalAttribute(instance) { argument [all …]
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_ffi.cpp | 76 if (instance == nullptr) { in FfiOHOSWindowHide() 89 if (instance == nullptr) { in FfiOHOSWindowHideWithAnimation() 102 if (instance == nullptr) { in FfiOHOSWindowShowWindow() 115 if (instance == nullptr) { in FfiOHOSWindowShowWithAnimation() 128 if (instance == nullptr) { in FfiOHOSWindowDestroyWindow() 141 if (instance == nullptr) { in FfiOHOSWindowMoveWindowTo() 154 if (instance == nullptr) { in FfiOHOSWindowResize() 167 if (instance == nullptr) { in FfiOHOSWindowSetWindowMode() 181 if (instance == nullptr) { in FfiOHOSWindowGetWindowProperties() 195 if (instance == nullptr) { in FfiOHOSWindowSetWindowLayoutFullScreen() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/ |
H A D | detail_enhancer_video_ndk_unit_test.cpp | 204 ndkLoader.Start(instance); 205 ndkLoader.Stop(instance); 209 ndkLoader.Destroy(instance); 380 OH_VideoProcessing_Destroy(instance); 408 OH_VideoProcessing_Destroy(instance); 438 OH_VideoProcessing_Destroy(instance); 468 OH_VideoProcessing_Destroy(instance); 990 ret = instance->GetObj()->Stop(); 1070 ret = instance->GetObj()->Stop(); 1141 ret = instance->GetObj()->Stop(); [all …]
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/ |
H A D | common_event_manager_ffi.cpp | 70 if (!instance) { in CJ_CreateSubscriber() 86 if (!instance) { in CJ_Subscribe() 100 if (!instance) { in CJ_Unsubscribe() 111 if (!instance) { in CJ_GetCode() 124 if (!instance) { in CJ_SetCode() 136 if (!instance) { in CJ_GetData() 154 if (!instance) { in CJ_SetData() 165 if (!instance) { in CJ_SetCodeAndData() 177 if (!instance) { in CJ_IsOrderedCommonEvent() 191 if (!instance) { in CJ_IsStickyCommonEvent() [all …]
|
/ohos5.0/drivers/hdf_core/framework/utils/src/hcs_parser/ |
H A D | device_resource_if.c | 15 instance->GetRootNode = HcsGetRootNode; in HcsIfaceConstruct() 16 instance->GetBool = HcsGetBool; in HcsIfaceConstruct() 17 instance->GetUint8 = HcsGetUint8; in HcsIfaceConstruct() 20 instance->GetUint16 = HcsGetUint16; in HcsIfaceConstruct() 23 instance->GetUint32 = HcsGetUint32; in HcsIfaceConstruct() 26 instance->GetUint64 = HcsGetUint64; in HcsIfaceConstruct() 29 instance->GetString = HcsGetString; in HcsIfaceConstruct() 40 HcsIfaceConstruct(instance); in DeviceResourceIfaceConstruct() 51 if (instance == NULL) { in DeviceResourceGetIfaceInstance() 56 instance = &singletonInstance; in DeviceResourceGetIfaceInstance() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | kvstore_service_death_notifier.cpp | 36 return instance; in GetInstance() 41 auto &instance = GetInstance(); in SetAppId() local 43 instance.appId_ = appId; in SetAppId() 48 auto &instance = GetInstance(); in GetAppId() local 50 return instance.appId_; in GetAppId() 56 auto &instance = GetInstance(); in GetDistributedKvDataService() local 59 return instance.kvDataServiceProxy_; in GetDistributedKvDataService() 89 return instance.kvDataServiceProxy_; in GetDistributedKvDataService() 109 auto &instance = GetInstance(); in AddServiceDeathWatcher() local 121 auto &instance = GetInstance(); in RemoveServiceDeathWatcher() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/ |
H A D | image_compressor_test.cpp | 62 instance->Init(); 65 instance->InitPartitionInfo(&p, instance->partitions_[1], 1); 66 instance->InitPartitionInfo(&p, instance->partitions_[1], 2); 67 instance->InitPartitionInfo(&p, instance->partitions_[1], 3); 85 instance->Init(); 108 instance->Init(); 130 instance->Init(); 153 instance->Init(); 179 instance->Init(); 200 instance->Init(); [all …]
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/display_runtime/ |
H A D | display_ffi.cpp | 81 if (!instance) { in FfiOHOSDisplayGetId() 93 if (!instance) { in FfiOHOSGetDisplayName() 105 if (!instance) { in FfiOHOSDisplayGetAlive() 117 if (!instance) { in FfiOHOSDisplayGetState() 129 if (!instance) { in FfiOHOSDisplayGetRefreshRate() 141 if (!instance) { in FfiOHOSDisplayGetRotation() 153 if (!instance) { in FfiOHOSDisplayGetOrientation() 165 if (!instance) { in FfiOHOSDisplayGetWidth() 177 if (!instance) { in FfiOHOSDisplayGetHeight() 189 if (!instance) { in FfiOHOSDisplayGetDensityDPI() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/render/ |
H A D | rs_image_cache_test.cpp | 60 auto& instance = RSImageCache::Instance(); variable 75 auto& instance = RSImageCache::Instance(); variable 97 auto& instance = RSImageCache::Instance(); variable 100 instance.CacheDrawingImage(ADDED_ID, img); 117 auto& instance = RSImageCache::Instance(); variable 182 instance.CachePixelMap(ADDED_ID, pixel); 185 instance.ReleasePixelMapCache(ADDED_ID); 202 instance.CachePixelMap(ADDED_ID, pixel); 210 instance.ReleasePixelMapCache(ADDED_ID); 254 instance.CachePixelMap(ADDED_ID, pixel); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_frame_rate_policy_test.cpp | 50 instance->RegisterHgmConfigChangeCallback(); 54 instance->GetPreferredFps(scene, speed); 66 instance->RegisterHgmConfigChangeCallback(); 68 instance->GetRefreshRateModeName(); 81 instance->HgmConfigChangeCallback(configData); 85 instance->HgmConfigChangeCallback(configData); 90 instance->HgmConfigChangeCallback(configData); 95 instance->HgmConfigChangeCallback(configData); 99 instance->HgmConfigChangeCallback(configData); 152 instance->ppi_ = 0; [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_ffi.cpp | 56 if (!instance) { in FfiOHOSPreferencesGet() 66 if (!instance) { in FfiOHOSPreferencesPut() 76 if (!instance) { in FfiOHOSPreferencesGetAll() 86 if (!instance) { in FfiOHOSPreferencesFlush() 90 instance->Flush(); in FfiOHOSPreferencesFlush() 97 if (!instance) { in FfiOHOSPreferencesClear() 108 if (!instance) { in FfiOHOSPreferencesHas() 118 if (!instance) { in FfiOHOSPreferencesDelete() 128 if (!instance) { in FfiOHOSPreferencesOn() 140 if (!instance) { in FfiOHOSPreferencesOff() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hyper_graphic_manager_test.cpp | 83 auto &instance = HgmCore::Instance(); variable 87 bool init = instance.IsInit(); 91 instance.GetPolicyConfigData(); 106 auto &instance = HgmCore::Instance(); variable 113 bool init = instance.IsInit(); 329 auto &instance = HgmCore::Instance(); variable 371 auto &instance = HgmCore::Instance(); variable 449 auto &instance = HgmCore::Instance(); variable 512 auto &instance = HgmCore::Instance(); variable 553 auto &instance = HgmCore::Instance(); variable [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | image_ffi.cpp | 586 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSReadPixelsToBuffer() 599 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSWriteBufferToPixels() 612 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSGetDensity() 627 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSOpacity() 640 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSCrop() 658 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSGetPixelBytesNumber() 673 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSGetBytesNumberPerRow() 690 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSGetImageInfo() 708 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSScale() 721 if (!instance || !instance->GetRealPixelMap()) { in FfiOHOSFlip() [all …]
|
/ohos5.0/base/global/resource_management/interfaces/cj/src/ |
H A D | resource_manager_ffi.cpp | 73 if (!instance) { in CJ_CloseRawFd() 82 if (!instance) { in CJ_GetRawFd() 111 if (!instance) { in CJ_GetRawFileContent() 129 if (!instance) { in CJ_GetRawFileList() 144 if (!instance) { in CJ_AddResource() 153 if (!instance) { in CJ_RemoveResource() 164 if (!instance) { in CJ_GetPluralStringValue() 180 if (!instance) { in CJ_GetPluralStringValueByResource() 209 if (!instance) { in CJ_GetPluralStringByName() 226 if (!instance) { in CJ_GetStringArrayValue() [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_ipc_client_manager.cpp | 97 instance->dmInterface_ = dmInterface; 99 int ret = instance->ClientInit(); 117 int ret = instance->ClientInit(); 142 int32_t ret = instance->Init(pkgName); 266 instance->dmInterface_ = nullptr; 419 instance->dmInterface_ = nullptr; 577 instance->dmInterface_ = nullptr; 593 instance->dmInterface_ = nullptr; 608 instance->dmInterface_ = nullptr; 624 instance->dmInterface_ = nullptr; [all …]
|