/system/media/wilhelm/src/ |
H A D | devices.h | 21 SLuint32 id; member in struct:AudioInput_id_descriptor 26 SLuint32 id; member in struct:AudioOutput_id_descriptor 31 SLuint32 id; member in struct:LED_id_descriptor 36 SLuint32 id; member in struct:Vibra_id_descriptor
|
H A D | handlers.c | 39 #define _(id) ((id) - SL_OBJECTID_ENGINE + XA_OBJECTID_CAMERADEVICE + 1)
|
/system/vold/ |
H A D | VolumeManager.h | 36 : id(_id) 41 if (id != NULL) { 42 free(id); 43 id = NULL; 47 char *id; member in class:ContainerData 90 int createAsec(const char *id, unsigned numSectors, const char *fstype, 92 int finalizeAsec(const char *id); 93 int destroyAsec(const char *id, bool force); 94 int mountAsec(const char *id, const char *key, int ownerUid); 95 int unmountAsec(const char *id, boo [all...] |
H A D | Loop.h | 29 static int lookupActive(const char *id, char *buffer, size_t len); 30 static int create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len);
|
H A D | VolumeManager.cpp | 73 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { argument 82 } else if (id == NULL) { 93 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig); 198 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { argument 200 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id); 208 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); 212 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { argument 214 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id); 226 int VolumeManager::createAsec(const char *id, unsigne argument 390 finalizeAsec(const char *id) argument 466 unmountAsec(const char *id, bool force) argument 496 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 578 destroyAsec(const char *id, bool force) argument 606 mountAsec(const char *id, const char *key, int ownerUid) argument [all...] |
/system/core/init/ |
H A D | keychords.c | 53 keychord->id = keychords_count + 1; 55 svc->keychord_id = keychord->id; 101 __u16 id; local 108 ret = read(keychord_fd, &id, sizeof(id)); 109 if (ret != sizeof(id)) { 110 ERROR("could not read keychord id\n"); 116 svc = service_find_by_keychord(id); 121 ERROR("service for keychord %d not found\n", id);
|
/system/core/adb/ |
H A D | file_sync_service.h | 50 unsigned id; member in union:__anon274 52 unsigned id; member in struct:__anon274::__anon275 56 unsigned id; member in struct:__anon274::__anon276 62 unsigned id; member in struct:__anon274::__anon277 69 unsigned id; member in struct:__anon274::__anon278 73 unsigned id; member in struct:__anon274::__anon279
|
H A D | sockets.c | 62 asocket *find_local_socket(unsigned id) argument 69 if (s->id == id) { 93 s->id = local_socket_next_id++; 108 s->id = 0; 132 D("LS(%d): enqueue %d\n", s->id, p->len); 155 D( "LS(%d): not ready, errno=%d: %s\n", s->id, errno, strerror(errno) ); 188 // D("LS(%d): ready()\n", s->id); 202 D("LS(%d): destroying fde.fd=%d\n", s->id, s->fde.fd); 211 D("LS(%d): discarding %d bytes\n", s->id, 240 int id = s->id; local 505 create_remote_socket(unsigned id, atransport *t) argument [all...] |
H A D | file_sync_service.c | 61 msg.stat.id = ID_STAT; 92 msg.dent.id = ID_DENT; 121 msg.dent.id = ID_DONE; 136 msg.data.id = ID_FAIL; 177 if(msg.data.id != ID_DATA) { 178 if(msg.data.id == ID_DONE) { 212 msg.status.id = ID_OKAY; 236 if(msg.data.id != ID_DATA) { 262 if(msg.data.id == ID_DONE) { 263 msg.status.id [all...] |
H A D | file_sync_client.c | 69 msg.req.id = ID_QUIT; 86 msg.req.id = ID_LIST; 96 if(msg.dent.id == ID_DONE) return 0; 97 if(msg.dent.id != ID_DENT) break; 119 unsigned id; member in struct:syncsendbuf 131 msg.req.id = ID_STAT; 143 if(msg.stat.id != ID_STAT) { 156 msg.req.id = ID_STAT; 175 if(msg.stat.id != ID_STAT) 190 msg.req.id 447 unsigned id; local [all...] |
/system/core/mkbootimg/ |
H A D | bootimg.h | 49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
|
/system/core/nexus/ |
H A D | SupplicantStatus.h | 29 SupplicantStatus(int state, int id, char *bssid, char *ssid);
|
H A D | SupplicantStatus.cpp | 33 SupplicantStatus::SupplicantStatus(int state, int id, char *bssid, char *ssid) : argument 34 mWpaState(state), mId(id), mBssid(bssid), mSsid(ssid) { 36 LOGD("state %d, id %d, bssid %p, ssid %p\n", mWpaState, mId, mBssid, mSsid); 49 int id = -1; local 62 else if (!strcmp(token, "id")) 63 id = atoi(value); 89 return new SupplicantStatus(state, id, bssid, ssid);
|
/system/media/wilhelm/src/itf/ |
H A D | IEngineCapabilities.c | 119 *pLEDDeviceID = id_descriptor->id; 128 SLuint32 id = *pLEDDeviceID; local 131 if (id == id_descriptor->id) { 161 *pVibraDeviceID = id_descriptor->id; 170 SLuint32 id = *pVibraDeviceID; local 173 if (id == id_descriptor->id) {
|
H A D | I3DGrouping.c | 39 unsigned id = thisObject->mInstanceID; local 40 assert(0 != id); // player object must be published by this point 41 --id; 42 assert(MAX_INSTANCE > id); 43 unsigned mask = 1 << id;
|
/system/media/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 71 mGLView1 = (MyGLSurfaceView) findViewById(R.id.glsurfaceview1); 72 mGLView2 = (MyGLSurfaceView) findViewById(R.id.glsurfaceview2); 81 mSurfaceView1 = (SurfaceView) findViewById(R.id.surfaceview1); 102 mSurfaceView2 = (SurfaceView) findViewById(R.id.surfaceview2); 153 Spinner sourceSpinner = (Spinner) findViewById(R.id.source_spinner); 160 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 173 Spinner sinkSpinner = (Spinner) findViewById(R.id.sink_spinner); 180 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 218 ((Button) findViewById(R.id.start_java)).setOnClickListener(new View.OnClickListener() { 248 ((Button) findViewById(R.id [all...] |
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 139 int gr_init(int bpp, int id) argument 167 gr_active_fb = id; 168 set_active_framebuffer(id); 260 int id = 0; local 267 id = !!atoi(argv[4]); 269 gr_init(bpp, id); 282 draw_grid(w, h, gr_fbs[id].data); 284 set_active_framebuffer(!id); 285 set_active_framebuffer(id);
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_timer_create.c | 49 create(int seconds, int id) argument 58 se.sigev_value.sival_int = id;
|
H A D | test_timer_create3.c | 66 create(int seconds, int id) argument 74 se.sigev_value.sival_int = id;
|
/system/media/wilhelm/src/android/ |
H A D | android_GenericPlayer.cpp | 84 mLooper->unregisterHandler(id()); 136 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); 144 sp<AMessage> msg = new AMessage(kWhatPlay, id()); 151 sp<AMessage> msg = new AMessage(kWhatPause, id()); 158 (new AMessage(kWhatPause, id()))->post(); 171 sp<AMessage> msg = new AMessage(kWhatSeek, id()); 179 sp<AMessage> msg = new AMessage(kWhatLoop, id()); 187 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, id()); 208 (new AMessage(kWhatVolumeUpdate, id()))->post(); 215 SL_LOGV("GenericPlayer::attachAuxEffect(id [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | rfcomm.h | 70 int16_t id; member in struct:rfcomm_dev_info
|
/system/core/toolbox/ |
H A D | lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) argument 30 char *str = usb_device_get_string(dev, id); 32 if (id && str) { 36 snprintf(str_buff, sizeof(str_buff), "%02x", id);
|
/system/core/include/usbhost/ |
H A D | usbhost.h | 119 char* usb_device_get_name_from_unique_id(int id); 134 char* usb_device_get_string(struct usb_device *device, int id);
|
/system/media/mca/filterfw/jni/ |
H A D | jni_util.h | 86 // coupled to Java objects. This is done by using an "id" field in the Java 115 const int id = next_id_; local 116 objects_[id] = object; 117 owns_[id] = owns; 119 return id; 142 const int id = RegisterObject(c_object, owns); local 145 env->SetIntField(j_object, id_field, id);
|
/system/bluetooth/bluedroid/ |
H A D | bluetooth.c | 53 int id; local 54 for (id = 0; ; id++) { 55 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); 64 rfkill_id = id;
|