/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/services/java/com/android/server/ |
D | SystemServer.java | 501 } else if (!context.getPackageManager().hasSystemFeature in startOtherServices() 680 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET)) { in startOtherServices() 818 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_USB_HOST) in startOtherServices() 819 || mPackageManager.hasSystemFeature( in startOtherServices() 842 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_BACKUP)) { in startOtherServices() 846 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_APP_WIDGETS)) { in startOtherServices() 850 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_VOICE_RECOGNIZERS)) { in startOtherServices() 917 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_PRINTING)) { in startOtherServices() 925 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_HDMI_CEC)) { in startOtherServices() 929 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_LIVE_TV)) { in startOtherServices()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 151 boolean isleanback = !mPackageManager.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN) in launchActivity() 152 && !mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in launchActivity()
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/ |
D | hardware.jd | 174 …末でハードウェア機能が使用できない場合を判別できます。{@link android.content.pm.PackageManager#hasSystemFeature(String)} メソッド… 181 if (getPackageManager().hasSystemFeature("android.hardware.telephony")) { 186 if (getPackageManager().hasSystemFeature("android.hardware.touchscreen")) { 219 if (getPackageManager().hasSystemFeature("android.hardware.camera")) {
|
/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 | 177 mTelevision = context.getPackageManager().hasSystemFeature( in onStart() 179 context.getPackageManager().hasSystemFeature( in onStart() 181 mWatch = context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | index.jd | 48 {@link android.content.pm.PackageManager#hasSystemFeature hasSystemFeature()}
|
/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)}.
|
D | photobasics.jd | 75 android.content.pm.PackageManager#hasSystemFeature hasSystemFeature(PackageManager.FEATURE_CAMERA)}.
|
/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()
|
D | ApplicationPackageManager.java | 381 public boolean hasSystemFeature(String name) { in hasSystemFeature() method in ApplicationPackageManager 383 return mPM.hasSystemFeature(name); in hasSystemFeature()
|
/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/tv/start/ |
D | hardware.jd | 256 your app is running. Use the {@link android.content.pm.PackageManager#hasSystemFeature(String)} 266 if (getPackageManager().hasSystemFeature("android.hardware.telephony")) { 271 if (getPackageManager().hasSystemFeature("android.hardware.touchscreen")) { 316 if (getPackageManager().hasSystemFeature("android.hardware.camera")) {
|
/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/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 99 if (pm.hasSystemFeature(PackageManager.FEATURE_USB_HOST)) { in UsbService()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | CardEmulation.java | 159 if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC_HOST_CARD_EMULATION)) { in getInstance()
|
/frameworks/base/docs/html/guide/practices/ |
D | compatibility.jd | 149 {@link android.content.pm.PackageManager#hasSystemFeature hasSystemFeature()} like this:</p> 153 if (!pm.hasSystemFeature(PackageManager.FEATURE_SENSOR_COMPASS)) {
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 385 boolean hasSystemFeature(String name); in hasSystemFeature() method
|
D | PackageManager.java | 2364 public abstract boolean hasSystemFeature(String name); in hasSystemFeature() method in PackageManager
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth-le.jd | 176 {@link android.content.pm.PackageManager#hasSystemFeature PackageManager.hasSystemFeature()}: 180 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)) {
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 416 return pm.hasSystemFeature(PackageManager.FEATURE_NFC); in hasNfcFeature()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 249 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in isPhoneVisible()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 634 public boolean hasSystemFeature(String name) { in hasSystemFeature() method in MockPackageManager
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.3.jd | 113 <code>context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_NFC)</code>
|