Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 189) sorted by relevance

12345678

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp57 const uint8_t* mine = get(); in operator ==()
58 const uint8_t* theirs = other.get(); in operator ==()
83 const uint8_t* data = blob.get(); in operator <<()
103 dev->delete_keypair(dev, get(), length()); in ~UniqueKey()
148 uint8_t* get() const { in get() function in android::UniqueReadOnlyBlob
417 ASSERT_FALSE(x509_blob.get() == NULL) in TEST_P()
420 const unsigned char *tmp = static_cast<const unsigned char*>(x509_blob.get()); in TEST_P()
424 ASSERT_EQ(EVP_PKEY_RSA, EVP_PKEY_type(actual.get()->type)) in TEST_P()
427 Unique_RSA rsa(EVP_PKEY_get1_RSA(actual.get())); in TEST_P()
428 ASSERT_FALSE(rsa.get() == NULL) in TEST_P()
[all …]
/hardware/ti/omap4-aah/camera/
DCameraHal.cpp188 if ( NULL != mAppCallbackNotifier.get() ) in setCallbacks()
358 if (strcmp (V4L_CAMERA_NAME_USB, mCameraProperties->get(CameraProperties::CAMERA_NAME)) == 0 ) { in setParameters()
370 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
375 mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS)); in setParameters()
380 if ((valstr = params.get(TICameraParameters::KEY_VNF)) != NULL) { in setParameters()
381 if (strcmp(mCameraProperties->get(CameraProperties::VNF_SUPPORTED), in setParameters()
394 if ((valstr = params.get(android::CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters()
397 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), in setParameters()
410 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL) { in setParameters()
418 const char *currentMode = mParameters.get(TICameraParameters::KEY_CAP_MODE); in setParameters()
[all …]
DSensorListener.cpp109 if (mSensorLooperThread.get()) { in ~SensorListener()
121 if (mLooper.get()) { in ~SensorListener()
149 if (mSensorLooperThread.get() == NULL) in initialize()
150 mSensorLooperThread = new SensorLooperThread(mLooper.get()); in initialize()
152 if (mSensorLooperThread.get() == NULL) { in initialize()
DANativeWindowDisplayAdapter.cpp138 if(mDisplayThread.get()) in ~ANativeWindowDisplayAdapter()
170 if ( !mDisplayThread.get() ) in initialize()
343 android::GraphicBufferMapper &mapper = android::GraphicBufferMapper::get(); in disableDisplay()
359 if ( NULL != mDisplayThread.get() ) in disableDisplay()
458 android::GraphicBufferMapper &mapper = android::GraphicBufferMapper::get(); in allocateBufferList()
630 if ( NULL != mErrorNotifier.get() ) { in allocateBufferList()
687 if ( NULL != mErrorNotifier.get() ) { in getOffsets()
771 android::GraphicBufferMapper &mapper = android::GraphicBufferMapper::get(); in returnBuffersToWindow()
897 if(mDisplayQ.get(&msg)!=NO_ERROR) in displayThread()
931 mDisplayThread->msgQ().get(&msg); in processHalMsg()
[all …]
/hardware/ti/omap4xxx/camera/
DCameraHal.cpp103 if ( NULL != mAppCallbackNotifier.get() ) in setCallbacks()
269 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
272 …CAMHAL_LOGEB("Invalid preview format.Supported: %s", mCameraProperties->get(CameraProperties::SUP… in setParameters()
278 valstr = params.get(TICameraParameters::KEY_VNF); in setParameters()
289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters()
292 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED), in setParameters()
307 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL) in setParameters()
313 if ((valstr = params.get(TICameraParameters::KEY_IPP)) != NULL) { in setParameters()
314 … if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) { in setParameters()
325 if((valstr = params.get(TICameraParameters::KEY_S3D2D_PREVIEW)) != NULL) in setParameters()
[all …]
DSensorListener.cpp111 if (mSensorLooperThread.get()) { in ~SensorListener()
123 if (mLooper.get()) { in ~SensorListener()
151 if (mSensorLooperThread.get() == NULL) in initialize()
152 mSensorLooperThread = new SensorLooperThread(mLooper.get()); in initialize()
154 if (mSensorLooperThread.get() == NULL) { in initialize()
DANativeWindowDisplayAdapter.cpp208 if(mDisplayThread.get()) in ~ANativeWindowDisplayAdapter()
240 if ( !mDisplayThread.get() ) in initialize()
419 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in disableDisplay()
434 if ( NULL != mDisplayThread.get() ) in disableDisplay()
532 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in allocateBuffer()
690 if ( NULL != mErrorNotifier.get() ) in allocateBuffer()
742 if ( NULL != mErrorNotifier.get() ) in getOffsets()
811 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in returnBuffersToWindow()
934 if(mDisplayQ.get(&msg)!=NO_ERROR) in displayThread()
968 mDisplayThread->msgQ().get(&msg); in processHalMsg()
[all …]
/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp118 if (keyDataPtr.get() == NULL) { in exynos_km_generate_keypair()
123 ret = TEE_RSAGenerateKeyPair(TEE_KEYPAIR_RSACRT, keyDataPtr.get(), RSA_KEY_BUFFER_SIZE, in exynos_km_generate_keypair()
154 if (pkcs8.get() == NULL) { in exynos_km_import_keypair()
160 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in exynos_km_import_keypair()
161 if (pkey.get() == NULL) { in exynos_km_import_keypair()
168 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey.get())); in exynos_km_import_keypair()
169 if (rsa.get() == NULL) { in exynos_km_import_keypair()
214 if (outPtr.get() == NULL) { in exynos_km_import_keypair()
221 ret = TEE_KeyImport(kbuf, key_len, outPtr.get(), key_blob_length); in exynos_km_import_keypair()
245 if (binModPtr.get() == NULL) { in exynos_km_get_keypair_public()
[all …]
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DVirtualThermalZone.java84 ThermalSensor ts = getThermalSensorList().get(0); in calibrateThresholds()
85 ThermalSensorAttrib sa = mThermalSensorsAttribMap.get(ts.getSensorName()); in calibrateThresholds()
109 if (list == null || list.get(0) == null) { in calculateZoneTemp()
115 ThermalSensor ts = list.get(0); in calculateZoneTemp()
137 String type = event.get("EVENT");
143 if (!getZoneName().equals(event.get("NAME"))) {
179 if (mThermalSensors.get(i) != null in updateZoneTemp()
180 && mThermalSensors.get(i).getSensorActiveStatus()) { in updateZoneTemp()
186 weightedTemp = getWeightedTemp(mThermalSensors.get(i)); in updateZoneTemp()
214 ThermalSensorAttrib sa = mThermalSensorsAttribMap.get(ts.getSensorName()); in getWeightedTemp()
DThermalManager.java302 return mZoneToCoolDevBucketSize.get(index); in getZoneToCoolDevBucketSizeIndex()
309 return mCoolDevToThrottBucketSize.get(index); in getCoolDevToThrottBucketSizeIndex()
505 sVersion = SystemProperties.get(ITUX_VERSION_PROPERTY, "none"); in loadiTUXVersion()
523 sZoneCoolerBindMap = sProfileBindMap.get(profName); in setCurBindMap()
534 return sProfileBindMap.get(profName); in getBindMap()
546 if (sProfileZoneMap.get(profName) == null || sProfileBindMap.get(profName) == null) { in isProfileExists()
553 sThermalZonesList = sProfileZoneMap.get(profName); in startNewProfile()
554 sZoneCoolerBindMap = sProfileBindMap.get(profName); in startNewProfile()
591 zone.programThresholds((zone.getThermalSensorList()).get(0)); in stopCurrentProfile()
634 ZoneCoolerBindingInfo bindInfo = sZoneCoolerBindMap.get(zone.getZoneId()); in setBucketSizeForProfiles()
[all …]
DRawThermalZone.java71 ThermalSensor s = list.get(0); in updateZoneTemp()
79 if (mThermalSensors.get(i) != null && in updateZoneTemp()
80 mThermalSensors.get(i).getSensorActiveStatus()) { in updateZoneTemp()
81 curTemp = mThermalSensors.get(i).getCurrTemp(); in updateZoneTemp()
DThermalZone.java108 mNumberOfInstances[i] = windowList.get(i) / mPollDelay[i]; in setMovingAvgWindow()
185 sensorAttrib = mThermalSensorsAttribMap.get((String) it.next()); in printSensorAttribList()
350 if (thresholdList.get(i) <= mTripMax) in setZoneTempThreshold()
419 ThermalSensor s = mThermalSensors.get(0); in computeZoneActiveStatus()
485 if (mThermalSensors.get(i).getSensorActiveStatus()) { in isZoneStateChanged()
486 mThermalSensors.get(i).updateSensorTemp(); in isZoneStateChanged()
555 ThermalSensor sensor = mThermalSensors.get(0); in registerUevent()
579 sensorName = event.get("NAME");
580 sensorTemp = Integer.parseInt(event.get("TEMP"));
583 if (event.get("EVENT") != null)
[all …]
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp864 printf("Recording cb: %d %lld %p\n", msgType, timestamp, dataPtr.get()); in postDataTimestamp()
892 if ( NULL == client.get() ) { in createPreviewSurface()
917 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes")); in printSupportedParams()
918 …printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZ… in printSupportedParams()
919 …printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_F… in printSupportedParams()
920 …printf("\n\r\tSupported Video Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams()
921 …printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams()
922 …printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_F… in printSupportedParams()
923 …printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVI… in printSupportedParams()
924 …printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUM… in printSupportedParams()
[all …]
Dsurfacetexture_test.cpp121 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in test_format()
139 native_window_set_usage(anw.get(), usage); in test_format()
140 native_window_set_buffer_count(anw.get(), N_BUFFERS); in test_format()
141 native_window_set_buffers_geometry(anw.get(), in test_format()
149 anw->dequeueBuffer(anw.get(), &anb[i]); in test_format()
167 anw->cancelBuffer (anw.get(), anb[i]); in test_format()
Dcamera_test_surfacetexture.cpp344 window.get(), NULL); in initialize()
522 if (windowTapOut.get()) { in getId()
523 windowTapOut->perform(windowTapOut.get(), NATIVE_WINDOW_GET_ID, name); in getId()
630 if (!graphic_buffer.get()) { in handleBuffer()
745 GraphicBufferMapper &mapper = GraphicBufferMapper::get(); in setInput()
763 if (mWindowTapIn.get() == 0) { in setInput()
767 native_window_set_usage(mWindowTapIn.get(), in setInput()
769 mWindowTapIn->perform(mWindowTapIn.get(), in setInput()
772 native_window_set_buffer_count(mWindowTapIn.get(), tapInMinUndequeued); in setInput()
773 native_window_set_buffers_geometry(mWindowTapIn.get(), in setInput()
[all …]
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp719 printf("Recording cb: %d %lld %p\n", msgType, timestamp, dataPtr.get()); in postDataTimestamp()
752 if ( NULL == client.get() ) { in createPreviewSurface()
777 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes")); in printSupportedParams()
778 …printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZ… in printSupportedParams()
779 …printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_F… in printSupportedParams()
780 …printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams()
781 …printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_F… in printSupportedParams()
782 …printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVI… in printSupportedParams()
783 …printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUM… in printSupportedParams()
784 …printf("\n\r\tSupported Whitebalance Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_WHITE_… in printSupportedParams()
[all …]
/hardware/libhardware/modules/camera/
DExampleCamera.cpp177 return clone_camera_metadata(m.get()); in initStaticInfo()
220 return setTemplate(CAMERA3_TEMPLATE_PREVIEW, m.get()); in setPreviewTemplate()
231 return setTemplate(CAMERA3_TEMPLATE_STILL_CAPTURE, m.get()); in setStillTemplate()
242 return setTemplate(CAMERA3_TEMPLATE_VIDEO_RECORD, m.get()); in setRecordTemplate()
253 return setTemplate(CAMERA3_TEMPLATE_VIDEO_SNAPSHOT, m.get()); in setSnapshotTemplate()
264 return setTemplate(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, m.get()); in setZslTemplate()
/hardware/qcom/display/msm8974/libqservice/
DQService.cpp51 if(mClient.get()) { in securing()
57 if(mClient.get()) { in unsecuring()
68 if(mClient.get()) { in screenRefresh()
/hardware/qcom/display/msm8960/libqservice/
DQService.cpp51 if(mClient.get()) { in securing()
57 if(mClient.get()) { in unsecuring()
68 if(mClient.get()) { in screenRefresh()
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp139 if (rsa.get() == NULL) { in qcom_km_get_keypair_public()
159 if (pkey.get() == NULL) { in qcom_km_get_keypair_public()
163 if (EVP_PKEY_assign_RSA(pkey.get(), rsa.get()) != 1) { in qcom_km_get_keypair_public()
169 int len = i2d_PUBKEY(pkey.get(), NULL); in qcom_km_get_keypair_public()
176 if (key.get() == NULL) { in qcom_km_get_keypair_public()
181 unsigned char* tmp = reinterpret_cast<unsigned char*>(key.get()); in qcom_km_get_keypair_public()
182 if (i2d_PUBKEY(pkey.get(), &tmp) != len) { in qcom_km_get_keypair_public()
372 if (keydata.get() == NULL) { in qcom_km_generate_keypair()
376 unsigned char* p = keydata.get(); in qcom_km_generate_keypair()
455 if (keydata.get() == NULL) { in qcom_km_import_keypair()
[all …]
/hardware/qcom/display/msm8084/libqservice/
DQService.cpp63 if (mClient.get()) { in dispatch()
71 if(mHDMIClient.get()) { in onHdmiHotplug()
80 if(mHDMIClient.get()) { in onCECMessageReceived()
/hardware/intel/img/psb_video/src/android/
Dpsb_mds.cpp61 if (mListener.get() == NULL) return MDS_INIT_VALUE; in getMode()
77 if (mListener.get() == NULL || in getDecoderOutputResolution()
92 if (mListener.get() == NULL) { in getVppState()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dy4m_video_source.h37 vpx_img_free(img_.get()); in ~Y4mVideoSource()
65 return (frame_ < limit_) ? img_.get() : NULL; in img()
85 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame()
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp143 if (param.get(key, value) == NO_ERROR) { in setParameters()
151 if (param.get(key, value) == NO_ERROR) { in setParameters()
177 if (param.get(key, value) == NO_ERROR) { in getParameters()
183 if (param.get(key, value) == NO_ERROR) { in getParameters()
383 if (param.get(key, value) == NO_ERROR) { in setParameters()
392 if (param.get(key, value) == NO_ERROR) { in setParameters()
422 if (param.get(key, value) == NO_ERROR) { in getParameters()
427 if (param.get(key, value) == NO_ERROR) { in getParameters()
/hardware/qcom/display/msm8960/libqdutils/
Didle_invalidator.cpp85 if(sInstance.get() == NULL) in getInstance()
87 return sInstance.get(); in getInstance()

12345678