/base/security/device_security_level/baselib/utils/src/ |
D | utils_base64.c | 57 static int32_t Base64Encode(const uint8_t *from, uint32_t fromLen, uint8_t *to, uint32_t toCheckLen) in Base64Encode() argument 59 bool isInvalidParam = ((from == NULL) || (to == NULL) || (fromLen == 0)); in Base64Encode() 78 uint32_t a = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 80 uint32_t b = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 82 uint32_t c = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() 105 static int32_t Base64Decode(const uint8_t *from, uint8_t *to, uint32_t toCheckLen) in Base64Decode() argument 107 bool isInvalidParam = ((from == NULL) || (to == NULL)); in Base64Decode() 112 uint32_t fromLen = strlen((char *)from); in Base64Decode() 120 if (from[fromLen - 1] == '=') { /* if last 1-bit is null, make it "=" */ in Base64Decode() 123 if (from[fromLen - 2] == '=') { /* if last 2-bit is null, make it "=" */ in Base64Decode() [all …]
|
/base/update/update_app/common/ |
D | index.ets | 16 export { CheckingDots } from './src/main/ets/component/CheckingDots'; 17 export { HomeCardView } from './src/main/ets/component/HomeCardView'; 18 export { TitleBar } from './src/main/ets/component/TitleBar'; 23 } from './src/main/ets/const/update_const'; 25 export { UpdateManager } from './src/main/ets/manager/UpdateManager'; 27 export { UpdateUtils } from './src/main/ets/util/UpdateUtils'; 28 export { DeviceUtils } from './src/main/ets/util/DeviceUtils'; 29 export { FormatUtils } from './src/main/ets/util/FormatUtils'; 30 export { LogUtils } from './src/main/ets/util/LogUtils'; 31 export { NetUtils } from './src/main/ets/util/NetUtils';
|
/base/request/request/services/service/rust/src/ |
D | form_item.rs | 36 name: CStringWrapper::from(&self.name), in to_c_struct() 37 path: CStringWrapper::from(&self.path), in to_c_struct() 38 file_name: CStringWrapper::from(&self.file_name), in to_c_struct() 39 mime_type: CStringWrapper::from(&self.mime_type), in to_c_struct() 67 name: CStringWrapper::from(&self.name), in to_c_struct() 68 value: CStringWrapper::from(&self.value), in to_c_struct()
|
D | task_info.rs | 79 path: CStringWrapper::from(&self.path), in to_c_struct() 81 message: CStringWrapper::from(&self.message), in to_c_struct() 88 reason: Reason::from(c_struct.reason), in from_c_struct() 151 bundle: CStringWrapper::from(&self.bundle), in to_c_struct() 152 url: CStringWrapper::from(&self.url), in to_c_struct() 153 data: CStringWrapper::from(&self.data), in to_c_struct() 154 token: CStringWrapper::from(&self.token), in to_c_struct() 159 title: CStringWrapper::from(&self.title), in to_c_struct() 160 description: CStringWrapper::from(&self.description), in to_c_struct() 161 mime_type: CStringWrapper::from(&self.mime_type), in to_c_struct()
|
D | enumration.rs | 25 fn from(value: u8) -> Self { in from() method 43 fn from(value: u8) -> Self { in from() method 69 fn from(value: u8) -> Self { in from() method 134 fn from(value: u8) -> Self { in from() method 169 fn from(value: u8) -> Self { in from() method
|
D | progress.rs | 61 sizes: CStringWrapper::from(sizes), in to_c_struct() 62 processed: CStringWrapper::from(processed), in to_c_struct() 63 extras: CStringWrapper::from(extras), in to_c_struct()
|
/base/msdp/device_status/rust/data/sys/src/ |
D | errors.rs | 28 fn from(value: FusionErrorCode) -> Self in from() method 42 _ if i32::from(FusionErrorCode::Fail) == value => { Ok(FusionErrorCode::Fail) }, in try_from() 43 … _ if i32::from(FusionErrorCode::InvalidParam) == value => { Ok(FusionErrorCode::InvalidParam) }, in try_from()
|
/base/update/update_app/product/oh/base/src/main/ets/pages/ |
D | currentVersion.ets | 16 import update from '@ohos.update'; 17 import { UpgradeCallResult } from '@ohos/common/src/main/ets/const/update_const'; 18 import { TitleBar } from '@ohos/common/src/main/ets/component/TitleBar'; 19 import { LogUtils } from '@ohos/common/src/main/ets/util/LogUtils'; 20 import { VersionPageInfo } from '@ohos/common/src/main/ets/manager/UpgradeInterface'; 21 import { UpgradeAdapter } from '@ohos/ota/src/main/ets/UpgradeAdapter'; 22 import { ChangelogContent } from '@ohos/ota/src/main/ets/components/ChangelogContent'; 23 import { OtaUpdateManager } from '@ohos/ota/src/main/ets/manager/OtaUpdateManager'; 24 import { VersionUtils } from '@ohos/ota/src/main/ets/util/VersionUtils';
|
D | newVersion.ets | 1 import { DialogUtils } from '../../../../../../../feature/ota/src/main/ets/dialog/DialogUtils'; 23 } from '@ohos/common/src/main/ets/const/update_const'; 24 import update from '@ohos.update'; 25 import { TitleBar } from '@ohos/common/src/main/ets/component/TitleBar'; 26 import { FormatUtils } from '@ohos/common/src/main/ets/util/FormatUtils'; 27 import { LogUtils } from '@ohos/common/src/main/ets/util/LogUtils'; 28 import { DeviceUtils } from '@ohos/common/src/main/ets/util/DeviceUtils'; 29 import { ChangelogInfo, IPage, VersionPageInfo } from '@ohos/common/src/main/ets/manager/UpgradeInt… 30 import { NetUtils } from '@ohos/common/src/main/ets/util/NetUtils'; 31 import { DialogHelper } from '@ohos/ota/src/main/ets/dialog/DialogHelper'; [all …]
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | VersionUtils.ets | 16 import update from '@ohos.update'; 17 import type { UpgradeData } from '@ohos/common/src/main/ets/const/update_const'; 18 import { UpgradeCallResult } from '@ohos/common/src/main/ets/const/update_const'; 19 import { DeviceUtils } from '@ohos/common/src/main/ets/util/DeviceUtils'; 20 import { LogUtils } from '@ohos/common/src/main/ets/util/LogUtils'; 21 import { UpdateUtils } from '@ohos/common/src/main/ets/util/UpdateUtils'; 22 import { OtaUpdateManager } from '../manager/OtaUpdateManager'; 23 import { UpgradeAdapter } from '../UpgradeAdapter';
|
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
D | error.rs | 74 fn from(code: SocketStatusCode) -> i32 { in from() method 91 fn from(code: BufferStatusCode) -> i32 { in from() method 118 fn from(code: SessionStatusCode) -> i32 { in from() method 137 fn from(code: NetPacketStatusCode) -> i32 { in from() method
|
/base/update/update_app/feature/ota/src/main/ets/ |
D | OtaPage.ets | 16 import update from '@ohos.update'; 17 import { ChangelogType, CountDownDialogType } from '@ohos/common/src/main/ets/const/update_const'; 18 import { IPage, VersionPageInfo } from '@ohos/common/src/main/ets/manager/UpgradeInterface'; 19 import { UpdateUtils } from '@ohos/common/src/main/ets/util/UpdateUtils'; 20 import { FormatUtils } from '@ohos/common/src/main/ets/util/FormatUtils'; 21 import VersionUtils from './util/VersionUtils';
|
D | UpgradeAdapter.ets | 17 import { OtaPage } from './OtaPage'; 18 import { NotificationHelper } from './notify/NotificationHelper'; 19 import type { INotify, IPage } from '@ohos/common/src/main/ets/manager/UpgradeInterface';
|
/base/telephony/core_service/services/sim/src/ |
D | operator_config_cache.cpp | 131 void OperatorConfigCache::CopyOperatorConfig(const OperatorConfig &from, OperatorConfig &to) in CopyOperatorConfig() argument 133 for (const auto &it : from.configValue) { in CopyOperatorConfig() 136 for (const auto &it : from.boolValue) { in CopyOperatorConfig() 139 for (const auto &it : from.intValue) { in CopyOperatorConfig() 142 for (const auto &it : from.longValue) { in CopyOperatorConfig() 145 for (const auto &it : from.stringValue) { in CopyOperatorConfig() 148 for (const auto &it : from.intArrayValue) { in CopyOperatorConfig() 151 for (const auto &it : from.longArrayValue) { in CopyOperatorConfig() 154 for (const auto &it : from.stringArrayValue) { in CopyOperatorConfig()
|
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/MainAbility/pages/index/ |
D | index.ets | 15 import router from '@ohos.router'; 17 import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' 18 import { Hypium } from '@ohos/hypium' 19 import testsuite from '../../../test/List.test'
|
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/MainAbility/pages/index/ |
D | index.ets | 15 import router from '@ohos.router'; 17 import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' 18 import { Hypium } from '@ohos/hypium' 19 import testsuite from '../../../test/List.test'
|
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/ |
D | notificationDialog.ets | 16 import rpc from '@ohos.rpc'; 17 import mediaquery from '@ohos.mediaquery' 18 import deviceInfo from '@ohos.deviceInfo'; 19 import { NotificationDialogBody } from '../pages/notifybody'
|
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/MainAbility/pages/index/ |
D | index.ets | 15 import router from '@ohos.router'; 17 import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' 18 import { Hypium } from '@ohos/hypium' 19 import testsuite from '../../../test/List.test'
|
/base/update/update_app/feature/ota/src/main/ets/manager/ |
D | OtaUpdateManager.ets | 16 import type common from '@ohos.app.ability.common'; 17 import update from '@ohos.update'; 18 import type Want from '@ohos.app.ability.Want'; 19 import { ErrorCode } from '@ohos/common/src/main/ets/const/update_const'; 20 import type { OtaStatus, UpgradeData, } from '@ohos/common/src/main/ets/const/update_const'; 21 import { UpdateState, UpgradeCallResult, } from '@ohos/common/src/main/ets/const/update_const'; 22 import type { Message } from '@ohos/common/src/main/ets/manager/UpdateManager'; 27 } from '@ohos/common/src/main/ets/manager/UpdateManager'; 28 import { DeviceUtils } from '@ohos/common/src/main/ets/util/DeviceUtils'; 29 import { LogUtils } from '@ohos/common/src/main/ets/util/LogUtils'; [all …]
|
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/pages/ |
D | entryView.ets | 16 import window from '@ohos.window' 18 import BackComponent from '../component/backComponent' 19 import Log from '../utils/log' 20 import EntryViewController from '../controller/entryViewController' 21 import CommonController from '../controller/commonController' 22 import Constants from '../config/constant'
|
D | faceConfig.ets | 16 import BackComponent from '../component/backComponent' 17 import Log from '../utils/log' 18 import CommonController from '../controller/commonController' 19 import FaceConfigController from '../controller/faceConfigController' 20 import ConfirmDialog from '../component/confirmDialog' 21 import router from '@system.router'; 22 import Constants from '../config/constant'
|
/base/sensors/medical_sensor/ |
D | README_ZH.md | 65 import medical from '@ohos.medical'; 78 console.info("Succeeded in unsubscribe from sensor data"); 85 import medical from '@ohos.medical'; 97 console.info("Succeeded in unsubscribe from sensor data");
|
/base/request/request/test/unittest/js_test/requestPermissonTest/ |
D | Permission.test.js | 16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'; 17 import { agent } from '@ohos.request'; 18 import featureAbility from '@ohos.ability.featureAbility' 19 import fs from '@ohos.file.fs';
|
/base/usb/usb_manager/test/native/js_unittest/ |
D | UsbPortJsunit.test.js | 16 import usb from '@ohos.usb'; 17 import CheckEmptyUtils from './CheckEmptyUtils.js'; 18 import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
|
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/ServiceExtAbility/ |
D | UsbFunctionSwitchWindowAbility.ets | 16 import ServiceExtensionAbility from '@ohos.app.ability.ServiceExtensionAbility'; 17 import window from '@ohos.window'; 18 import display from '@ohos.display'; 19 import rpc from '@ohos.rpc'; 20 import Logger from '../util/Logger'; 21 import { notificationUtil } from '../util/NotificationUtil';
|