Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 12 of 12) 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.java146 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, in setPermission() argument
149 mGroup = grp; in setPermission()
160 icon = grp.loadGroupIcon(getContext(), pm); in setPermission()
180 + ": " + label + " in group " + grp.name); in setPermission()
385 PermissionGroupInfo grp = null; in extractPerms() local
387 grp = mPm.getPermissionGroupInfo(origGroupName, 0); in extractPerms()
389 if (grp != null) { in extractPerms()
390 group = new MyPermissionGroupInfo(grp); in extractPerms()
424 private List<MyPermissionInfo> getPermissionList(MyPermissionGroupInfo grp, int which) { in getPermissionList() argument
426 return grp.mNewPermissions; in getPermissionList()
[all …]
/frameworks/base/core/jni/
Dandroid_util_Process.cpp157 struct group* grp = getgrnam(str); in android_os_Process_getGidForName() local
158 if (grp == NULL) { in android_os_Process_getGidForName()
161 return grp->gr_gid; in android_os_Process_getGidForName()
169 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument
171 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); in android_os_Process_setThreadGroup()
172 SchedPolicy sp = (SchedPolicy) grp; in android_os_Process_setThreadGroup()
179 void android_os_Process_setThreadGroupAndCpuset(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroupAndCpuset() argument
181 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); in android_os_Process_setThreadGroupAndCpuset()
182 SchedPolicy sp = (SchedPolicy) grp; in android_os_Process_setThreadGroupAndCpuset()
195 void android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jint grp) in android_os_Process_setProcessGroup() argument
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp546 static bool hasFeature(const char* name, const FeatureGroup& grp, in hasFeature() argument
549 ssize_t idx = grp.features.indexOfKey(name8); in hasFeature()
573 static void printFeatureGroupImpl(const FeatureGroup& grp, in printFeatureGroupImpl() argument
575 printf("feature-group: label='%s'\n", grp.label.string()); in printFeatureGroupImpl()
577 if (grp.openGLESVersion > 0) { in printFeatureGroupImpl()
578 printf(" uses-gl-es: '0x%x'\n", grp.openGLESVersion); in printFeatureGroupImpl()
581 const size_t numFeatures = grp.features.size(); in printFeatureGroupImpl()
583 const Feature& feature = grp.features[i]; in printFeatureGroupImpl()
587 const String8& featureName = grp.features.keyAt(i); in printFeatureGroupImpl()
601 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.cpp51 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/
DTextServicesManagerService.java776 final SpellCheckerBindGroup grp = ent.getValue(); in dump() local
777 pw.println(" " + ent.getKey() + " " + grp + ":"); in dump()
778 pw.println(" " + "mInternalConnection=" + grp.mInternalConnection); in dump()
779 pw.println(" " + "mSpellChecker=" + grp.mSpellChecker); in dump()
780 pw.println(" " + "mUnbindCalled=" + grp.mUnbindCalled); in dump()
781 pw.println(" " + "mConnected=" + grp.mConnected); in dump()
782 final int numPendingSessionRequests = grp.mPendingSessionRequests.size(); in dump()
784 final SessionRequest req = grp.mPendingSessionRequests.get(i); in dump()
790 final int numOnGoingSessionRequests = grp.mOnGoingSessionRequests.size(); in dump()
792 final SessionRequest req = grp.mOnGoingSessionRequests.get(i); in dump()
[all …]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3517 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle() local
3518 const TypeList& typeList = grp->types[t]; in applyStyle()
4062 const PackageGroup* const grp = mPackageGroups[p]; in getResourceName() local
4063 if (grp == NULL) { in getResourceName()
4069 status_t err = getEntry(grp, t, e, NULL, &entry); in getResourceName()
4074 outName->package = grp->name.string(); in getResourceName()
4075 outName->packageLen = grp->name.size(); in getResourceName()
4125 const PackageGroup* const grp = mPackageGroups[p]; in getResource() local
4126 if (grp == NULL) { in getResource()
4138 status_t err = getEntry(grp, t, e, &desiredConfig, &entry); in getResource()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java822 final String grp = getNextArg(); in runListPermissions() local
823 groupList.add(grp); in runListPermissions()
/frameworks/base/core/java/android/view/
DViewRootImpl.java6244 ViewGroup grp = (ViewGroup)view; in dumpViewHierarchy() local
6245 final int N = grp.getChildCount(); in dumpViewHierarchy()
6251 dumpViewHierarchy(prefix, writer, grp.getChildAt(i)); in dumpViewHierarchy()