/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
D | PipUI.java | 36 mSupportPip = pm.hasSystemFeature(FEATURE_PICTURE_IN_PICTURE) in start() 37 && pm.hasSystemFeature(FEATURE_LEANBACK); in start()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 634 } else if (!context.getPackageManager().hasSystemFeature in startOtherServices() 821 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_NAN)) { in startOtherServices() 835 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET) || in startOtherServices() 836 mPackageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST)) { in startOtherServices() 945 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in startOtherServices() 961 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_MIDI)) { in startOtherServices() 966 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST) in startOtherServices() 967 || mPackageManager.hasSystemFeature( in startOtherServices() 1006 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_BACKUP)) { in startOtherServices() 1010 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_APP_WIDGETS) in startOtherServices() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 59 return pm.hasSystemFeature(PackageManager.FEATURE_SENSOR_ACCELEROMETER) in isRotationSupported() 60 && pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT) in isRotationSupported() 61 && pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_LANDSCAPE) in isRotationSupported()
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/ |
D | hardware.jd | 178 …末でハードウェア機能が使用できない場合を判別できます。{@link android.content.pm.PackageManager#hasSystemFeature(String)} メソッド… 185 if (getPackageManager().hasSystemFeature("android.hardware.telephony")) { 190 if (getPackageManager().hasSystemFeature("android.hardware.touchscreen")) { 223 if (getPackageManager().hasSystemFeature("android.hardware.camera")) {
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | NfcCommand.java | 61 if (pm.hasSystemFeature(PackageManager.FEATURE_NFC, 0)) { in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 96 when(mContext.packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp() 179 when(mContext.packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in testHasNoFeature() 1942 when(mContext.packageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in testIsProvisioningAllowed_DeviceAdminFeatureOff() 1944 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_DeviceAdminFeatureOff() 1962 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_ManagedProfileFeatureOff() 1988 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_nonSplitUser_firstBoot_primaryUser() 2007 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_nonSplitUser_afterDeviceSetup_primaryUser() 2026 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_splitUser_firstBoot_systemUser() 2046 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_splitUser_afterDeviceSetup_systemUser() 2066 when(mContext.ipackageManager.hasSystemFeature(PackageManager.FEATURE_MANAGED_USERS, 0)) in testIsProvisioningAllowed_splitUser_firstBoot_primaryUser() [all …]
|
D | DevicePolicyManagerServiceMigrationTest.java | 53 when(mContext.packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 49 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CONSUMER_IR)) { in ConsumerIrService()
|
D | UiModeManagerService.java | 191 mTelevision = pm.hasSystemFeature(PackageManager.FEATURE_TELEVISION) in onStart() 192 || pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK); in onStart() 193 mWatch = pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipManager.java | 148 return context.getPackageManager().hasSystemFeature( in isApiSupported() 156 return context.getPackageManager().hasSystemFeature( in isVoipSupported()
|
/frameworks/base/docs/html/training/camera/ |
D | videobasics.jd | 69 android.content.pm.PackageManager#hasSystemFeature hasSystemFeature(PackageManager.FEATURE_CAMERA)}.
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | MtpNotificationManager.java | 127 return !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in shouldShowNotification()
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | index.jd | 44 {@link android.content.pm.PackageManager#hasSystemFeature hasSystemFeature()}
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 344 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate() 362 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
|
/frameworks/base/docs/html/training/beam-files/ |
D | send-files.jd | 148 supports NFC by calling {@link android.content.pm.PackageManager#hasSystemFeature 149 PackageManager.hasSystemFeature()} with the argument 167 if (!PackageManager.hasSystemFeature(PackageManager.FEATURE_NFC)) {
|
/frameworks/base/docs/html/training/wearables/ |
D | wearable-sounds.jd | 41 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_AUDIO_OUTPUT)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanServiceImpl.java | 57 .hasSystemFeature(PackageManager.FEATURE_WIFI_NAN); in WifiNanServiceImpl()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 325 public boolean hasSystemFeature(String name) { in hasSystemFeature() method in BridgePackageManager 330 public boolean hasSystemFeature(String name, int version) { in hasSystemFeature() method in BridgePackageManager
|
/frameworks/base/docs/html/training/tv/start/ |
D | hardware.jd | 254 your app is running. Use the {@link android.content.pm.PackageManager#hasSystemFeature(String)} 264 if (getPackageManager().hasSystemFeature("android.hardware.telephony")) { 269 if (getPackageManager().hasSystemFeature("android.hardware.touchscreen")) { 314 if (getPackageManager().hasSystemFeature("android.hardware.camera")) {
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | NfcFCardEmulation.java | 80 if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC_HOST_CARD_EMULATION_NFCF, 0)) { in getInstance()
|
D | CardEmulation.java | 159 if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC_HOST_CARD_EMULATION, 0)) { in getInstance()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 841 public boolean hasSystemFeature(String name) { in hasSystemFeature() method in MockPackageManager 846 public boolean hasSystemFeature(String name, int version) { in hasSystemFeature() method in MockPackageManager
|
/frameworks/base/docs/html/training/articles/ |
D | wear-location-detection.jd | 221 {@link android.content.pm.PackageManager#hasSystemFeature hasSystemFeature()} 241 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS);
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubService.java | 96 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_VR_MODE)) { in ContextHubService()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | BasePrintTest.java | 361 .hasSystemFeature(PackageManager.FEATURE_PRINTING); in supportsPrinting()
|