Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 23 of 23) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Enumerated.java82 Asn1Integer ai = new Asn1Integer(); in decodeBerValue() local
83 ai.decodeBerValue(buf); in decodeBerValue()
84 value = lookupValue(ai.getInteger().intValue()); in decodeBerValue()
89 Asn1Integer ai = new Asn1Integer(); in asAsn1Integer() local
90 ai.setInteger(BigInteger.valueOf(value.getAssignedValue())); in asAsn1Integer()
91 return ai; in asAsn1Integer()
/cts/tests/location/location_none/src/android/location/cts/none/
DLocationDisabledAppOpsTest.java81 ApplicationInfo ai = pi.applicationInfo; in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled() local
82 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
88 OPSTR_FINE_LOCATION, ai.uid, ai.packageName); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
100 .checkOpNoThrow(OPSTR_FINE_LOCATION, ai.uid, ai.packageName); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
/cts/tests/tests/security/src/android/security/cts/
DLocationDisabledAppOpsTest.java88 ApplicationInfo ai = pi.applicationInfo; in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled() local
89 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
94 OPSTR_FINE_LOCATION, ai.uid, ai.packageName); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
104 .checkOpNoThrow(OPSTR_FINE_LOCATION, ai.uid, ai.packageName); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java72 ApplicationInfo ai = getPackageManager().getApplicationInfo(packageName, in isSystemApp() local
74 return ai != null && ((ai.flags & SYSTEM_APP_MASK) != 0); in isSystemApp()
86 ApplicationInfo ai = getPackageManager().getApplicationInfo(packageName, in isPrivilegedSystemApp() local
88 return ai != null && ((ai.flags & SYSTEM_APP_MASK) != 0) && ai.isPrivilegedApp(); in isPrivilegedSystemApp()
/cts/tests/tests/rscpp/librscpptest/
Dinstance.rscript4 rs_allocation ai;
8 rsSetElementAt(ai, &i, 0);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dinstance.rscript4 rs_allocation ai;
8 rsSetElementAt(ai, &i, 0);
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java225 ApplicationInfo ai = getContext().getApplicationInfo(); in testVerifySpaceApi() local
226 final StorageStats pstats = stats.queryStatsForPackage(ai.storageUuid, ai.packageName, in testVerifySpaceApi()
227 UserHandle.getUserHandleForUid(ai.uid)); in testVerifySpaceApi()
228 final StorageStats ustats = stats.queryStatsForUid(ai.storageUuid, ai.uid); in testVerifySpaceApi()
233 ai = getContext().getPackageManager().getApplicationInfo(PKG_B, 0); in testVerifySpaceApi()
235 stats.queryStatsForPackage(ai.storageUuid, ai.packageName, in testVerifySpaceApi()
236 UserHandle.getUserHandleForUid(ai.uid)); in testVerifySpaceApi()
241 stats.queryStatsForUid(ai.storageUuid, ai.uid); in testVerifySpaceApi()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DCarDockTestActivity.java77 ActivityInfo ai = null; in onCreate() local
81 ai = info.activityInfo; in onCreate()
83 if (!ai.packageName.equals(getPackageName())) { in onCreate()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java157 ApplicationInfo ai = in testSimpleAppInstalledForUser() local
159 assertThat(ai.packageName).isEqualTo(SIMPLE_APP_PACKAGE); in testSimpleAppInstalledForUser()
160 assertThat(UserHandle.getUserHandleForUid(ai.uid)).isEqualTo(mUser); in testSimpleAppInstalledForUser()
351 ActivityInfo ai = pm.getActivityInfo(compName, /* flags= */ 0); in assertActivityInjected() local
353 .that(ai.enabled).isTrue(); in assertActivityInjected()
355 .that(ai.exported).isTrue(); in assertActivityInjected()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/res/raw/
Dvalid_chain.pem6 ai+TF9Dp/StIgX/nvN/ZkTCHY2NQbRKOS5/TAOkUy0MLejj2lhfx0EB5JqyzjkoT
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationIntegrationTest.kt171 val ai = in <lambda>() constant
173 val stopped = ((ai.flags and ApplicationInfo.FLAG_STOPPED) != 0) in <lambda>()
206 val ai = in <lambda>() constant
208 val stopped = ((ai.flags and ApplicationInfo.FLAG_STOPPED) != 0) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java114 ActivityInfo ai = null; in getAttrs() local
118 ai = mContext.getPackageManager().getActivityInfo(mComponentName, in getAttrs()
120 parser = ai.loadXmlMetaData(mContext.getPackageManager(), in getAttrs()
515 ActivityInfo ai = null; in getParser() local
519 ai = mContext.getPackageManager().getActivityInfo(mComponentName, in getParser()
521 parser = ai.loadXmlMetaData(mContext.getPackageManager(), in getParser()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInfoTest.java103 ApplicationInfo ai = packageInfo.applicationInfo; in testApplicationInfoSame() local
110 assertSame("component=" + ci.getComponentName(), ai, ci.applicationInfo); in testApplicationInfoSame()
DPackageManagerTest.java1522 final ApplicationInfo ai = mPackageManager.getApplicationInfo(PACKAGE_NAME, in testGetInfo_noMetaData_InApplication() local
1524 assertThat(ai.metaData).isNull(); in testGetInfo_noMetaData_InApplication()
1603 final ApplicationInfo ai = mPackageManager.getApplicationInfo(PACKAGE_NAME, in testGetInfo_checkMetaData_InApplication() local
1605 checkMetaData(new PackageItemInfo(ai)); in testGetInfo_checkMetaData_InApplication()
1615 final ActivityInfo ai = mPackageManager.getActivityInfo(componentName, in testGetInfo_checkMetaData_InActivity() local
1617 checkMetaData(new PackageItemInfo(ai)); in testGetInfo_checkMetaData_InActivity()
1703 ApplicationInfo ai = mPackageManager.getApplicationInfo( in testGetApplicationInfo_ApexSupported_MatchesApex() local
1706 assertThat(ai.sourceDir).isEqualTo("/system/apex/com.android.apex.cts.shim.apex"); in testGetApplicationInfo_ApexSupported_MatchesApex()
1707 assertThat(ai.publicSourceDir).isEqualTo(ai.sourceDir); in testGetApplicationInfo_ApexSupported_MatchesApex()
1708 assertThat(ai.flags & ApplicationInfo.FLAG_SYSTEM).isEqualTo(ApplicationInfo.FLAG_SYSTEM); in testGetApplicationInfo_ApexSupported_MatchesApex()
[all …]
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java471 private String canonicalizeProcessName(ApplicationInfo ai) { in canonicalizeProcessName() argument
472 return canonicalizeProcessName(ai.processName, ai); in canonicalizeProcessName()
475 private String canonicalizeProcessName(String process, ApplicationInfo ai) { in canonicalizeProcessName() argument
481 return ai.packageName + process; in canonicalizeProcessName()
DActivityManagerTest.java1320 final ApplicationInfo ai = mTargetContext.getPackageManager() in testKillingAppChildProcess() local
1322 final WatchUidRunner watcher = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testKillingAppChildProcess()
1428 ApplicationInfo ai = mTargetContext.getPackageManager() in testTrimAppChildProcess() local
1430 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testTrimAppChildProcess()
1431 ai = mTargetContext.getPackageManager().getApplicationInfo(PACKAGE_NAME_APP2, 0); in testTrimAppChildProcess()
1432 final WatchUidRunner watcher2 = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testTrimAppChildProcess()
1433 ai = mTargetContext.getPackageManager().getApplicationInfo(PACKAGE_NAME_APP3, 0); in testTrimAppChildProcess()
1434 final WatchUidRunner watcher3 = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testTrimAppChildProcess()
2374 final ApplicationInfo ai = mTargetContext.getPackageManager()
2376 watchers[i] = new WatchUidRunner(mInstrumentation, ai.uid, waitFormMs);
/cts/tests/process/src/android/os/cts/process/
DProcessTest2.java301 ApplicationInfo ai = sContext.getPackageManager().getApplicationInfo(packageName, 0); in dumpApplicationInfo() local
303 ai.dump(pw, " "); in dumpApplicationInfo()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java111 final ActivityInfo ai = resolveInfo.activityInfo; in assertHandledBySelfOnly() local
112 assertEquals("android.content.cts", ai.packageName); in assertHandledBySelfOnly()
DIntentTest.java434 ActivityInfo ai = null; in testParseIntent() local
442 ai = mContext.getPackageManager().getActivityInfo( in testParseIntent()
445 parser = ai.loadXmlMetaData(mContext.getPackageManager(), "android.app.intent"); in testParseIntent()
DIntentFilterTest.java1327 ActivityInfo ai = null; in testReadFromXml() local
1332 ai = pm.getActivityInfo(mComponentName, PackageManager.GET_META_DATA); in testReadFromXml()
1334 parser = ai.loadXmlMetaData(pm, "android.app.intent.filter"); in testReadFromXml()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts2260 …��e�CK��m ���9Z]�&\�X@# T�IM5���;��P+.P�{�����UI�hL�(Ia T̒��cF!P�薒l�N�j�t!!�����ai�S�Β
2409 `Ge� �D�S.G�1���i����2T���tNl�.ai�'��^1dB*�
4100 …I��IT���ұ#ä�D{γ�@�eݮ��P����{.�H˒H��37rn��d���`�2b��i`������:T�W�{ �ai�x�_̘���4��Y����)ս…
8457 …C�iiB�ί�>|��ϟ>|���ϟ>l���ϟ|���ϟ��ϟ<����ϟ>|���ϛ>|���ğ>|�������B @� !ai�47,�B��ZX���R�yЭ�B�…
Dcve_2019_2244.ts2260 …��e�CK��m ���9Z]�&\�X@# T�IM5���;��P+.P�{�����UI�hL�(Ia T̒��cF!P�薒l�N�j�t!!�����ai�S�Β
2409 `Ge� �D�S.G�1���i����2T���tNl�.ai�'��^1dB*�
4102 …I��IT���ұ#ä�D{γ�@�eݮ��P����{.�H˒H��37rn��d���`�2b��i`������:T�W�{ �ai�x�_̘���4��Y����)ս…
8463 …C�iiB�ί�>|��ϟ>|���ϟ>l���ϟ|���ϟ��ϟ<����ϟ>|���ϛ>|���ğ>|�������B @� !ai�47,�B��ZX���R�yЭ�B�…
Dcve_2019_2245.ts2259 …��e�CK��m ���9Z]�&\�X@# T�IM5���;��P+.P�{�����UI�hL�(Ia T̒��cF!P�薒l�N�j�t!!�����ai�S�Β
2408 `Ge� �D�S.G�1���i����2T���tNl�.ai�'��^1dB*�
8358 …C�iiB�ί�>|��ϟ>|���ϟ>l���ϟ|���ϟ��ϟ<����ϟ>|���ϛ>|���ğ>|�������B @� !ai�47,�B��ZX���R�yЭ�B�…