Searched defs:nullptr (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
H A DOpDumperTests.cpp27 RectOp op(uirenderer::Rect(100, 100), Matrix4::identity(), nullptr, &paint); local
H A DBakedOpDispatcherTests.cpp64 ASSERT_NE(nullptr, state);
96 ASSERT_NE(nullptr, texture);
111 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); local
114 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); local
121 OffscreenBuffer* buffer = nullptr; // no providing a buffer, should hit rect fallback case
122 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); local
141 RoundRectOp roundRectOp(bounds, Matrix4::identity(), nullptr, &paint, 0, 270);
146 PointsOp antiAliasedPointsOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4);
149 PointsOp pointsOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4);
153 LinesOp antiAliasedLinesOp(bounds, Matrix4::identity(), nullptr,
[all...]
/frameworks/base/tools/aapt2/
H A DConfigDescription_test.cpp31 const StringPiece& input, ConfigDescription* config = nullptr) {
30 TestParse( const StringPiece& input, ConfigDescription* config = nullptr) argument
H A DValueVisitor_test.cpp30 Reference* visited = nullptr;
39 Style* visited_style = nullptr;
76 EXPECT_NE(ValueCast<Reference>(ref.get()), nullptr); local
83 EXPECT_NE(ValueCast<Style>(style.get()), nullptr); local
84 EXPECT_EQ(ValueCast<Reference>(style.get()), nullptr); local
H A DDominatorTree.h55 explicit Node(ResourceConfigValue* value = nullptr, Node* parent = nullptr) argument
/frameworks/base/libs/androidfw/tests/
H A DTheme_bench.cpp32 if (apk == nullptr) {
49 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */,
84 assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, local
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
H A Dservice_utility.h44 ServiceUtility(const std::string& endpoint_path, int* error = nullptr) argument
/frameworks/native/services/sensorservice/
H A DSensorList.cpp60 handle, [] (const Entry& e) -> sp<SensorInterface> {return e.si;}, nullptr); member in namespace:android
/frameworks/av/media/libstagefright/omx/1.0/
H A DOmx.cpp96 _hidl_cb(toStatus(NO_MEMORY), nullptr); local
113 _hidl_cb(toStatus(StatusFromOMXError(err)), nullptr);
157 _hidl_cb(toStatus(err), nullptr, nullptr); local
203 if (sObserver != nullptr) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h42 VolumeCurvesCollection *volumes = nullptr)
53 if (mVolumeCurves != nullptr) {
38 AudioPolicyConfig(HwModuleCollection &hwModules, DeviceVector &availableOutputDevices, DeviceVector &availableInputDevices, sp<DeviceDescriptor> &defaultOutputDevices, VolumeCurvesCollection *volumes = nullptr) argument
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dipc_helper.h60 SendPayload(SendInterface* sender = nullptr) : sender_{sender} {} argument
63 const iovec* data_vec = nullptr, size_t vec_count = 0);
88 ReceivePayload(RecvInterface* receiver = nullptr) : receiver_{receiver} {} argument
163 const iovec* data_vec = nullptr,
167 return payload.Send(socket_fd, nullptr, data_vec, vec_count);
173 const iovec* data_vec = nullptr,
162 SendData(const BorrowedHandle& socket_fd, const T& data, const iovec* data_vec = nullptr, size_t vec_count = 0) argument
171 SendData(const BorrowedHandle& socket_fd, const RequestHeader<FileHandleType>& request, const iovec* data_vec = nullptr, size_t vec_count = 0) argument
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimpleRecorder.h67 if (mStream == nullptr) {
77 if (mStream == nullptr) {
94 if (mStream == nullptr) {
101 AAudioStream_dataCallback dataCallback = nullptr,
102 AAudioStream_errorCallback errorCallback = nullptr,
103 void *userContext = nullptr) {
107 AAudioStreamBuilder *builder = nullptr;
115 if (dataCallback != nullptr) {
118 if (errorCallback != nullptr) {
151 AAudioStreamBuilder *builder = nullptr;
100 open(const AAudioParameters &parameters, AAudioStream_dataCallback dataCallback = nullptr, AAudioStream_errorCallback errorCallback = nullptr, void *userContext = nullptr) argument
[all...]
H A DAAudioSimplePlayer.h77 if (mStream == nullptr) {
87 if (mStream == nullptr) {
97 AAudioStream_dataCallback dataCallback = nullptr,
98 AAudioStream_errorCallback errorCallback = nullptr,
99 void *userContext = nullptr) {
103 AAudioStreamBuilder *builder = nullptr;
111 if (dataCallback != nullptr) {
114 if (errorCallback != nullptr) {
142 AAudioStreamBuilder *builder = nullptr;
154 if (dataProc != nullptr) {
96 open(const AAudioParameters &parameters, AAudioStream_dataCallback dataCallback = nullptr, AAudioStream_errorCallback errorCallback = nullptr, void *userContext = nullptr) argument
[all...]
/frameworks/av/media/libeffects/config/src/
H A DEffectsConfig.cpp40 const char* childTag = nullptr) {
42 for (auto* child = node.FirstChildElement(childTag); child != nullptr;
137 if (name == nullptr || path == nullptr) {
146 * @return nullptr if not found, the element address if found.
152 return it != end(collection) ? &*it : nullptr;
162 if (name == nullptr) {
173 if (libraryName == nullptr || uuid == nullptr) {
180 if (library == nullptr) {
39 getChildren(const XMLNode& node, const char* childTag = nullptr) argument
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h339 uint32_t* outStickyTransform = nullptr,
340 bool* outGetFrameTimestamps = nullptr) const {
595 // the queue, outBuffer will be populated with nullptr and outFence will be
335 deflate(int64_t* outTimestamp, bool* outIsAutoTimestamp, android_dataspace* outDataSpace, Rect* outCrop, int* outScalingMode, uint32_t* outTransform, sp<Fence>* outFence, uint32_t* outStickyTransform = nullptr, bool* outGetFrameTimestamps = nullptr) const argument
/frameworks/native/libs/gui/include/gui/
H A DIGraphicBufferProducer.h339 uint32_t* outStickyTransform = nullptr,
340 bool* outGetFrameTimestamps = nullptr) const {
595 // the queue, outBuffer will be populated with nullptr and outFence will be
335 deflate(int64_t* outTimestamp, bool* outIsAutoTimestamp, android_dataspace* outDataSpace, Rect* outCrop, int* outScalingMode, uint32_t* outTransform, sp<Fence>* outFence, uint32_t* outStickyTransform = nullptr, bool* outGetFrameTimestamps = nullptr) const argument
/frameworks/rs/
H A DrsElement.h128 const size_t * lengths = nullptr,
129 const uint32_t *asin = nullptr) {
125 create(Context *rsc, size_t count, const Element **ein, const char **nin, const size_t * lengths = nullptr, const uint32_t *asin = nullptr) argument
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h48 EXPECT_NE(nullptr, (clipStatePtr)) << "Op is unclipped"; \
145 SignalingDtor() : mSignal(nullptr) {}
263 const char* name = nullptr, skiapipeline::SkiaDisplayList* displayList = nullptr) {
280 new skiapipeline::SkiaRecordingCanvas(nullptr, props.getWidth(),
360 MarkAndSweepRemoved observer(nullptr);
364 node->syncDisplayList(observer, nullptr);
259 createSkiaNode( int left, int top, int right, int bottom, std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> setup, const char* name = nullptr, skiapipeline::SkiaDisplayList* displayList = nullptr) argument
/frameworks/ml/nn/runtime/include/
H A DNeuralNetworksWrapper.h66 .dimensions = dimensions.size() > 0 ? dimensions.data() : nullptr,
97 other.mMemory = nullptr;
107 ANeuralNetworksMemory* mMemory = nullptr;
135 other.mModel = nullptr;
207 ANeuralNetworksModel* mModel = nullptr;
233 other.mEvent = nullptr;
247 ANeuralNetworksEvent* mEvent = nullptr;
275 other.mCompilation = nullptr;
290 ANeuralNetworksCompilation* mCompilation = nullptr;
318 other.mExecution = nullptr;
323 setInput(uint32_t index, const void* buffer, size_t length, const ANeuralNetworksOperandType* type = nullptr) argument
329 setInputFromMemory(uint32_t index, const Memory* memory, uint32_t offset, uint32_t length, const ANeuralNetworksOperandType* type = nullptr) argument
335 setOutput(uint32_t index, void* buffer, size_t length, const ANeuralNetworksOperandType* type = nullptr) argument
341 setOutputFromMemory(uint32_t index, const Memory* memory, uint32_t offset, uint32_t length, const ANeuralNetworksOperandType* type = nullptr) argument
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue-test.cpp36 return producer_queue_ != nullptr;
42 return consumer_queue_ != nullptr;
53 void AllocateBuffer(size_t* slot_out = nullptr) { argument
106 ASSERT_NE(p1, nullptr);
116 ASSERT_NE(c1, nullptr);
168 ASSERT_NE(nullptr, producer);
179 ASSERT_NE(nullptr, consumer);
197 ASSERT_NE(nullptr, consumer_queue_);
218 ASSERT_NE(nullptr, entry->buffer);
232 buffers[0].buffer = nullptr;
[all...]
/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp172 android::base::InitLogging(nullptr);
182 volume_uuid_ = nullptr;
223 const char* volume_uuid_cstr = volume_uuid_ == nullptr ? nullptr : volume_uuid_->c_str();
252 /*out */ binder::Status* binder_result = nullptr, int32_t uid = -1) {
258 std::unique_ptr<std::string> out_path = nullptr; // does not matter
265 std::unique_ptr<std::string> profile_name_ptr = nullptr;
266 std::unique_ptr<std::string> dm_path_ptr = nullptr;
267 std::unique_ptr<std::string> compilation_reason_ptr = nullptr;
293 if (binder_result != nullptr) {
250 CompileSecondaryDex(const std::string& path, int32_t dex_storage_flag, bool should_binder_call_succeed, bool should_dex_be_compiled = true, binder::Status* binder_result = nullptr, int32_t uid = -1) argument
298 reconcile_secondary_dex(const std::string& path, int32_t storage_flag, bool should_binder_call_succeed, bool should_dex_exist, bool should_dex_be_deleted, int32_t uid = -1, std::string* package_override = nullptr) argument
336 CompilePrimaryDexOk(std::string compiler_filter, int32_t dex_flags, const char* oat_dir, int32_t uid, int32_t dexopt_needed, binder::Status* binder_result = nullptr, const char* dm_path = nullptr, bool downgrade = false) argument
355 CompilePrimaryDexFail(std::string compiler_filter, int32_t dex_flags, const char* oat_dir, int32_t uid, int32_t dexopt_needed, binder::Status* binder_result = nullptr, const char* dm_path = nullptr, bool downgrade = false) argument
[all...]
/frameworks/rs/rsov/driver/
H A DrsovScript.cpp39 char* __GPUBlock = nullptr;
67 args.push_back(nullptr);
129 args.push_back(nullptr);
180 mGlobalAllocationMetadata(nullptr),
250 rsAssert(basePtr != nullptr);
257 rsAssert(basePtr != nullptr);
267 rsAssert(basePtr != nullptr);
311 return nullptr;
321 return nullptr;
326 return nullptr;
720 split(const std::string &s, std::function<void(const std::string &)> each, std::function<void(const std::vector<const std::string> &)> all = nullptr) argument
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.h515 explicit ActiveTracks(SimpleLog *localLog = nullptr) argument
534 // otherwise useless track alive. Thus the function will return nullptr
1158 if (mFastMixer != nullptr) { /* hasFastMixer() */
/frameworks/compile/slang/
H A Dslang_rs_reflection.cpp133 return nullptr;
188 return nullptr;
609 startFunction(AM_Public, false, nullptr, getClassName(), 1, "RenderScript",
634 startFunction(AM_Public, false, nullptr, getClassName(), 3, "RenderScript",
684 if (*BI != nullptr) {
701 slangAssert(RT != nullptr);
710 slangAssert(*BI != nullptr);
954 genPackVarOfType(ERT, nullptr, FieldPackerName.c_str());
1130 if (InTypes.front() != nullptr) {
1139 if (*BI != nullptr) {
1579 genReduceResultVectorMapping(MapFromAllocation MFA, const std::string &ArrayElementTypeName, const std::string &ReflectedScalarTypeName, const std::string &VectorTypeName, unsigned VectorElementCount, const char *InArray, const char *InIdx = nullptr) argument
[all...]
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp299 char* before = nullptr;
300 char* after = nullptr;
375 auto path = create_data_path(uuid ? uuid->c_str() : nullptr);
455 const char* uuid_ = uuid ? uuid->c_str() : nullptr;
459 if (_aidl_return != nullptr) *_aidl_return = -1;
496 if ((_aidl_return != nullptr)
536 const char* uuid_ = uuid ? uuid->c_str() : nullptr;
548 if (getxattr(ce_path.c_str(), kXattrDefault, nullptr, 0) == -1
549 && getxattr(de_path.c_str(), kXattrDefault, nullptr, 0) == -1) {
550 if (setxattr(ce_path.c_str(), kXattrDefault, nullptr,
1941 getCStr(const std::unique_ptr<std::string>& data, const char* default_value = nullptr) argument
[all...]

Completed in 1699 milliseconds

12