/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_op.cpp | 26 method->Save(); in Draw() 31 method->Restore(); in Draw() 88 method->Fill(); in Draw() 93 method->Fill(path); in Draw() 103 method->BeginPath(); in Draw() 113 method->ClosePath(); in Draw() 165 method->Stroke(); in Draw() 180 method->Clip(); in Draw() 185 method->Clip(path); in Draw() 195 method->Arc(param); in Draw() [all …]
|
H A D | canvas_paint_op.h | 49 void Draw(CanvasPaintMethod* method) const; 54 void Draw(CanvasPaintMethod* method) const; 61 void Draw(CanvasPaintMethod* method) const; 71 void Draw(CanvasPaintMethod* method) const; 78 void Draw(CanvasPaintMethod* method) const; 85 void Draw(CanvasPaintMethod* method) const; 92 void Draw(CanvasPaintMethod* method) const; 99 void Draw(CanvasPaintMethod* method) const; 106 void Draw(CanvasPaintMethod* method) const; 113 void Draw(CanvasPaintMethod* method) const; [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | autoTestDataModels.ets | 112 method: string; 154 'method' : 'getState' , 287 'method' : 'getState' , 378 'method' : 'getState' , 434 'method' : 'connect' , 570 'method' : 'close' , 597 'method' : 'getState' , 717 'method' : 'close' , 1030 'method' : 'connect' , 1121 'method' : 'connect' , [all …]
|
H A D | autoTestDataModelsManager.ets | 112 method: string; 568 'method' : 'closeManager' , 715 'method' : 'closeManager' , 750 'method' : 'setLocalName' , 766 'method' : 'getState' , 782 'method' : 'sppConnect' , 790 'method' : 'sppConnect' , 798 'method' : 'pairDevice' , 806 'method' : 'sppWrite' , 814 'method' : 'on.sppRead' , [all …]
|
H A D | scenarioTestDataModel.ets | 83 method: string; 109 'method' : 'getState' , 184 'method' : 'getState' , 267 'method' : 'getState' , 291 'method' : 'connect' , 363 'method' : 'close' , 398 'method' : 'getState' , 486 'method' : 'close' , 521 'method' : 'getState' , 569 'method' : 'sppWrite' , [all …]
|
H A D | scenarioTestDataModelManager.ets | 88 method: string; 114 'method' : 'getStateManager' , 189 'method' : 'getStateManager' , 272 'method' : 'getStateManager' , 296 'method' : 'connectManager' , 368 'method' : 'closeManager' , 403 'method' : 'getStateManager' , 491 'method' : 'closeManager' , 526 'method' : 'getStateManager' , 574 'method' : 'sppWriteManager' , [all …]
|
H A D | testDataModelsManager.ets | 111 method: string; 145 'method' : 'getStateManager' , 409 'method' : 'closeManager' , 580 'method' : 'closeManager' , 862 'method' : 'connect' , 870 'method' : 'disconnect' , 905 'method' : 'connect' , 913 'method' : 'disconnect' , 940 'method' : 'connect' , 948 'method' : 'disconnect' , [all …]
|
H A D | benchmarkTestDataModels.ets | 49 method: string; 75 'method' : 'getState' , 83 'method' : 'setLocalName' , 91 'method' : 'getLocalName' , 134 'method' : 'getState' , 142 'method' : 'setLocalName' , 194 'method' : 'connect' , 253 'method' : 'addService' , 312 'method' : 'getState' , 352 'method' : 'sppConnect' , [all …]
|
H A D | benchmarkTestDataModelsManager.ets | 87 method: string; 113 'method' : 'getStateManager' , 121 'method' : 'setLocalNameManager' , 129 'method' : 'getLocalNameManager' , 172 'method' : 'getStateManager' , 180 'method' : 'setLocalNameManager' , 231 'method' : 'connectManager' , 290 'method' : 'addServiceManager' , 349 'method' : 'getStateManager' , 390 'method' : 'sppConnectManager' , [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/entryability/model/ |
H A D | stressTestDataModels.ets | 183 method: string; 209 'method' : 'enableWifi' , 241 'method' : 'scan' , 329 'method' : 'disconnect' , 369 'method' : 'getIpInfo' , 417 'method' : 'reConnect' , 492 'method' : 'enableWifi' , 524 'method' : 'scan' , 623 'method' : 'disconnect' , 663 'method' : 'getIpInfo' , [all …]
|
H A D | autoTestDataModels.ets | 177 method: string; 207 'method' : 'enableWifi' , 239 'method' : 'scan' , 319 'method' : 'isConnected' , 351 'method' : 'getIpInfo' , 415 'method' : 'disconnect' , 431 'method' : 'reConnect' , 482 'method' : 'enableWifi' , 530 'method' : 'scan' , 658 'method' : 'getIpInfo' , [all …]
|
H A D | benchmarkTestDataModels.ets | 179 method: string; 209 'method' : 'enableWifi' , 217 'method' : 'disableWifi' , 249 'method' : 'scan' , 305 'method' : 'disconnect' , 337 'method' : 'getIpInfo' , 385 'method' : 'reConnect' , 452 'method' : 'enableWifi' , 492 'method' : 'scan' , 599 'method' : 'getIpInfo' , [all …]
|
H A D | testDataModels.ets | 197 method: string; 231 'method' : 'enableWifi' , 271 'method' : 'scan' , 279 'method' : 'scan' , 367 'method' : 'disconnect' , 407 'method' : 'getIpInfo' , 455 'method' : 'reConnect' , 578 'method' : 'scan' , 586 'method' : 'StartScan' , 772 'method' : 'getIpInfo' , [all …]
|
H A D | scenarioTestDataModels.ets | 183 method: string; 201 'method' : 'isWifiActive' , 209 'method' : 'enableWifi' , 241 'method' : 'scan' , 273 'method' : 'isConnected' , 297 'method' : 'getIpInfo' , 348 'method' : 'enableWifi' , 380 'method' : 'scan' , 428 'method' : 'getIpInfo' , 637 'method' : 'p2pConnect' , [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/rtc/ |
H A D | rtc_core.c | 23 if (host->method == NULL || host->method->ReadTime == NULL) { in RtcHostReadTime() 38 if (host->method == NULL || host->method->WriteTime == NULL) { in RtcHostWriteTime() 53 if (host->method == NULL || host->method->ReadAlarm == NULL) { in RtcHostReadAlarm() 68 if (host->method == NULL || host->method->WriteAlarm == NULL) { in RtcHostWriteAlarm() 83 if (host->method == NULL || host->method->RegisterAlarmCallback == NULL) { in RtcHostRegisterAlarmCallback() 98 if (host->method == NULL || host->method->AlarmInterruptEnable == NULL) { in RtcHostAlarmInterruptEnable() 113 if (host->method == NULL || host->method->GetFreq == NULL) { in RtcHostGetFreq() 128 if (host->method == NULL || host->method->SetFreq == NULL) { in RtcHostSetFreq() 143 if (host->method == NULL || host->method->Reset == NULL) { in RtcHostReset() 158 if (host->method == NULL || host->method->ReadReg == NULL) { in RtcHostReadReg() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/i2s/ |
H A D | i2s_core.c | 26 if (cntlr->method == NULL || cntlr->method->Open == NULL) { in I2sCntlrOpen() 44 if (cntlr->method == NULL || cntlr->method->Close == NULL) { in I2sCntlrClose() 62 if (cntlr->method == NULL || cntlr->method->Enable == NULL) { in I2sCntlrEnable() 80 if (cntlr->method == NULL || cntlr->method->Disable == NULL) { in I2sCntlrDisable() 98 if (cntlr->method == NULL || cntlr->method->StartRead == NULL) { in I2sCntlrStartRead() 125 if (cntlr->method == NULL || cntlr->method->StopRead == NULL) { in I2sCntlrStopRead() 143 if (cntlr->method == NULL || cntlr->method->StartWrite == NULL) { in I2sCntlrStartWrite() 170 if (cntlr->method == NULL || cntlr->method->StopWrite == NULL) { in I2sCntlrStopWrite() 189 if (cntlr->method == NULL || cntlr->method->SetCfg == NULL) { in I2sCntlrSetCfg() 209 if (cntlr->method == NULL || cntlr->method->GetCfg == NULL) { in I2sCntlrGetCfg() [all …]
|
/ohos5.0/base/security/device_security_level/test/dslm_unit_test/cmocker/ |
H A D | c_mocker.h | 70 #define DECLARE_METHOD(ret, method, args) … argument 74 …using get##method = std::function<typeof##method()>; … 75 const static typeof##method default##method; 77 #define IMPLEMENT_FUNCTION_INTERNAL(cls, method, count, signature, invoker) … argument 78 …const cls::typeof##method cls::default##method = reinterpret_cast<cls::typeof##method>(invoker); … 83 …static auto lookup = reinterpret_cast<cls::typeof##method>(dlsym(RTLD_NEXT, #method)); \ 86 …auto *stub = cls::default##method != nullptr ? cls::default##method : lookup; \ 104 #define IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, invoker) \ argument 105 IMPLEMENT_FUNCTION_INTERNAL(cls, method, GMOCK_PP_NARG0 args, SIGNATURE(ret, args), invoker) 107 #define IMPLEMENT_FUNCTION(cls, ret, method, args) \ argument [all …]
|
/ohos5.0/drivers/peripheral/user_auth/test/unittest/mocks/inc/ |
H A D | c_mocker.h | 70 #define DECLARE_METHOD(ret, method, args) … argument 74 …using get##method = std::function<typeof##method()>; … 75 const static typeof##method default##method; 77 #define IMPLEMENT_FUNCTION_INTERNAL(cls, method, count, signature, invoker) … argument 78 …const cls::typeof##method cls::default##method = reinterpret_cast<cls::typeof##method>(invoker); … 83 …static auto lookup = reinterpret_cast<cls::typeof##method>(dlsym(RTLD_NEXT, #method)); \ 86 …auto *stub = cls::default##method != nullptr ? cls::default##method : lookup; \ 104 #define IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, invoker) \ argument 105 IMPLEMENT_FUNCTION_INTERNAL(cls, method, GMOCK_PP_NARG0 args, SIGNATURE(ret, args), invoker) 107 #define IMPLEMENT_FUNCTION(cls, ret, method, args) \ argument [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/include/uart/ |
H A D | uart_core.h | 31 struct UartHostMethod *method; member 82 if (host == NULL || host->method == NULL || host->method->Read == NULL) { in UartHostRead() 85 return host->method->Read(host, data, size); in UartHostRead() 90 if (host == NULL || host->method == NULL || host->method->Write == NULL) { in UartHostWrite() 93 return host->method->Write(host, data, size); in UartHostWrite() 98 if (host == NULL || host->method == NULL || host->method->GetBaud == NULL) { in UartHostGetBaud() 106 if (host == NULL || host->method == NULL || host->method->SetBaud == NULL) { in UartHostSetBaud() 114 if (host == NULL || host->method == NULL || host->method->GetAttribute == NULL) { in UartHostGetAttribute() 122 if (host == NULL || host->method == NULL || host->method->SetAttribute == NULL) { in UartHostSetAttribute() 130 if (host == NULL || host->method == NULL || host->method->SetTransMode == NULL) { in UartHostSetTransMode() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-ohos-geoLocationManager.md | 23 |geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; |… 35 |geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | 接口迁移… 41 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接口… 42 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接口删除 | 43 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oho… 44 |geolocation| method | function enableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManager… 53 |geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; … 54 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接口迁移到@ohos.geoLoca… 55 |geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; |… 56 |geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | 接口迁移到@ohos.geoLocat… [all …]
|
H A D | changelogs-ohos-geolocation.md | 39 |geolocation| method | function getLastLocation(): Promise<Location>; | 接口迁移到@ohos.geoLocationManag… 41 |geolocation| method | function isLocationEnabled(): Promise<boolean>; | 接口迁移到@ohos.geoLocationMana… 42 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接口… 43 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接口删除 | 44 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oho… 45 |geolocation| method | function enableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManager… 46 |geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oh… 47 |geolocation| method | function disableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManage… 53 |geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | 接口迁移到@ohos.geoLocation… 55 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接口迁移到@ohos.geoLoca… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/ |
H A D | changelogs-ohos-geoLocationManager.md | 23 |geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; |… 35 |geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | 接口迁移… 41 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接口… 42 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接口删除 | 43 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oho… 44 |geolocation| method | function enableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManager… 53 |geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; … 54 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接口迁移到@ohos.geoLoca… 55 |geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; |… 56 |geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | 接口迁移到@ohos.geoLocat… [all …]
|
H A D | changelogs-ohos-geolocation.md | 39 |geolocation| method | function getLastLocation(): Promise<Location>; | 接口迁移到@ohos.geoLocationManag… 41 |geolocation| method | function isLocationEnabled(): Promise<boolean>; | 接口迁移到@ohos.geoLocationMana… 42 |geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接口… 43 |geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接口删除 | 44 |geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oho… 45 |geolocation| method | function enableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManager… 46 |geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | 接口迁移到@oh… 47 |geolocation| method | function disableLocation(): Promise<boolean>; | 接口迁移到@ohos.geoLocationManage… 53 |geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | 接口迁移到@ohos.geoLocation… 55 |geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接口迁移到@ohos.geoLoca… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/ |
H A D | changelog-wifi.md | 26 | wifi | method | function enableWifi(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值改为void | 27 | wifi | method | function disableWifi(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值改为void | 28 | wifi | method | function scan(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值改为void | 44 | wifi | method | function disconnect(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | 45 | wifi | method | function reassociate(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | 46 | wifi | method | function reconnect(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | 48 | wifi | method | function removeAllNetwork(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void… 50 | wifi | method | function enableHotspot(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | 51 | wifi | method | function disableHotspot(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | 58 | wifi | method | function removeGroup(): void | API9接口变更,迁移到@ohos.wifiManager.d.ts,返回值修改为void | [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/callee/ |
H A D | callee.js | 98 let method = data.readString(); 100 let func = this.callList.get(method); 125 on(method, callback) { argument 126 if (typeof method !== 'string' || method === '' || typeof callback !== 'function') { 138 if (this.callList.has(method)) { 143 this.callList.set(method, callback); 144 console.log('Callee on method [' + method + ']'); 147 off(method) { argument 148 if (typeof method !== 'string' || method === '') { 158 if (!this.callList.has(method)) { [all …]
|