Searched defs:value (Results 26 - 50 of 76) sorted by last modified time

1234

/system/core/nexus/
H A DProperty.cpp40 int StringProperty::set(int idx, int value) { argument
45 int StringProperty::set(int idx, struct in_addr *value) { argument
68 int StringPropertyHelper::set(int idx, const char *value) { argument
74 strncpy(mBuffer, value, mMax);
92 int IntegerProperty::set(int idx, const char *value) { argument
97 int IntegerProperty::set(int idx, struct in_addr *value) { argument
119 int IntegerPropertyHelper::set(int idx, int value) { argument
125 *mBuffer = value;
143 int IPV4AddressProperty::set(int idx, const char *value) { argument
148 int IPV4AddressProperty::set(int idx, int value) { argument
170 set(int idx, struct in_addr *value) argument
[all...]
H A DPropertyManager.cpp119 int PropertyManager::doSet(Property *p, int idx, const char *value) { argument
127 return p->set(idx, value);
131 tmp = strtol(value, (char **) NULL, 10);
133 LOGE("Failed to convert '%s' to int", value);
140 if (!inet_aton(value, &tmp)) {
141 LOGE("Failed to convert '%s' to ipv4", value);
194 int PropertyManager::set(const char *name, const char *value) { argument
196 LOGD("set %s = '%s'", name, value);
212 return doSet((*p_it), i, value);
H A DSupplicantStatus.cpp57 char *value = strsep(&line_next, "="); local
59 bssid = strdup(value);
61 ssid = strdup(value);
63 id = atoi(value);
65 if (!strcmp(value, "DISCONNECTED"))
67 else if (!strcmp(value, "INACTIVE"))
69 else if (!strcmp(value, "SCANNING"))
71 else if (!strcmp(value, "ASSOCIATING"))
73 else if (!strcmp(value, "ASSOCIATED"))
75 else if (!strcmp(value, "FOURWAY_HANDSHAK
[all...]
H A DVpnController.cpp78 int VpnController::VpnEnabledProperty::set(int idx, int value) { argument
80 if (!value) {
90 mVc->mEnabled = value;
H A DWifiController.cpp678 int WifiController::WifiEnabledProperty::set(int idx, int value) { argument
679 int rc = (value ? mWc->enable() : mWc->disable());
681 mWc->mEnabled = value;
692 int WifiController::WifiScanOnlyProperty::set(int idx, int value) { argument
693 return mWc->setScanOnly(value == 1);
703 int WifiController::WifiAllowedChannelsProperty::set(int idx, int value) { argument
725 int WifiController::WifiActiveScanProperty::set(int idx, int value) { argument
726 return mWc->setActiveScan(value);
752 int WifiController::WifiPacketFilterProperty::set(int idx, int value) { argument
753 return mWc->setPacketFilter(value);
763 set(int idx, int value) argument
774 set(int idx, int value) argument
793 set(int idx, int value) argument
816 set(int idx, int value) argument
[all...]
H A DWifiController.h49 virtual int set(int idx, int value) = 0;
61 virtual int set(int idx, const char *value) = 0;
70 int set(int idx, int value);
78 int set(int idx, int value);
86 int set(int idx, int value);
94 int set(int idx, int value);
102 int set(int idx, int value) { return -1; } argument
110 int set(int idx, int value);
118 int set(int idx, int value);
126 int set(int idx, int value);
134 set(int idx, int value) argument
150 set(int idx, int value) argument
166 set(int idx, const char *value) argument
174 set(int idx, const char *value) argument
[all...]
H A DWifiNetwork.cpp529 LOGW("Invalid KeyManagementMask value '%s'", v_token);
535 LOGW("KeyManagementMask value '%s' when NONE", v_token);
559 LOGW("Invalid ProtocolsMask value '%s'", v_token);
590 LOGW("Invalid AuthAlgorithmsMask value '%s'", v_token);
619 LOGW("PairwiseCiphersMask value '%s' when NONE", v_token);
625 LOGW("Invalid PairwiseCiphersMask value '%s'", v_token);
654 LOGW("Invalid GroupCiphersMask value '%s'", v_token);
687 int WifiNetwork::WifiNetworkEnabledProperty::set(int idx, int value) { argument
688 return mWn->setEnabled(value == 1);
701 int WifiNetwork::WifiNetworkSsidProperty::set(int idx, const char *value) { argument
714 set(int idx, const char *value) argument
727 set(int idx, const char *value) argument
741 set(int idx, const char *value) argument
752 set(int idx, int value) argument
763 set(int idx, int value) argument
801 set(int idx, const char *value) argument
833 set(int idx, const char *value) argument
875 set(int idx, const char *value) argument
910 set(int idx, const char *value) argument
952 set(int idx, const char *value) argument
968 set(int idx, const char *value) argument
[all...]
/system/core/run-as/
H A Dpackage.c317 * is reached. Adjust '*pp' on exit. Return decimal value or -1
320 * If the value is larger than INT_MAX, -1 will be returned,
330 int value = 0; local
346 val2 = value*10 + (int)d;
347 if (val2 < value)
349 value = val2;
356 value = -1;
358 return value;
/system/core/toolbox/
H A Dgetprop.c22 char value[PROPERTY_VALUE_MAX]; local
30 property_get(argv[1], value, default_value);
31 printf("%s\n", value);
H A Dpowerd.c20 __s32 value; member in struct:input_event
38 #define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo) /* get abs value/limits */
39 #define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo) /* set abs value/limits */
198 light_event.value = 0; // light off -- sleep after timeout
202 light_event2.value = 0; // light off -- sleep after timeout
317 if(light_event2.value == 1)
319 if(light_event.value == 1)
354 event_sleep = event.value;
356 if(event.type == EV_KEY || (event.type == EV_SW && event.code == SW_0 && event.value == 1)) {
366 light_event.value
[all...]
H A Dr.c9 fprintf(stderr,"r [-b|-s] <address> [<value>]\n");
16 unsigned addr, value; local
36 value = strtoul(argv[2], 0, 16);
56 if(set) *x = value;
62 if(set) *x = value;
68 if(set) *x = value;
H A Dsendevent.c17 __s32 value; member in struct:input_event
35 #define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo) /* get abs value/limits */
36 #define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo) /* set abs value/limits */
57 fprintf(stderr, "use: %s device type code value\n", argv[0]);
73 event.value = atoi(argv[4]);
H A Dsyren.c17 unsigned long value; member in struct:syren_io_args
57 fprintf(stderr, "usage: syren [r/w] [REGNAME | page:addr] (value)\n");
94 sio.value = strtoul(argv[3], 0, 0);
116 fprintf(stderr, "%s: %04x\n", registers[i].name, sio.value);
145 printf("%s: %04x\n", name, sio.value);
147 printf("wrote %04x to %s\n", sio.value, name);
H A Dwatchprops.c28 char value[PROP_VALUE_MAX]; local
31 __system_property_read(pi, name, value);
33 for(x = value; *x; x++) {
37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
/system/extras/tests/bionic/libc/bionic/
H A Dlib_static_init.h6 int value; member in class:Foo
/system/extras/tests/framebuffer/
H A Dminui.h39 unsigned value; member in struct:event
/system/extras/tests/icachetest/
H A Dicache_main.c18 long value; local
/system/extras/tests/sdcard/
H A Dsysutil.cpp201 int writeIntToFile(const char *filename, long value) argument
204 sprintf(buffer, "%ld", value);
246 char value[16]; local
247 if (readStringFromFile(filename, value, sizeof(value)) == -1)
253 return atoi(value);
292 char value[256] = {0,}; local
294 if (readStringFromFile(kSchedFeatures, value, sizeof(value)) == -1)
299 return strstr(value, "NO_NEW_FAIR_SLEEPER
322 char value[256] = {0,}; local
[all...]
/system/netd/
H A DUsbController.cpp48 char value[20]; local
50 int count = snprintf(value, sizeof(value), "%d\n", (enable ? 1 : 0));
51 write(fd, value, count);
57 char value=0; local
59 read(fd, &value, 1);
61 return (value == '1' ? true : false);
/system/vold/
H A DFat.cpp113 char value[PROPERTY_VALUE_MAX]; local
114 property_get("persist.sampling_profiler", value, "");
115 if (value[0] == '1') {
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/
H A Dconsole.h61 #define CON_PARM_DEFVAL 0x02 /* Default value is set */
75 U32 value; /* Value/address of string parameter */ member in struct:ConParm_t
H A Dcu_cmd.c76 #define GET_NAME_BY_VALUE(arr, value) get_name_by_value(arr, SIZE_ARR(arr), value)
203 if ( rate2Str[ i ].value == rate )
216 if ( EtEvent2Str[ i ].value == ETCond )
357 /* Cast the value to be UINT16 16 bits since it is sent this way in the EXCMngr.c */
588 char *get_name_by_value(named_value_t *arr, int arr_size, UINT32 value) argument
592 if( arr[i].value == value )
621 char *end_p, *buf = (char *) parm[0].value;
636 console_printf_terminal("cmd_modify_supported_rates(): invalid value
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/FirmwareApi/
H A Dpublic_commands.h485 ET_COND_BEACON = 0x10, /* Beacon only. When this value is selected, the */
490 ET_COND_PROBE_RESP = 0x20, /* Probe responses only. When this value is */
495 ET_COND_BEACON_PROBE_RESP = 0x30,/* Beacon/probe response. When this value is */
526 /* value can range from 0 to 65535 TUs */
534 /* on a channel. The value can range from 0 to */
583 any other value will represent the timeout
803 Key Size+Key Data table (valid value)
867 /* indicates the value that should be inserted into the*/
922 uint8 value[MAX_READ_SIZE]; /* The actual value rea member in struct:__anon762
[all...]
H A Dpublic_infoele.h405 uint8 aifsn; /* The AIF value (in slots) for the access class.*/
595 uint32 mediumUsage; /* report to the host the value of medium usage registers*/
596 uint32 period; /* report to the host the value of medium period registers*/
737 Notes: the field measuring the value of received beacons for which the device
1642 /* For IBSS: value shall be set to 1.*/
1929 uint16 wakeUpTimeBeforeBeacon; /* The default value is worse case of */
2045 uint8 value; member in struct:__anon868
2097 This default value is the permanent MAC address that is stored in the
2099 however, the WiLink always reverts to the default value after power up
2133 /* The default value fo
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/
H A Dutils.c1220 UINT32 translateBasicRateValueToMask(UINT32 value, BOOL dot11a) argument
1224 switch(value)
1252 switch(value)
1274 UINT32 translateSupportedRateValueToMask(UINT32 value, BOOL dot11a) argument
1278 switch(value)
1306 switch(value)
1413 /* Default value for A band is 6M */
1418 /* Default value for B/G band is 2M */
1490 /* Default value for A band is 6M */
1495 /* Default value fo
[all...]

Completed in 374 milliseconds

1234