/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/transaction/ |
H A D | rs_render_service_connection_stub_test.cpp | 69 uint32_t code; variable 72 res = connectionStub_->OnRemoteRequest(code, data, reply, option); 75 res = connectionStub_->OnRemoteRequest(code, data, reply, option); 110 uint32_t code; variable 157 uint32_t code; variable 207 uint32_t code; variable 254 uint32_t code; variable 301 uint32_t code; variable 348 uint32_t code; variable 389 uint32_t code; variable [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/capi_ability_runtime_application_context_test/ |
H A D | capi_ability_runtime_application_context_test.cpp | 260 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 282 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 289 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 296 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 303 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 310 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 353 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 376 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 381 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); 386 ASSERT_EQ(code, ABILITY_RUNTIME_ERROR_CODE_NO_ERROR); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_record_cmd_test.cpp | 51 EXPECT_EQ(code, OH_DRAWING_SUCCESS); 52 code = OH_Drawing_RecordCmdUtilsDestroy(nullptr); 70 EXPECT_EQ(code, OH_DRAWING_SUCCESS); 87 EXPECT_EQ(code, OH_DRAWING_SUCCESS); 118 EXPECT_EQ(code, OH_DRAWING_SUCCESS); 158 EXPECT_EQ(code, OH_DRAWING_SUCCESS); 176 EXPECT_TRUE(code != OH_DRAWING_SUCCESS); 181 EXPECT_TRUE(code == OH_DRAWING_SUCCESS); 183 code = OH_Drawing_RecordCmdDestroy(recordCmd); 184 EXPECT_EQ(code, OH_DRAWING_SUCCESS); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_common_event_helper.cpp | 34 WIFI_LOGD("publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 40 commonData.SetCode(code); in PublishEvent() 61 WIFI_LOGD("publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 67 commonData.SetCode(code); in PublishEvent() 79 const int &code, const std::string &data) in PublishEvent() argument 82 eventAction.c_str(), paramKey.c_str(), code); in PublishEvent() 89 commonData.SetCode(code); in PublishEvent() 116 return WifiCommonEventHelper::PublishEvent(COMMON_EVENT_WIFI_SCAN_STATE, code, data); in PublishScanStateChangedEvent() 121 WIFI_LOGI("PublishWifiSemiStateChangedEvent code:%{public}d", code); in PublishWifiSemiStateChangedEvent() 129 const int &code, const std::string &data) in PublishRssiValueChangedEvent() argument [all …]
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_init.cpp | 89 napi_value code = nullptr; in CreateAsyKeySpecItemCode() local 90 napi_create_object(env, &code); in CreateAsyKeySpecItemCode() 124 return code; in CreateAsyKeySpecItemCode() 138 napi_value code = nullptr; in CreateAsyKeySpecTypeCode() local 139 napi_create_object(env, &code); in CreateAsyKeySpecTypeCode() 145 return code; in CreateAsyKeySpecTypeCode() 159 napi_value code = nullptr; in CreateCipherSpecItemCode() local 160 napi_create_object(env, &code); in CreateCipherSpecItemCode() 167 return code; in CreateCipherSpecItemCode() 181 napi_value code = nullptr; in CreateSignSpecItemCode() local [all …]
|
/ohos5.0/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/mock/src/ |
H A D | enterprise_device_mgr_stub_mock.cpp | 40 code_ = code; in InvokeSendRequestGetEnterpriseInfo() 50 code_ = code; in InvokeSendRequestEnableAdmin() 62 code_ = code; in InvokeSendRequestMapEnableAdminTwoSuc() 76 code_ = code; in InvokeSendRequestSetPolicy() 85 code_ = code; in InvokeSendRequestGetPolicy() 96 code_ = code; in InvokeSendRequestGetPolicyForWriteFileToStream() 106 code_ = code; in InvokeSendRequestSetPolicyInstallFail() 115 code_ = code; in InvokeBoolSendRequestGetPolicy() 125 code_ = code; in InvokeBoolSendRequestGetFirewallRule() 138 code_ = code; in InvokeSendRequestGetDomainFilterRules() [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-update.md | 3 |Error code added|NA|Method or attribute name: getOnlineUpdater<br>Error code: 201, 11500104|@ohos.… 4 |Error code added|NA|Method or attribute name: getRestorer<br>Error code: 201, 11500104|@ohos.updat… 5 |Error code added|NA|Method or attribute name: getLocalUpdater<br>Error code: 201, 11500104|@ohos.u… 6 |Error code added|NA|Method or attribute name: checkNewVersion<br>Error code: 201, 11500104|@ohos.u… 7 |Error code added|NA|Method or attribute name: getNewVersionInfo<br>Error code: 201, 11500104|@ohos… 11 |Error code added|NA|Method or attribute name: getTaskInfo<br>Error code: 201, 11500104|@ohos.updat… 12 |Error code added|NA|Method or attribute name: download<br>Error code: 201, 401, 11500104|@ohos.upd… 20 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… 21 |Error code added|NA|Method or attribute name: off<br>Error code: 201, 401, 11500104|@ohos.update.d… 25 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-update.md | 3 |Error code added|NA|Method or attribute name: getOnlineUpdater<br>Error code: 201, 11500104|@ohos.… 4 |Error code added|NA|Method or attribute name: getRestorer<br>Error code: 201, 11500104|@ohos.updat… 5 |Error code added|NA|Method or attribute name: getLocalUpdater<br>Error code: 201, 11500104|@ohos.u… 6 |Error code added|NA|Method or attribute name: checkNewVersion<br>Error code: 201, 11500104|@ohos.u… 7 |Error code added|NA|Method or attribute name: getNewVersionInfo<br>Error code: 201, 11500104|@ohos… 11 |Error code added|NA|Method or attribute name: getTaskInfo<br>Error code: 201, 11500104|@ohos.updat… 12 |Error code added|NA|Method or attribute name: download<br>Error code: 201, 401, 11500104|@ohos.upd… 20 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… 21 |Error code added|NA|Method or attribute name: off<br>Error code: 201, 401, 11500104|@ohos.update.d… 25 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_stub.h | 42 void OnEnableWifi(uint32_t code, MessageParcel &data, MessageParcel &reply); 43 void OnDisableWifi(uint32_t code, MessageParcel &data, MessageParcel &reply); 50 void OnRemoveDevice(uint32_t code, MessageParcel &data, MessageParcel &reply); 56 void OnConnectTo(uint32_t code, MessageParcel &data, MessageParcel &reply); 57 void OnConnect2To(uint32_t code, MessageParcel &data, MessageParcel &reply); 60 void OnReConnect(uint32_t code, MessageParcel &data, MessageParcel &reply); 61 void OnReAssociate(uint32_t code, MessageParcel &data, MessageParcel &reply); 62 void OnDisconnect(uint32_t code, MessageParcel &data, MessageParcel &reply); 63 void OnStartWps(uint32_t code, MessageParcel &data, MessageParcel &reply); 64 void OnCancelWps(uint32_t code, MessageParcel &data, MessageParcel &reply); [all …]
|
H A D | wifi_device_stub_lite.h | 39 void OnEnableWifi(uint32_t code, IpcIo *req, IpcIo *reply); 40 void OnDisableWifi(uint32_t code, IpcIo *req, IpcIo *reply); 46 void OnRemoveDevice(uint32_t code, IpcIo *req, IpcIo *reply); 51 void OnConnectTo(uint32_t code, IpcIo *req, IpcIo *reply); 52 void OnConnect2To(uint32_t code, IpcIo *req, IpcIo *reply); 53 void OnReConnect(uint32_t code, IpcIo *req, IpcIo *reply); 54 void OnReAssociate(uint32_t code, IpcIo *req, IpcIo *reply); 55 void OnDisconnect(uint32_t code, IpcIo *req, IpcIo *reply); 56 void OnStartWps(uint32_t code, IpcIo *req, IpcIo *reply); 57 void OnCancelWps(uint32_t code, IpcIo *req, IpcIo *reply); [all …]
|
H A D | wifi_device_stub.cpp | 96 …uint32_t code, MessageParcel &data, MessageParcel &reply) { OnGetChangeDeviceConfig(code, data, re… in InitHandleMapEx() argument 121 [this](uint32_t code, MessageParcel &data, MessageParcel &reply) { in InitHandleMapEx2() argument 122 OnStartConnectToUserSelectNetwork(code, data, reply); in InitHandleMapEx2() 151 …[this](uint32_t code, MessageParcel &data, MessageParcel &reply) { OnRemoveAllDevice(code, data, r… in InitHandleMap() argument 187 …[this](uint32_t code, MessageParcel &data, MessageParcel &reply) { OnRegisterCallBack(code, data, … in InitHandleMap() argument 196 WIFI_LOGE("Sta stub token verification error: %{public}d", code); in OnRemoteRequest() 201 __func__, code, GetCallingUid(), GetCallingPid()); in OnRemoteRequest() 202 HandleFuncMap::iterator iter = handleFuncMap.find(code); in OnRemoteRequest() 204 WIFI_LOGI("not find function to deal, code %{public}u", code); in OnRemoteRequest() 216 (iter->second)(code, data, reply); in OnRemoteRequest() [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | lexer.js | 19 function code(s) { function 24 return c === code(' ') || c === code('\t') || c === code('\r'); 28 if (code('a') <= c[0] && c[0] <= code('z')) { 31 if (code('A') <= c[0] && c[0] <= code('Z')) { 42 return code('0') <= c[0] && c[0] <= code('9'); 202 if (!isalnum(c) && c[0] !== code('_') && c[0] !== code('.') && c[0] !== code('\\')) { 275 (c[0] >= code('a') && c[0] <= code('f')) || 276 (c[0] >= code('A') && c[0] <= code('F'))) 289 (c[0] === code('0') || c[0] === code('1')) 318 if (c[0] === code('x') || code('x') === code('X')) { [all …]
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_stub_test.cpp | 268 uint32_t code = 0; variable 292 windowStub_->OnRemoteRequest(code, data, reply, option); 294 windowStub_->OnRemoteRequest(code, data, reply, option); 296 windowStub_->OnRemoteRequest(code, data, reply, option); 298 windowStub_->OnRemoteRequest(code, data, reply, option); 302 windowStub_->OnRemoteRequest(code, data, reply, option); 304 windowStub_->OnRemoteRequest(code, data, reply, option); 306 windowStub_->OnRemoteRequest(code, data, reply, option); 308 windowStub_->OnRemoteRequest(code, data, reply, option); 310 windowStub_->OnRemoteRequest(code, data, reply, option); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/ |
H A D | wifi_p2p_stub.h | 29 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 37 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override; 47 … void OnEnableP2p(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 48 …void OnDisableP2p(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 53 …void OnRequestService(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &opt… 57 …void OnStopP2pListen(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &opti… 58 …void OnCreateGroup(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option… 59 …void OnRemoveGroup(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option… 61 …void OnDeleteGroup(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option… 62 …void OnP2pConnect(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); [all …]
|
/ohos5.0/foundation/filemanagement/user_file_service/services/file_extension_hap/entry/src/main/ets/FileExtensionAbility/ |
H A D | Common.ts | 74 code: code 81 code: code 85 function fdReturnObject(fd: number, code: number): {fd: number, code: number} { 88 code: code 92 function boolReturnObject(isExist: boolean, code: number): {isExist: boolean, code: number} { 95 code: code 102 code: code 106 function resultsResultObject(results: object, code: number): {results: object, code: number} { 109 code: code 113 function rootsReturnObject(roots: object, code: number): {roots: object, code: number} { [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/ |
H A D | js-apidiff-telephony.md | 50 |Error code added|NA|Class name: call<br>Method or attribute name: function muteRinger(): Promise\<… 60 |Error code added|NA|Class name: call<br>Method or attribute name: function holdCall(callId: number… 68 |Error code added|NA|Class name: call<br>Method or attribute name: function getMainCallId(callId: n… 80 |Error code added|NA|Class name: call<br>Method or attribute name: function stopDTMF(callId: number… 82 |Error code added|NA|Class name: call<br>Method or attribute name: function isInEmergencyCall(): Pr… 90 |Error code added|NA|Class name: call<br>Method or attribute name: function isNewCallAllowed(): Pro… 102 |Error code added|NA|Class name: call<br>Method or attribute name: function isRinging(): Promise\<b… 104 |Error code added|NA|Class name: call<br>Method or attribute name: function setMuted(): Promise\<vo… 106 |Error code added|NA|Class name: call<br>Method or attribute name: function cancelMuted(): Promise\… 125 |Error code added|NA|Class name: data<br>Method or attribute name: function enableCellularData(): P… [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_stub.h | 27 AppAccountStub *ptr, uint32_t code, MessageParcel &data, MessageParcel &reply); 38 ErrCode ProcAddAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 40 ErrCode ProcCreateAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 42 ErrCode ProcDeleteAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 45 ErrCode ProcSetAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply); 46 ErrCode ProcCheckAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply); 54 ErrCode ProcAuthenticate(uint32_t code, MessageParcel &data, MessageParcel &reply); 55 ErrCode ProcGetAuthToken(uint32_t code, MessageParcel &data, MessageParcel &reply); 56 ErrCode ProcSetOAuthToken(uint32_t code, MessageParcel &data, MessageParcel &reply); 62 ErrCode ProcGetAuthList(uint32_t code, MessageParcel &data, MessageParcel &reply); [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudSyncConfigPromise.js | 42 expect(e.code == 401).assertTrue(); 66 expect(e.code == 401).assertTrue(); 90 expect(e.code == 401).assertTrue(); 113 expect(e.code == 401).assertTrue(); 138 expect(e.code == 401).assertTrue(); 163 expect(e.code == 401).assertTrue(); 187 expect(e.code == 401).assertTrue(); 211 expect(e.code == 401).assertTrue(); 234 expect(e.code == 401).assertTrue(); 257 expect(e.code == 401).assertTrue(); [all …]
|
H A D | CloudSyncConfigCallback.js | 44 expect(e.code == 401).assertTrue(); 73 expect(e.code == 401).assertTrue(); 100 expect(e.code == 401).assertTrue(); 127 expect(e.code == 401).assertTrue(); 156 expect(e.code == 401).assertTrue(); 185 expect(e.code == 401).assertTrue(); 213 expect(e.code == 401).assertTrue(); 241 expect(e.code == 401).assertTrue(); 268 expect(e.code == 401).assertTrue(); 295 expect(e.code == 401).assertTrue(); [all …]
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/ |
H A D | nativewindow_fuzzer.cpp | 45 int code = SET_USAGE; in HandleOpt() local 52 code = SET_FORMAT; in HandleOpt() 55 code = SET_STRIDE; in HandleOpt() 58 code = GET_USAGE; in HandleOpt() 65 code = GET_FORMAT; in HandleOpt() 68 code = SET_STRIDE; in HandleOpt() 71 code = GET_STRIDE; in HandleOpt() 74 code = SET_TIMEOUT; in HandleOpt() 80 code = SET_TRANSFORM; in HandleOpt() 102 code = GET_TIMEOUT; in HandleOpt1() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_fs_ffi.cpp | 47 ret.code = state; in FfiOHOSFileFsStatByID() 260 ret.code = code; in FfiOHOSRandomAccessFileWrite() 278 ret.code = code; in FfiOHOSRandomAccessFileRead() 288 return code; in FfiOHOSFileFsMkdir() 296 return code; in FfiOHOSFileFsRmdir() 312 return code; in FfiOHOSFileFsRename() 320 return code; in FfiOHOSFileFsUnlink() 421 return code; in FfiOHOSFileFsTruncateByString() 429 return code; in FfiOHOSFileFsTruncateByFd() 459 ret.code = code; in FfiOHOSFileFsReaderIteratorNext() [all …]
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_stub_test.cpp | 78 uint32_t code = static_cast<uint32_t>( variable 98 uint32_t code = static_cast<uint32_t>( variable 118 uint32_t code = static_cast<uint32_t>( variable 138 uint32_t code = static_cast<uint32_t>( variable 158 uint32_t code = static_cast<uint32_t>( variable 178 uint32_t code = static_cast<uint32_t>( variable 198 uint32_t code = static_cast<uint32_t>( variable 218 uint32_t code = static_cast<uint32_t>( variable 238 uint32_t code = static_cast<uint32_t>( variable 258 uint32_t code = static_cast<uint32_t>( variable [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/test/unittest/js_file_permission_test/permission/ |
H A D | FilePermission.test.js | 61 if (error.code == DEVICE_TYPE_ERR) { 103 if (error.code == DEVICE_TYPE_ERR) { 132 if (error.code == DEVICE_TYPE_ERR) { 170 if (error.code == DEVICE_TYPE_ERR) { 211 if (error.code == DEVICE_TYPE_ERR) { 259 if (error.code == DEVICE_TYPE_ERR) { 288 if (error.code == DEVICE_TYPE_ERR) { 330 if (error.code == DEVICE_TYPE_ERR) { 371 if (error.code == DEVICE_TYPE_ERR) { 420 if (error.code == DEVICE_TYPE_ERR) { [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_cmd.c | 33 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingRequest() 64 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingResponse() 97 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingConfirm() 121 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingRandom() 145 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingFailed() 169 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingPublicKey() 193 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingDHKeyCheck() 217 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendEncryptionInformation() 242 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendMasterIdentification() 270 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendIdentityInformation() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/preferences/src/ |
H A D | V9_PreferencesCallBackJsunit.test.js | 314 expect("401").assertEqual(err.code.toString()); 332 expect("401").assertEqual(err.code.toString()); 348 expect("401").assertEqual(err.code.toString()); 380 expect("401").assertEqual(err.code.toString()); 413 expect("401").assertEqual(err.code.toString()); 430 expect("401").assertEqual(err.code.toString()); 446 expect("401").assertEqual(err.code.toString()); 479 expect("401").assertEqual(err.code.toString()); 496 expect("401").assertEqual(err.code.toString()); 512 expect("401").assertEqual(err.code.toString()); [all …]
|