/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/ |
D | app_storage_test.ts | 30 test("added 'say' wrong value", AppStorage.Get<string>("say") == "Hello"); 31 test("added 'name' wrong value", AppStorage.Get<string>("name") == "Gudio"); 36 test("added 'true' wrong boolean value", AppStorage.Get<boolean>("true")); 42 test("added 'favorite', has correct number value", AppStorage.Get<number>("favorite") == 47); 43 … test("added 'favorite' converted to string is '47'", AppStorage.Get<string>("favorite") == "47"); 53 …test("AppStorage: 'say' expected updated value is `Anton`.", AppStorage.Get<string>("say") == "Ant… 59 …test("AppStorage: 'say' expected updated value is `Hanna`.", AppStorage.Get<string>("say") == "Han… 73 …test("AppStorage: 'say' expected updated value is `Hanna`.", AppStorage.Get<string>("say") == "Han… 83 …test("AppStorage: 'say' expected updated value is `Gudio`.", AppStorage.Get<string>("say") == "Gui… 99 test("app unchanged value expected `Guido`.", AppStorage.Get("say") == "Guido"); [all …]
|
D | persistent_storage_test.ts | 24 …xistingPropToPersist' value retrieved from AppStorage correct", AppStorage.Get<number>("existingPr… 36 …orage 'persistentSay' value retrieved from AppStorage correct", AppStorage.Get<string>("persistent… 37 …e 'persistentSubject' value retrieved from AppStorage correct", AppStorage.Get<string>("persistent… 50 …orage 'persistentSay' value retrieved from AppStorage correct", AppStorage.Get<string>("persistent… 51 …e 'persistentSubject' value retrieved from AppStorage correct", AppStorage.Get<string>("persistent… 52 …test("PersistentStorage 'writeToDb' value retrieved from AppStorage correct", AppStorage.Get<strin… 53 …test("PersistentStorage 'numberToDb' value retrieved from AppStorage correct", AppStorage.Get<numb… 71 …test("PersistentStorage 'newProp' value retrieved from AppStorage correct", AppStorage.Get<string>… 86 SubscriberManager.Get().dumpSubscriberInfo(); 89 …r num of subscribers, is ${SubscriberManager.Get().numberOfSubscrbers()} should be 0`, SubscriberM…
|
D | app_storage_array_test.ts | 20 private id_: number = SubscriberManager.Get().MakeId(); 24 SubscriberManager.Get().add(this); 37 SubscriberManager.Get().delete(this.id()); 49 private id_: number = SubscriberManager.Get().MakeId(); 54 SubscriberManager.Get().add(this); 66 SubscriberManager.Get().delete(this.id()); 111 …test("Initial array value readback.", AppStorage.Get<number[]>("arr").toString() == arr.toString()… 112 …test(`Initial array value readback, check Array.isArray`, Array.isArray(AppStorage.Get<number[]>("… 113 …eck instance of ObservedObject`, ObservedObject.IsObservedObject(AppStorage.Get<number[]>("arr"))); 119 AppStorage.Get<number[]>("arr").push(5); [all …]
|
D | view_test.ts | 87 SubscriberManager.Get().delete(this.id()); 192 SubscriberManager.Get().delete(this.id()); 233 SubscriberManager.Get().dumpSubscriberInfo(); 239 …r num of subscribers, is ${SubscriberManager.Get().numberOfSubscrbers()} should be 7`, SubscriberM… 314 SubscriberManager.Get().dumpSubscriberInfo(); 317 …er num of subscribers is ${SubscriberManager.Get().numberOfSubscrbers()} should be 3`, SubscriberM… 324 SubscriberManager.Get().dumpSubscriberInfo(); 326 …r num of subscribers is ${SubscriberManager.Get().numberOfSubscrbers()} should be 0 .`, Subscriber…
|
D | environment_test.ts | 47 …test("Environment value 'accessibilityEnabled' correct", AppStorage.Get<boolean>("accessibilityEna… 48 … test("Environment value 'languageCode' correct", AppStorage.Get<string>("languageCode") == "cn"); 55 …test("Environment value 'languageCode' after backend change", AppStorage.Get<string>("languageCode… 56 …test("Environment value 'accessibilityEnabled' after backend change", AppStorage.Get<boolean>("acc…
|
D | observed_objects_properties_nested.ts | 38 private id_: number = SubscriberManager.Get().MakeId(); 42 SubscriberManager.Get().add(this); 55 SubscriberManager.Get().delete(this.id()); 104 …r num of subscribers is ${SubscriberManager.Get().numberOfSubscrbers()} should be 0 .`, Subscriber…
|
D | observed_objects_properties_array1.ts | 29 private id_: number = SubscriberManager.Get().MakeId(); 33 SubscriberManager.Get().add(this); 46 SubscriberManager.Get().delete(this.id()); 119 …r num of subscribers is ${SubscriberManager.Get().numberOfSubscrbers()} should be 0 .`, Subscriber…
|
/foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include/ |
D | event_handler.h | 110 return SendEvent(InnerEvent::Get(innerEventId, param), delayTime); in SendEvent() 123 return SendEvent(InnerEvent::Get(innerEventId, 0), delayTime, priority); 135 return SendEvent(InnerEvent::Get(innerEventId, 0), 0, priority); in SendEvent() 149 return SendEvent(InnerEvent::Get(innerEventId, object), delayTime); 163 return SendEvent(InnerEvent::Get(innerEventId, object), delayTime); 177 return SendEvent(InnerEvent::Get(innerEventId, object), delayTime); 191 return SendEvent(InnerEvent::Get(innerEventId, object), delayTime); 225 return SendImmediateEvent(InnerEvent::Get(innerEventId, param)); 238 return SendImmediateEvent(InnerEvent::Get(innerEventId, object)); in SendImmediateEvent() 251 return SendImmediateEvent(InnerEvent::Get(innerEventId, object)); in SendImmediateEvent() [all …]
|
D | inner_event.h | 66 static Pointer Get(uint32_t innerEventId, int64_t param = 0); 77 …static inline Pointer Get(uint32_t innerEventId, const std::shared_ptr<T> &object, int64_t param =… 79 auto event = Get(innerEventId, param); 93 …static inline Pointer Get(uint32_t innerEventId, const std::weak_ptr<T> &object, int64_t param = 0) 95 auto event = Get(innerEventId, param); 109 …static inline Pointer Get(uint32_t innerEventId, std::unique_ptr<T, D> &&object, int64_t param = 0) 111 auto event = Get(innerEventId, param); 125 … static inline Pointer Get(uint32_t innerEventId, std::unique_ptr<T, D> &object, int64_t param = 0) 127 auto event = Get(innerEventId, param); 141 … static inline Pointer Get(uint32_t innerEventId, int64_t param, const std::shared_ptr<T> &object) in Get() function [all …]
|
/foundation/graphic/standard/frameworks/vsync/src/ |
D | vsync_manager_proxy.cpp | 45 if (!ReturnValueTester::Get<bool>(reval)) { in ListenVsync() 52 if (ReturnValueTester::Get<int>(result)) { in ListenVsync() 58 GSError err = (GSError)ReturnValueTester::Get<int>(res); in ListenVsync() 72 if (!ReturnValueTester::Get<bool>(reval)) { in RemoveVsync() 78 if (ReturnValueTester::Get<int>(result)) { in RemoveVsync() 84 GSError err = (GSError)ReturnValueTester::Get<int>(res); in RemoveVsync() 100 if (!ReturnValueTester::Get<bool>(reval)) { in GetVsyncFrequency() 106 if (ReturnValueTester::Get<int>(result)) { in GetVsyncFrequency() 112 GSError err = (GSError)ReturnValueTester::Get<int>(res); in GetVsyncFrequency()
|
D | vsync_callback_proxy.cpp | 39 if (!ReturnValueTester::Get<bool>(reval)) { in OnVsync() 45 if (!ReturnValueTester::Get<bool>(retval)) { in OnVsync() 51 if (ReturnValueTester::Get<int>(res)) { in OnVsync() 56 GSError err = (GSError)ReturnValueTester::Get<int>(GSERROR_OK); in OnVsync()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/test/moduletest/common/distributeddb/src/ |
D | distributeddb_kv_crud_test.cpp | 102 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 112 Value valueResult2 = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_2); 131 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 145 Value valueResult2 = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 164 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 174 valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 184 valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 211 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); 234 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_EMPTY); 258 Value valueResult = DistributedTestTools::Get(*g_kvStoreDelegate, KEY_1); [all …]
|
/foundation/appexecfwk/standard/libs/libeventhandler/test/unittest/ |
D | lib_event_handler_event_test.cpp | 38 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo() 92 auto event = InnerEvent::Get(eventId, eventParam); 113 auto event = InnerEvent::Get(eventId, object, eventParam); 138 auto event = InnerEvent::Get(eventId, weakObject, eventParam); 164 auto event = InnerEvent::Get(eventId, object, eventParam); 189 auto event = InnerEvent::Get(eventId, object, eventParam); 230 auto event = InnerEvent::Get(eventId, object, eventParam); 253 auto event = InnerEvent::Get(eventId); 271 auto event = InnerEvent::Get(eventId); 290 auto event = InnerEvent::Get(eventId); [all …]
|
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_inner_event_system_test/ |
D | ems_inner_event_system_test.cpp | 44 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo1() 58 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo2() 72 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo3() 86 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo4() 100 auto event = InnerEvent::Get(f, taskName); in TestTaskInfo5() 137 auto event = InnerEvent::Get(EVENT_ID); 151 auto event = InnerEvent::Get(EVENT_ID); 166 auto event = InnerEvent::Get(EVENT_ID); 180 auto event = InnerEvent::Get(EVENT_ID); 194 auto event = InnerEvent::Get(EVENT_ID);
|
/foundation/windowmanager/dm/src/ |
D | screen.cpp | 120 return SingletonContainer::Get<ScreenManagerAdapter>().SetOrientation(GetId(), orientation); in SetOrientation() 125 …return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenSupportedColorGamuts(GetId(), colo… in GetScreenSupportedColorGamuts() 130 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenColorGamut(GetId(), colorGamut); in GetScreenColorGamut() 135 …return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(GetId(), colorGamutIdx); in SetScreenColorGamut() 140 return SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(GetId(), gamutMap); in GetScreenGamutMap() 145 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenGamutMap(GetId(), gamutMap); in SetScreenGamutMap() 150 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorTransform(GetId()); in SetScreenColorTransform() 176 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenActiveMode(screenId, modeId); in SetScreenActiveMode() 190 auto screenInfo = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenInfo(GetId()); in UpdateScreenInfo()
|
/foundation/windowmanager/wm/src/ |
D | window_manager_agent.cpp | 25 SingletonContainer::Get<WindowManager>().UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo() 30 SingletonContainer::Get<WindowManager>().UpdateSystemBarRegionTints(displayId, tints); in UpdateSystemBarRegionTints() 36 SingletonContainer::Get<WindowManager>().NotifyAccessibilityWindowInfo(windowInfo, type); in NotifyAccessibilityWindowInfo() 41 SingletonContainer::Get<WindowManager>().UpdateWindowVisibilityInfo(visibilityInfos); in UpdateWindowVisibilityInfo()
|
/foundation/ace/ace_engine/frameworks/core/animation/ |
D | property_animatable_helper.h | 36 const BorderEdge& Get(const Border& border) const in Get() function 46 BorderEdge edge = Get(*border); in Set() 59 BorderEdge edge = Get(*border); in Set() 70 BorderEdge edge = Get(*border); in Set() 92 float Get(const Border& border) const in Get() function 102 float oldValue = Get(*border); in Set() 123 const AnimatableDimension& Get(const Edge& edge) const in Get() function 133 AnimatableDimension old = Get(*edge); in Set()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/app/test/unittest/ |
D | kvstore_sync_manager_test.cpp | 104 kvStore2->Get(key1, value1Tmp); 113 kvStore2->Get(key2, value2Tmp); 119 Status ret = kvStore2->Get(key2, value2Tmp); 122 ret = kvStore2->Get(key1, value1Tmp); 152 Status ret = kvStore2->Get(key1, value1Tmp); 161 ret = kvStore2->Get(key2, value2Tmp); 167 ret = kvStore2->Get(key2, value2Tmp); 171 ret = kvStore2->Get("key1", value1Tmp); 174 ret = kvStore2->Get(key2, value2Tmp); 201 kvStore2->Get(key1, value1Tmp); [all …]
|
/foundation/ace/ace_engine/adapter/ohos/entrance/ |
D | pa_container.cpp | 80 auto& loader = JsBackendEngineLoader::Get(GetPaEngineSharedLibrary(isArkApp_)); in InitializeBackend() 93 auto container = AceEngine::Get().GetContainer(instanceId); in GetContainer() 101 AceEngine::Get().AddContainer(instanceId, aceContainer); in CreateContainer() 113 auto container = AceEngine::Get().GetContainer(instanceId); in RunPa() 136 auto container = AceEngine::Get().GetContainer(instanceId); in OnCreate() 159 auto container = AceEngine::Get().GetContainer(instanceId); in OnDelete() 182 auto container = AceEngine::Get().GetContainer(instanceId); in OnTriggerEvent() 205 auto container = AceEngine::Get().GetContainer(instanceId); in OnAcquireFormState() 228 auto container = AceEngine::Get().GetContainer(instanceId); in OnUpdate() 251 auto container = AceEngine::Get().GetContainer(instanceId); in OnCastTemptoNormal() [all …]
|
/foundation/ace/ace_engine_lite/frameworks/src/core/wrapper/ |
D | js.cpp | 114 JSValue JSObject::Get(JSValue target, JSValue key) in Get() function in OHOS::ACELite::JSObject 119 JSValue JSObject::Get(JSValue target, const char * const prop) in Get() function in OHOS::ACELite::JSObject 129 JSValue value = JSObject::Get(target, prop); in GetString() 136 JSValue value = JSObject::Get(target, prop); in GetNumber() 143 JSValue value = JSObject::Get(target, prop); in GetBoolean() 208 JSValue func = Get(target, prop); in Call() 229 JSValue JSGlobal::Get() in Get() function in OHOS::ACELite::JSGlobal 234 JSValue JSGlobal::Get(const char * const prop) in Get() function in OHOS::ACELite::JSGlobal 236 JSValue global = JSGlobal::Get(); in Get() 237 JSValue result = JSObject::Get(global, prop); in Get() [all …]
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/ability_delegator/ |
D | js_ability_monitor.cpp | 36 NativeValue* value = jsAbilityMonitor_->Get(); in onAbilityCreate() 63 NativeValue *value = jsAbilityMonitor_->Get(); in onAbilityForeground() 90 NativeValue *value = jsAbilityMonitor_->Get(); in onAbilityBackground() 117 NativeValue *value = jsAbilityMonitor_->Get(); in onAbilityDestroy() 144 NativeValue *value = jsAbilityMonitor_->Get(); in onWindowStageCreate() 171 NativeValue *value = jsAbilityMonitor_->Get(); in onWindowStageRestore() 193 NativeValue *value = jsAbilityMonitor_->Get(); in onWindowStageDestroy()
|
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_handler_system_test/ |
D | ems_event_handler_test.cpp | 250 auto event = InnerEvent::Get(innerEventId, flagParam); in ProcessEventTest() 275 auto event001 = InnerEvent::Get(EVENT_ID); 290 auto event002 = InnerEvent::Get(EVENT_ID, EVENT_PARAM_ONE); 306 auto event003 = InnerEvent::Get(task, THREAD_NAME_TEST1); 322 auto event004 = InnerEvent::Get(task, THREAD_NAME_TEST2); 338 auto event005 = InnerEvent::Get(task, THREAD_NAME_TEST3); 354 auto event005 = InnerEvent::Get(task, THREAD_NAME_TEST4); 530 auto event = InnerEvent::Get(EVENT_ID_ONE, object); 549 auto event = InnerEvent::Get(EVENT_ID_TWO, object); 568 auto event = InnerEvent::Get(EVENT_ID_THREE, object); [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/ |
D | observed_property_abstract.ts | 47 this.id_ = SubscriberManager.Get().MakeId(); 48 SubscriberManager.Get().add(this); 58 SubscriberManager.Get().delete(this.id__()) 88 var registry: IPropertySubscriberLookup = SubscriberManager.Get(); 106 var registry: IPropertySubscriberLookup = SubscriberManager.Get();
|
/foundation/graphic/standard/frameworks/wm/src/ |
D | window_manager_impl.cpp | 64 windowManagerServer = SingletonContainer::Get<WindowManagerServer>(); in InitSingleton() 65 wlBufferCache = SingletonContainer::Get<WlBufferCache>(); in InitSingleton() 66 wlDMABufferFactory = SingletonContainer::Get<WlDMABufferFactory>(); in InitSingleton() 67 wlSHMBufferFactory = SingletonContainer::Get<WlSHMBufferFactory>(); in InitSingleton() 68 wlSubsurfaceFactory = SingletonContainer::Get<WlSubsurfaceFactory>(); in InitSingleton() 69 wlSurfaceFactory = SingletonContainer::Get<WlSurfaceFactory>(); in InitSingleton() 78 waylandService = SingletonContainer::Get<WaylandService>(); in InitSingleton() 89 display = SingletonContainer::Get<WlDisplay>(); in Init() 110 wmsc = SingletonContainer::Get<WindowManagerServiceClient>(); in Init() 153 display = SingletonContainer::Get<WlDisplay>(); in Deinit() [all …]
|
D | subwindow_normal_impl.cpp | 38 wlSurface = SingletonContainer::Get<WlSurfaceFactory>()->Create(); in CreateWlSurface() 44 auto subsurfaceFactory = SingletonContainer::Get<WlSubsurfaceFactory>(); in CreateWlSurface() 64 const auto &sc = SingletonContainer::Get<StaticCall>(); in CreateConsumerSurface() 75 psurf = SingletonContainer::Get<StaticCall>()->SurfaceCreateSurfaceAsProducer(producer); in CreateConsumerSurface() 156 Tester::Get().ScheduleForConcurrent(); in Destroy() 162 SingletonContainer::Get<WlBufferCache>()->CleanCache(); in Destroy() 200 if (SingletonContainer::Get<WlBufferCache>()->GetSurfaceBuffer(wbuffer, surf, sbuffer)) { in OnWlBufferRelease() 237 auto bc = SingletonContainer::Get<WlBufferCache>(); in OnBufferAvailable() 240 auto dmaBufferFactory = SingletonContainer::Get<WlDMABufferFactory>(); in OnBufferAvailable() 274 SingletonContainer::Get<WlDisplay>()->Flush(); in SendBufferToServer()
|