/system/core/nexus/ |
H A D | Property.h | 40 virtual int set(int idx, const char *value) = 0; 41 virtual int set(int idx, int value) = 0; 42 virtual int set(int idx, struct in_addr *value) = 0; 44 virtual int get(int idx, char *buffer, size_t max) = 0; 45 virtual int get(int idx, int *buffer) = 0; 46 virtual int get(int idx, struct in_addr *buffer) = 0; 59 virtual int set(int idx, const char *value) = 0; 60 int set(int idx, int value); 61 int set(int idx, struct in_addr *value); 63 virtual int get(int idx, cha [all...] |
H A D | Property.cpp | 40 int StringProperty::set(int idx, int value) { argument 45 int StringProperty::set(int idx, struct in_addr *value) { argument 50 int StringProperty::get(int idx, int *buffer) { argument 55 int StringProperty::get(int idx, struct in_addr *buffer) { argument 68 int StringPropertyHelper::set(int idx, const char *value) { argument 69 if (idx != 0) { 78 int StringPropertyHelper::get(int idx, char *buffer, size_t max) { argument 79 if (idx != 0) { 92 int IntegerProperty::set(int idx, const char *value) { argument 97 int IntegerProperty::set(int idx, struc argument 102 get(int idx, char *buffer, size_t max) argument 107 get(int idx, struct in_addr *buffer) argument 119 set(int idx, int value) argument 129 get(int idx, int *buffer) argument 143 set(int idx, const char *value) argument 148 set(int idx, int value) argument 153 get(int idx, char *buffer, size_t max) argument 158 get(int idx, int *buffer) argument 170 set(int idx, struct in_addr *value) argument 180 get(int idx, struct in_addr *buffer) argument [all...] |
H A D | WifiController.h | 49 virtual int set(int idx, int value) = 0; 50 virtual int get(int idx, int *buffer) = 0; 61 virtual int set(int idx, const char *value) = 0; 62 virtual int get(int idx, char *buffer, size_t max) = 0; 70 int set(int idx, int value); 71 int get(int idx, int *buffer); 78 int set(int idx, int value); 79 int get(int idx, int *buffer); 86 int set(int idx, int value); 87 int get(int idx, in 102 set(int idx, int value) argument 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 D | WifiNetwork.h | 78 virtual int set(int idx, int value) = 0; 79 virtual int get(int idx, int *buffer) = 0; 90 virtual int set(int idx, const char *value) = 0; 91 virtual int get(int idx, char *buffer, size_t max) = 0; 99 int set(int idx, int value); 100 int get(int idx, int *buffer); 107 int set(int idx, int value); 108 int get(int idx, int *buffer); 115 int set(int idx, int value); 116 int get(int idx, in 316 getWepKey(int idx) argument [all...] |
H A D | VpnController.h | 34 virtual int set(int idx, int value) = 0; 35 virtual int get(int idx, int *buffer) = 0; 46 virtual int set(int idx, const char *value) = 0; 47 virtual int get(int idx, char *buffer, size_t max) = 0; 58 virtual int set(int idx, struct in_addr *value) = 0; 59 virtual int get(int idx, struct in_addr *buffer) = 0; 67 int set(int idx, int value); 68 int get(int idx, int *buffer);
|
H A D | InterfaceConfig.h | 57 const struct in_addr &getDns(int idx) const { return mDns[idx]; } 63 void setDns(int idx, struct in_addr *addr); 74 int set(int idx, struct in_addr *value); 75 int get(int idx, struct in_addr *buffer);
|
H A D | InterfaceConfig.cpp | 58 void InterfaceConfig::setDns(int idx, struct in_addr *addr) { argument 59 memcpy(&mDns[idx], addr, sizeof(struct in_addr)); 86 int InterfaceConfig::InterfaceDnsProperty::set(int idx, struct in_addr *value) { argument 87 memcpy(&mCfg->mDns[idx], value, sizeof(struct in_addr)); 90 int InterfaceConfig::InterfaceDnsProperty::get(int idx, struct in_addr *buf) { argument 91 memcpy(buf, &mCfg->mDns[idx], sizeof(struct in_addr));
|
H A D | PropertyManager.h | 45 int doSet(Property *p, int idx, const char *value); 46 int doGet(Property *p, int idx, char *buffer, size_t max);
|
H A D | WifiNetwork.cpp | 298 int WifiNetwork::setWepKey(int idx, const char *key) { argument 301 asprintf(&name, "wep_key%d", idx); 308 if (mWepKeys[idx]) 309 free(mWepKeys[idx]); 310 mWepKeys[idx] = strdup(key); 314 int WifiNetwork::setDefaultKeyIndex(int idx) { argument 316 sprintf(val, "%d", idx); 320 mDefaultKeyIndex = idx; 683 int WifiNetwork::WifiNetworkEnabledProperty::get(int idx, int *buffer) { argument 687 int WifiNetwork::WifiNetworkEnabledProperty::set(int idx, in argument 695 get(int idx, char *buffer, size_t max) argument 701 set(int idx, const char *value) argument 708 get(int idx, char *buffer, size_t max) argument 714 set(int idx, const char *value) argument 721 get(int idx, char *buffer, size_t max) argument 727 set(int idx, const char *value) argument 735 get(int idx, char *buffer, size_t max) argument 741 set(int idx, const char *value) argument 748 get(int idx, int *buffer) argument 752 set(int idx, int value) argument 759 get(int idx, int *buffer) argument 763 set(int idx, int value) argument 770 get(int idx, char *buffer, size_t max) argument 801 set(int idx, const char *value) argument 811 get(int idx, char *buffer, size_t max) argument 833 set(int idx, const char *value) argument 843 get(int idx, char *buffer, size_t max) argument 875 set(int idx, const char *value) argument 885 get(int idx, char *buffer, size_t max) argument 910 set(int idx, const char *value) argument 920 get(int idx, char *buffer, size_t max) argument 952 set(int idx, const char *value) argument 962 get(int idx, char *buffer, size_t max) argument 968 set(int idx, const char *value) argument [all...] |
H A D | WifiController.cpp | 674 int WifiController::WifiEnabledProperty::get(int idx, int *buffer) { argument 678 int WifiController::WifiEnabledProperty::set(int idx, int value) { argument 688 int WifiController::WifiScanOnlyProperty::get(int idx, int *buffer) { argument 692 int WifiController::WifiScanOnlyProperty::set(int idx, int value) { argument 699 int WifiController::WifiAllowedChannelsProperty::get(int idx, int *buffer) { argument 703 int WifiController::WifiAllowedChannelsProperty::set(int idx, int value) { argument 712 int WifiController::WifiSupplicantStateProperty::get(int idx, char *buffer, size_t max) { argument 721 int WifiController::WifiActiveScanProperty::get(int idx, int *buffer) { argument 725 int WifiController::WifiActiveScanProperty::set(int idx, int value) { argument 732 int WifiController::WifiInterfaceProperty::get(int idx, cha argument 740 get(int idx, int *buffer) argument 748 get(int idx, int *buffer) argument 752 set(int idx, int value) argument 759 get(int idx, int *buffer) argument 763 set(int idx, int value) argument 770 get(int idx, int *buffer) argument 774 set(int idx, int value) argument 781 get(int idx, int *buffer) argument 789 get(int idx, int *buffer) argument 793 set(int idx, int value) argument 800 get(int idx, int *buffer) argument 810 get(int idx, int *buffer) argument 816 set(int idx, int value) argument [all...] |
H A D | PropertyManager.cpp | 119 int PropertyManager::doSet(Property *p, int idx, const char *value) { argument 127 return p->set(idx, value); 137 return p->set(idx, tmp); 145 return p->set(idx, &tmp); 156 int PropertyManager::doGet(Property *p, int idx, char *buffer, size_t max) { argument 159 if (p->get(idx, buffer, max)) { 167 if (p->get(idx, &tmp)) { 175 if (p->get(idx, &tmp)) {
|
H A D | VpnController.cpp | 74 int VpnController::VpnEnabledProperty::get(int idx, int *buffer) { argument 78 int VpnController::VpnEnabledProperty::set(int idx, int value) { argument
|
/system/core/sh/ |
H A D | exec.c | 119 shellexec(char **argv, char **envp, const char *path, int idx, int vforked) argument 130 if (--idx < 0 && pathopt == NULL) { 379 int idx; local 385 idx = cmdp->param.index; 390 } while (--idx >= 0); 430 int idx; local 510 idx = -1; 514 idx++; 528 if (fullname[0] == '/' && idx <= prev) { 529 if (idx < pre 697 int idx; local [all...] |
/system/extras/ext4_utils/ |
H A D | extent.c | 115 struct ext4_extent_idx *idx = local 117 idx->ei_block = 0; 118 idx->ei_leaf_lo = extent_block; 119 idx->ei_leaf_hi = 0; 120 idx->ei_unused = 0;
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 281 // @param idx iteration number. 284 bool readData(char *const chunk, const int idx, TestCase *testCase) argument 288 sprintf(filename, "%s/file-%d-%d", kTestDir, idx, getpid()); 412 bool writeData(const char *const chunk, const int idx, TestCase *testCase) { argument 415 sprintf(filename, "%s/file-%d-%d", kTestDir, idx, getpid());
|
H A D | plot_sdcard.py | 74 idx = 1 77 if idx % factor == 0: 81 idx += 1
|
/system/core/liblog/ |
H A D | fake_log_device.c | 308 int idx; local 310 idx = (int) priority - (int) ANDROID_LOG_VERBOSE; 311 if (idx < 0 || 312 idx >= (int) (sizeof(priorityStrings) / sizeof(priorityStrings[0]))) 314 return priorityStrings[idx];
|
/system/core/debuggerd/arm/ |
H A D | unwind.c | 360 _uw idx = (get_remote_word(pid, ucbp->pr_cache.ehtp) >> 24) & 0xf; local 361 if (idx == 0) 363 else if (idx == 1) 365 else if (idx == 2)
|
/system/core/libpixelflinger/ |
H A D | picker.cpp | 133 int idx = 0; local 155 new_needs.t[idx++] = t;
|
/system/core/toolbox/ |
H A D | top.c | 326 int res, idx; local
|