Home
last modified time | relevance | path

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

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManagerTest.java161 public void hasSystemFeature() throws Exception { in hasSystemFeature() method in RobolectricPackageManagerTest
163 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(false)); in hasSystemFeature()
167 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(true)); in hasSystemFeature()
171 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(false)); in hasSystemFeature()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java154 return context.getPackageManager().hasSystemFeature( in hasEarpiece()
161 context.getPackageManager().hasSystemFeature( in isLowLatencyOutputSupported()
/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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidMultiTouchHandler.java148 return activity.getPackageManager().hasSystemFeature("android.hardware.touchscreen.multitouch"); in supportsMultitouch()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCAudioManager.java289 return apprtcContext.getPackageManager().hasSystemFeature( in hasEarpiece()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java177 public boolean hasSystemFeature(String name) { in hasSystemFeature() method in RobolectricPackageManager
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java136 @Override public boolean hasSystemFeature(String name) { in hasSystemFeature() method in StubPackageManager