HomeSort by relevance Sort by last modified time
    Searched defs:hasCapability (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/base/tests/net/java/android/net/
NetworkCapabilitiesTest.java 81 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
88 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
93 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
101 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
107 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
114 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
119 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
127 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
133 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
277 assertFalse(nc.hasCapability(NET_CAPABILITY_OEM_PAID))
    [all...]
ConnectivityManagerTest.java 89 assertTrue(nc.hasCapability(capability));
113 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET));
114 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED));
162 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET));
174 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET));
191 assertFalse(nc.hasCapability(NET_CAPABILITY_INTERNET));
  /frameworks/base/core/java/android/net/
NetworkRequest.java 431 public boolean hasCapability(@NetCapability int capability) {
432 return networkCapabilities.hasCapability(capability);
NetworkCapabilities.java 482 public boolean hasCapability(@NetCapability int capability) {
    [all...]
  /hardware/interfaces/graphics/composer/2.1/utils/vts/
ComposerVts.cpp 49 bool Composer::hasCapability(IComposer::Capability capability) const {
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
ImapConnection.java 172 if (hasCapability(ImapConstants.CAPABILITY_STARTTLS)) {
306 private boolean hasCapability(String capability) {
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 398 boolean hasManualControl = hasCapability(capabilities,
432 private boolean hasCapability(int[] capabilities, int capability) {
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 398 boolean hasManualControl = hasCapability(capabilities,
432 private boolean hasCapability(int[] capabilities, int capability) {
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
HdrViewfinderActivity.java 399 boolean hasManualControl = hasCapability(capabilities,
435 private boolean hasCapability(int[] capabilities, int capability) {
  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWComposer.cpp 99 bool HWComposer::hasCapability(HWC2::Capability capability) const
  /frameworks/native/services/surfaceflinger/tests/fakehwc/
FakeComposerClient.cpp 158 bool FakeComposerClient::hasCapability(hwc2_capability_t /*capability*/) {
  /frameworks/native/services/vr/hardware_composer/impl/
vr_hwc.cpp 251 bool VrHwc::hasCapability(hwc2_capability_t /* capability */) { return false; }
  /frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
CameraOps.java 120 boolean hasManualControl = hasCapability(capabilities,
175 private boolean hasCapability(int[] capabilities, int capability) {
  /frameworks/base/tests/net/java/com/android/server/connectivity/
VpnTest.java 466 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_METERED));
467 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING));
468 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED));
476 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_METERED));
477 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING));
478 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED));
486 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_METERED));
487 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING));
488 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED));
496 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_METERED))
    [all...]
  /frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
CameraOps.java 115 boolean hasManualControl = hasCapability(capabilities,
189 private boolean hasCapability(int[] capabilities, int capability) {
  /device/generic/goldfish/camera/
EmulatedFakeCamera3.cpp 423 if (!hasCapability(BACKWARD_COMPATIBLE) && type != CAMERA3_TEMPLATE_PREVIEW) {
455 if (hasCapability(BACKWARD_COMPATIBLE)) {
475 if (hasCapability(MANUAL_SENSOR)) {
490 if (hasCapability(BACKWARD_COMPATIBLE)) {
502 if (hasCapability(MANUAL_POST_PROCESSING)) {
549 if (hasCapability(MANUAL_POST_PROCESSING)) {
565 if (hasCapability(MANUAL_POST_PROCESSING)) {
576 if (hasCapability(BACKWARD_COMPATIBLE)) {
584 if (hasCapability(BACKWARD_COMPATIBLE)) {
613 if (hasCapability(BACKWARD_COMPATIBLE))
    [all...]
EmulatedQemuCamera3.cpp 454 if (!hasCapability(BACKWARD_COMPATIBLE) && type != CAMERA3_TEMPLATE_PREVIEW) {
486 if (hasCapability(BACKWARD_COMPATIBLE)) {
506 if (hasCapability(BACKWARD_COMPATIBLE)) {
518 if (hasCapability(BACKWARD_COMPATIBLE)) {
526 if (hasCapability(BACKWARD_COMPATIBLE)) {
554 if (hasCapability(BACKWARD_COMPATIBLE)) {
606 if (hasCapability(BACKWARD_COMPATIBLE)) {
    [all...]
  /device/google/cuttlefish_common/guest/hals/camera/
EmulatedFakeCamera3.cpp 386 if (!hasCapability(BACKWARD_COMPATIBLE) && type != CAMERA3_TEMPLATE_PREVIEW) {
418 if (hasCapability(BACKWARD_COMPATIBLE)) {
438 if (hasCapability(MANUAL_SENSOR)) {
453 if (hasCapability(BACKWARD_COMPATIBLE)) {
465 if (hasCapability(MANUAL_POST_PROCESSING)) {
512 if (hasCapability(MANUAL_POST_PROCESSING)) {
523 if (hasCapability(MANUAL_POST_PROCESSING)) {
531 if (hasCapability(BACKWARD_COMPATIBLE)) {
537 if (hasCapability(BACKWARD_COMPATIBLE)) {
563 if (hasCapability(BACKWARD_COMPATIBLE))
    [all...]
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
SPIRVModule.cpp 92 bool hasCapability(SPIRVCapabilityKind Cap) const {
454 if (hasCapability(Cap))
463 if (hasCapability(Cap))
    [all...]
  /frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
UpstreamNetworkMonitorTest.java 305 assertFalse(netReq.networkCapabilities.hasCapability(NET_CAPABILITY_DUN));
333 assertTrue(netReq.networkCapabilities.hasCapability(NET_CAPABILITY_DUN));
477 if (req.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) {
  /frameworks/base/services/core/java/com/android/server/location/
GnssLocationProvider.java     [all...]
  /frameworks/base/tests/net/java/com/android/server/
ConnectivityServiceTest.java 513 assertFalse(mNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET));
527 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) {
    [all...]
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 

Completed in 447 milliseconds

1 2