Searched defs:hardware (Results 1 - 3 of 3) sorted by relevance

/system/core/init/
H A Dueventd.c33 static char hardware[32]; variable
42 if (!strcmp(name,"androidboot.hardware"))
44 strlcpy(hardware, value, sizeof(hardware));
75 /* Respect hardware passed in through the kernel cmd line. Here we will look
76 * for androidboot.hardware param in kernel cmdline, and save its value in
77 * hardware[]. */
80 get_hardware_name(hardware, &revision);
84 snprintf(tmp, sizeof(tmp), "/ueventd.%s.rc", hardware);
H A Dutil.c393 void get_hardware_name(char *hardware, unsigned int *revision) argument
400 if (hardware[0])
421 hardware[n++] = tolower(*x);
425 hardware[n] = 0;
H A Dinit.c77 static char hardware[32]; variable
683 pval = property_get("ro.boot.hardware");
685 strlcpy(hardware, pval, sizeof(hardware));
686 property_set("ro.hardware", hardware);
885 get_hardware_name(hardware, &revision);

Completed in 5 milliseconds