Home
last modified time | relevance | path

Searched refs:hasSystemFeature (Results 1 – 13 of 13) 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/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSettingsFragment.java50 getContext().getPackageManager().hasSystemFeature("android.software.midi"); in onCreatePreferences()
DMidiFragment.java144 hasSystemFeature("android.software.midi"); in hasMidi()
/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
/external/autotest/server/cros/tradefed_test_unittest_data/
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/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiAwareManagerFacade.java333 return mService.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_AWARE); in doesDeviceSupportWifiAwareFeature()