/cts/apps/CameraITS/pymodules/its/ |
caps.py | 40 def full_or_better(props): 44 props: Camera properties object. 49 return props.has_key("android.info.supportedHardwareLevel") and \ 50 props["android.info.supportedHardwareLevel"] != 2 and \ 51 props["android.info.supportedHardwareLevel"] >= 1 53 def level3(props): 57 props: Camera properties object. 62 return props.has_key("android.info.supportedHardwareLevel") and \ 63 props["android.info.supportedHardwareLevel"] == 3 65 def full(props) [all...] |
objects.py | 74 sensitivity, exp_time, f_distance = 0.0, linear_tonemap=False, props=None): 87 props: [Optional] the object returned from 114 assert(props is not None) 116 if 0 in props["android.tonemap.availableToneMapModes"]: 123 elif 3 in props["android.tonemap.availableToneMapModes"]: 144 def fastest_auto_capture_request(props): 148 props: the object returned from its.device.get_camera_properties(). 155 turn_slow_filters_off(props, req) 159 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None): 165 props: the object returned from its.device.get_camera_properties() [all...] |
/external/lzma/C/ |
LzmaLib.c | 20 CLzmaEncProps props;
local 21 LzmaEncProps_Init(&props);
22 props.level = level;
23 props.dictSize = dictSize;
24 props.lc = lc;
25 props.lp = lp;
26 props.pb = pb;
27 props.fb = fb;
28 props.numThreads = numThreads;
30 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0, [all...] |
/external/icu/icu4c/source/samples/props/ |
Makefile | 15 TARGET=props 18 OBJECTS=props.o
|
/external/xz-java/src/org/tukaani/xz/ |
LZMA2Decoder.java | 17 LZMA2Decoder(byte[] props) throws UnsupportedOptionsException { 20 if (props.length != 1 || (props[0] & 0xFF) > 37) 24 dictSize = 2 | (props[0] & 1); 25 dictSize <<= (props[0] >>> 1) + 11;
|
DeltaDecoder.java | 17 DeltaDecoder(byte[] props) throws UnsupportedOptionsException { 18 if (props.length != 1) 22 distance = (props[0] & 0xFF) + 1;
|
BCJEncoder.java | 15 private final byte[] props; field in class:BCJEncoder 22 props = new byte[0]; 24 props = new byte[4]; 26 props[i] = (byte)(startOffset >>> (i * 8)); 38 return props;
|
DeltaEncoder.java | 14 private final byte[] props = new byte[1]; field in class:DeltaEncoder 17 props[0] = (byte)(options.getDistance() - 1); 26 return props;
|
LZMA2Encoder.java | 16 private final byte[] props = new byte[1]; field in class:LZMA2Encoder 24 props[0] = (byte)0; 28 props[0] = (byte)(LZMAEncoder.getDistSlot(d - 1) - 23); 40 return props;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 45 * @param props the list of properties that will be searched. 49 public static boolean getBooleanProperty(String key, Properties props) 52 String s = props.getProperty(key); 68 * @param props the list of properties that will be searched. 72 public static int getIntProperty(String key, Properties props) 75 String s = props.getProperty(key);
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
context.cpp | 27 context::context(const property_list &props, 30 notify(notify), props(props), devs(devs) { 45 return props;
|
/device/google/bonito/health/ |
BatteryInfoUpdate.cpp | 31 void BatteryInfoUpdate::update(struct android::BatteryProperties *props) { 32 if (props->batteryStatus == android::BATTERY_STATUS_NOT_CHARGING) 33 props->batteryStatus = android::BATTERY_STATUS_DISCHARGING;
|
BatteryRechargingControl.cpp | 75 void BatteryRechargingControl::updateBatteryProperties(struct android::BatteryProperties *props) { 86 props->batteryStatus = getBatteryStatus(charger_status.c_str()); 88 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) 92 << " batteryLevel: " << props->batteryLevel; 98 if (props->batteryLevel != kFullSoc) { 103 props->batteryLevel = kFullSoc; 108 props->batteryLevel = RemapSOC(props->batteryLevel); 114 props->batteryLevel = kFullSoc; 119 recharge_soc_ = props->batteryLevel [all...] |
/external/skia/src/core/ |
SkSurfacePriv.h | 15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { 16 if (props) { 17 return *props;
|
/external/skqp/src/core/ |
SkSurfacePriv.h | 15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { 16 if (props) { 17 return *props;
|
/cts/apps/CameraITS/tests/scene0/ |
test_metadata.py | 28 global md, props, failed 33 props = cam.get_camera_properties() 34 props = cam.override_with_hidden_physical_camera_props(props) 35 its.caps.skip_unless(its.caps.backward_compatible(props)) 41 print " Legacy:", its.caps.legacy(props) 42 print " Limited:", its.caps.limited(props) 43 print " Full or better:", its.caps.full_or_better(props) 45 print " Manual sensor:", its.caps.manual_sensor(props) 46 print " Manual post-proc:", its.caps.manual_post_proc(props) [all...] |
test_burst_capture.py | 33 props = cam.get_camera_properties() 34 props = cam.override_with_hidden_physical_camera_props(props) 35 its.caps.skip_unless(its.caps.backward_compatible(props)) 40 img = its.image.convert_capture_to_rgb_image(cap, props=props)
|
test_test_patterns.py | 34 def check_solid_color(cap, props): 39 props: capture properties 44 r, gr, gb, b = its.image.convert_capture_to_planes(cap, props) 53 white_level = int(props['android.sensor.info.whiteLevel']) 59 def check_color_bars(cap, props, mirror=False): 66 props: capture properties 75 img = its.image.convert_capture_to_rgb_image(cap, props=props) 89 def check_pattern(cap, props, pattern): 94 props: capture propertie [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-dbus-new-getall.py | 12 props = wpas_obj.GetAll("fi.w1.wpa_supplicant1", 15 print(props) 25 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface", 29 print(props) 31 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface.WPS", 35 print(props) 41 props = bss_obj.GetAll("fi.w1.wpa_supplicant1.BSS", 45 print(props) 51 props = net_obj.GetAll("fi.w1.wpa_supplicant1.Network", 55 print(props) [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
BenchCon.h | 12 const CObjectVector<CProperty> &props, UInt32 numIterations, FILE *f);
|
/device/google/crosshatch/health/ |
BatteryRechargingControl.cpp | 76 void BatteryRechargingControl::updateBatteryProperties(struct android::BatteryProperties *props) { 87 props->batteryStatus = getBatteryStatus(charger_status.c_str()); 89 if ((state_ == INACTIVE) && (props->batteryLevel < kFullSoc)) 93 << " batteryLevel: " << props->batteryLevel; 101 props->batteryLevel = kFullSoc; 106 props->batteryLevel = RemapSOC(props->batteryLevel); 112 props->batteryLevel = kFullSoc; 117 recharge_soc_ = props->batteryLevel; 118 props->batteryLevel = kFullSoc [all...] |
/external/icu/icu4c/source/common/ |
uchar.cpp | 50 uint32_t props; local 51 GET_PROPS(c, props); 52 return (int8_t)GET_CATEGORY(props); 91 uint32_t props; local 92 GET_PROPS(c, props); 93 return (UBool)(GET_CATEGORY(props)==U_LOWERCASE_LETTER); 99 uint32_t props; local 100 GET_PROPS(c, props); 101 return (UBool)(GET_CATEGORY(props)==U_UPPERCASE_LETTER); 107 uint32_t props; local 115 uint32_t props; local 122 uint32_t props; local 139 uint32_t props; local 152 uint32_t props; local 169 uint32_t props; local 177 uint32_t props; local 185 uint32_t props; local 206 uint32_t props; local 213 uint32_t props; local 221 uint32_t props; local 236 uint32_t props; local 250 uint32_t props; local 263 uint32_t props; local 274 uint32_t props; local 291 uint32_t props; local 302 uint32_t props; local 311 uint32_t props; local 320 uint32_t props; local 337 uint32_t props; local 346 uint32_t props; local 356 uint32_t props; local 370 uint32_t props; local 383 uint32_t props; local 513 uint32_t props; local [all...] |
/external/autotest/client/cros/cellular/pseudomodem/ |
sms.py | 83 props = {} 84 props['State'] = dbus.types.UInt32(mm1_constants.MM_SMS_STATE_UNKNOWN) 85 props['PduType'] = dbus.types.UInt32( 87 props['Number'] = self._sender_number 89 props['Text'] = self._content 90 props['SMSC'] = self._props_template.get('SMSC', '1231212') 91 props['Validity'] = self._props_template.get('Validity', 97 props['Class'] = self._props_template.get('Class', dbus.types.Int32(-1)) 98 props['DeliveryReportRequest'] = self._props_template.get( 101 props['Storage'] = self._props_template.get [all...] |
/cts/apps/CameraITS/tests/scene1/ |
test_yuv_plus_raw.py | 31 props = cam.get_camera_properties() 32 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 33 its.caps.raw16(props) and 34 its.caps.per_frame_control(props) and 35 not its.caps.mono_camera(props)) 40 req = its.objects.manual_capture_request(s, e, 0.0, True, props) 45 max_raw_size = its.objects.get_available_output_sizes("raw", props)[0] 47 "yuv", props, (1920, 1080), max_raw_size)[0] 59 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props) [all...] |
test_yuv_plus_raw10.py | 31 props = cam.get_camera_properties() 32 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 33 its.caps.raw10(props) and 34 its.caps.per_frame_control(props) and 35 not its.caps.mono_camera(props)) 40 req = its.objects.manual_capture_request(s, e, 0.0, True, props) 46 props)[0] 48 "yuv", props, (1920, 1080), max_raw10_size)[0] 60 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props) [all...] |