Searched refs:id (Results 1 - 25 of 57) sorted by relevance

123

/system/media/wilhelm/src/
H A Ddevices.h21 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 Dhandlers.c39 #define _(id) ((id) - SL_OBJECTID_ENGINE + XA_OBJECTID_CAMERADEVICE + 1)
/system/vold/
H A DVolumeManager.h36 : 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 DLoop.h29 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 DVolumeManager.cpp73 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 Dkeychords.c53 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 Dfile_sync_service.h50 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 Dsockets.c62 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 Dfile_sync_service.c61 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 Dfile_sync_client.c69 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 Dbootimg.h49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
/system/core/nexus/
H A DSupplicantStatus.h29 SupplicantStatus(int state, int id, char *bssid, char *ssid);
H A DSupplicantStatus.cpp33 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 DIEngineCapabilities.c119 *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 DI3DGrouping.c39 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 DNativeMedia.java71 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 Dfb_test.c139 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 Dtest_timer_create.c49 create(int seconds, int id) argument
58 se.sigev_value.sival_int = id;
H A Dtest_timer_create3.c66 create(int seconds, int id) argument
74 se.sigev_value.sival_int = id;
/system/media/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp84 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 Drfcomm.h70 int16_t id; member in struct:rfcomm_dev_info
/system/core/toolbox/
H A Dlsusb.c28 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 Dusbhost.h119 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 Djni_util.h86 // 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 Dbluetooth.c53 int id; local
54 for (id = 0; ; id++) {
55 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id);
64 rfkill_id = id;

Completed in 357 milliseconds

123