/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/common/js/ |
H A D | picker_view.js | 17 if (this.status === true) { 18 this.status = false; 20 this.status = true;
|
H A D | image.js | 17 if (this.status === true) { 18 this.status = false; 20 this.status = true;
|
H A D | list.js | 17 if (this.status === true) { 18 this.status = false; 20 this.status = true;
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_screen_status_manager.cpp | 144 DistributedKv::Status status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore() local 145 if (status != DistributedKv::Status::SUCCESS) { in GetKvStore() 146 ANS_LOGE("kvDataManager GetSingleKvStore failed ret = 0x%{public}x", status); in GetKvStore() 195 DistributedKv::Status status = kvStore_->GetEntries(prefixKey, entries); in CheckRemoteDevicesIsUsing() local 196 if (status != DistributedKv::Status::SUCCESS) { in CheckRemoteDevicesIsUsing() 197 ANS_LOGE("kvStore GetEntries() failed ret = 0x%{public}x", status); in CheckRemoteDevicesIsUsing() 244 DistributedKv::Status status = kvStore_->Put(kvStoreKey, kvStoreValue); in SetLocalScreenStatus() local 245 if (status != DistributedKv::Status::SUCCESS) { in SetLocalScreenStatus() 246 ANS_LOGE("kvStore Put() failed ret = 0x%{public}x", status); in SetLocalScreenStatus()
|
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
H A D | pake_v1_server_protocol_task.c | 80 static int PakeResponse(AsyBaseCurTask *task, PakeParams *params, const CJson *in, CJson *out, int *status) in PakeResponse() argument 84 LOGI("The message is repeated, ignore it, status: %d", task->taskStatus); in PakeResponse() 85 *status = IGNORE_MSG; in PakeResponse() 130 *status = CONTINUE; in PakeResponse() 134 static int PakeServerConfirm(AsyBaseCurTask *task, PakeParams *params, const CJson *in, CJson *out, int *status) in PakeServerConfirm() argument 142 LOGI("The message is repeated, ignore it, status: %d", task->taskStatus); in PakeServerConfirm() 143 *status = IGNORE_MSG; in PakeServerConfirm() 186 *status = FINISH; in PakeServerConfirm() 190 static int Process(struct AsyBaseCurTaskT *task, PakeParams *params, const CJson *in, CJson *out, int *status) in Process() argument 201 res = PakeResponse(task, params, in, out, status); in Process() [all...] |
/foundation/ability/ability_runtime/test/unittest/js_ui_service_extension_context_second_test/ |
H A D | js_ui_service_extension_context_second_test.cpp | 115 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local 117 EXPECT_EQ(status, napi_ok); in HWTEST_F() 118 status = napi_typeof(env_, value, &valueType); in HWTEST_F() 198 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local 200 EXPECT_EQ(status, napi_ok); in HWTEST_F() 201 status = napi_typeof(env_, value, &valueType); in HWTEST_F() 221 napi_status status = napi_create_string_utf8(env_, "Hello, Service Extension!", in HWTEST_F() local 223 EXPECT_EQ(status, napi_ok); in HWTEST_F() 224 status = napi_typeof(env_, value, &valueType); in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/ |
H A D | wfd_message.h | 54 WfdRtspM1Response(int32_t cseq, int32_t status); 65 WfdRtspM2Response(int32_t cseq, int32_t status) : RtspResponseOptions(cseq, status) in WfdRtspM2Response() argument 91 WfdRtspM3Response(int32_t cseq, int32_t status) : RtspResponse(cseq, status) {} in WfdRtspM3Response() argument 165 WfdRtspM6Response(int32_t cseq, int32_t status, std::string sessionID, int32_t timeOut) : RtspResponse(cseq, status) in WfdRtspM6Response() argument 198 WfdRtspM7Response(int32_t cseq, int32_t status, std::string sessionID) : RtspResponse(cseq, status) in WfdRtspM7Response() argument
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_avrcp_tg.h | 163 * @param[in] status The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br> 172 virtual void OnSetAddressedPlayer(const RawAddress &rawAddr, uint8_t label, int status) = 0; 196 const std::vector<std::string> &folderNames, uint8_t label, int status) = 0; 309 * @param[in] playStatus The current status of playing. Refer to <b>AvrcPlayStatus</b>. 323 * @param[in] status The current status of media. 330 virtual void OnPlayItem(const RawAddress &rawAddr, uint8_t label, int status) = 0; 338 * @param[in] status The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br> 351 virtual void OnAddToNowPlaying(const RawAddress &rawAddr, uint8_t label, int status) = 0; 364 * @param[in] status Th [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_async_work.cpp | 99 napi_status status = napi_create_async_work(env_, nullptr, resource, in Run() local 108 [](napi_env env, napi_status status, void* data) { in Run() 119 if (status != napi_ok) { in Run() 120 HILOGE("napi_create_async_work failed, status(%{public}d)", status); in Run() 125 status = napi_queue_async_work(env_, info->asyncWork); in Run() 126 if (status != napi_ok) { in Run() 127 HILOGE("napi_queue_async_work failed, status(%{public}d)", status); in Run() 175 int status) in AsyncWorkCallFunction() 174 AsyncWorkCallFunction(NapiAsyncWorkMap &map, NapiAsyncType type, std::shared_ptr<NapiNativeObject> nativeObject, int status) AsyncWorkCallFunction() argument [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/account_subscriber/ |
H A D | account_subscriber.cpp | 109 /* get user status */ in OnReceiveEvent() 110 uint32_t status = GetUserStatus(userId); in OnReceiveEvent() local 111 /* update status */ in OnReceiveEvent() 113 status = HandleUserUnlockEvent(status); in OnReceiveEvent() 115 status = HandleUserSwitchedEvent(status); in OnReceiveEvent() 121 userRecord_[userId] = status; in OnReceiveEvent() 122 LOGI("action:%{public}s, userId:%{public}d status %{public}d", action.c_str(), userId, status); in OnReceiveEvent() [all...] |
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | gl_utils.cpp | 111 GLenum status = glGetError();
in CheckError() local 112 if (status != GL_NO_ERROR) {
in CheckError() 113 EFFECT_LOGE("GL Error: 0x%{public}x, [%{public}s : %{public}d]", status, file, line);
in CheckError() 152 int status = GL_FALSE;
in LoadShader() local 153 glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
in LoadShader() 154 if (status == GL_FALSE) {
in LoadShader() 180 int status = GL_FALSE;
in CreateProgram() local 181 glGetProgramiv(program, GL_LINK_STATUS, &status);
in CreateProgram() 182 if (status == GL_FALSE) {
in CreateProgram()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_async_callback.cpp | 71 napi_status status = napi_call_function(context->env, global, function, argc, argv, &result); in AfterWorkCallback() local 72 if (status != napi_ok) { in AfterWorkCallback() 73 SLOGE("call function failed status=%{public}d.", status); in AfterWorkCallback() 112 napi_status status = napi_call_function(context->env, global, function, argc, argv, &result); in AfterWorkCallbackWithFlag() local 113 if (status != napi_ok) { in AfterWorkCallbackWithFlag() 114 SLOGE("call function failed status=%{public}d.", status); in AfterWorkCallbackWithFlag() 161 napi_status status = napi_call_function(context->env, global, function, argc, argv, &result); in AfterWorkCallbackWithFunc() local 162 if (status ! in AfterWorkCallbackWithFunc() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/ |
H A D | account_delegate_normal_impl.cpp | 98 auto status = AccountSA::OsAccountManager::IsOsAccountVerified(userId, res); in IsVerified() local 99 if (status == 0) { in IsVerified() 102 return status == 0 && res; in IsVerified() 126 uint32_t status = static_cast<uint32_t>(account.status); in UpdateUserStatus() local 127 switch (status) { in UpdateUserStatus() 214 int32_t status = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(foregroundUserId); in QueryForegroundUserId() local 215 if (status != ERR_OK) { in QueryForegroundUserId() 216 ZLOGE("GetForegroundOsAccountLocalId failed, status: %{public}d", status); in QueryForegroundUserId() [all...] |
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/ |
H A D | daudio_ipc_callback.cpp | 29 const std::string &reqId, int32_t status, const std::string &resultData) in OnNotifyRegResult() 31 DHLOGI("On notify the registration result, devId: %{public}s, dhId: %{public}s, status: %{public}d, " in OnNotifyRegResult() 33 status, resultData.c_str(), reqId.c_str()); in OnNotifyRegResult() 44 iter->second->OnRegisterResult(devId, reduceDhId, status, resultData); in OnNotifyRegResult() 54 const std::string &reqId, int32_t status, const std::string &resultData) in OnNotifyUnregResult() 56 DHLOGI("On notify the unregistration result, devId: %{public}s, dhId: %{public}s, status: %{public}d, " in OnNotifyUnregResult() 58 status, resultData.c_str(), reqId.c_str()); in OnNotifyUnregResult() 69 iter->second->OnUnregisterResult(devId, reduceDhId, status, resultData); in OnNotifyUnregResult() 77 int32_t DAudioIpcCallback::OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) in OnHardwareStateChanged() argument 79 DHLOGI("On hardware state changed, devId: %{public}s, dhId: %{public}s, status in OnHardwareStateChanged() 28 OnNotifyRegResult(const std::string &devId, const std::string &dhId, const std::string &reqId, int32_t status, const std::string &resultData) OnNotifyRegResult() argument 53 OnNotifyUnregResult(const std::string &devId, const std::string &dhId, const std::string &reqId, int32_t status, const std::string &resultData) OnNotifyUnregResult() argument [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/ |
H A D | watcher_n_exporter.cpp | 140 napi_status status = napi_open_handle_scope(callbackContext->env_, &scope); in WatcherCallbackComplete() local 141 if (status != napi_ok) { in WatcherCallbackComplete() 142 HILOGE("Failed to open handle scope, status: %{public}d", status); in WatcherCallbackComplete() 152 status = napi_call_function(env, nullptr, jsCallback, 1, &(objn.val_), &retVal); in WatcherCallbackComplete() 153 if (status != napi_ok) { in WatcherCallbackComplete() 154 HILOGE("Failed to call napi_call_function, status: %{public}d", status); in WatcherCallbackComplete() 156 status = napi_close_handle_scope(callbackContext->env_, scope); in WatcherCallbackComplete() 157 if (status ! in WatcherCallbackComplete() [all...] |
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_callback_stub.cpp | 88 void DhcpClientCallBackStub::OnIpSuccessChanged(int status, const std::string& ifname, DhcpResult& result) in OnIpSuccessChanged() argument 90 DHCP_LOGI("OnIpSuccessChanged, status:%{public}d!", status); in OnIpSuccessChanged() 92 callback_->OnIpSuccessChanged(status, ifname, result); in OnIpSuccessChanged() 96 void DhcpClientCallBackStub::OnIpFailChanged(int status, const std::string& ifname, const std::string& reason) in OnIpFailChanged() argument 98 DHCP_LOGI("OnIpFailChanged, status:%{public}d!", status); in OnIpFailChanged() 100 callback_->OnIpFailChanged(status, ifname, reason); in OnIpFailChanged() 104 void DhcpClientCallBackStub::OnDhcpOfferReport(int status, const std::string& ifname, DhcpResult& result) in OnDhcpOfferReport() argument 106 DHCP_LOGI("OnDhcpOfferReport, status in OnDhcpOfferReport() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ioapic.c | 69 acpi_status status; in acpi_is_ioapic() local 77 status = acpi_get_object_info(handle, &info); in acpi_is_ioapic() 78 if (ACPI_SUCCESS(status)) { in acpi_is_ioapic() 99 acpi_status status; in handle_ioapic_add() local 116 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base); in handle_ioapic_add() 117 if (ACPI_FAILURE(status)) { in handle_ioapic_add() 203 acpi_status status, retval = AE_OK; in acpi_ioapic_add() local 205 status = acpi_walk_namespace(ACPI_TYPE_DEVICE, root_handle, in acpi_ioapic_add() 209 return ACPI_SUCCESS(status) && ACPI_SUCCESS(retval) ? 0 : -ENODEV; in acpi_ioapic_add()
|
/kernel/linux/linux-5.10/arch/arm/mach-iop32x/ |
H A D | pci.c | 52 * This routine checks the status of the last configuration cycle. If an error 60 unsigned int status; in iop3xx_pci_status() local 64 * Check the status registers. in iop3xx_pci_status() 66 status = *IOP3XX_ATUSR; in iop3xx_pci_status() 67 if (status & 0xf900) { in iop3xx_pci_status() 68 DBG("\t\t\tPCI: P0 - status = 0x%08x\n", status); in iop3xx_pci_status() 69 *IOP3XX_ATUSR = status & 0xf900; in iop3xx_pci_status() 73 status = *IOP3XX_ATUISR; in iop3xx_pci_status() 74 if (status in iop3xx_pci_status() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/ |
H A D | jz4740_ecc.c | 49 /* Clear interrupt status */ in jz4740_ecc_reset() 69 uint32_t reg, status; in jz4740_ecc_calculate() local 76 status = readl(ecc->base + JZ_REG_NAND_IRQ_STAT); in jz4740_ecc_calculate() 77 } while (!(status & JZ_NAND_STATUS_ENC_FINISH) && --timeout); in jz4740_ecc_calculate() 122 uint32_t reg, status, error; in jz4740_ecc_correct() local 135 status = readl(ecc->base + JZ_REG_NAND_IRQ_STAT); in jz4740_ecc_correct() 136 } while (!(status & JZ_NAND_STATUS_DEC_FINISH) && --timeout); in jz4740_ecc_correct() 145 if (status & JZ_NAND_STATUS_ERROR) { in jz4740_ecc_correct() 146 if (status & JZ_NAND_STATUS_UNCOR_ERROR) in jz4740_ecc_correct() 149 error_count = (status in jz4740_ecc_correct() [all...] |
/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | pcips2.c | 61 unsigned char status, scancode; in pcips2_interrupt() local 67 status = inb(ps2if->base + PS2_STATUS); in pcips2_interrupt() 68 if (!(status & PS2_STAT_RXFULL)) in pcips2_interrupt() 72 if (status == 0xff && scancode == 0xff) in pcips2_interrupt() 75 flag = (status & PS2_STAT_PARITY) ? 0 : SERIO_PARITY; in pcips2_interrupt() 87 unsigned char status, scancode; in pcips2_flush_input() local 90 status = inb(ps2if->base + PS2_STATUS); in pcips2_flush_input() 91 if (!(status & PS2_STAT_RXFULL)) in pcips2_flush_input() 94 if (status == 0xff && scancode == 0xff) in pcips2_flush_input()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-versatile-fpga.c | 74 u32 status; in fpga_irq_handle() local 78 status = readl(f->base + IRQ_STATUS); in fpga_irq_handle() 79 if (status == 0) { in fpga_irq_handle() 85 unsigned int irq = ffs(status) - 1; in fpga_irq_handle() 87 status &= ~(1 << irq); in fpga_irq_handle() 89 } while (status); in fpga_irq_handle() 98 * status register and handles all interrupts in order from LSB first. 104 u32 status; in handle_one_fpga() local 106 while ((status = readl(f->base + IRQ_STATUS))) { in handle_one_fpga() 107 irq = ffs(status) in handle_one_fpga() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 54 struct devfreq_dev_status *status) in panfrost_devfreq_get_dev_status() 60 status->current_frequency = clk_get_rate(pfdev->clock); in panfrost_devfreq_get_dev_status() 66 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status() 69 status->busy_time = ktime_to_ns(pfdevfreq->busy_time); in panfrost_devfreq_get_dev_status() 76 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status() 77 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status() 78 status->current_frequency / 1000 / 1000); in panfrost_devfreq_get_dev_status() 53 panfrost_devfreq_get_dev_status(struct device *dev, struct devfreq_dev_status *status) panfrost_devfreq_get_dev_status() argument
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | lattice-ecp3-config.c | 35 * The status register is 32bit revered, DONE is bit 17 from the TN1222.pdf 75 u32 status; in firmware_load() local 113 status = get_unaligned_be32(&rxbuf[4]); in firmware_load() 114 dev_dbg(&spi->dev, "FPGA Status=%08x\n", status); in firmware_load() 146 status = get_unaligned_be32(&rxbuf[4]); in firmware_load() 147 if (status == FPGA_STATUS_CLEARED) in firmware_load() 155 "Error: Timeout waiting for FPGA to clear (status=%08x)!\n", in firmware_load() 156 status); in firmware_load() 169 status = get_unaligned_be32(&rxbuf[4]); in firmware_load() 170 dev_dbg(&spi->dev, "FPGA Status=%08x\n", status); in firmware_load() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_core.c | 50 int status = 0; in sxgbe_get_lpi_status() local 53 /* Reading this register shall clear all the LPI status bits */ in sxgbe_get_lpi_status() 57 status |= TX_ENTRY_LPI_MODE; in sxgbe_get_lpi_status() 59 status |= TX_EXIT_LPI_MODE; in sxgbe_get_lpi_status() 61 status |= RX_ENTRY_LPI_MODE; in sxgbe_get_lpi_status() 63 status |= RX_EXIT_LPI_MODE; in sxgbe_get_lpi_status() 65 return status; in sxgbe_get_lpi_status() 72 int irq_status, status = 0; in sxgbe_core_host_irq_status() local 77 status |= sxgbe_get_lpi_status(ioaddr, irq_status); in sxgbe_core_host_irq_status() 79 return status; in sxgbe_core_host_irq_status() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | usb_ops.c | 32 int status; in usb_read8() local 41 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read8() 43 if (status < 0) in usb_read8() 55 int status; in usb_read16() local 64 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read16() 66 if (status < 0) in usb_read16() 78 int status; in usb_read32() local 87 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read32() 89 if (status < 0) in usb_read32()
|