Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 10 of 10) sorted by relevance

/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java71 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
72 mi.desc = "(Ljava/lang/Object;ILjava/lang/Object;II)V"; in METHOD_REPLACERS.add()
91 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
92 mi.owner = ANDROID_LOCALE_CLASS; in METHOD_REPLACERS.add()
105 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
106 assert mi.desc.equals("(Ljava/lang/String;Ljava/lang/Throwable;)V") in METHOD_REPLACERS.add()
107 || mi.desc.equals("(Ljava/lang/String;)V"); in METHOD_REPLACERS.add()
108 mi.name = "log"; in METHOD_REPLACERS.add()
109 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add()
121 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp102 DvrNativeBufferMetadata mi, mo; in TEST_F() local
111 mi.index = i; in TEST_F()
112 EXPECT_EQ(p1->PostAsync(&mi, LocalHandle()), 0); in TEST_F()
119 EXPECT_EQ(mi.index, i); in TEST_F()
123 EXPECT_EQ(c1->ReleaseAsync(&mi, LocalHandle()), 0); in TEST_F()
140 DvrNativeBufferMetadata mi, mo; in TEST_F() local
159 mi.index = i; in TEST_F()
160 EXPECT_EQ(0, p1->PostAsync(&mi, LocalHandle())); in TEST_F()
173 EXPECT_EQ(c1->ReleaseAsync(&mi, LocalHandle()), 0); in TEST_F()
188 mi.index = i + 2; in TEST_F()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DModuleInfoProviderTest.java49 List<ModuleInfo> mi = provider.getInstalledModules(PackageManager.MATCH_ALL); in testSuccessfulParse() local
50 assertEquals(2, mi.size()); in testSuccessfulParse()
52 Collections.sort(mi, (ModuleInfo m1, ModuleInfo m2) -> in testSuccessfulParse()
54 assertEquals("com.android.module1", mi.get(0).getPackageName()); in testSuccessfulParse()
55 assertEquals("com.android.module2", mi.get(1).getPackageName()); in testSuccessfulParse()
83 List<ModuleInfo> mi = provider.getInstalledModules(PackageManager.MATCH_ALL); in testParse_unknownAttributesIgnored() local
84 assertEquals(2, mi.size()); in testParse_unknownAttributesIgnored()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java451 int mi = mOffset + i; in scaleM() local
452 sm[ smi] = m[ mi] * x; in scaleM()
453 sm[ 4 + smi] = m[ 4 + mi] * y; in scaleM()
454 sm[ 8 + smi] = m[ 8 + mi] * z; in scaleM()
455 sm[12 + smi] = m[12 + mi]; in scaleM()
471 int mi = mOffset + i; in scaleM() local
472 m[ mi] *= x; in scaleM()
473 m[ 4 + mi] *= y; in scaleM()
474 m[ 8 + mi] *= z; in scaleM()
499 int mi = mOffset + i; in translateM() local
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DModuleInfoProvider.java152 ModuleInfo mi = new ModuleInfo(); in loadModuleMetadata() local
153 mi.setHidden(isHidden); in loadModuleMetadata()
154 mi.setPackageName(modulePackageName); in loadModuleMetadata()
155 mi.setName(moduleName); in loadModuleMetadata()
156 mi.setApexModuleName( in loadModuleMetadata()
159 mModuleInfo.put(modulePackageName, mi); in loadModuleMetadata()
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java1321 ProcessMemInfo mi = memInfos.get(i); in reportMemUsage() local
1322 infoMap.put(mi.pid, mi); in reportMemUsage()
1337 ProcessMemInfo mi = new ProcessMemInfo(st.name, st.pid, in reportMemUsage() local
1339 mi.pss = pss; in reportMemUsage()
1340 mi.swapPss = swaptrackTmp[1]; in reportMemUsage()
1341 mi.memtrack = memtrackTmp[0]; in reportMemUsage()
1344 memInfos.add(mi); in reportMemUsage()
1353 ProcessMemInfo mi = memInfos.get(i); in reportMemUsage() local
1354 if (mi.pss == 0) { in reportMemUsage()
1355 mi.pss = Debug.getPss(mi.pid, swaptrackTmp, memtrackTmp); in reportMemUsage()
[all …]
DActivityManagerService.java3835 final Debug.MemoryInfo mi = infos[i] = new Debug.MemoryInfo(); in getProcessMemoryInfo() local
3869 mi.set(profile.getLastMemInfo()); in getProcessMemoryInfo()
3878 mi.set(memInfo); in getProcessMemoryInfo()
3885 profile.addPss(mi.getTotalPss(), in getProcessMemoryInfo()
3886 mi.getTotalUss(), mi.getTotalRss(), false, in getProcessMemoryInfo()
3894 mi.getTotalPss(), in getProcessMemoryInfo()
3895 mi.getTotalUss(), in getProcessMemoryInfo()
3896 mi.getTotalRss(), in getProcessMemoryInfo()
10230 MemItem mi = items.get(i); in dumpMemItems() local
10233 pw.printf("%s%s: %-60s (%s in swap)\n", prefix, stringifyKBSize(mi.pss), in dumpMemItems()
[all …]
/frameworks/wilhelm/src/
Dentry.cpp113 const struct MPH_init *mi = &MPH_init_table[x->mMPH]; in liCreateEngine() local
114 BoolHook expose = mi->mExpose; in liCreateEngine()
Dsles.cpp545 const struct MPH_init *mi = &MPH_init_table[x->mMPH]; in construct() local
546 VoidHook init = mi->mInit; in construct()
562 state = (exposedMask & 1) && ((NULL == (expose = mi->mExpose)) || (*expose)(self)) ? in construct()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1071 ModuleInfo mi = mPM.getModuleInfo(packageName, flags); in getModuleInfo() local
1072 if (mi != null) { in getModuleInfo()
1073 return mi; in getModuleInfo()