/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/accessibility/ |
H A D | progress_accessibilitylevel_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityLevel001() 26 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_MODE, &valueItem); in TestProgressAccessibilityLevel001() 28 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestProgressAccessibilityLevel001() 34 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityLevel002() 38 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_MODE, &valueItem); in TestProgressAccessibilityLevel002() 40 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestProgressAccessibilityLevel002() 46 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityLevel003() 50 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_MODE, &valueItem); in TestProgressAccessibilityLevel003() 52 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestProgressAccessibilityLevel003() 58 NAPI_START(progress, ARKUI_NODE_PROGRES in TestProgressAccessibilityLevel004() [all...] |
H A D | progress_accessibilitygroup_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityGroup001() 26 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestProgressAccessibilityGroup001() 28 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestProgressAccessibilityGroup001() 34 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityGroup002() 38 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestProgressAccessibilityGroup002() 40 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestProgressAccessibilityGroup002() 46 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityGroup003() 50 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestProgressAccessibilityGroup003() 52 ASSERT_NE(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestProgressAccessibilityGroup003() 58 NAPI_START(progress, ARKUI_NODE_PROGRES in TestProgressAccessibilityGroup004() [all...] |
H A D | progress_accessibilitytext_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityText001() 26 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_TEXT, &valueItem); in TestProgressAccessibilityText001() 28 ASSERT_STREQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_TEXT)->string, "Text"); in TestProgressAccessibilityText001() 34 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityText002() 38 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_TEXT, &valueItem); in TestProgressAccessibilityText002() 40 ASSERT_STREQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_TEXT)->string, ""); in TestProgressAccessibilityText002()
|
H A D | progress_accessibilitydescription_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityDescription001() 26 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_DESCRIPTION, &valueItem); in TestProgressAccessibilityDescription001() 28 ASSERT_STREQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_DESCRIPTION)->string, "accessibilityDescription"); in TestProgressAccessibilityDescription001() 34 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressAccessibilityDescription002() 38 auto ret = nodeAPI->setAttribute(progress, NODE_ACCESSIBILITY_DESCRIPTION, &valueItem); in TestProgressAccessibilityDescription002() 40 ASSERT_STREQ(nodeAPI->getAttribute(progress, NODE_ACCESSIBILITY_DESCRIPTION)->string, ""); in TestProgressAccessibilityDescription002()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/progress/ |
H A D | progress_style_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressStyle001() 23 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_LINEAR); in TestProgressStyle001() 29 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressStyle002() 32 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TYPE, &value_item); in TestProgressStyle002() 34 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_RING); in TestProgressStyle002() 40 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressStyle003() 43 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TYPE, &value_item); in TestProgressStyle003() 45 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_ECLIPSE); in TestProgressStyle003() 51 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressStyle004() 54 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TYP in TestProgressStyle004() [all...] |
H A D | progress_backgroundcolor_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressBackgroundColor001() 25 auto ret = nodeAPI->setAttribute(progress, NODE_BACKGROUND_COLOR, &value_item); in TestProgressBackgroundColor001() 27 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestProgressBackgroundColor001() 33 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressBackgroundColor002() 36 auto ret = nodeAPI->setAttribute(progress, NODE_BACKGROUND_COLOR, &value_item); in TestProgressBackgroundColor002() 38 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, COLOR_WHITE); in TestProgressBackgroundColor002() 44 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressBackgroundColor003() 47 auto ret = nodeAPI->setAttribute(progress, NODE_BACKGROUND_COLOR, &value_item); in TestProgressBackgroundColor003() 49 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, COLOR_BLACK); in TestProgressBackgroundColor003()
|
H A D | progress_value_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressValue001() 25 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_VALUE, &value_item);
in TestProgressValue001() 27 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_VALUE)->value[PARAM_0].f32, PARAM_50_POINT_5);
in TestProgressValue001() 33 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressValue002() 36 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_VALUE, &value_item);
in TestProgressValue002() 38 ASSERT_NE(nodeAPI->getAttribute(progress, NODE_PROGRESS_VALUE)->value[PARAM_0].f32, PARAM_NEGATIVE_50_POINT_5);
in TestProgressValue002() 44 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressValue003() 47 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_VALUE, &value_item);
in TestProgressValue003() 49 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_VALUE)->value[PARAM_0].f32, COMPLETE);
in TestProgressValue003()
|
H A D | progress_total_test.cpp | 21 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressTotal001() 24 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TOTAL, &value_item);
in TestProgressTotal001() 26 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TOTAL)->value[PARAM_0].f32, PARAM_100);
in TestProgressTotal001() 32 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressTotal002() 35 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TOTAL, &value_item);
in TestProgressTotal002() 37 ASSERT_NE(nodeAPI->getAttribute(progress, NODE_PROGRESS_TOTAL)->value[PARAM_0].f32, PARAM_NEGATIVE_50_POINT_5);
in TestProgressTotal002() 43 NAPI_START(progress, ARKUI_NODE_PROGRESS);
in TestProgressTotal003() 46 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_TOTAL, &value_item);
in TestProgressTotal003() 48 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TOTAL)->value[PARAM_0].f32, PARAM_200);
in TestProgressTotal003()
|
H A D | progress_color_test.cpp | 22 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressColor001() 25 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_COLOR, &value_item); in TestProgressColor001() 27 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestProgressColor001() 33 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressColor002() 36 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_COLOR, &value_item); in TestProgressColor002() 38 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_COLOR)->value[PARAM_0].u32, COLOR_WHITE); in TestProgressColor002() 44 NAPI_START(progress, ARKUI_NODE_PROGRESS); in TestProgressColor003() 47 auto ret = nodeAPI->setAttribute(progress, NODE_PROGRESS_COLOR, &value_item); in TestProgressColor003() 49 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_COLOR)->value[PARAM_0].u32, COLOR_BLACK); in TestProgressColor003()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | init_32.c | 82 if (ppc_md.progress) in MMU_init() 83 ppc_md.progress("MMU:enter", 0x111); in MMU_init() 105 if (ppc_md.progress) in MMU_init() 106 ppc_md.progress("MMU:hw init", 0x300); in MMU_init() 110 if (ppc_md.progress) in MMU_init() 111 ppc_md.progress("MMU:mapin", 0x301); in MMU_init() 117 if (ppc_md.progress) in MMU_init() 118 ppc_md.progress("MMU:exit", 0x211); in MMU_init()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
H A D | mpc85xx_rdb.c | 67 if (ppc_md.progress) in mpc85xx_rdb_setup_arch() 68 ppc_md.progress("mpc85xx_rdb_setup_arch()", 0); in mpc85xx_rdb_setup_arch() 195 .progress = udbg_progress, in define_machine() 209 .progress = udbg_progress, in define_machine() 223 .progress = udbg_progress, in define_machine() 237 .progress = udbg_progress, in define_machine() 251 .progress = udbg_progress, in define_machine() 265 .progress = udbg_progress, in define_machine() 279 .progress = udbg_progress, in define_machine() 293 .progress in define_machine() [all...] |
H A D | mvme2500.c | 38 if (ppc_md.progress) in mvme2500_setup_arch() 39 ppc_md.progress("mvme2500_setup_arch()", 0); in mvme2500_setup_arch() 65 .progress = udbg_progress, in define_machine()
|
H A D | bsc913x_qds.c | 39 if (ppc_md.progress) in bsc913x_qds_setup_arch() 40 ppc_md.progress("bsc913x_qds_setup_arch()", 0); in bsc913x_qds_setup_arch() 72 .progress = udbg_progress, in define_machine()
|
H A D | bsc913x_rdb.c | 35 if (ppc_md.progress) in bsc913x_rdb_setup_arch() 36 ppc_md.progress("bsc913x_rdb_setup_arch()", 0); in bsc913x_rdb_setup_arch() 59 .progress = udbg_progress, in define_machine()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/ |
H A D | mpc85xx_rdb.c | 54 if (ppc_md.progress) in mpc85xx_rdb_setup_arch() 55 ppc_md.progress("mpc85xx_rdb_setup_arch()", 0); in mpc85xx_rdb_setup_arch() 116 .progress = udbg_progress, in define_machine() 129 .progress = udbg_progress, in define_machine() 142 .progress = udbg_progress, in define_machine() 155 .progress = udbg_progress, in define_machine() 168 .progress = udbg_progress, in define_machine() 181 .progress = udbg_progress, in define_machine() 194 .progress = udbg_progress, in define_machine() 207 .progress in define_machine() [all...] |
H A D | mpc85xx_ds.c | 60 if (ppc_md.progress) in mpc85xx_ds_setup_arch() 61 ppc_md.progress("mpc85xx_ds_setup_arch()", 0); in mpc85xx_ds_setup_arch() 84 .progress = udbg_progress, in define_machine() 97 .progress = udbg_progress, in define_machine()
|
H A D | bsc913x_qds.c | 39 if (ppc_md.progress) in bsc913x_qds_setup_arch() 40 ppc_md.progress("bsc913x_qds_setup_arch()", 0); in bsc913x_qds_setup_arch() 62 .progress = udbg_progress, in define_machine()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | init_32.c | 114 if (ppc_md.progress) in MMU_init() 115 ppc_md.progress("MMU:enter", 0x111); in MMU_init() 153 if (ppc_md.progress) in MMU_init() 154 ppc_md.progress("MMU:hw init", 0x300); in MMU_init() 158 if (ppc_md.progress) in MMU_init() 159 ppc_md.progress("MMU:mapin", 0x301); in MMU_init() 165 if (ppc_md.progress) in MMU_init() 166 ppc_md.progress("MMU:exit", 0x211); in MMU_init()
|
/kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
H A D | progress.c | 5 #include "../progress.h" 8 static GtkWidget *progress; variable 20 progress = gtk_progress_bar_new(); in gtk_ui_progress__update() 23 gtk_box_pack_start(GTK_BOX(vbox), progress, TRUE, TRUE, 3); in gtk_ui_progress__update() local 34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); in gtk_ui_progress__update() 36 gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), buf); in gtk_ui_progress__update()
|
/kernel/linux/linux-6.6/tools/perf/ui/gtk/ |
H A D | progress.c | 5 #include "../progress.h" 8 static GtkWidget *progress; variable 20 progress = gtk_progress_bar_new(); in gtk_ui_progress__update() 23 gtk_box_pack_start(GTK_BOX(vbox), progress, TRUE, TRUE, 3); in gtk_ui_progress__update() local 34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); in gtk_ui_progress__update() 36 gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), buf); in gtk_ui_progress__update()
|
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | intel-m10-bmc-sec-update.c | 307 static bool rsu_progress_done(u32 progress) in rsu_progress_done() argument 309 return (progress == RSU_PROG_IDLE || in rsu_progress_done() 310 progress == RSU_PROG_RSU_DONE); in rsu_progress_done() 313 static bool rsu_progress_busy(u32 progress) in rsu_progress_busy() argument 315 return (progress == RSU_PROG_AUTHENTICATING || in rsu_progress_busy() 316 progress == RSU_PROG_COPYING || in rsu_progress_busy() 317 progress == RSU_PROG_UPDATE_CANCEL || in rsu_progress_busy() 318 progress == RSU_PROG_PROGRAM_KEY_HASH); in rsu_progress_busy() 322 u32 *progress, u32 *status) in m10bmc_sec_progress_status() 336 *progress in m10bmc_sec_progress_status() 321 m10bmc_sec_progress_status(struct m10bmc_sec *sec, u32 *doorbell_reg, u32 *progress, u32 *status) m10bmc_sec_progress_status() argument 359 rsu_start_done(u32 doorbell_reg, u32 progress, u32 status) rsu_start_done() argument 376 u32 doorbell_reg, progress, status; rsu_update_init() local 416 u32 doorbell, progress; rsu_prog_ready() local 488 u32 progress, status; rsu_check_complete() local [all...] |
/kernel/linux/linux-6.6/drivers/base/firmware_loader/ |
H A D | sysfs_upload.c | 64 return sysfs_emit(buf, "%s\n", fw_upload_progress(dev, fwlp->progress)); in status_show() 76 if (fwlp->progress != FW_UPLOAD_PROG_IDLE) in error_show() 102 if (fwlp->progress == FW_UPLOAD_PROG_IDLE) in cancel_store() 138 fwlp->progress = new_progress; in fw_upload_update_progress() 146 fwlp->err_progress = fwlp->progress; in fw_upload_set_error() 154 fwlp->progress = FW_UPLOAD_PROG_IDLE; in fw_upload_prog_complete() 244 if (fwlp->progress != FW_UPLOAD_PROG_IDLE) { in fw_upload_start() 251 fwlp->progress = FW_UPLOAD_PROG_RECEIVING; in fw_upload_start() 333 fw_upload_priv->progress = FW_UPLOAD_PROG_IDLE; in firmware_upload_register() 392 if (fw_upload_priv->progress in firmware_upload_unregister() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 248 if (ppc_md.progress) ppc_md.progress("psurge_quad_init", 0x351); in psurge_quad_init() 327 if (ppc_md.progress) ppc_md.progress("smp_psurge_probe - done", 0x352); in smp_psurge_probe() 347 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu", 0x353); in smp_psurge_kick_cpu() 394 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu - done", 0x354); in smp_psurge_kick_cpu() 764 if (ppc_md.progress) ppc_md.progress("smp_core99_prob in smp_core99_probe() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 249 if (ppc_md.progress) ppc_md.progress("psurge_quad_init", 0x351); in psurge_quad_init() 328 if (ppc_md.progress) ppc_md.progress("smp_psurge_probe - done", 0x352); in smp_psurge_probe() 348 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu", 0x353); in smp_psurge_kick_cpu() 395 if (ppc_md.progress) ppc_md.progress("smp_psurge_kick_cpu - done", 0x354); in smp_psurge_kick_cpu() 766 if (ppc_md.progress) ppc_md.progress("smp_core99_prob in smp_core99_probe() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/ |
H A D | mpc7448_hpc2.c | 64 if (ppc_md.progress) in mpc7448_hpc2_setup_arch() 65 ppc_md.progress("mpc7448_hpc2_setup_arch():set_bridge", 0); in mpc7448_hpc2_setup_arch() 75 if (ppc_md.progress) in mpc7448_hpc2_setup_arch() 76 ppc_md.progress("tsi108: resources set", 0x100); in mpc7448_hpc2_setup_arch() 190 .progress = udbg_progress, in define_machine()
|