Searched refs:mApplicationInfo (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DInstantAppInfo.java37 private final ApplicationInfo mApplicationInfo; field in class:InstantAppInfo
47 mApplicationInfo = appInfo;
56 mApplicationInfo = null;
68 mApplicationInfo = parcel.readParcelable(null);
76 return mApplicationInfo;
83 if (mApplicationInfo != null) {
84 return mApplicationInfo.packageName;
94 if (mApplicationInfo != null) {
95 return mApplicationInfo.loadLabel(packageManager);
105 if (mApplicationInfo !
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DManifestConfigSource.java33 private final ApplicationInfo mApplicationInfo; field in class:ManifestConfigSource
40 mApplicationInfo = new ApplicationInfo(context.getApplicationInfo());
58 int configResource = mApplicationInfo.networkSecurityConfigRes;
62 (mApplicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
69 source = new XmlConfigSource(mContext, configResource, mApplicationInfo);
77 (mApplicationInfo.flags & ApplicationInfo.FLAG_USES_CLEARTEXT_TRAFFIC) != 0
78 && mApplicationInfo.targetSandboxVersion < 2;
79 source = new DefaultConfigSource(usesCleartextTraffic, mApplicationInfo);
H A DXmlConfigSource.java39 private final ApplicationInfo mApplicationInfo; field in class:XmlConfigSource
49 mApplicationInfo = new ApplicationInfo(info);
51 mDebugBuild = (mApplicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
350 NetworkSecurityConfig.getDefaultBuilder(mApplicationInfo);
/frameworks/base/media/java/android/media/tv/
H A DTvContentRatingSystemInfo.java36 private final ApplicationInfo mApplicationInfo; field in class:TvContentRatingSystemInfo
58 mApplicationInfo = applicationInfo;
66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
98 mApplicationInfo = in.readParcelable(null);
104 dest.writeParcelable(mApplicationInfo, flags);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DDefaultAppInfoTest.java58 private ApplicationInfo mApplicationInfo; field in class:DefaultAppInfoTest
72 anyInt())).thenReturn(mApplicationInfo);
73 when(mPackageManager.loadUnbadgedItemIcon(mPackageItemInfo, mApplicationInfo)).thenReturn(
/frameworks/base/lowpan/tests/src/android/net/lowpan/
H A DLowpanInterfaceTest.java44 @Mock ApplicationInfo mApplicationInfo; field in class:LowpanInterfaceTest
57 when(mContext.getApplicationInfo()).thenReturn(mApplicationInfo);
H A DLowpanManagerTest.java47 @Mock ApplicationInfo mApplicationInfo; field in class:LowpanManagerTest
61 when(mContext.getApplicationInfo()).thenReturn(mApplicationInfo);
/frameworks/base/core/java/android/app/
H A DLoadedApk.java98 private ApplicationInfo mApplicationInfo; field in class:LoadedApk
154 mAppComponentFactory = createAppFactory(mApplicationInfo, mBaseClassLoader);
190 mApplicationInfo = new ApplicationInfo();
191 mApplicationInfo.packageName = "android";
210 mAppComponentFactory = createAppFactory(mApplicationInfo, mClassLoader);
218 mApplicationInfo = info;
244 return mApplicationInfo;
248 return mApplicationInfo.targetSdkVersion;
333 splitPaths, mOverlayDirs, mApplicationInfo.sharedLibraryFiles,
344 mApplicationInfo
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageHelperTests.java107 private ApplicationInfo mApplicationInfo = null; field in class:PackageHelperTests.MockedInterface
113 mApplicationInfo = applicationInfo;
133 return mApplicationInfo;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java159 private final ApplicationInfo mApplicationInfo; field in class:BridgeContext
240 mApplicationInfo = new ApplicationInfo();
241 mApplicationInfo.targetSdkVersion = targetSdkVersion;
243 mApplicationInfo.flags = mApplicationInfo.flags | ApplicationInfo.FLAG_SUPPORTS_RTL;
999 if (mApplicationInfo.packageName == null) {
1000 mApplicationInfo.packageName = mLayoutlibCallback.getFlag(FLAG_KEY_APPLICATION_PACKAGE);
1002 return mApplicationInfo.packageName;
1529 return mApplicationInfo;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiServiceImplTest.java174 @Mock ApplicationInfo mApplicationInfo; field in class:WifiServiceImplTest
576 .thenReturn(mApplicationInfo);
577 mApplicationInfo.uid = TEST_UID;
626 .thenReturn(mApplicationInfo);
627 mApplicationInfo.uid = TEST_UID;
716 .thenReturn(mApplicationInfo);
717 mApplicationInfo.uid = TEST_UID;
770 .thenReturn(mApplicationInfo);
771 mApplicationInfo.uid = TEST_UID;
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
H A DAccessibilityShortcutControllerTest.java103 private @Mock ApplicationInfo mApplicationInfo; field in class:AccessibilityShortcutControllerTest
116 when(mContext.getApplicationInfo()).thenReturn(mApplicationInfo);
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DTetheringTest.java131 @Mock private ApplicationInfo mApplicationInfo; field in class:TetheringTest
167 public ApplicationInfo getApplicationInfo() { return mApplicationInfo; }
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DOffloadControllerTest.java94 @Mock private ApplicationInfo mApplicationInfo; field in class:OffloadControllerTest
107 when(mContext.getApplicationInfo()).thenReturn(mApplicationInfo);
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DWifiManagerTest.java76 @Mock ApplicationInfo mApplicationInfo; field in class:WifiManagerTest
91 when(mContext.getApplicationInfo()).thenReturn(mApplicationInfo);

Completed in 165 milliseconds