Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dgrp_data.c53 Word32 grp; in groupShortData() local
83 for (grp = 0; grp < noOfGroups; grp++) { in groupShortData()
85 groupedSfbOffset[i] = offset + sfbOffset[sfb] * groupLen[grp]; in groupShortData()
88 offset += groupLen[grp] * FRAME_LEN_SHORT; in groupShortData()
96 for (grp = 0; grp < noOfGroups; grp++) { in groupShortData()
101 offset += groupLen[grp] * FRAME_LEN_SHORT; in groupShortData()
108 for (grp = 0; grp < noOfGroups; grp++) { in groupShortData()
111 for (j=1; j<groupLen[grp]; j++) { in groupShortData()
117 wnd += groupLen[grp]; in groupShortData()
123 for (grp = 0; grp < noOfGroups; grp++) { in groupShortData()
[all …]
Dinterface.c52 Word32 grp; in BuildInterface() local
85 for (grp = 0; grp < noOfGroups; grp++) { in BuildInterface()
87 for (j=1; j<groupLen[grp]; j++) { in BuildInterface()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java134 for (WifiP2pGroup grp: groups) { in getNetworkId()
135 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress)) { in getNetworkId()
137 mGroups.get(grp.getNetworkId()); in getNetworkId()
138 return grp.getNetworkId(); in getNetworkId()
159 for (WifiP2pGroup grp: groups) { in getNetworkId()
160 if (deviceAddress.equalsIgnoreCase(grp.getOwner().deviceAddress) && in getNetworkId()
161 ssid.equals(grp.getNetworkName())) { in getNetworkId()
163 mGroups.get(grp.getNetworkId()); in getNetworkId()
164 return grp.getNetworkId(); in getNetworkId()
179 WifiP2pGroup grp = mGroups.get(netId); in getOwnerAddr() local
[all …]
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java151 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, in setPermission() argument
154 mGroup = grp; in setPermission()
165 icon = grp.loadGroupIcon(pm); in setPermission()
185 + ": " + label + " in group " + grp.name); in setPermission()
396 PermissionGroupInfo grp = null; in extractPerms() local
398 grp = mPm.getPermissionGroupInfo(origGroupName, 0); in extractPerms()
400 if (grp != null) { in extractPerms()
401 group = new MyPermissionGroupInfo(grp); in extractPerms()
435 private List<MyPermissionInfo> getPermissionList(MyPermissionGroupInfo grp, int which) { in getPermissionList() argument
437 return grp.mNewPermissions; in getPermissionList()
[all …]
/frameworks/base/core/jni/
Dandroid_util_Process.cpp152 struct group* grp = getgrnam(str); in android_os_Process_getGidForName() local
153 if (grp == NULL) { in android_os_Process_getGidForName()
156 return grp->gr_gid; in android_os_Process_getGidForName()
164 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument
166 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); in android_os_Process_setThreadGroup()
167 SchedPolicy sp = (SchedPolicy) grp; in android_os_Process_setThreadGroup()
174 void android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jint grp) in android_os_Process_setProcessGroup() argument
176 ALOGV("%s pid=%d grp=%" PRId32, __func__, pid, grp); in android_os_Process_setProcessGroup()
182 if ((grp == SP_FOREGROUND) || (grp > SP_MAX)) { in android_os_Process_setProcessGroup()
188 if (grp < 0) { in android_os_Process_setProcessGroup()
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp508 static void printFeatureGroup(const FeatureGroup& grp, in printFeatureGroup() argument
510 printf("feature-group: label='%s'\n", grp.label.string()); in printFeatureGroup()
512 if (grp.openGLESVersion > 0) { in printFeatureGroup()
513 printf(" uses-gl-es: '0x%x'\n", grp.openGLESVersion); in printFeatureGroup()
516 const size_t numFeatures = grp.features.size(); in printFeatureGroup()
518 if (!grp.features[i]) { in printFeatureGroup()
522 const String8& featureName = grp.features.keyAt(i); in printFeatureGroup()
531 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { in printFeatureGroup()
555 static void addParentFeatures(FeatureGroup* grp, const String8& name) { in addParentFeatures() argument
558 grp->features.add(String8("android.hardware.camera"), true); in addParentFeatures()
[all …]
DAaptAssets.cpp1387 sp<AaptGroup> grp = dir->getFiles().valueAt(j); in filter() local
1390 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter()
1391 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter()
1392 if (k == 0 && grp->getFiles().size() == 1) { in filter()
1414 grp->removeFile(k); in filter()
1427 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter()
1428 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter()
1429 if (k == 0 && grp->getFiles().size() == 1) { in filter()
1452 for (size_t m=0; m<grp->getFiles().size(); m++) { in filter()
1457 sp<AaptFile> mfile = grp->getFiles().valueAt(m); in filter()
[all …]
DResource.cpp46 status_t parsePackage(const sp<AaptGroup>& grp);
212 const sp<AaptGroup>& grp) in parsePackage() argument
214 if (grp->getFiles().size() != 1) { in parsePackage()
216 grp->getFiles().valueAt(0)->getPrintableSource().string()); in parsePackage()
219 sp<AaptFile> file = grp->getFiles().valueAt(0); in parsePackage()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java678 SpellCheckerBindGroup grp = ent.getValue(); in dump() local
680 pw.print(grp); pw.println(":"); in dump()
682 pw.println(grp.mInternalConnection); in dump()
684 pw.println(grp.mSpellChecker); in dump()
685 pw.print(" "); pw.print("mBound="); pw.print(grp.mBound); in dump()
686 pw.print(" mConnected="); pw.println(grp.mConnected); in dump()
687 int NL = grp.mListeners.size(); in dump()
689 InternalDeathRecipient listener = grp.mListeners.get(i); in dump()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3087 PackageGroup* const grp = mTable.mPackageGroups[pidx]; in applyStyle() local
3103 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle() local
3104 const TypeList& typeList = grp->types[t]; in applyStyle()
3570 const PackageGroup* const grp = mPackageGroups[p]; in getResourceName() local
3571 if (grp == NULL) { in getResourceName()
3577 status_t err = getEntry(grp, t, e, NULL, &entry); in getResourceName()
3582 outName->package = grp->name.string(); in getResourceName()
3583 outName->packageLen = grp->name.size(); in getResourceName()
3633 const PackageGroup* const grp = mPackageGroups[p]; in getResource() local
3634 if (grp == NULL) { in getResource()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java748 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local
749 final int N = grp.getChildCount(); in dumpViewHierarchy()
755 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java602 String grp = nextOption(); in runListPermissions() local
612 groupList.add(grp); in runListPermissions()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5324 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local
5325 final int N = grp.getChildCount(); in dumpViewHierarchy()
5331 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()