Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java781 public @ApplicationInfoPrivateFlags int privateFlags; field in ApplicationInfo
1398 + " privateFlags=0x" + Integer.toHexString(privateFlags) in dump()
1487 proto.write(ApplicationInfoProto.PRIVATE_FLAGS, privateFlags); in dumpDebug()
1631 privateFlags = orig.privateFlags; in ApplicationInfo()
1710 dest.writeInt(privateFlags); in writeToParcel()
1794 privateFlags = source.readInt(); in ApplicationInfo()
1914 if ((privateFlags & PRIVATE_FLAG_DEFAULT_TO_DEVICE_PROTECTED_STORAGE) != 0 in initForUser()
1930 return (privateFlags & PRIVATE_FLAG_USES_NON_SDK_API) != 0; in usesNonSdkApi()
1941 return (privateFlags & PRIVATE_FLAG_HAS_FRAGILE_USER_DATA) != 0; in hasFragileUserData()
1952 return (privateFlags & PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE) != 0; in isAudioPlaybackCaptureAllowed()
[all …]
DActivityInfo.java536 public int privateFlags; field in ActivityInfo
1008 privateFlags = orig.privateFlags; in ActivityInfo()
1165 if (launchMode != 0 || flags != 0 || privateFlags != 0 || theme != 0) { in dump()
1168 + " privateFlags=0x" + Integer.toHexString(privateFlags) in dump()
1225 dest.writeInt(privateFlags); in writeToParcel()
1347 privateFlags = source.readInt(); in ActivityInfo()
DPackageParser.java1860 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_ISOLATED_SPLIT_LOADING; in parseBaseApk()
2025 pkg.applicationInfo.privateFlags |= in parseBaseApkCommon()
3410 ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_BACKUP_IN_FOREGROUND; in parseBaseApplication()
3468 ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PROFILEABLE_BY_SHELL; in parseBaseApplication()
3544 ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_USE_EMBEDDED_DEX; in parseBaseApplication()
3550 ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_DEFAULT_TO_DEVICE_PROTECTED_STORAGE; in parseBaseApplication()
3555 ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_DIRECT_BOOT_AWARE; in parseBaseApplication()
3560 ai.privateFlags |= PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE; in parseBaseApplication()
3562 ai.privateFlags |= PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_UNRESIZEABLE; in parseBaseApplication()
3565 ai.privateFlags |= PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION; in parseBaseApplication()
[all …]
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedActivity.java54 int privateFlags; field in ParsedActivity
93 this.privateFlags = other.privateFlags; in ParsedActivity()
151 alias.privateFlags = target.privateFlags; in makeAlias()
278 dest.writeInt(this.privateFlags); in writeToParcel()
315 this.privateFlags = in.readInt(); in ParsedActivity()
374 return privateFlags; in getPrivateFlags()
/frameworks/base/core/java/android/view/
DViewRootInsetsControllerHost.java163 mViewRoot.mWindowAttributes.privateFlags |= PRIVATE_FLAG_APPEARANCE_CONTROLLED; in setSystemBarsAppearance()
174 if ((mViewRoot.mWindowAttributes.privateFlags & PRIVATE_FLAG_APPEARANCE_CONTROLLED) == 0) { in getSystemBarsAppearance()
183 mViewRoot.mWindowAttributes.privateFlags |= PRIVATE_FLAG_BEHAVIOR_CONTROLLED; in setSystemBarsBehavior()
193 if ((mViewRoot.mWindowAttributes.privateFlags & PRIVATE_FLAG_BEHAVIOR_CONTROLLED) == 0) { in getSystemBarsBehavior()
DWindowManager.java2148 public int privateFlags; field in WindowManager.LayoutParams
2919 privateFlags |= PRIVATE_FLAG_FIT_INSETS_CONTROLLED; in setFitInsetsTypes()
2930 privateFlags |= PRIVATE_FLAG_FIT_INSETS_CONTROLLED; in setFitInsetsSides()
2940 privateFlags |= PRIVATE_FLAG_FIT_INSETS_CONTROLLED; in setFitInsetsIgnoringVisibility()
3092 out.writeInt(privateFlags); in writeToParcel()
3159 privateFlags = in.readInt(); in LayoutParams()
3302 if (privateFlags != o.privateFlags) { in copyFrom()
3303 privateFlags = o.privateFlags; in copyFrom()
3602 if (privateFlags != 0) { in toString()
3605 LayoutParams.class, "privateFlags", privateFlags)); in toString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java109 mLp.privateFlags |= PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC; in attach()
145 mLpChanged.privateFlags |= PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR; in applyForceStatusBarVisibleFlag()
147 mLpChanged.privateFlags &= ~PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR; in applyForceStatusBarVisibleFlag()
DNotificationShadeWindowController.java202 mLp.privateFlags |= PRIVATE_FLAG_BEHAVIOR_CONTROLLED; in attach()
251 mLpChanged.privateFlags |= LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; in applyKeyguardFlags()
253 mLpChanged.privateFlags &= ~LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; in applyKeyguardFlags()
306 mLpChanged.privateFlags |= LayoutParams.PRIVATE_FLAG_STATUS_FORCE_SHOW_NAVIGATION; in applyForceShowNavigationFlag()
308 mLpChanged.privateFlags &= ~LayoutParams.PRIVATE_FLAG_STATUS_FORCE_SHOW_NAVIGATION; in applyForceShowNavigationFlag()
370 mLpChanged.privateFlags |= LayoutParams.PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC; in applyStatusBarColorSpaceAgnosticFlag()
372 mLpChanged.privateFlags &= in applyStatusBarColorSpaceAgnosticFlag()
DSystemUIDialog.java97 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
100 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java208 int privateFlags, int[] providesInsetsTypes) { in createWindow() argument
219 lp.privateFlags |= privateFlags; in createWindow()
235 int privateFlags, int privateFlagsMask) { in updateWindow() argument
242 setPrivateFlags(lp, privateFlags, privateFlagsMask); in updateWindow()
DWallpaperControllerTests.java162 wallpaperWindow.getAttrs().privateFlags |= in testWallpaperZoom()
188 wallpaperWindow.getAttrs().privateFlags |= in testWallpaperZoom_shouldNotScaleWallpaper()
219 wallpaperWindow.getAttrs().privateFlags |= in testWallpaperZoom_multipleCallers()
DInsetsPolicyTest.java134 addWindow(TYPE_STATUS_BAR, "statusBar").mAttrs.privateFlags |= in testControlsForDispatch_forceStatusBarVisible()
147 addWindow(TYPE_NOTIFICATION_SHADE, "notificationShade").mAttrs.privateFlags |= in testControlsForDispatch_statusBarForceShowNavigation()
162 notifShade.mAttrs.privateFlags |= PRIVATE_FLAG_STATUS_FORCE_SHOW_NAVIGATION; in testControlsForDispatch_statusBarForceShowNavigation_butFocusedAnyways()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java113 public PackageSettingBuilder setPrivateFlags(int privateFlags) { in setPrivateFlags() argument
114 this.mPrivateFlags = privateFlags; in setPrivateFlags()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java233 mEntry.info.privateFlags |= ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in testFilterWithDomainUrls()
238 mEntry.info.privateFlags &= ~ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in testFilterWithDomainUrls()
241 mEntry.info.privateFlags |= ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS; in testFilterWithDomainUrls()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java119 ai3.privateFlags |= ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER; in getAllApps()
121 ai4.privateFlags |= ApplicationInfo.PRIVATE_FLAG_REQUIRED_FOR_SYSTEM_USER; in getAllApps()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java145 assertThat(windowParams.privateFlags in testShowToast_addsViewWithCorrectLayoutParamsToWindowManager()
158 assertThat(windowParams.privateFlags in testShowToast_forAndroidPackage_addsAllUserFlag()
171 assertThat(windowParams.privateFlags in testShowToast_forSystemUiPackage_addsAllUserFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowControllerTest.java98 int flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays()
105 flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays()
/frameworks/base/core/java/android/webkit/
DUserPackage.java79 && ((mPackageInfo.applicationInfo.privateFlags in isInstalledPackage()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java178 int privateFlags = 0; in packageInfoWithPermissions() local
181 privateFlags = PRIVATE_FLAG_OEM; in packageInfoWithPermissions()
184 privateFlags = PRIVATE_FLAG_PRODUCT; in packageInfoWithPermissions()
187 privateFlags = PRIVATE_FLAG_VENDOR; in packageInfoWithPermissions()
190 packageInfo.applicationInfo.privateFlags = privateFlags; in packageInfoWithPermissions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DInattentiveSleepWarningView.java125 lp.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS; in getLayoutParams()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java369 ai.privateFlags |= flag(state.instantApp, ApplicationInfo.PRIVATE_FLAG_INSTANT) in generateApplicationInfoUnchecked()
434 ai.privateFlags = a.getPrivateFlags(); in generateActivityInfoUnchecked()
710 …int privateFlags = flag(pkg.isStaticSharedLibrary(), ApplicationInfo.PRIVATE_FLAG_STATIC_SHARED_LI… in appInfoPrivateFlags() local
733 privateFlags |= ApplicationInfo.PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_RESIZEABLE; in appInfoPrivateFlags()
735 privateFlags |= ApplicationInfo.PRIVATE_FLAG_ACTIVITIES_RESIZE_MODE_UNRESIZEABLE; in appInfoPrivateFlags()
739 return privateFlags; in appInfoPrivateFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSetting.java77 long pVersionCode, int pkgFlags, int privateFlags, in PackageSetting() argument
82 pVersionCode, pkgFlags, privateFlags, in PackageSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerWindowManager.java61 mLp.privateFlags |= PRIVATE_FLAG_NO_MOVE_ANIMATION; in add()
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java499 final int privateFlags = w.mAttrs.privateFlags; in accept() local
535 if ((privateFlags & PRIVATE_FLAG_DISABLE_WALLPAPER_TOUCH_EVENTS) != 0) { in accept()
/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java84 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR | in UserSwitchingDialog()

1234