Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 2459) sorted by relevance

12345678910>>...99

/base/update/update_app/entry/src/main/js/default/pages/index/
Dindex.js62 data: { property
83 page.data.updater = client.getOnlineUpdater(upgradeInfo);
90 if (page.data.pageType == "currVersion") { // 检查更新版本
91 page.data.pageType = "checkVersion";
92 page.data.button = "取消查看";
93 page.data.showLoad = "load";
95 } else if (page.data.pageType == "newVersion") { // 当前需要下载新的版本
96 page.data.pageType = "downVersion";
97 page.data.showLoad = "load";
98 page.data.showBanner = 'banner';
[all …]
/base/sensors/sensor/interfaces/plugin/test/unittest/
DExampleJsunit.test.js20 function callback(data) { argument
21 console.info("callback" + JSON.stringify(data));
22 expect(typeof(data.x)).assertEqual("number");
26 console.info("callback2" + JSON.stringify(data));
27 expect(typeof(data.x)).assertEqual("number");
86 function onSensorCallback(data) { argument
126 function onSensorCallback(data) { argument
167 function onceSensorCallback(data) { argument
189 function onceSensorCallback(data) { argument
227 function onSensorCallback(data) { argument
[all …]
/base/powermgr/battery_lite/test/
Dbattery_test.js18 success: function(data) { argument
19 console.log('success get battery Soc:' + data.batterySoc);
21 fail: function(data, code) { argument
22 console.log('fail to get battery Soc code:' + code + ', data: ' + data);
27 success: function(data) { argument
28 console.log('success get ChargingStatus:' + data.chargingStatus);
30 fail: function(data, code) { argument
31 console.log('fail to get battery ChargingStatus code:' + code + ', data: ' + data);
36 success: function(data) { argument
37 console.log('success get battery HealthStatus:' + data.healthStatus);
[all …]
/base/telephony/core_service/services/core/include/
Dcore_service_stub.h28 …int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &o…
36 using CoreServiceFunc = int32_t (CoreServiceStub::*)(MessageParcel &data, MessageParcel &reply);
38 int32_t OnGetPsRadioTech(MessageParcel &data, MessageParcel &reply);
39 int32_t OnGetCsRadioTech(MessageParcel &data, MessageParcel &reply);
40 int32_t OnGetOperatorNumeric(MessageParcel &data, MessageParcel &reply);
41 int32_t OnGetOperatorName(MessageParcel &data, MessageParcel &reply);
42 int32_t OnGetSignalInfoList(MessageParcel &data, MessageParcel &reply);
43 int32_t OnGetNetworkState(MessageParcel &data, MessageParcel &reply);
44 int32_t OnSetRadioState(MessageParcel &data, MessageParcel &reply);
45 int32_t OnGetRadioState(MessageParcel &data, MessageParcel &reply);
[all …]
/base/telephony/call_manager/services/call_manager_service/include/
Dcall_manager_service_stub.h33 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
36 …using CallManagerServiceFunc = int32_t (CallManagerServiceStub::*)(MessageParcel &data, MessagePar…
48 int32_t OnRegisterCallBack(MessageParcel &data, MessageParcel &reply);
49 int32_t OnUnRegisterCallBack(MessageParcel &data, MessageParcel &reply);
50 int32_t OnDialCall(MessageParcel &data, MessageParcel &reply);
51 int32_t OnAcceptCall(MessageParcel &data, MessageParcel &reply);
52 int32_t OnRejectCall(MessageParcel &data, MessageParcel &reply);
53 int32_t OnHangUpCall(MessageParcel &data, MessageParcel &reply);
54 int32_t OnGetCallState(MessageParcel &data, MessageParcel &reply);
55 int32_t OnHoldCall(MessageParcel &data, MessageParcel &reply);
[all …]
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_detector.cpp24 void BatteryStatsDetector::HandleStatsChangedEvent(StatsUtils::StatsData data) in HandleStatsChangedEvent() argument
30 StatsUtils::ConvertStatsType(data.type).c_str(), in HandleStatsChangedEvent()
31 data.state, in HandleStatsChangedEvent()
32 data.level, in HandleStatsChangedEvent()
33 data.uid, in HandleStatsChangedEvent()
34 data.pid, in HandleStatsChangedEvent()
35 data.eventDataName.c_str(), in HandleStatsChangedEvent()
36 data.eventDataType, in HandleStatsChangedEvent()
37 data.eventDataExtra, in HandleStatsChangedEvent()
38 data.time, in HandleStatsChangedEvent()
[all …]
Dbattery_stats_listener.cpp63 StatsUtils::StatsData data; in ProcessHiSysEvent() local
64 data.eventDebugInfo.clear(); in ProcessHiSysEvent()
66 ProcessWakelockEvent(data, root); in ProcessHiSysEvent()
69 ProcessDispalyEvent(data, root, eventName); in ProcessHiSysEvent()
71 ProcessBatteryEvent(data, root); in ProcessHiSysEvent()
74 ProcessThermalEvent(data, root); in ProcessHiSysEvent()
77 ProcessWorkschedulerEvent(data, root); in ProcessHiSysEvent()
79 ProcessPhoneEvent(data, root, eventName); in ProcessHiSysEvent()
81 ProcessFlashlightEvent(data, root); in ProcessHiSysEvent()
84 ProcessCameraEvent(data, root, eventName); in ProcessHiSysEvent()
[all …]
/base/inputmethod/imf/frameworks/inputmethod_controller/src/
Ditypes_util.cpp23 bool ITypesUtil::Marshal(MessageParcel &data) in Marshal() argument
28 bool ITypesUtil::Unmarshal(MessageParcel &data) in Unmarshal() argument
33 bool ITypesUtil::Marshalling(bool input, MessageParcel &data) in Marshalling() argument
35 return data.WriteBool(input); in Marshalling()
38 bool ITypesUtil::Unmarshalling(bool &output, MessageParcel &data) in Unmarshalling() argument
40 return data.ReadBool(output); in Unmarshalling()
43 bool ITypesUtil::Marshalling(uint32_t input, MessageParcel &data) in Marshalling() argument
45 return data.WriteUint32(input); in Marshalling()
48 bool ITypesUtil::Unmarshalling(uint32_t &output, MessageParcel &data) in Unmarshalling() argument
50 return data.ReadUint32(output); in Unmarshalling()
[all …]
Dinput_data_channel_proxy.cpp32 MessageParcel data; in InsertText() local
35 data.WriteInterfaceToken(GetDescriptor()); in InsertText()
36 data.WriteString16(text); in InsertText()
38 auto ret = Remote()->SendRequest(INSERT_TEXT, data, reply, option); in InsertText()
49 MessageParcel data; in DeleteForward() local
52 data.WriteInterfaceToken(GetDescriptor()); in DeleteForward()
53 data.WriteInt32(length); in DeleteForward()
55 auto ret = Remote()->SendRequest(DELETE_FORWARD, data, reply, option); in DeleteForward()
66 MessageParcel data; in DeleteBackward() local
69 data.WriteInterfaceToken(GetDescriptor()); in DeleteBackward()
[all …]
/base/global/i18n_lite/frameworks/i18n/include/
Di18n_pattern.h62 std::string GetPatternFromIndex(uint32_t index, const DateTimeData * const data) in GetPatternFromIndex() argument
72 return Parse(data->timePatterns, ind); in GetPatternFromIndex()
75 return Parse(data->datePatterns, ind); in GetPatternFromIndex()
78 return Parse(data->hourMinuteSecondPatterns, ind); in GetPatternFromIndex()
81 return Parse(data->fullMediumShortPatterns, ind); in GetPatternFromIndex()
84 return Parse(data->elapsedPatterns, ind); in GetPatternFromIndex()
89 …FromPattern2(const AvailableDateTimeFormatPattern &requestPattern, const DateTimeData * const data) in GetStringFromPattern2() argument
93 return GetPatternFromIndex(ABBR_MONTH_WEEKDAY_DAY_INDEX, data); in GetStringFromPattern2()
96 return GetPatternFromIndex(FULL_INDEX, data); in GetStringFromPattern2()
99 return GetPatternFromIndex(MEDIUM_INDEX, data); in GetStringFromPattern2()
[all …]
/base/telephony/cellular_call/vendor/ims/services/ims_call/include/
Dims_call_stub.h29 …int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &o…
32 using ImsCallFunc = int32_t (ImsCallStub::*)(MessageParcel &data, MessageParcel &reply);
33 int32_t OnDial(MessageParcel &data, MessageParcel &reply);
34 int32_t OnHangUp(MessageParcel &data, MessageParcel &reply);
35 int32_t OnRejectWithReason(MessageParcel &data, MessageParcel &reply);
36 int32_t OnAnswer(MessageParcel &data, MessageParcel &reply);
37 int32_t OnHoldCall(MessageParcel &data, MessageParcel &reply);
38 int32_t OnUnHoldCall(MessageParcel &data, MessageParcel &reply);
39 int32_t OnSwitchCall(MessageParcel &data, MessageParcel &reply);
40 int32_t OnCombineConference(MessageParcel &data, MessageParcel &reply);
[all …]
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account_stub.h26 … using MessageProcFunction = ErrCode (OsAccountStub::*)(MessageParcel &data, MessageParcel &reply);
30 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
33 ErrCode ProcCreateOsAccount(MessageParcel &data, MessageParcel &reply);
34 ErrCode ProcCreateOsAccountForDomain(MessageParcel &data, MessageParcel &reply);
35 ErrCode ProcRemoveOsAccount(MessageParcel &data, MessageParcel &reply);
36 ErrCode ProcSetOsAccountName(MessageParcel &data, MessageParcel &reply);
37 ErrCode ProcSetOsAccountConstraints(MessageParcel &data, MessageParcel &reply);
38 ErrCode ProcSetOsAccountProfilePhoto(MessageParcel &data, MessageParcel &reply);
39 ErrCode ProcQueryOsAccountById(MessageParcel &data, MessageParcel &reply);
40 ErrCode ProcQueryCurrentOsAccount(MessageParcel &data, MessageParcel &reply);
[all …]
/base/telephony/cellular_call/services/manager/include/
Dcellular_call_stub.h49 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
59 int32_t OnDialInner(MessageParcel &data, MessageParcel &reply);
68 int32_t OnHangUpInner(MessageParcel &data, MessageParcel &reply);
77 int32_t OnRejectInner(MessageParcel &data, MessageParcel &reply);
86 int32_t OnAnswerInner(MessageParcel &data, MessageParcel &reply);
95 int32_t OnIsEmergencyPhoneNumberInner(MessageParcel &data, MessageParcel &reply);
104 int32_t OnHoldCallInner(MessageParcel &data, MessageParcel &reply);
113 int32_t OnUnHoldCallInner(MessageParcel &data, MessageParcel &reply);
122 int32_t OnSwitchCallInner(MessageParcel &data, MessageParcel &reply);
131 int32_t OnCombineConferenceInner(MessageParcel &data, MessageParcel &reply);
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/
Daccesstoken_manager_stub.h34 …int OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& optio…
37 void VerifyAccessTokenInner(MessageParcel& data, MessageParcel& reply);
38 void GetDefPermissionInner(MessageParcel& data, MessageParcel& reply);
39 void GetDefPermissionsInner(MessageParcel& data, MessageParcel& reply);
40 void GetReqPermissionsInner(MessageParcel& data, MessageParcel& reply);
41 void GetSelfPermissionsStateInner(MessageParcel& data, MessageParcel& reply);
42 void GetPermissionFlagInner(MessageParcel& data, MessageParcel& reply);
43 void GrantPermissionInner(MessageParcel& data, MessageParcel& reply);
44 void RevokePermissionInner(MessageParcel& data, MessageParcel& reply);
45 void ClearUserGrantedPermissionStateInner(MessageParcel& data, MessageParcel& reply);
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/aes/src/
Dcipher_aes_common.c28 uint8_t *iv = spec->iv.data; in GetIv()
48 uint8_t *tag = spec->tag.data; in GetCcmTag()
52 void FreeCipherData(CipherData **data) in FreeCipherData() argument
54 if (data == NULL || *data == NULL) { in FreeCipherData()
57 if ((*data)->ctx != NULL) { in FreeCipherData()
58 EVP_CIPHER_CTX_free((*data)->ctx); in FreeCipherData()
59 (*data)->ctx = NULL; in FreeCipherData()
61 if ((*data)->aad != NULL) { in FreeCipherData()
62 HcfFree((*data)->aad); in FreeCipherData()
63 (*data)->aad = NULL; in FreeCipherData()
[all …]
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_errcode_adapter.c30 .data = NULL
37 .data = NULL
44 .data = NULL
51 .data = NULL
58 .data = NULL
65 .data = NULL
72 .data = NULL
79 .data = NULL
86 .data = NULL
93 .data = NULL
[all …]
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/
Dbattery_fuzzer_test.cpp34 static void TestGetCapacity(const uint8_t* data) in TestGetCapacity() argument
36 if (data == nullptr) { in TestGetCapacity()
43 static void TestGetVoltage(const uint8_t* data) in TestGetVoltage() argument
45 if (data == nullptr) { in TestGetVoltage()
52 static void TestGetChargingStatus(const uint8_t* data) in TestGetChargingStatus() argument
54 if (data == nullptr) { in TestGetChargingStatus()
61 static void TestGetHealthStatus(const uint8_t* data) in TestGetHealthStatus() argument
63 if (data == nullptr) { in TestGetHealthStatus()
70 static void TestGetPluggedType(const uint8_t* data) in TestGetPluggedType() argument
72 if (data == nullptr) { in TestGetPluggedType()
[all …]
/base/telephony/cellular_call/vendor/ims/services/ims_call/src/
Dims_call_stub.cpp110 int32_t ImsCallStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, Mess… in OnRemoteRequest() argument
113 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
123 return (this->*memberFunc)(data, reply); in OnRemoteRequest()
126 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
129 int32_t ImsCallStub::OnDial(MessageParcel &data, MessageParcel &reply) in OnDial() argument
131 ImsCallInfo *callInfo = (ImsCallInfo *)data.ReadRawData(sizeof(ImsCallInfo)); in OnDial()
138 auto mode = static_cast<CLIRMode>(data.ReadInt32()); in OnDial()
144 int32_t ImsCallStub::OnHangUp(MessageParcel &data, MessageParcel &reply) in OnHangUp() argument
146 ImsCallInfo *callInfo = (ImsCallInfo *)data.ReadRawData(sizeof(ImsCallInfo)); in OnHangUp()
157 int32_t ImsCallStub::OnRejectWithReason(MessageParcel &data, MessageParcel &reply) in OnRejectWithReason() argument
[all …]
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp38 static void SuspendDevice(const uint8_t* data) in SuspendDevice() argument
42 if ((memcpy_s(type, sizeof(type), data, idSize)) != EOK) { in SuspendDevice()
49 static void WakeupDevice(const uint8_t* data) in WakeupDevice() argument
53 if ((memcpy_s(type, sizeof(type), data, idSize)) != EOK) { in WakeupDevice()
60 static void RefreshActivity(const uint8_t* data) in RefreshActivity() argument
64 if ((memcpy_s(type, sizeof(type), data, idSize)) != EOK) { in RefreshActivity()
71 static void IsScreenOn(const uint8_t* data) in IsScreenOn() argument
75 if ((memcpy_s(type, sizeof(type), data, idSize)) != EOK) { in IsScreenOn()
82 static void GetState(const uint8_t* data) in GetState() argument
86 if ((memcpy_s(type, sizeof(type), data, idSize)) != EOK) { in GetState()
[all …]
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_proxy.cpp31 MessageParcel data; in AddAccount() local
34 if (!data.WriteInterfaceToken(GetDescriptor())) { in AddAccount()
39 if (!data.WriteString(name)) { in AddAccount()
44 if (!data.WriteString(extraInfo)) { in AddAccount()
49 ErrCode result = SendRequest(IAppAccount::Message::ADD_ACCOUNT, data, reply); in AddAccount()
62 MessageParcel data; in AddAccountImplicitly() local
65 if (!data.WriteInterfaceToken(GetDescriptor())) { in AddAccountImplicitly()
70 if (!data.WriteString(owner)) { in AddAccountImplicitly()
74 if (!data.WriteString(authType)) { in AddAccountImplicitly()
78 if (!data.WriteParcelable(&options)) { in AddAccountImplicitly()
[all …]
/base/telephony/core_service/frameworks/native/src/
Di_network_search_callback_stub.cpp23 …rkSearchCallbackStub::OnNetworkSearchCallback(NetworkSearchCallback requestId, MessageParcel &data) in OnNetworkSearchCallback() argument
29 OnGetNetworkSearchInformation(data); in OnNetworkSearchCallback()
33 OnGetNetworkModeCallback(data); in OnNetworkSearchCallback()
37 OnSetNetworkModeCallback(data); in OnNetworkSearchCallback()
41 OnGetRadioStateCallback(data); in OnNetworkSearchCallback()
45 OnSetRadioStateCallback(data); in OnNetworkSearchCallback()
49 OnGetPreferredNetworkCallback(data); in OnNetworkSearchCallback()
53 OnSetPreferredNetworkCallback(data); in OnNetworkSearchCallback()
63 void INetworkSearchCallbackStub::OnSetNetworkModeCallback(MessageParcel &data) in OnSetNetworkModeCallback() argument
65 bool result = data.ReadBool(); in OnSetNetworkModeCallback()
[all …]
/base/notification/common_event_service/frameworks/core/src/
Dcommon_event_proxy.cpp42 MessageParcel data; in PublishCommonEvent() local
45 if (!data.WriteInterfaceToken(GetDescriptor())) { in PublishCommonEvent()
50 if (!data.WriteParcelable(&event)) { in PublishCommonEvent()
55 if (!data.WriteParcelable(&publishInfo)) { in PublishCommonEvent()
61 if (!data.WriteBool(true)) { in PublishCommonEvent()
65 if (!data.WriteRemoteObject(commonEventListener)) { in PublishCommonEvent()
71 if (!data.WriteBool(false)) { in PublishCommonEvent()
77 if (!data.WriteInt32(userId)) { in PublishCommonEvent()
82 bool ret = SendRequest(ICommonEvent::Message::CES_PUBLISH_COMMON_EVENT, data, reply); in PublishCommonEvent()
98 MessageParcel data; in PublishCommonEvent() local
[all …]
/base/sensors/sensor/interfaces/plugin/test/
DExampleJsunit.test_system.js58 success: function(data) { argument
59 expect(typeof(data.x)).assertEqual("number");
60 expect(typeof(data.y)).assertEqual("number");
61 expect(typeof(data.z)).assertEqual("number");
62 console.info("SensorJsTest001 success" + JSON.stringify(data));
64 fail: function(data, code) { argument
66 console.error('Subscription failed. Code: ' + code + '; Data: ' + data);
93 success: function(data) { argument
95 console.info("SensorJsTest002 success" + JSON.stringify(data));
98 fail: function(data, code) { argument
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/
Dans_subscriber_stub_unit_test.cpp75 MessageParcel data; variable
79 bool bRet = data.WriteInterfaceToken(u"error descriptor");
83 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option);
94 MessageParcel data; variable
98 data.WriteInterfaceToken(AnsSubscriberStub::GetDescriptor());
103 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option);
114 MessageParcel data; variable
118 data.WriteInterfaceToken(AnsSubscriberStub::GetDescriptor());
121 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option);
132 MessageParcel data; variable
[all …]
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_aes.c28 static int32_t PaddingPkcs5(char *data, size_t inSize) in PaddingPkcs5() argument
31 return strlen((const char *)(uintptr_t)data); in PaddingPkcs5()
37 data[inSize + i] = paddingLen; in PaddingPkcs5()
43 static int32_t UnpaddingPkcs5(char *data, size_t dataLen) in UnpaddingPkcs5() argument
45 int32_t padLen = data[dataLen - 1]; in UnpaddingPkcs5()
52 if (data[dataLen - 1 - i] != padLen) { in UnpaddingPkcs5()
55 data[dataLen - 1 - i] = '\0'; in UnpaddingPkcs5()
175 ret = SetIv(ctx->data.key, strlen((const char *)(uintptr_t)ctx->data.key), ctx); in InitAesCryptContext()
185 …nt32_t InitAesCryptDataText(const char *action, const char *key, const char *text, CryptData *data) in InitAesCryptDataText() argument
188 data->action = MBEDTLS_AES_ENCRYPT; in InitAesCryptDataText()
[all …]

12345678910>>...99