/base/telephony/state_registry/interfaces/kits/js/ |
D | @ohos.telephony.observer.d.ts | 60 function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; function 80 …function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback<NetworkSta… 111 function on(type: 'signalInfoChange', callback: Callback<Array<SignalInformation>>): void; 129 …function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback<Array<Signal… 164 function on(type: 'cellInfoChange', callback: Callback<Array<CellInformation>>): void; 186 …function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback<Array<CellInfo… 221 function on(type: 'cellularDataConnectionStateChange', 241 function on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, 275 function on(type: 'cellularDataFlowChange', callback: Callback<DataFlowType>): void; 293 …function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback<DataFl… [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/param/include/ |
D | properties.h | 49 int SetPrivateSwitchOn(bool on); 50 int SetOnceDebugOn(bool on); 51 int SetPersistDebugOn(bool on); 55 int SetProcessSwitchOn(bool on); 56 int SetDomainSwitchOn(bool on); 57 int SetKmsgSwitchOn(bool on);
|
/base/hiviewdfx/hilog/services/hilogd/etc/ |
D | hilog.para | 9 # distributed under the License is distributed on an "AS IS" BASIS, 15 hilog.private.on=true 16 hilog.debug.on=false 17 persist.sys.hilog.kmsg.on=true 18 persist.sys.hilog.debug.on=false 19 hilog.flowctrl.proc.on=false 20 hilog.flowctrl.domain.on=false
|
/base/sensors/sensor/interfaces/plugin/test/unittest/sar/ |
D | ExampleJsunit.test.js | 79 sensor.on(sensor.SensorId.SAR, callback); 114 sensor.on(sensor.SensorId.SAR, callback, {'interval': 100000000}); 154 sensor.on(sensor.SensorId.SAR, onSensorCallback, {'interval': 100000000}, 5); 189 sensor.on(sensor.SensorId.SAR, callback, {'interval': -100000000}); 254 sensor.on(sensor.SensorId.SAR, callback); 255 sensor.on(sensor.SensorId.SAR, callback2); 290 sensor.on(sensor.SensorId.SAR, callback); 291 sensor.on(sensor.SensorId.SAR, callback2); 329 sensor.on(sensor.SensorId.SAR, callback, {'interval': 100000000}); 330 sensor.on(sensor.SensorId.SAR, callback2, {'interval': 100000000}); [all …]
|
/base/sensors/medical_sensor/ |
D | README_ZH.md | 57 | `on(type: SensorType, callback: Callback<Response>, options?: Options)` | 监听传感器数据变化。`SensorType`为… 58 | `off(type: SensorType, callback?: Callback<Response>)` | 取消订阅传感器数据。参数与`on`前两个参数一样。 | 68 2. 使用`on`接口注册并监听传感器数据的变化。此接口会将第二个参数做为回调函数注册到medical sensor框架中,并打开底层传感器驱动;应用就可以通过回调函数监听传感器数据的变化并进行业… 70 medical.on(medical.MedicalSensorType.TYPE_ID_PHOTOPLETHYSMOGRAPH, (data) => { 89 medical.on(medical.MedicalSensorType.TYPE_ID_PHOTOPLETHYSMOGRAPH, (data) => {
|
/base/web/webview/ |
D | README.md | 3 nweb is the native engine of the OpenHarmony webview component and is built based on Chromium and t… 8 * nweb: native engine of the OpenHarmony web component, which is built based on the Chromium Embedd… 9 * CEF: stands for Chromium Embedded Framework. It is an open-source project based on Google Chromiu… 16 │ ├── prebuilts # NWeb.hap, built based on the third_party_chromium source code repository
|
/base/sensors/sensor/interfaces/plugin/test/unittest/color/ |
D | ExampleJsunit.test.js | 81 sensor.on(sensor.SensorId.COLOR, callback); 116 sensor.on(sensor.SensorId.COLOR, callback, {'interval': 100000000}); 156 sensor.on(sensor.SensorId.COLOR, onSensorCallback, {'interval': 100000000}, 5); 191 sensor.on(sensor.SensorId.COLOR, callback, {'interval': -100000000}); 256 sensor.on(sensor.SensorId.COLOR, callback); 257 sensor.on(sensor.SensorId.COLOR, callback2); 292 sensor.on(sensor.SensorId.COLOR, callback); 293 sensor.on(sensor.SensorId.COLOR, callback2); 331 sensor.on(sensor.SensorId.COLOR, callback, {'interval': 100000000}); 332 sensor.on(sensor.SensorId.COLOR, callback2, {'interval': 100000000}); [all …]
|
/base/startup/init/ueventd/ |
D | ueventd_socket.c | 32 int on = 1; in UeventdSocketInit() local 49 setsockopt(sockfd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)); in UeventdSocketInit()
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_collector.h | 41 void SetLogFlowControl(bool on); 42 void SetDebuggable(bool on);
|
/base/sensors/sensor/interfaces/plugin/test/unittest/barometer/ |
D | ExampleJsunit.test.js | 79 sensor.on(sensor.SensorId.BAROMETER, callback); 114 sensor.on(sensor.SensorId.BAROMETER, callback, {'interval': 100000000}); 154 … sensor.on(sensor.SensorId.BAROMETER, onSensorCallback, {'interval': 100000000}, 5); 189 sensor.on(sensor.SensorId.BAROMETER, callback, {'interval': -100000000}); 356 sensor.on(sensor.SensorId.BAROMETER, callback); 357 sensor.on(sensor.SensorId.BAROMETER, callback2); 392 sensor.on(sensor.SensorId.BAROMETER, callback); 393 sensor.on(sensor.SensorId.BAROMETER, callback2); 431 sensor.on(sensor.SensorId.BAROMETER, callback, {'interval': 100000000}); 467 sensor.on(sensor.SensorId.BAROMETER, callback, {'interval': 100000000}); [all …]
|
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/newTestIme/entry/src/main/ets/InputMethodExtAbility/model/ |
D | KeyboardController.ts | 39 globalThis.inputEngine.on('inputStart', (kbController, textInputClient) => { 43 globalThis.inputEngine.on('inputStop', (imeId) => {
|
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/ |
D | KeyboardController.ts | 39 globalThis.inputEngine.on('inputStart', (kbController, textInputClient) => { 43 globalThis.inputEngine.on('inputStop', (imeId) => {
|
/base/hiviewdfx/hilog/frameworks/libhilog/param/ |
D | properties.cpp | 504 int SetPrivateSwitchOn(bool on) in SetPrivateSwitchOn() argument 506 return SetBoolValue(PropType::PROP_PRIVATE, on); in SetPrivateSwitchOn() 509 int SetOnceDebugOn(bool on) in SetOnceDebugOn() argument 511 return SetBoolValue(PropType::PROP_ONCE_DEBUG, on); in SetOnceDebugOn() 514 int SetPersistDebugOn(bool on) in SetPersistDebugOn() argument 516 return SetBoolValue(PropType::PROP_PERSIST_DEBUG, on); in SetPersistDebugOn() 534 int SetProcessSwitchOn(bool on) in SetProcessSwitchOn() argument 536 return SetBoolValue(PropType::PROP_PROCESS_FLOWCTRL, on); in SetProcessSwitchOn() 539 int SetDomainSwitchOn(bool on) in SetDomainSwitchOn() argument 541 return SetBoolValue(PropType::PROP_DOMAIN_FLOWCTRL, on); in SetDomainSwitchOn() [all …]
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_collector.cpp | 133 void LogCollector::SetLogFlowControl(bool on) in SetLogFlowControl() argument 135 flowControl = on; in SetLogFlowControl() 138 void LogCollector::SetDebuggable(bool on) in SetDebuggable() argument 140 debug = on; in SetDebuggable()
|
/base/sensors/start/ |
D | README_zh.md | 35 <run-on-create>true</run-on-create> 42 <run-on-create>true</run-on-create>
|
/base/sensors/sensor/interfaces/plugin/test/unittest/gyroscope/ |
D | ExampleJsunit.test.js | 83 sensor.on(sensor.SensorId.GYROSCOPE, callback); 118 sensor.on(sensor.SensorId.GYROSCOPE, callback, {'interval': 100000000}); 158 … sensor.on(sensor.SensorId.GYROSCOPE, onSensorCallback, {'interval': 100000000}, 5); 193 sensor.on(sensor.SensorId.GYROSCOPE, callback, {'interval': -100000000}); 360 sensor.on(sensor.SensorId.GYROSCOPE, callback); 361 sensor.on(sensor.SensorId.GYROSCOPE, callback2); 396 sensor.on(sensor.SensorId.GYROSCOPE, callback); 397 sensor.on(sensor.SensorId.GYROSCOPE, callback2); 435 sensor.on(sensor.SensorId.GYROSCOPE, callback, {'interval': 100000000}); 471 sensor.on(sensor.SensorId.GYROSCOPE, callback, {'interval': 100000000}); [all …]
|
/base/startup/init/services/loopevent/socket/ |
D | le_socket.c | 66 int on = 1; in CreatePipeSocket_() local 67 int ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)); in CreatePipeSocket_() 125 int on = 1; in CreateTcpSocket_() local 126 int ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)); in CreateTcpSocket_()
|
/base/security/certificate_framework/ |
D | README-en.md | 14 …uer, subject, signature algorithm, and public key of the certificate based on the certificate data… 15 …certificate extensions based on the certificate extension fields passed by the service and obtaini… 16 …ining revoked certificates, SNs, issuers, and revocation time of the certificates based on the CRL. 17 …* Certificate chain operations include verifying the validity of a certificate chain based on the … 31 │ ├── common # Common methods relied on internally
|
/base/telephony/state_registry/ |
D | README_zh.md | 57 | function on(type: String, options: { slotId?: number }, callback: AsyncCallback\<T\>): void; | 开启… 84 1. 不同的事件指定不同的type,传入参数,调用on方法开启订阅。 93 observer.on('callStateChange', {slotId: 1}, (err, value) => { 100 console.log(`success on. number is ` + value.number + ", state is " + value.state);
|
/base/startup/appspawn/ |
D | appspawn.cfg | 14 … "--sandbox-switch on --bundle-name com.ohos.appspawn.startup --app-operate-type operate ", 23 "on-start" : "service:nwebspawn"
|
D | appspawn.rc | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 on late-fs
|
/base/location/ |
D | README.en.md | 14 … workout. All these activities are so much associated with the location services on mobile devices. 26 …A coordinate describes a location on the earth using the longitude and latitude in reference to th… 30 …chever positioning system will be used during the location process depends on a hardware capabilit… 34 …Base station positioning estimates the current location of a mobile device based on the location o… 38 …e based on the locations of WLANs and Bluetooth devices that can be discovered by the device. The … 60 …ocation function only after the user has granted the permission and turned on the function. If the… 62 …n the location access permission from the user even if the user has turned on the location functio…
|
/base/security/huks/build/ |
D | config.gni | 10 # distributed under the License is distributed on an "AS IS" BASIS, 16 # for HUKS can compile on liteos_m 43 # specify the path of MbedTls huks depends on 46 # specify the path of OpenSSL huks depends on
|
/base/request/request/test/unittest/common/napi/requestTest/ |
D | RequestJsunit.test.js | 71 downloadTask.on('progress', (data1, data2) => { 122 downloadTask.on('complete', () => { 167 downloadTask.on('pause', () => { 177 downloadTask.on('progress', (data1, data2) => { 217 downloadTask.on('remove', () => { 226 downloadTask.on('progress', (data1, data2) => { 267 downloadTask.on('fail',(err)=>{ 311 downloadTask.on('progress', async (data1, data2) => {}); 349 downloadTask.on('complete', () => {}); 388 downloadTask.on('pause', PauseCallback); [all …]
|
/base/powermgr/thermal_manager/application/init/ |
D | thermal_protector.rc | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 on late-fs
|