Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_capabilities.c91 ipp_capabilities_t *caps = (ipp_capabilities_t *) malloc(sizeof(ipp_capabilities_t)); in ipp_status_get_capabilities_ifc() local
92 if (caps == NULL) { in ipp_status_get_capabilities_ifc()
96 memset(caps, 0, sizeof(ipp_capabilities_t)); in ipp_status_get_capabilities_ifc()
97 caps->http = NULL; in ipp_status_get_capabilities_ifc()
99 memcpy(&caps->ifc, &_capabilities_ifc, sizeof(ifc_printer_capabilities_t)); in ipp_status_get_capabilities_ifc()
100 return &caps->ifc; in ipp_status_get_capabilities_ifc()
106 ipp_capabilities_t *caps; in _init() local
111 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _init()
113 if (caps->http != NULL) { in _init()
115 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/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/Email/provider_src/com/android/email/provider/
DEmailProvider.java3314 int caps = 0; in getFolderCapabilities() local
3316 caps = UIProvider.FolderCapabilities.DELETE; in getFolderCapabilities()
3320 caps |= UIProvider.FolderCapabilities.SUPPORTS_SETTINGS; in getFolderCapabilities()
3326 caps |= UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES; in getFolderCapabilities()
3327 caps |= UIProvider.FolderCapabilities.ALLOWS_REMOVE_CONVERSATION; in getFolderCapabilities()
3332 caps = UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES | in getFolderCapabilities()
3338 caps |= UIProvider.FolderCapabilities.IS_VIRTUAL; in getFolderCapabilities()
3344 caps &= ~UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES & in getFolderCapabilities()
3352 caps |= UIProvider.FolderCapabilities.SHOW_RECIPIENTS; in getFolderCapabilities()
3355 return caps; in getFolderCapabilities()
/packages/apps/TV/jni/
DDvbManager.cpp187 if (!(feInfo.caps & FE_CAN_INVERSION_AUTO)) { in tune()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Dro_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Den_wordlist.combined.gz
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, ...