Home
last modified time | relevance | path

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

12

/frameworks/av/services/tuner/
DTunerHelper.cpp56 bool hasFeature = false; in checkTunerFeature() local
57 Status status = packageMgr->hasSystemFeature(FEATURE_TUNER, 0, &hasFeature); in checkTunerFeature()
62 if (!hasFeature) { in checkTunerFeature()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DTestPackageParser2.kt31 override fun hasFeature(feature: String): Boolean { in hasFeature() method in com.android.server.pm.parsing.TestPackageParser2
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageParserUtils.java60 public boolean hasFeature(String feature) { in forParsingFileWithDefaults() method
/frameworks/base/core/java/android/app/
DDialog.java314 if (mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
336 if (mActionBar == null && mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) { in show()
1091 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in openOptionsMenu()
1100 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in closeOptionsMenu()
1109 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in invalidateOptionsMenu()
DActivityTransitionState.java176 if (window.hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) in setEnterSceneTransitionInfo()
386 if (!activity.getWindow().hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS) || in startExitOutTransition()
DActivity.java3800 if (isChild() || !window.hasFeature(Window.FEATURE_ACTION_BAR) || mActionBar != null) { in initWindowDecorActionBar()
4061 if (w.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in onKeyDown()
4744 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in invalidateOptionsMenu()
4959 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in openOptionsMenu()
4970 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in closeOptionsMenu()
5032 if (mWindow.hasFeature(Window.FEATURE_CONTEXT_MENU)) { in closeContextMenu()
DActivityOptions.java1120 if (!window.hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS)) { in makeSceneTransitionAnimation()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DParsingUtils.java52 public boolean hasFeature(String feature) { in parseDefaultOneTime()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageParsingPerfTest.kt204 override fun hasFeature(feature: String) = true in <lambda>() method in android.os.PackageParsingPerfTest
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java527 } else if (!hasFeature(FEATURE_CONTENT_TRANSITIONS)) { in setContentView()
531 if (hasFeature(FEATURE_CONTENT_TRANSITIONS)) { in setContentView()
563 } else if (!hasFeature(FEATURE_CONTENT_TRANSITIONS)) { in setContentView()
567 if (hasFeature(FEATURE_CONTENT_TRANSITIONS)) { in setContentView()
592 if (hasFeature(FEATURE_CONTENT_TRANSITIONS)) { in addContentView()
2434 if (subMenu == null && hasFeature(FEATURE_ACTION_BAR)) { in onOpenSubMenu()
2954 if (hasFeature(FEATURE_ACTIVITY_TRANSITIONS)) {
DDecorView.java1765 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus in onWindowFocusChanged()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DApexManagerTest.java109 public boolean hasFeature(String feature) { in setUp()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp2605 bool hasFeature = false; in connectFormatShaper() local
2606 binder::Status status = packageMgr->hasSystemFeature(required, 0, &hasFeature); in connectFormatShaper()
2612 ALOGV("feature %s says %d", String8(required).c_str(), hasFeature); in connectFormatShaper()
2613 if (!hasFeature) { in connectFormatShaper()
2628 bool hasFeature = false; in connectFormatShaper() local
2629 binder::Status status = packageMgr->hasSystemFeature(forbidden, 0, &hasFeature); in connectFormatShaper()
2635 ALOGV("feature %s says %d", String8(forbidden).c_str(), hasFeature); in connectFormatShaper()
2636 if (hasFeature) { in connectFormatShaper()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java1459 if (!mCallback.hasFeature(requiredFeatures.valueAt(i))) {
1467 if (mCallback.hasFeature(requiredNotFeatures.valueAt(i))) {
2079 pkg.setPersistent(requiredFeature == null || mCallback.hasFeature(requiredFeature));
3474 boolean hasFeature(String feature);
/frameworks/base/core/java/android/view/
DWindow.java2155 public boolean hasFeature(int feature) { in hasFeature() method in Window
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java172 boolean overlayMode = mActivity.getWindow().hasFeature(Window.FEATURE_ACTION_BAR_OVERLAY); in WindowDecorActionBar()
/frameworks/base/tools/aapt/
DCommand.cpp531 static bool hasFeature(const char* name, const FeatureGroup& grp, in hasFeature() function
2183 if (!hasFeature("android.hardware.touchscreen", commonFeatures, impliedFeatures)) { in doDump()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3716 final boolean hasFeature = mInterface.hasSystemFeature(featureName, version); in runHasFeature()
3717 getOutPrintWriter().println(hasFeature); in runHasFeature()
3718 return hasFeature ? 0 : 1; in runHasFeature()
DPackageManagerService.java2018 public boolean hasFeature(String feature) { in PackageManagerService()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java867 public boolean hasFeature(String feature) { in CachePackageNameParser()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java612 boolean hasFeature(String feature); in hasFeature() method
626 @Override public boolean hasFeature(String feature) { in hasFeature() method in PackageParser.CallbackImpl
2878 … if (requiredFeature != null && mCallback != null && !mCallback.hasFeature(requiredFeature)) { in parseUsesPermission()
2884 && mCallback.hasFeature(requiredNotfeature)) { in parseUsesPermission()
3507 if (requiredFeature == null || mCallback.hasFeature(requiredFeature)) { in parseBaseApplication()
DPackageManager.java8820 public boolean hasFeature(String feature) { in getPackageArchiveInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1298 boolean hasFeature = pm.hasSystemFeature(feature); in validateFeatureFlags()
1301 if (hasFeature && !hasService) { in validateFeatureFlags()
1305 if (!hasFeature && hasService) { in validateFeatureFlags()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1670 public boolean hasFeature() { in hasFeature() method in Injector
2096 mHasFeature = mInjector.hasFeature(); in DevicePolicyManagerService()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34472 method public boolean hasFeature(int);
57868 method public abstract boolean hasFeature(java.lang.String, java.lang.String);

12