/base/telephony/state_registry/interfaces/kits/js/ |
D | @ohos.telephony.observer.d.ts | 58 function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; function 59 …function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback<NetworkSta… 87 function on(type: 'signalInfoChange', callback: Callback<Array<SignalInformation>>): void; 88 function on(type: 'signalInfoChange', options: { slotId: number }, 121 function on(type: 'cellInfoChange', callback: Callback<Array<CellInformation>>): void; 122 function on(type: 'cellInfoChange', options: { slotId: number }, 155 function on(type: 'cellularDataConnectionStateChange', 157 function on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, 190 function on(type: 'cellularDataFlowChange', callback: Callback<DataFlowType>): void; 191 function on(type: 'cellularDataFlowChange', options: { slotId: number }, [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/param/include/ |
D | properties.h | 40 int SetPrivateSwitchOn(bool on); 41 int SetOnceDebugOn(bool on); 42 int SetPersistDebugOn(bool on); 46 int SetProcessSwitchOn(bool on); 47 int SetDomainSwitchOn(bool on); 48 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/ |
D | ExampleJsunit.test_ambientlight.js | 66 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback); 81 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback, {'interval': 100000000}); 104 …sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, onSensorCallback, {'interval': 100000000… 175 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, onSensorCallback); 211 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback); 212 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 228 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback); 229 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 251 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback, {'interval': 100000000}); 269 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback, {'interval': 100000000}); [all …]
|
D | ExampleJsunit.test_rotatingvector.js | 72 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback); 87 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback, {'interval': 100000000}); 110 …sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, onSensorCallback, {'interval': 1000000… 181 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, onSensorCallback); 217 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback); 218 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 234 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback); 235 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 257 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback, {'interval': 100000000}); 275 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback, {'interval': 100000000}); [all …]
|
D | ExampleJsunit.test_orientating.js | 70 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback); 85 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback, {'interval': 100000000}); 108 …sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, onSensorCallback, {'interval': 100000000},… 179 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, onSensorCallback); 215 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback); 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 232 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 255 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback, {'interval': 100000000}); 273 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback, {'interval': 100000000}); [all …]
|
D | ExampleJsunit.test_gravity.js | 70 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback); 85 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback, {'interval': 100000000}); 108 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, onSensorCallback, {'interval': 100000000}, 5); 179 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, onSensorCallback); 215 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback); 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 232 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 255 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback, {'interval': 100000000}); 273 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback, {'interval': 100000000}); [all …]
|
D | ExampleJsunit.test_acc.js | 69 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback); 84 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback, {'interval': 100000000}); 107 …sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, onSensorCallback, {'interval': 100000000… 178 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, onSensorCallback); 214 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback); 215 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 231 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback); 232 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 254 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback, {'interval': 100000000}); 272 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback, {'interval': 100000000}); [all …]
|
D | ExampleJsunit.test_magnetic.js | 70 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback); 85 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback, {'interval': 100000000}); 108 …sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, onSensorCallback, {'interval': 10000000… 179 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, onSensorCallback); 215 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback); 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 232 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 255 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback, {'interval': 100000000}); 273 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback, {'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/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 40 # specify the MbedTls huks depends on 43 # specify the OpenSSL huks depends on
|
/base/web/webview/ |
D | README.md | 3 nwebview is the native engine of the OpenHarmony web component and is built based on Chromium and t… 20 * nwebview: native engine of the OpenHarmony web component, which is built based on the Chromium Em… 21 * CEF: stands for Chromium Embedded Framework. It is an open-source project based on Google Chromiu… 28 │ ├── prebuilts # NWeb.hap, built based on the third_party_chromium source code repository 33 …ny web component. This topic describes only how to use the test code based on the native interface… 47 3. Push **nweb_test** to RK3568, connect to a Wi-Fi network, and make sure the time on RK3568 is th…
|
/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/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/inputmethod/imf/unitest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/ |
D | KeyboardController.ts | 40 globalThis.inputEngine.on('inputStart', (kbController, textInputClient) => { 44 globalThis.inputEngine.on('inputStop', (imeId) => {
|
/base/sensors/start/ |
D | README_zh.md | 35 <run-on-create>true</run-on-create> 42 <run-on-create>true</run-on-create>
|
/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/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_() 124 int on = 1; in CreateTcpSocket_() local 125 int ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)); in CreateTcpSocket_()
|
/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/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/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
|
/base/hiviewdfx/hidumper/services/native/etc/ |
D | hidumper_service.rc | 9 # distributed under the License is distributed on an "AS IS" BASIS, 18 on boot
|
/base/startup/appspawn/ |
D | appspawn.rc | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 on late-fs
|
/base/request/request/download/etc/init/ |
D | downloadservice.rc | 9 # distributed under the License is distributed on an "AS IS" BASIS, 14 on boot
|