Home
last modified time | relevance | path

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

12345678910>>...12

/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/intel/img/hwcomposer/merrifield/common/observers/
DMultiDisplayObserver.cpp142 if (mMDSCbRegistrar.get() == NULL) { in initMDSClient()
148 if (mMDSCallback.get() == NULL) { in initMDSClient()
154 if (mMDSInfoProvider.get() == NULL) { in initMDSClient()
160 if (mMDSConnObserver.get() == NULL) { in initMDSClient()
165 if (mMDSDecoderConfig.get() == NULL) { in initMDSClient()
185 if (mMDSCallback.get() && mMDSCbRegistrar.get()) { in deinitMDSClient()
199 if (mThread.get()) { in initMDSClientAsync()
205 if (mThread.get() == NULL) { in initMDSClientAsync()
250 if (mThread.get()) { in deinitialize()
260 if (detachedThread.get()) { in deinitialize()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DTriStateTest.cpp72 EXPECT_EQ(2, (++a).get(0)); in TEST()
73 EXPECT_EQ(2, (a++).get(0)); in TEST()
74 EXPECT_EQ(3, a.get(0)); in TEST()
76 EXPECT_EQ(2, (--a).get(0)); in TEST()
77 EXPECT_EQ(2, (a--).get(0)); in TEST()
78 EXPECT_EQ(1, a.get(0)); in TEST()
81 EXPECT_EQ(static_cast<uint32_t>(100), (++b).get(100)); in TEST()
82 EXPECT_EQ(static_cast<uint32_t>(101), (b++).get(101)); in TEST()
83 EXPECT_EQ(static_cast<uint32_t>(102), b.get(102)); in TEST()
86 EXPECT_EQ(static_cast<uint32_t>(103), (--b).get(103)); in TEST()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidReport.cpp27 mUsagePage(global.usagePage.get(0)), // default value 0 in HidReport()
30 mLogicalMin(global.logicalMin.get(0)), // default value 0 in HidReport()
31 mLogicalMax(global.logicalMax.get(0)), in HidReport()
63 int exponentInt = mExponent.get(0); in getExponentValue()
71 int exponentInt = mExponent.get(0); in getExponentString()
86 ret << std::hex << std::setfill('0') << std::setw(2) << mUnit.get(0); in getUnitString()
182 int64_t a = mPhysicalMin.get(0); in getPhysicalRange()
183 int64_t b = mPhysicalMax.get(0); in getPhysicalRange()
208 return mUnit.get(0); // default unit is 0 means default unit in getUnit()
213 return mReportId.get(0); in getReportId()
/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()
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()
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 …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_reader_test.cpp75 metadata_.get(), facing_tag_, translation.first), in TEST_F()
89 v4l2_camera_hal::UpdateMetadata(metadata_.get(), facing_tag_, invalid), in TEST_F()
105 metadata_.get(), orientation_tag_, orientation), in TEST_F()
119 metadata_.get(), orientation_tag_, orientation + 1), in TEST_F()
128 metadata_.get(), orientation_tag_, orientation - 1), in TEST_F()
145 metadata_.get(), max_inputs_tag_, expected), in TEST_F()
165 metadata_.get(), max_outputs_tag_, expected), in TEST_F()
177 metadata_.get(), max_outputs_tag_, invalid), in TEST_F()
201 v4l2_camera_hal::UpdateMetadata(metadata_.get(), configs_tag_, configs), in TEST_F()
221 v4l2_camera_hal::UpdateMetadata(metadata_.get(), configs_tag_, config), in TEST_F()
[all …]
/hardware/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/
Dindex.sgml14 <ANCHOR id="mix-acp-aac-get-mpeg-id" href="MixAudio/MixAudio-MixAudioConfigParamsAAC.html#mix-acp-a…
17 <ANCHOR id="mix-acp-aac-get-aot" href="MixAudio/MixAudio-MixAudioConfigParamsAAC.html#mix-acp-aac-g…
23 <ANCHOR id="mix-acp-aac-get-bit-stream-format" href="MixAudio/MixAudio-MixAudioConfigParamsAAC.html…
25 <ANCHOR id="mix-acp-aac-get-aac-profile" href="MixAudio/MixAudio-MixAudioConfigParamsAAC.html#mix-a…
27 <ANCHOR id="mix-acp-aac-get-bit-rate-type" href="MixAudio/MixAudio-MixAudioConfigParamsAAC.html#mix…
54 <ANCHOR id="mix-acp-wma-get-version" href="MixAudio/MixAudio-MixAudioConfigParamsWMA.html#mix-acp-w…
71 <ANCHOR id="mix-acp-get-decodemode" href="MixAudio/MixAudio-MixAudioConfigParams.html#mix-acp-get-d…
73 <ANCHOR id="mix-acp-get-streamname" href="MixAudio/MixAudio-MixAudioConfigParams.html#mix-acp-get-s…
76 <ANCHOR id="mix-acp-get-audio-manager" href="MixAudio/MixAudio-MixAudioConfigParams.html#mix-acp-ge…
78 <ANCHOR id="mix-acp-get-bps" href="MixAudio/MixAudio-MixAudioConfigParams.html#mix-acp-get-bps">
[all …]
/hardware/interfaces/cas/1.0/default/
DCasImpl.cpp82 if (holder.get() == nullptr) { in setPrivateData()
94 if (holder.get() != nullptr) { in openSession()
109 if (holder.get() == nullptr) { in setSessionPrivateData()
119 if (holder.get() == nullptr) { in closeSession()
130 if (holder.get() == nullptr) { in processEcm()
140 if (holder.get() == nullptr) { in processEmm()
152 if (holder.get() == nullptr) { in sendEvent()
163 if (holder.get() == nullptr) { in provision()
175 if (holder.get() == nullptr) { in refreshEntitlements()
184 ALOGV("%s: plugin=%p", __FUNCTION__, mPluginHolder.get()); in release()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DVtsHalNeuralnetworksV1_0TargetTest.cpp67 ASSERT_NE(nullptr, device.get()); in SetUp()
154 ASSERT_NE(nullptr, preparedModelCallback.get()); in TEST_F()
163 EXPECT_NE(nullptr, preparedModel.get()); in TEST_F()
170 ASSERT_NE(nullptr, preparedModelCallback.get()); in TEST_F()
179 EXPECT_EQ(nullptr, preparedModel.get()); in TEST_F()
186 ASSERT_NE(nullptr, preparedModelCallback.get()); in TEST_F()
195 EXPECT_EQ(nullptr, preparedModel.get()); in TEST_F()
205 ASSERT_NE(nullptr, preparedModel.get()); in TEST_F()
224 ASSERT_NE(nullptr, executionCallback.get()); in TEST_F()
239 ASSERT_NE(nullptr, preparedModel.get()); in TEST_F()
[all …]
/hardware/interfaces/configstore/utils/include/configstore/
DUtils.h59 decltype(V::value) get(const decltype(V::value) &defValue) { in decltype()
66 if (!configs.get()) { in decltype()
111 return get<OptionalBool, I, func>(defValue); in getBool()
117 return get<OptionalInt32, I, func>(defValue); in getInt32()
123 return get<OptionalUInt32, I, func>(defValue); in getUInt32()
129 return get<OptionalInt64, I, func>(defValue); in getInt64()
135 return get<OptionalUInt64, I, func>(defValue); in getUInt64()
141 return get<OptionalString, I, func>(defValue); in getString()
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp72 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp()
150 EXPECT_NE(nullptr, getWifiChip().get()); in TEST()
181 ASSERT_NE(nullptr, wifi_chip_.get()); in TEST_F()
353 EXPECT_NE(nullptr, iface.get()); in TEST_F()
374 EXPECT_NE(nullptr, iface.get()); in TEST_F()
401 EXPECT_NE(nullptr, ap_iface.get()); in TEST_F()
407 EXPECT_NE(nullptr, status_and_iface1.second.get()); in TEST_F()
413 EXPECT_EQ(nullptr, status_and_iface2.second.get()); in TEST_F()
427 EXPECT_NE(nullptr, ap_iface.get()); in TEST_F()
449 EXPECT_NE(nullptr, iface.get()); in TEST_F()
[all …]
Dwifi_hidl_test_utils.cpp95 if (!wifi.get()) { in getWifiChip()
124 if (!wifi_chip.get()) { in getWifiApIface()
139 if (!wifi_chip.get()) { in getWifiNanIface()
154 if (!wifi_chip.get()) { in getWifiP2pIface()
169 if (!wifi_chip.get()) { in getWifiStaIface()
184 if (!wifi_chip.get()) { in getWifiRttController()
188 if (!wifi_sta_iface.get()) { in getWifiRttController()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp60 void* raw = valuePool->obtain(VehiclePropertyType::INT32).get(); in TEST_F()
62 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
64 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
74 void* raw = vs.get(); in TEST_F()
79 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
92 auto poolPtr = valuePool.get(); in TEST_F()
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp55 if (s.get() < 0) { in netlinkSocket()
62 if (::bind(s.get(), asSockaddr(&bind_addr), sizeof(bind_addr)) != 0) { in netlinkSocket()
69 if (::connect(s.get(), asSockaddr(&kernel_addr), sizeof(kernel_addr)) != 0) { in netlinkSocket()
84 ASSERT_NE(nullptr, config.get()) << "Could not get HIDL instance"; in SetUp()
97 if (fd1.get() < 0) { in TEST_F()
107 if (fd2.get() < 0) { in TEST_F()
139 if (fd1.get() < 0) { in TEST_F()
164 if (fd2.get() < 0) { in TEST_F()
/hardware/interfaces/audio/common/test/utility/src/
DValidateXml.cpp103 auto schema = make_xmlUnique(xmlSchemaParse(schemaParserCtxt.get())); in validateXml()
113 if (xmlXIncludeProcess(doc.get()) == -1) { in validateXml()
117 auto schemaCtxt = make_xmlUnique(xmlSchemaNewValidCtxt(schema.get())); in validateXml()
118 int ret = xmlSchemaValidateDoc(schemaCtxt.get(), doc.get()); in validateXml()
/hardware/interfaces/automotive/vehicle/2.0/default/
DVehicleService.cpp32 auto hal = std::make_unique<impl::EmulatedVehicleHal>(store.get()); in main()
33 auto emulator = std::make_unique<impl::VehicleEmulator>(hal.get()); in main()
34 auto service = std::make_unique<VehicleHalManager>(hal.get()); in main()
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsHalRenderscriptV1_0TargetTest.cpp22 ASSERT_NE(nullptr, device.get()); in SetUp()
27 ASSERT_NE(nullptr, context.get()); in SetUp()
31 if (context.get() != nullptr) { in TearDown()
/hardware/interfaces/camera/common/1.0/default/
DCameraParameters.cpp275 const char *CameraParameters::get(const char *key) const in get() function in android::hardware::camera::common::V1_0::helper::CameraParameters
285 const char *v = get(key); in getInt()
293 const char *v = get(key); in getFloat()
365 const char *p = get(KEY_PREVIEW_SIZE); in getPreviewSize()
373 const char *p = get(KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO); in getPreferredPreviewSizeForVideo()
380 const char *previewSizesStr = get(KEY_SUPPORTED_PREVIEW_SIZES); in getSupportedPreviewSizes()
394 const char *p = get(KEY_VIDEO_SIZE); in getVideoSize()
401 const char *videoSizesStr = get(KEY_SUPPORTED_VIDEO_SIZES); in getSupportedVideoSizes()
418 const char *p = get(KEY_PREVIEW_FPS_RANGE); in getPreviewFpsRange()
430 return get(KEY_PREVIEW_FORMAT); in getPreviewFormat()
[all …]
/hardware/interfaces/wifi/1.1/default/
Dhidl_return_util.h89 const WifiStatus& status = std::get<0>(ret_pair); in validateAndCall()
90 const auto& ret_value = std::get<1>(ret_pair); in validateAndCall()
115 const WifiStatus& status = std::get<0>(ret_tuple); in validateAndCall()
116 const auto& ret_value1 = std::get<1>(ret_tuple); in validateAndCall()
117 const auto& ret_value2 = std::get<2>(ret_tuple); in validateAndCall()
/hardware/intel/img/hwcomposer/merrifield/test/
Dnv12_ved_test.cpp104 anw = s.get(); in main()
105 if (native_window_set_buffers_geometry(anw.get(), 640, 480, in main()
108 if (native_window_set_usage(anw.get(), in main()
116 if (native_window_dequeue_buffer_and_wait(anw.get(), &anb)) in main()
132 if (anw->queueBuffer(anw.get(), buf->getNativeBuffer(), -1) != NO_ERROR) in main()
/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/interfaces/audio/2.0/vts/functional/
DAudioPrimaryHidlHalTest.cpp188 ASSERT_OK((device.get()->*getter)(returnIn(res, initialValue)));
194 ASSERT_OK((device.get()->*setter)(setValue));
197 ASSERT_OK((device.get()->*getter)(returnIn(res, getValue)));
207 (device.get()->*setter)(invalidValue));
211 (device.get()->*setter)(initialValue)); // restore initial value
224 ASSERT_OK((device.get()->*getter)(returnIn(res, initialValue)));
743 testCapabilityGetter("getSupportedSampleRate", stream.get(),
751 testCapabilityGetter("getSupportedChannelMask", stream.get(),
759 testCapabilityGetter("getSupportedFormat", stream.get(),
780 : testGetDevice(stream.get(), address.device))
[all …]
/hardware/libhardware/modules/usbcamera/
DUsbCamera.cpp182 mStaticInfo = clone_camera_metadata(m.get()); in initStaticInfo()
266 return setTemplate(CAMERA3_TEMPLATE_PREVIEW, m.get()); in initPreviewTemplate()
276 return setTemplate(CAMERA3_TEMPLATE_STILL_CAPTURE, m.get()); in initStillTemplate()
286 return setTemplate(CAMERA3_TEMPLATE_VIDEO_RECORD, m.get()); in initRecordTemplate()
296 return setTemplate(CAMERA3_TEMPLATE_VIDEO_SNAPSHOT, m.get()); in initSnapshotTemplate()
306 return setTemplate(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, m.get()); in initZslTemplate()
316 return setTemplate(CAMERA3_TEMPLATE_MANUAL, m.get()); in initManualTemplate()

12345678910>>...12