Home
last modified time | relevance | path

Searched refs:hasSystemFeature (Results 1 – 22 of 22) sorted by relevance

/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DDeviceReportActivity.java145 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_PRO)); in reportExtraDeviceInfo()
147 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_LOW_LATENCY)); in reportExtraDeviceInfo()
149 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_MIDI)); in reportExtraDeviceInfo()
151 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_USB_HOST)); in reportExtraDeviceInfo()
153 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_USB_ACCESSORY)); in reportExtraDeviceInfo()
DTapToToneActivity.java75 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_MIDI)) { in onCreate()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java243 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in hasEarpiece()
249 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isLowLatencyOutputSupported()
268 && ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isProAudioSupported()
DWebRtcAudioUtils.java381 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in hasMicrophone()
/external/libchrome/base/android/java/src/org/chromium/base/
DSysUtils.java150 boolean hasCamera = pm.hasSystemFeature(PackageManager.FEATURE_CAMERA); in hasCamera()
152 hasCamera |= pm.hasSystemFeature(PackageManager.FEATURE_CAMERA_ANY); in hasCamera()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp55 bool hasSystemFeature (ANativeActivity* activity, const char* name);
DtcuAndroidUtil.cpp393 bool hasSystemFeature (JNIEnv* env, jobject activity, const char* name) in hasSystemFeature() function
592 bool hasSystemFeature (ANativeActivity* activity, const char* name) in hasSystemFeature() function
596 return hasSystemFeature(env.getEnv(), activity->clazz, name); in hasSystemFeature()
610 const bool isWearDevice = hasSystemFeature(activity, "android.hardware.type.watch"); in getCDDRequiredSystemMemory()
/external/replicaisland/src/com/replica/replicaisland/
DMultiTouchFilter.java37 … mSupportsMultitouch = packageManager.hasSystemFeature("android.hardware.touchscreen.multitouch"); in supportsMultitouch()
/external/autotest/server/cros/tradefed/tradefed_utils_unittest_data/
DCtsAppTestCases_P_simplified.txt7 …ccessory fail: junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return…
DCtsAppTestCases-retry.txt34 …ameraFeatures, junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should NOT re…
57 …Features fail: junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should NOT re…
94 …tUsbAccessory, junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return…
116 …ccessory fail: junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return…
DCtsAppTestCases.txt1121 …ameraFeatures, junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should NOT re…
1144 …Features fail: junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should NOT re…
1208 …tUsbAccessory, junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return…
1230 …ccessory fail: junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should return…
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSettingsFragment.java52 getContext().getPackageManager().hasSystemFeature("android.software.midi"); in onCreatePreferences()
DMidiFragment.java145 hasSystemFeature("android.software.midi"); in hasMidi()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioManager.java59 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_LOW_LATENCY); in isLowLatencyOutputSupported()
DWebRtcAudioUtils.java308 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_MICROPHONE); in hasMicrophone()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiRtt2ManagerFacade.java87 return mService.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_RTT); in doesDeviceSupportWifiRttFeature()
DWifiAwareManagerFacade.java357 return mService.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_AWARE); in doesDeviceSupportWifiAwareFeature()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DGlUtil.java224 .hasSystemFeature(PackageManager.FEATURE_VR_MODE_HIGH_PERFORMANCE)) { in isProtectedContentExtensionSupported()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCAudioManager.java429 return apprtcContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in hasEarpiece()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java1310 public void hasSystemFeature() throws Exception { in hasSystemFeature() method in ShadowPackageManagerTest
1312 assertThat(packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)).isFalse(); in hasSystemFeature()
1316 assertThat(packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)).isTrue(); in hasSystemFeature()
1320 assertThat(packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)).isFalse(); in hasSystemFeature()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java214 protected boolean hasSystemFeature(String name) { in hasSystemFeature() method in ShadowApplicationPackageManager
1249 protected boolean hasSystemFeature(String name, int version) { in hasSystemFeature() method in ShadowApplicationPackageManager
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java2079 && context.getPackageManager().hasSystemFeature("com.sony.dtv.hardware.panel.qfhd")) { in getCurrentDisplayModeSize()