Searched defs:ent (Results 1 - 11 of 11) 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.java102 AppEntry ent = mApps.get(uid);
103 if (ent == null) {
106 return ent.importance;
116 AppEntry ent = mApps.get(uid);
117 if (ent == null) {
118 ent = new AppEntry(uid);
119 mApps.put(uid, ent);
122 ent.procs.remove(pid);
124 ent.procs.put(pid, importance);
126 updateImportanceLocked(ent, repChang
129 updateImportanceLocked(AppEntry ent, boolean repChange) argument
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.cpp159 entry& ent = mEntries.editItemAt(eidx); local
162 configTypeName->string(), ent.configTypeName.string());
164 if (ent.configTypeName.size() <= 0) {
165 ent.configTypeName = *configTypeName;
166 } else if (ent.configTypeName != *configTypeName) {
167 ent.configTypeName = " ";
173 entry& ent = mEntries.editItemAt(eidx); local
175 for (addPos=0; addPos<ent.configs.size(); addPos++) {
176 int cmp = ent.configs.itemAt(addPos).compareLogical(*config);
182 ent
580 entry& ent = mEntries.editItemAt(mEntryArray[i]); variable
[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.h333 struct hostent *ent = gethostbyname(mSessionHost.c_str()); local
334 if (ent == NULL) {
341 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.java1046 public final void addDataAuthority(AuthorityEntry ent) { argument
1049 mDataAuthorities.add(ent);
/frameworks/native/cmds/installd/
H A Dutils.cpp138 struct dirent* ent; local
139 while ((ent = readdir(dir))) {
140 if (ent->d_type != DT_DIR) {
145 userid_t user = strtol(ent->d_name, &end, 10);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp495 struct dirent *ent; local
496 while((ent = readdir(d)) != NULL) {
497 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) {
498 snprintf(buffer, SIZE, "/proc/%d/fd/%s", getpid(), ent->d_name);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp6826 const ResTable_entry* ent = (const ResTable_entry*) local
6834 uintptr_t esize = dtohs(ent->size);
6848 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) {
6850 bagPtr = (const ResTable_map_entry*)ent;
6853 (((const uint8_t*)ent) + esize);
6860 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) {
6871 const uint8_t* baseMapPtr = (const uint8_t*)ent;

Completed in 470 milliseconds