Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tools/aapt/
DStringPool.cpp148 entry& ent = mEntries.editItemAt(eidx); in add() local
151 configTypeName->string(), ent.configTypeName.string()); in add()
153 if (ent.configTypeName.size() <= 0) { in add()
154 ent.configTypeName = *configTypeName; in add()
155 } else if (ent.configTypeName != *configTypeName) { in add()
156 ent.configTypeName = " "; in add()
162 entry& ent = mEntries.editItemAt(eidx); in add() local
164 for (addPos=0; addPos<ent.configs.size(); addPos++) { in add()
165 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); in add()
171 ent.configs.insertAt(*config, addPos); in add()
[all …]
/frameworks/av/media/libstagefright/id3/
Dtestid3.cpp129 struct dirent *ent; in scan() local
130 while ((ent = readdir(dir)) != NULL) { in scan()
131 if (!strcmp(".", ent->d_name) || !strcmp("..", ent->d_name)) { in scan()
138 strcat(newPath, ent->d_name); in scan()
140 if (ent->d_type == DT_DIR) { in scan()
142 } else if (ent->d_type == DT_REG) { in scan()
143 size_t len = strlen(ent->d_name); in scan()
146 && !strcasecmp(ent->d_name + len - 4, ".mp3")) { in scan()
/frameworks/base/core/java/com/android/internal/policy/
DAttributeCache.java127 Entry ent = null; in get() local
131 ent = map.get(styleable); in get()
132 if (ent != null) { in get()
133 return ent; in get()
157 ent = new Entry(pkg.context, in get()
159 map.put(styleable, ent); in get()
164 return ent; in get()
DTransitionAnimation.java230 AttributeCache.Entry ent = getCachedAnimations(packageName, resId); in loadAnimationRes() local
231 if (ent != null) { in loadAnimationRes()
232 return loadAnimationSafely(ent.context, resId, mTag); in loadAnimationRes()
250 AttributeCache.Entry ent = getCachedAnimations(lp); in loadAnimationAttr() local
251 if (ent != null) { in loadAnimationAttr()
252 context = ent.context; in loadAnimationAttr()
253 resId = ent.array.getResourceId(animAttr, 0); in loadAnimationAttr()
280 AttributeCache.Entry ent = getCachedAnimations(packageName, animStyleResId); in loadAnimationAttr() local
281 if (ent != null) { in loadAnimationAttr()
282 context = ent.context; in loadAnimationAttr()
[all …]
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp1085 struct dirent* ent; in getAppDataDirName() local
1086 while ((ent = readdir(dir.get()))) { in getAppDataDirName()
1087 if (ent->d_ino == ce_data_inode) { in getAppDataDirName()
1088 return ent->d_name; in getAppDataDirName()
1106 struct dirent* ent; in getAppDataDirName() local
1107 while ((ent = readdir(dir.get()))) { in getAppDataDirName()
1108 if (ent->d_ino == fixed_ce_data_inode) { in getAppDataDirName()
1109 long long d_ino = ent->d_ino; in getAppDataDirName()
1111 return ent->d_name; in getAppDataDirName()
1162 struct dirent* ent; in relabelAllDirs() local
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp95 struct dirent* ent; in resolve_ce_path_by_inode_or_fallback() local
96 while ((ent = readdir(dir))) { in resolve_ce_path_by_inode_or_fallback()
97 if (ent->d_ino == ce_data_inode) { in resolve_ce_path_by_inode_or_fallback()
98 auto resolved = StringPrintf("%s/%s", root_path.c_str(), ent->d_name); in resolve_ce_path_by_inode_or_fallback()
410 struct dirent* ent; in get_known_users() local
411 while ((ent = readdir(dir))) { in get_known_users()
412 if (ent->d_type != DT_DIR) { in get_known_users()
417 userid_t user = strtol(ent->d_name, &end, 10); in get_known_users()
1005 struct dirent* ent; in read_path_inode() local
1006 while ((ent = readdir(dir))) { in read_path_inode()
[all …]
DInstalldNativeService.cpp1671 struct dirent* ent; in destroyCeSnapshotsNotSpecified() local
1672 while ((ent = readdir(dir.get()))) { in destroyCeSnapshotsNotSpecified()
1673 if (ent->d_type != DT_DIR) { in destroyCeSnapshotsNotSpecified()
1678 bool parse_ok = ParseUint(ent->d_name, &snapshot_id); in destroyCeSnapshotsNotSpecified()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2642 IdleDispatchEntry ent = new IdleDispatchEntry(); in setImplLocked() local
2643 ent.uid = a.uid; in setImplLocked()
2644 ent.pkg = a.sourcePackage; in setImplLocked()
2645 ent.tag = a.statsTag; in setImplLocked()
2646 ent.op = "START IDLE"; in setImplLocked()
2647 ent.elapsedRealtime = mInjector.getElapsedRealtime(); in setImplLocked()
2648 ent.argRealtime = a.getWhenElapsed(); in setImplLocked()
2649 mAllowWhileIdleDispatches.add(ent); in setImplLocked()
3579 IdleDispatchEntry ent = mAllowWhileIdleDispatches.get(i); in dumpImpl() local
3580 TimeUtils.formatDuration(ent.elapsedRealtime, nowELAPSED, pw); in dumpImpl()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java455 public boolean needsRedaction(NotificationEntry ent) { in needsRedaction() argument
456 int userId = ent.getSbn().getUserId(); in needsRedaction()
470 ent.getSbn().getNotification().visibility == Notification.VISIBILITY_PRIVATE; in needsRedaction()
471 boolean userForcesRedaction = packageHasVisibilityOverride(ent.getSbn().getKey()); in needsRedaction()
/frameworks/base/core/java/android/os/
DBatteryStats.java4507 for (Map.Entry<String, ? extends Timer> ent : kernelWakelocks.entrySet()) { in dumpCheckinLocked()
4509 printWakeLockCheckin(sb, ent.getValue(), rawRealtime, null, which, ""); in dumpCheckinLocked()
4511 "\"" + ent.getKey() + "\"", sb.toString()); in dumpCheckinLocked()
4516 for (Map.Entry<String, ? extends Timer> ent : wakeupReasons.entrySet()) { in dumpCheckinLocked()
4519 long totalTimeMicros = ent.getValue().getTotalTimeLocked(rawRealtime, which); in dumpCheckinLocked()
4520 int count = ent.getValue().getCountLocked(which); in dumpCheckinLocked()
4522 "\"" + ent.getKey() + "\"", (totalTimeMicros + 500) / 1000, count); in dumpCheckinLocked()
4530 for (Map.Entry<String, ? extends Timer> ent : rpmStats.entrySet()) { in dumpCheckinLocked()
4532 Timer totalTimer = ent.getValue(); in dumpCheckinLocked()
4535 Timer screenOffTimer = screenOffRpmStats.get(ent.getKey()); in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentFilter.java482 public final void addDataAuthority(IntentFilter.AuthorityEntry ent) { in addDataAuthority() argument
483 mFilter.addDataAuthority(ent); in addDataAuthority()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp257 struct hostent *ent = gethostbyname(host.c_str()); in onConnect() local
258 if (ent == NULL) { in onConnect()
281 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in onConnect()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java231 for (final Map.Entry<String, SpellCheckerBindGroup> ent in dump()
233 final SpellCheckerBindGroup grp = ent.getValue(); in dump()
234 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java624 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked() local
625 if (ent.getOp() != TARGET_OP) { in refreshForcedAppStandbyUidPackagesLocked()
628 if (ent.getMode() != AppOpsManager.MODE_ALLOWED) { in refreshForcedAppStandbyUidPackagesLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5122 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
5123 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
5126 HistoryItem.EVENT_PROC_FINISH, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
5137 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in setRecordAllHistoryLocked()
5138 SparseIntArray uids = ent.getValue(); in setRecordAllHistoryLocked()
5141 HistoryItem.EVENT_PROC_START, ent.getKey(), uids.keyAt(j)); in setRecordAllHistoryLocked()
13241 for (HashMap.Entry<String, SparseIntArray> ent : active.entrySet()) { in initActiveHistoryEventsLocked()
13242 SparseIntArray uids = ent.getValue(); in initActiveHistoryEventsLocked()
13244 addHistoryEventLocked(elapsedRealtimeMs, uptimeMs, i, ent.getKey(), in initActiveHistoryEventsLocked()
14773 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) {
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3017 Map.Entry<String, Ops> ent = it.next(); in resetAllModes() local
3018 String packageName = ent.getKey(); in resetAllModes()
3023 Ops pkgOps = ent.getValue(); in resetAllModes()
3067 for (Map.Entry<ModeCallback, ArrayList<ChangeRec>> ent : callbacks.entrySet()) { in resetAllModes()
3068 ModeCallback cb = ent.getKey(); in resetAllModes()
3069 ArrayList<ChangeRec> reports = ent.getValue(); in resetAllModes()
5614 AppOpsManager.OpEntry ent = entries.get(j); in onShellCommand() local
5615 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand()
5617 pw.print(AppOpsManager.modeToName(ent.getMode())); in onShellCommand()
5619 if (ent.getLastAccessTime(OP_FLAGS_ALL) != -1) { in onShellCommand()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java1216 final AttributeCache.Entry ent = AttributeCache.instance() in isNoDisplayActivity() local
1218 if (ent != null) { in isNoDisplayActivity()
1219 noDisplay = ent.array.getBoolean(R.styleable.Window_windowNoDisplay, false); in isNoDisplayActivity()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp674 struct dirent *ent; in dump() local
675 while((ent = readdir(d)) != NULL) { in dump()
676 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { in dump()
677 snprintf(buffer, SIZE - 1, "/proc/%d/fd/%s", getpid(), ent->d_name); in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java2021 final AttributeCache.Entry ent = AttributeCache.instance().get(packageName, in ActivityRecord()
2024 if (ent != null) { in ActivityRecord()
2025 mOccludesParent = !ActivityInfo.isTranslucentOrFloating(ent.array) in ActivityRecord()
2028 || ent.array.getBoolean(R.styleable.Window_windowShowWallpaper, false); in ActivityRecord()
2030 noDisplay = ent.array.getBoolean(R.styleable.Window_windowNoDisplay, false); in ActivityRecord()
2313 final AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, in validateStartingWindowTheme() local
2315 if (ent == null) { in validateStartingWindowTheme()
2320 final boolean windowIsTranslucent = ent.array.getBoolean( in validateStartingWindowTheme()
2322 final boolean windowIsFloating = ent.array.getBoolean( in validateStartingWindowTheme()
2324 final boolean windowShowWallpaper = ent.array.getBoolean( in validateStartingWindowTheme()
[all …]
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DMyHandler.h358 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() local
359 if (ent == NULL) { in pokeAHole()
365 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; in pokeAHole()
/frameworks/base/core/java/android/content/
DIntentFilter.java1354 public final void addDataAuthority(AuthorityEntry ent) { in addDataAuthority() argument
1357 mDataAuthorities.add(ent); in addDataAuthority()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7729 const ResTable_entry* ent = (const ResTable_entry*) in print() local
7737 uintptr_t esize = dtohs(ent->size); in print()
7751 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print()
7753 bagPtr = (const ResTable_map_entry*)ent; in print()
7756 (((const uint8_t*)ent) + esize); in print()
7763 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print()
7774 const uint8_t* baseMapPtr = (const uint8_t*)ent; in print()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp1356 dirent* ent; in countFds() local
1357 while ((ent = readdir(dir)) != nullptr) ret++; in countFds()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1701 for (Map.Entry<String, KernelWakelockStats.Entry> ent : wakelockStats.entrySet()) {
1702 String name = ent.getKey();
1703 KernelWakelockStats.Entry kws = ent.getValue();
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java10513 for (Map.Entry<String, ArrayList<Intent>> ent in writeBroadcastsToProtoLocked()
10516 proto.write(StickyBroadcastProto.StickyAction.NAME, ent.getKey()); in writeBroadcastsToProtoLocked()
10517 for (Intent intent : ent.getValue()) { in writeBroadcastsToProtoLocked()
10627 for (Map.Entry<String, ArrayList<Intent>> ent in dumpBroadcastsLocked()
10629 pw.print(" * Sticky action "); pw.print(ent.getKey()); in dumpBroadcastsLocked()
10632 ArrayList<Intent> intents = ent.getValue(); in dumpBroadcastsLocked()