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.java147 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, in setPermission() argument
150 mGroup = grp; in setPermission()
161 icon = grp.loadGroupIcon(getContext(), pm); in setPermission()
181 + ": " + label + " in group " + grp.name); in setPermission()
386 PermissionGroupInfo grp = null; in extractPerms() local
388 grp = mPm.getPermissionGroupInfo(origGroupName, 0); in extractPerms()
390 if (grp != null) { in extractPerms()
391 group = new MyPermissionGroupInfo(grp); in extractPerms()
425 private List<MyPermissionInfo> getPermissionList(MyPermissionGroupInfo grp, int which) { in getPermissionList() argument
427 return grp.mNewPermissions; in getPermissionList()
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp532 static bool hasFeature(const char* name, const FeatureGroup& grp, in hasFeature() argument
535 ssize_t idx = grp.features.indexOfKey(name8); in hasFeature()
559 static void printFeatureGroupImpl(const FeatureGroup& grp, in printFeatureGroupImpl() argument
561 printf("feature-group: label='%s'\n", grp.label.string()); in printFeatureGroupImpl()
563 if (grp.openGLESVersion > 0) { in printFeatureGroupImpl()
564 printf(" uses-gl-es: '0x%x'\n", grp.openGLESVersion); in printFeatureGroupImpl()
567 const size_t numFeatures = grp.features.size(); in printFeatureGroupImpl()
569 const Feature& feature = grp.features[i]; in printFeatureGroupImpl()
573 const String8& featureName = grp.features.keyAt(i); in printFeatureGroupImpl()
587 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { in printFeatureGroupImpl()
[all …]
DAaptAssets.cpp1364 sp<AaptGroup> grp = dir->getFiles().valueAt(j); in filter() local
1367 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter()
1368 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter()
1369 if (k == 0 && grp->getFiles().size() == 1) { in filter()
1391 grp->removeFile(k); in filter()
1404 for (size_t k=0; k<grp->getFiles().size(); k++) { in filter()
1405 sp<AaptFile> file = grp->getFiles().valueAt(k); in filter()
1406 if (k == 0 && grp->getFiles().size() == 1) { in filter()
1429 for (size_t m=0; m<grp->getFiles().size(); m++) { in filter()
1434 sp<AaptFile> mfile = grp->getFiles().valueAt(m); in filter()
[all …]
DResource.cpp55 status_t parsePackage(const sp<AaptGroup>& grp);
225 const sp<AaptGroup>& grp) in parsePackage() argument
227 if (grp->getFiles().size() != 1) { in parsePackage()
229 grp->getFiles().valueAt(0)->getPrintableSource().string()); in parsePackage()
232 sp<AaptFile> file = grp->getFiles().valueAt(0); in parsePackage()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp158 struct group* grp = getgrnam(str); in android_os_Process_getGidForName() local
159 if (grp == NULL) { in android_os_Process_getGidForName()
162 return grp->gr_gid; in android_os_Process_getGidForName()
170 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument
172 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); in android_os_Process_setThreadGroup()
173 SchedPolicy sp = (SchedPolicy) grp; in android_os_Process_setThreadGroup()
180 void android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jint grp) in android_os_Process_setProcessGroup() argument
182 ALOGV("%s pid=%d grp=%" PRId32, __func__, pid, grp); in android_os_Process_setProcessGroup()
187 if ((grp == SP_FOREGROUND) || (grp > SP_MAX)) { in android_os_Process_setProcessGroup()
193 if (grp < 0) { in android_os_Process_setProcessGroup()
[all …]
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java814 final SpellCheckerBindGroup grp = ent.getValue(); in dump() local
815 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump()
816 pw.println(" " + "mInternalConnection=" + grp.mInternalConnection); in dump()
817 pw.println(" " + "mSpellChecker=" + grp.mSpellChecker); in dump()
818 pw.println(" " + "mBound=" + grp.mBound + " mConnected=" + grp.mConnected); in dump()
819 final int N = grp.mListeners.size(); in dump()
821 final InternalDeathRecipient listener = grp.mListeners.get(i); in dump()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentActivity.java779 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local
780 final int N = grp.getChildCount(); in dumpViewHierarchy()
786 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3407 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle() local
3408 const TypeList& typeList = grp->types[t]; in applyStyle()
3950 const PackageGroup* const grp = mPackageGroups[p]; in getResourceName() local
3951 if (grp == NULL) { in getResourceName()
3957 status_t err = getEntry(grp, t, e, NULL, &entry); in getResourceName()
3962 outName->package = grp->name.string(); in getResourceName()
3963 outName->packageLen = grp->name.size(); in getResourceName()
4013 const PackageGroup* const grp = mPackageGroups[p]; in getResource() local
4014 if (grp == NULL) { in getResource()
4026 status_t err = getEntry(grp, t, e, &desiredConfig, &entry); in getResource()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java707 final String grp = getNextArg(); in runListPermissions() local
708 groupList.add(grp); in runListPermissions()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5851 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local
5852 final int N = grp.getChildCount(); in dumpViewHierarchy()
5858 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()