Searched defs:ent (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp81 struct dirent * ent; local
82 while ((ent = readdir(taskdir)) != NULL) {
83 int tid = atoi(ent->d_name);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp127 struct dirent *ent; local
128 while ((ent = readdir(dir)) != NULL) {
129 if (!strcmp(".", ent->d_name) || !strcmp("..", ent->d_name)) {
136 strcat(newPath, ent->d_name);
138 if (ent->d_type == DT_DIR) {
140 } else if (ent->d_type == DT_REG) {
141 size_t len = strlen(ent->d_name);
144 && !strcasecmp(ent->d_name + len - 4, ".mp3")) {
/frameworks/base/core/java/android/app/
H A DAppImportanceMonitor.java104 AppEntry ent = mApps.get(uid);
105 if (ent == null) {
108 return ent.importance;
118 AppEntry ent = mApps.get(uid);
119 if (ent == null) {
120 ent = new AppEntry(uid);
121 mApps.put(uid, ent);
124 ent.procs.remove(pid);
126 ent.procs.put(pid, importance);
128 updateImportanceLocked(ent, repChang
131 updateImportanceLocked(AppEntry ent, boolean repChange) argument
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.cpp154 entry& ent = mEntries.editItemAt(eidx); local
156 configTypeName->string(), ent.configTypeName.string()));
157 if (ent.configTypeName.size() <= 0) {
158 ent.configTypeName = *configTypeName;
159 } else if (ent.configTypeName != *configTypeName) {
160 ent.configTypeName = " ";
166 entry& ent = mEntries.editItemAt(eidx); local
168 for (addPos=0; addPos<ent.configs.size(); addPos++) {
169 int cmp = ent.configs.itemAt(addPos).compareLogical(*config);
173 ent
351 const entry& ent = mEntries[i]; local
435 entry& ent = mEntries.editItemAt(i); local
497 entry_style& ent = mEntryStyleArray.editItemAt(i); local
562 entry& ent = mEntries.editItemAt(mEntryArray[i]); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp255 struct hostent *ent = gethostbyname(host.c_str()); local
256 if (ent == NULL) {
279 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
H A DMyHandler.h326 struct hostent *ent = gethostbyname(mSessionHost.c_str()); local
327 if (ent == NULL) {
334 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp1044 struct hostent *ent= gethostbyname(remoteHost); local
1045 if (ent == NULL) {
1050 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
1093 struct hostent *ent= gethostbyname(remoteHost); local
1094 if (ent == NULL) {
1099 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
1186 struct hostent *ent = gethostbyname(remoteHost); local
1187 if (ent == NULL) {
1190 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
/frameworks/base/core/java/android/content/
H A DIntentFilter.java863 public final void addDataAuthority(AuthorityEntry ent) { argument
866 mDataAuthorities.add(ent);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp510 struct dirent *ent; local
511 while((ent = readdir(d)) != NULL) {
512 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) {
513 snprintf(buffer, SIZE, "/proc/%d/fd/%s", gettid(), ent->d_name);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp6495 const ResTable_entry* ent = (const ResTable_entry*) local
6503 uintptr_t esize = dtohs(ent->size);
6517 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) {
6519 bagPtr = (const ResTable_map_entry*)ent;
6522 (((const uint8_t*)ent) + esize);
6529 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) {
6540 const uint8_t* baseMapPtr = (const uint8_t*)ent;

Completed in 2844 milliseconds