Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_capabilities.c92 ipp_capabilities_t *caps = (ipp_capabilities_t *) malloc(sizeof(ipp_capabilities_t)); in ipp_status_get_capabilities_ifc() local
93 if (caps == NULL) { in ipp_status_get_capabilities_ifc()
97 memset(caps, 0, sizeof(ipp_capabilities_t)); in ipp_status_get_capabilities_ifc()
98 caps->http = NULL; in ipp_status_get_capabilities_ifc()
100 memcpy(&caps->ifc, &_capabilities_ifc, sizeof(ifc_printer_capabilities_t)); in ipp_status_get_capabilities_ifc()
101 return &caps->ifc; in ipp_status_get_capabilities_ifc()
107 ipp_capabilities_t *caps; in _init() local
112 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _init()
114 if (caps->http != NULL) { in _init()
116 httpClose(caps->http); in _init()
[all …]
/packages/services/Car/evs/sampleDriver/
DVideoCapture.cpp45 v4l2_capability caps; in open() local
47 int result = ioctl(mDeviceFd, VIDIOC_QUERYCAP, &caps); in open()
56 ALOGI(" Driver: %s", caps.driver); in open()
57 ALOGI(" Card: %s", caps.card); in open()
59 (caps.version >> 16) & 0xFF, in open()
60 (caps.version >> 8) & 0xFF, in open()
61 (caps.version) & 0xFF); in open()
62 ALOGI(" All Caps: %08X", caps.capabilities); in open()
63 ALOGI(" Dev Caps: %08X", caps.device_caps); in open()
85 if (!(caps.capabilities & V4L2_CAP_VIDEO_CAPTURE) || in open()
[all …]
DEvsEnumerator.cpp351 v4l2_capability caps; in qualifyCaptureDevice() local
352 int result = ioctl(fd, VIDIOC_QUERYCAP, &caps); in qualifyCaptureDevice()
356 if (((caps.capabilities & V4L2_CAP_VIDEO_CAPTURE) == 0) || in qualifyCaptureDevice()
357 ((caps.capabilities & V4L2_CAP_STREAMING) == 0)) { in qualifyCaptureDevice()
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java48 UserCapabilities caps = new UserCapabilities(); in create() local
51 caps.mEnabled = false; in create()
52 return caps; in create()
56 caps.mIsGuest = myUserInfo.isGuest(); in create()
57 caps.mIsAdmin = myUserInfo.isAdmin(); in create()
62 caps.mCanAddRestrictedProfile = false; in create()
64 caps.updateAddUserCapabilities(context); in create()
65 return caps; in create()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserCapabilities.java48 UserCapabilities caps = new UserCapabilities(); in create() local
51 caps.mEnabled = false; in create()
52 return caps; in create()
56 caps.mIsGuest = myUserInfo.isGuest(); in create()
57 caps.mIsAdmin = myUserInfo.isAdmin(); in create()
62 caps.mCanAddRestrictedProfile = false; in create()
64 caps.updateAddUserCapabilities(context); in create()
65 return caps; in create()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTestableNetworkCallbackTest.kt145 cb is CapabilitiesChanged && cb.caps.hasTransport(WIFI) in <lambda>()
164 mCallback.expectCapabilitiesThat(net) { caps -> in <lambda>() method
165 caps.hasCapability(NOT_METERED) && in <lambda>()
166 caps.hasTransport(WIFI) && in <lambda>()
167 !caps.hasTransport(CELLULAR) in <lambda>()
170 assertFails { mCallback.expectCapabilitiesThat(net, SHORT_TIMEOUT_MS) { caps -> in <lambda>() method
171 caps.hasTransport(CELLULAR) in <lambda>()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java274 final int caps = (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS in getCapsMode() local
289 return caps; in getCapsMode()
298 return caps; in getCapsMode()
305 return caps; in getCapsMode()
328 return (START == state || LETTER == state) ? noCaps : caps; in getCapsMode()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java111 final NetworkCapabilities caps = new NetworkCapabilities(); in getNetworkCapabilities() local
112 caps.setCapability(NET_CAPABILITY_NOT_METERED, !mIsMetered); in getNetworkCapabilities()
113 caps.setCapability(NET_CAPABILITY_NOT_ROAMING, !mIsRoaming); in getNetworkCapabilities()
114 return caps; in getNetworkCapabilities()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c1187 printer_capabilities_t caps; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities() local
1200 result = wprintGetCapabilities(&connect_info, &caps); in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1212 if (caps.isSupported && (caps.ippVersionMajor < 1)) { in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1213 caps.isSupported = 0; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1215 _convertPrinterCaps_to_Java(env, printerCaps, &caps); in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1244 printer_capabilities_t caps; in Java_com_android_bips_ipp_Backend_nativeGetFinalJobParameters() local
1247 _convertPrinterCaps_to_C(env, printerCaps, &caps); in Java_com_android_bips_ipp_Backend_nativeGetFinalJobParameters()
1251 result = wprintGetFinalJobParams(&params, &caps); in Java_com_android_bips_ipp_Backend_nativeGetFinalJobParameters()
1288 printer_capabilities_t caps; in Java_com_android_bips_ipp_Backend_nativeStartJob() local
1291 _convertPrinterCaps_to_C(env, printerCaps, &caps); in Java_com_android_bips_ipp_Backend_nativeStartJob()
[all …]
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsCallingActivity.java183 SparseArray<MmTelFeature.MmTelCapabilities> caps = in mmTelCapabilityChanged() local
187 sb.append(caps.get(ImsRegistrationImplBase.REGISTRATION_TECH_LTE)); in mmTelCapabilityChanged()
190 sb.append(caps.get(ImsRegistrationImplBase.REGISTRATION_TECH_IWLAN)); in mmTelCapabilityChanged()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInfoCache.java153 … int[] caps = mCameraCharacteristics.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in isCapabilitySupported() local
154 for (int c: caps) { in isCapabilitySupported()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java320 String caps = ""; in getCapabilitiesString() local
322 caps += sCapabilityNames.get(capability, ""); in getCapabilitiesString()
324 return caps; in getCapabilitiesString()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java721 final NetworkCapabilities caps = mSystemFacade.getNetworkCapabilities(mNetwork); in checkConnectivity() local
725 if (!caps.hasCapability(NET_CAPABILITY_NOT_ROAMING) in checkConnectivity()
729 if (!caps.hasCapability(NET_CAPABILITY_NOT_METERED) in checkConnectivity()
/packages/apps/TV/jni/
DDvbManager.cpp229 if (!(feInfo.caps & FE_CAN_INVERSION_AUTO)) { in tuneInternal()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...