Home
last modified time | relevance | path

Searched refs:privateFlags (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/
DPackageManagerHelper.java131 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_OEM) != 0; in isOemApp()
136 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_ODM) != 0; in isOdmApp()
141 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR) != 0; in isVendorApp()
156 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT) != 0; in isProductApp()
161 return (appInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_SYSTEM_EXT) != 0; in isSystemExtApp()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DApplicationInfoCompat.java27 this.privateFlags = info.privateFlags; in ApplicationInfoCompat()
58 int privateFlags; field in ApplicationInfoCompat
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceControllerTest.java113 info.privateFlags = 0; in onCreate_isNotBrowserApp_noDomainUrls_isDisabled()
131 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled()
149 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk()
170 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk()
191 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways()
212 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in onCreate_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppDisableButtonTest.kt102 privateFlags = privateFlags or ApplicationInfo.PRIVATE_FLAG_SIGNED_WITH_PLATFORM_KEY in getActionButton_signedWithPlatformKey_cannotDisable()
113 privateFlags = privateFlags or ApplicationInfo.PRIVATE_FLAG_IS_RESOURCE_OVERLAY in getActionButton_isResourceOverlay_cannotDisable()
DAppOpenByDefaultPreferenceTest.kt89 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in instantApp_notDisplay()
105 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in browserApp_notDisplay()
DInstantAppDomainsPreferenceTest.kt163 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in <lambda>()
DAppInstallerInfoPreferenceTest.kt140 privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT in whenIsInstantApp_hasSummaryForInstant()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java299 applicationInfo.privateFlags = applicationInfo.privateFlags in setApplicationInfo()
309 applicationInfo.privateFlags = applicationInfo.privateFlags in setApplicationInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DAllAppsSession.java83 && !((info.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_OEM)
85 && !((info.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_VENDOR)
87 && !((info.info.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRODUCT)
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceController.java66 (getAppEntry().info.privateFlags & ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS) in onCreateInternal()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java116 info.privateFlags = ApplicationInfo.PRIVATE_FLAG_INSTANT; in getCompositeFilter_worksWithInstantApps()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppLocaleUtilTest.java101 mAppInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_SIGNED_WITH_PLATFORM_KEY; in canDisplayLocaleUi_notShowUI_hasPlatformKey()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java344 final int privateFlags = pi.applicationInfo.privateFlags; in isAppEnabledForUser() local
347 && (privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) == 0); in isAppEnabledForUser()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayController.java194 layoutParams.privateFlags = PRIVATE_FLAG_CONSUME_IME_INSETS; in createLayoutParams()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/
DActivityWindowControllerImpl.java129 mWmLayoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS; in inflate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java418 final int privateFlags = pi.applicationInfo.privateFlags; in isAppEnabledForUser() local
421 && (privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) == 0); in isAppEnabledForUser()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java260 int privateFlags = 0; in packageInfoWithPermissions() local
263 privateFlags = PRIVATE_FLAG_OEM; in packageInfoWithPermissions()
266 privateFlags = PRIVATE_FLAG_PRODUCT; in packageInfoWithPermissions()
269 privateFlags = PRIVATE_FLAG_VENDOR; in packageInfoWithPermissions()
272 packageInfo.applicationInfo.privateFlags = privateFlags; in packageInfoWithPermissions()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DSystemBarConfigs.java613 lp.privateFlags = lp.privateFlags in getLayoutParams()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DSettingsPanelActivityTest.java147 assertThat(paramCaptor.getValue().privateFlags in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerActivity.java265 attrs.privateFlags &= ~SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; in onStop()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java524 windowLayoutParams.privateFlags = in createDefaultWindowLayoutParams()
1516 mWindowLayoutParams.privateFlags |= in excludeFromMagnificationRegion()
1519 mWindowLayoutParams.privateFlags &= in excludeFromMagnificationRegion()
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/
DDeviceLockServiceImplTest.java406 appInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in makeDlcResolveInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java254 assertThat(paramCaptor.getValue().privateFlags in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1528 String packageName, int uid, String sharedUserId, int flags, int privateFlags) { in constructPackageManagerPackageInfo() argument
1536 packageInfo.applicationInfo.privateFlags = privateFlags; in constructPackageManagerPackageInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DAppLocalePickerActivityTest.java159 applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_SIGNED_WITH_PLATFORM_KEY; in launchAppLocalePickerActivity_appSignPlatformKey_failed()

12