/frameworks/native/cmds/dumpstate/ |
D | DumpstateInternal.cpp | 50 struct group* grp = getgrnam("shell"); in DropRootUser() local 51 gid_t shell_gid = grp != nullptr ? grp->gr_gid : 0; in DropRootUser() 75 grp = getgrnam(group_names[i].c_str()); in DropRootUser() 76 groups[i] = grp != nullptr ? grp->gr_gid : 0; in DropRootUser()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 186 struct group* grp = getgrnam(str); in android_os_Process_getGidForName() local 187 if (grp == NULL) { in android_os_Process_getGidForName() 190 return grp->gr_gid; in android_os_Process_getGidForName() 198 static bool verifyGroup(JNIEnv* env, int grp) in verifyGroup() argument 200 if (grp < SP_DEFAULT || grp >= SP_CNT) { in verifyGroup() 201 signalExceptionForError(env, EINVAL, grp); in verifyGroup() 207 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument 209 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); in android_os_Process_setThreadGroup() 210 if (!verifyGroup(env, grp)) { in android_os_Process_setThreadGroup() 214 … int res = SetTaskProfiles(tid, {get_sched_policy_profile_name((SchedPolicy)grp)}, true) ? 0 : -1; in android_os_Process_setThreadGroup() [all …]
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 530 static bool hasFeature(const char* name, const FeatureGroup& grp, in hasFeature() argument 533 ssize_t idx = grp.features.indexOfKey(name8); in hasFeature() 557 static void printFeatureGroupImpl(const FeatureGroup& grp, in printFeatureGroupImpl() argument 559 printf("feature-group: label='%s'\n", grp.label.string()); in printFeatureGroupImpl() 561 if (grp.openGLESVersion > 0) { in printFeatureGroupImpl() 562 printf(" uses-gl-es: '0x%x'\n", grp.openGLESVersion); in printFeatureGroupImpl() 565 const size_t numFeatures = grp.features.size(); in printFeatureGroupImpl() 567 const Feature& feature = grp.features[i]; in printFeatureGroupImpl() 571 const String8& featureName = grp.features.keyAt(i); in printFeatureGroupImpl() 585 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { in printFeatureGroupImpl() [all …]
|
D | AaptAssets.cpp | 1365 sp<AaptGroup> grp = dir->getFiles().valueAt(j); in filter() local 1368 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter() 1369 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter() 1370 if (k == 0 && grp->getFiles().size() == 1) { in filter() 1392 grp->removeFile(k); in filter() 1405 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter() 1406 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter() 1407 if (k == 0 && grp->getFiles().size() == 1) { in filter() 1430 for (size_t m=0; m<grp->getFiles().size(); m++) { in filter() 1435 sp<AaptFile> mfile = grp->getFiles().valueAt(m); in filter() [all …]
|
D | Resource.cpp | 51 status_t parsePackage(const sp<AaptGroup>& grp); 221 const sp<AaptGroup>& grp) in parsePackage() argument 223 if (grp->getFiles().size() != 1) { in parsePackage() 225 grp->getFiles().valueAt(0)->getPrintableSource().string()); in parsePackage() 228 sp<AaptFile> file = grp->getFiles().valueAt(0); in parsePackage()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 233 final SpellCheckerBindGroup grp = ent.getValue(); in dump() local 234 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump() 235 pw.println(" " + "mInternalConnection=" + grp.mInternalConnection); in dump() 236 pw.println(" " + "mSpellChecker=" + grp.mSpellChecker); in dump() 237 pw.println(" " + "mUnbindCalled=" + grp.mUnbindCalled); in dump() 238 pw.println(" " + "mConnected=" + grp.mConnected); in dump() 239 final int numPendingSessionRequests = grp.mPendingSessionRequests.size(); in dump() 241 final SessionRequest req = grp.mPendingSessionRequests.get(j); in dump() 248 final int numOnGoingSessionRequests = grp.mOnGoingSessionRequests.size(); in dump() 250 final SessionRequest req = grp.mOnGoingSessionRequests.get(j); in dump() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 3856 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle() local 3857 const TypeList& typeList = grp->types[t]; in applyStyle() 4406 const PackageGroup* const grp = mPackageGroups[p]; in getResourceName() local 4407 if (grp == NULL) { in getResourceName() 4413 status_t err = getEntry(grp, t, e, NULL, &entry); in getResourceName() 4418 outName->package = grp->name.string(); in getResourceName() 4419 outName->packageLen = grp->name.size(); in getResourceName() 4469 const PackageGroup* const grp = mPackageGroups[p]; in getResource() local 4470 if (grp == NULL) { in getResource() 4482 status_t err = getEntry(grp, t, e, &desiredConfig, &entry); in getResource() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 972 final String grp = getNextArg(); in runListPermissions() local 973 groupList.add(grp); in runListPermissions()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 8062 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local 8063 final int N = grp.getChildCount(); in dumpViewHierarchy() 8069 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()
|