Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 135) sorted by relevance

123456

/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp91 CHECK(!pswd.empty()); in PairingAuthCtx()
140 CHECK(!their_msg.empty()); in InitCipher()
141 CHECK(!cipher_); in InitCipher()
167 CHECK(cipher_); in Encrypt()
168 CHECK(!data.empty()); in Encrypt()
183 CHECK(cipher_); in Decrypt()
184 CHECK(!data.empty()); in Decrypt()
200 CHECK(cipher_); in SafeEncryptedSize()
205 CHECK(cipher_); in SafeDecryptedSize()
210 CHECK(pswd); in pairing_auth_server_new()
[all …]
/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.h60 CHECK(mState == POINTER || mState == MEMORY); in initialDimensions()
64 CHECK(mState == POINTER || mState == MEMORY); in dimensions()
68 CHECK(mState == POINTER || mState == MEMORY); in dimensions()
73 CHECK(mState == POINTER || mState == MEMORY); in isSufficient()
77 CHECK(mState == POINTER || mState == MEMORY); in isSufficient()
82 CHECK(mState == POINTER || mState == MEMORY); in length()
87 CHECK(mState == POINTER || mState == MEMORY); in padding()
DExecutionPlan.cpp109 CHECK(token != nullptr); in compile()
110 CHECK(preparedModel != nullptr); in compile()
334 CHECK(!mDeclared); in declare()
340 CHECK(isNew); in declare()
354 CHECK(mDeclared); in redeclare()
377 CHECK(mDeclared); in allocate()
389 CHECK(temp.paddedLength % temp.padding == 0); in allocate()
425 CHECK(mDeclared); in lookup()
431 CHECK(isAllocated) << "Source operand " << toString(sourceOperandIndex) in lookup()
460 CHECK(kind == INPUT); in addOperand()
[all …]
DExecutionBuilder.cpp166 CHECK(mPlan->isSimple()); in SimpleExecutionBuilder()
171 CHECK(mPlan->isCompound()); in CompoundExecutionBuilder()
441 CHECK(computationStarted()) << "getComputeStartTimePoint called before " in getComputeStartTimePoint()
644 CHECK(executionBuilder != nullptr); in cpuFallbackFull()
675 CHECK(executor != nullptr); in cpuFallbackPartial()
773 CHECK(executor->areDynamicTemporariesAllocated()); in computeInternal()
806 CHECK(mAllowCpuFallback); in computeInternal()
831 CHECK(fallbackExecutor->areDynamicTemporariesAllocated()); in computeInternal()
944 CHECK(!mCompilation->hasDynamicTemporaries()); in computeFencedInternal()
1013 CHECK(syncFence != nullptr); in computeFenced()
[all …]
DExecutionPlan.h151 CHECK(!mDeclared); in endDeclarations()
739 CHECK(mBody != nullptr); in forEachStepRoleOfInput()
743 CHECK(mBody != nullptr); in forEachStepRoleOfOutput()
873 CompoundBody(const ExecutionPlan* plan) : mPlan(plan) { CHECK(plan != nullptr); } in CompoundBody()
975 CHECK(mState == SIMPLE); in simple()
976 CHECK(mBody != nullptr); in simple()
980 CHECK(mState == SIMPLE); in simple()
981 CHECK(mBody != nullptr); in simple()
985 CHECK(mState == COMPOUND); in compound()
986 CHECK(mBody != nullptr); in compound()
[all …]
DSupportLibraryDiagnostic.cpp34 CHECK(info != nullptr); in castTo()
39 CHECK(info != nullptr); in castTo()
44 CHECK(info != nullptr); in castFrom()
49 CHECK(info != nullptr); in castFrom()
/packages/modules/adb/client/pairing/
Dpairing_client.cpp90 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingClientImpl()
104 CHECK(!ip_addr.empty()); in Start()
115 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
116 CHECK(port_ > 0 && port_ <= 65535); in Start()
142 CHECK(connection_); in StartConnection()
165 CHECK(!pswd.empty()); in Create()
166 CHECK(!cert.empty()); in Create()
167 CHECK(!priv_key.empty()); in Create()
/packages/modules/NeuralNetworks/runtime/operation_converters/
DSubGraphContext.cpp39 CHECK(model != nullptr); in SubGraphContext()
40 CHECK(subgraph != nullptr); in SubGraphContext()
41 CHECK(opCodesVector != nullptr); in SubGraphContext()
42 CHECK(opCodeIndexForOperationType != nullptr); in SubGraphContext()
43 CHECK(bufferVector != nullptr); in SubGraphContext()
59 CHECK(mOperandToTensorIdx[operandIdx] == -1); in addTensorFlatbuffer()
70 CHECK(mOperandToTensorIdx[operandIdx] != -1); in addSubGraphInput()
75 CHECK(mOperandToTensorIdx[operandIdx] != -1); in addSubGraphOutput()
115 CHECK(mapping.has_value()) << "CONSTANT_REFERENCE memory mapping error: " in getMapping()
124 CHECK(isOperandConstant(operand)); in getConstantPointerAndLength()
/packages/modules/NeuralNetworks/common/types/src/
DSharedMemory.cpp62 CHECK(operand != nullptr); in copyPointersToSharedMemory()
63 CHECK(memoryBuilder != nullptr); in copyPointersToSharedMemory()
71 CHECK(data != nullptr); in copyPointersToSharedMemory()
77 CHECK(subgraph != nullptr); in copyPointersToSharedMemory()
151 CHECK(model != nullptr); in flushDataFromPointerToShared()
152 CHECK(maybeModelInSharedOut != nullptr); in flushDataFromPointerToShared()
200 CHECK(request != nullptr); in convertRequestFromPointerToShared()
201 CHECK(maybeRequestInSharedOut != nullptr); in convertRequestFromPointerToShared()
202 CHECK(relocationOut != nullptr); in convertRequestFromPointerToShared()
226 CHECK(data != nullptr); in convertRequestFromPointerToShared()
[all …]
DDynamicCLDeps.cpp28 CHECK(handle != nullptr); in loadFunction()
30 CHECK(fn != nullptr) << "Unable to open function " << name << ": " << dlerror(); in loadFunction()
49 CHECK(handle != nullptr) << "Unable to open either libandroid.so or libcutils.so: " in loadCompatibilityLayerMemoryHelper()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.cpp32 CHECK(srcPool.getBuffer() != nullptr); in copyRunTimePoolInfos()
33 CHECK(dstPool.getBuffer() != nullptr); in copyRunTimePoolInfos()
34 CHECK(srcPool.getSize() == dstPool.getSize()); in copyRunTimePoolInfos()
41 CHECK(bufferWrapper != nullptr); in copyFromInternal()
62 CHECK(kBuffer != nullptr); in Buffer()
63 CHECK(kToken != nullptr); in Buffer()
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp106 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingClientImpl()
112 CHECK(!ip_addr.empty()); in Start()
123 CHECK(android::base::ParseNetAddress(std::string(ip_addr), &host_, &port_, nullptr, &err)); in Start()
124 CHECK(port_ > 0 && port_ <= 65535); in Start()
193 CHECK(!pswd.empty()); in Create()
194 CHECK(!cert.empty()); in Create()
195 CHECK(!priv_key.empty()); in Create()
/packages/modules/NeuralNetworks/common/include/
DCpuOperationUtils.h62 CHECK(input != nullptr); in convertFloat16ToFloat32()
63 CHECK(output != nullptr); in convertFloat16ToFloat32()
70 CHECK(output != nullptr); in convertFloat32ToFloat16()
79 CHECK(input != nullptr); in convertInt8ToUInt8()
80 CHECK(output != nullptr); in convertInt8ToUInt8()
89 CHECK(output != nullptr); in convertUInt8ToInt8()
98 CHECK(input != nullptr); in convertQuantToFloat32()
99 CHECK(output != nullptr); in convertQuantToFloat32()
108 CHECK(output != nullptr); in convertFloat32ToQuant()
/packages/modules/adb/tls/
Dadb_ca_list.cpp63 CHECK(X509_NAME_get_text_by_NID(name, nid, buf.data(), buf.size())); in GetX509NameTextByNid()
74 CHECK(!key.empty()); in CreateCAIssuerFromEncodedKey()
78 CHECK(X509_NAME_add_entry_by_NID_const(name.get(), kAdbKeyIdentifierNid, MBSTRING_ASC, in CreateCAIssuerFromEncodedKey()
82 CHECK(X509_NAME_add_entry_by_NID_const(name.get(), kAdbKeyValueNid, MBSTRING_ASC, in CreateCAIssuerFromEncodedKey()
90 CHECK(issuer); in ParseEncodedKeyFromCAIssuer()
Dtls_connection.cpp88 CHECK(!cert.empty() && !priv_key.empty()); in TlsConnectionImpl()
91 CHECK(cert_); in TlsConnectionImpl()
93 CHECK(priv_key_); in TlsConnectionImpl()
175 CHECK(role_ == Role::Server); in SetClientCAList()
343 CHECK(!data.empty()); in WriteFully()
366 CHECK(!cert.empty()); in Create()
367 CHECK(!priv_key.empty()); in Create()
374 CHECK(ssl); in SetCertAndKey()
/packages/apps/Nfc/nci/jni/
DHciEventManager.cpp60 CHECK(e); in notifyTransactionListenersOfAid()
63 CHECK(aidJavaArray.get()); in notifyTransactionListenersOfAid()
66 CHECK(!e->ExceptionCheck()); in notifyTransactionListenersOfAid()
69 CHECK(srcJavaString.get()); in notifyTransactionListenersOfAid()
73 CHECK(dataJavaArray.get()); in notifyTransactionListenersOfAid()
76 CHECK(!e->ExceptionCheck()); in notifyTransactionListenersOfAid()
/packages/providers/MediaProvider/jni/
Dnode-inl.h53 CHECK(ri != nullptr); in handle()
67 explicit dirhandle(DIR* dir) : d(dir), next_off(0) { CHECK(dir != nullptr); } in dirhandle()
114 CHECK(active_nodes_.find(node) != active_nodes_.end()); in CheckTracked()
123 CHECK(active_nodes_.find(node) != active_nodes_.end()); in NodeDeleted()
133 CHECK(active_nodes_.find(node) == active_nodes_.end()); in NodeCreated()
286 CHECK(it != parent_->children_.end()); in Rename()
334 CHECK(it != handles_.end()); in DestroyHandle()
397 CHECK(it != dirhandles_.end()); in DestroyDirHandle()
448 CHECK(parent_ == nullptr); in AddToParent()
450 CHECK(parent != nullptr); in AddToParent()
[all …]
/packages/services/Car/cpp/computepipe/example/
DFaceTracker.cpp81 CHECK(binder.get()); in init()
123 CHECK(state == PipeState::CONFIG_DONE); in start()
125 CHECK(status.isOk()); in start()
127 CHECK(state == PipeState::RUNNING); in start()
132 CHECK(status.isOk()); in stop()
/packages/modules/Gki/libkver/
Dfuzzer.cpp34 CHECK(!kmi_version->string().empty()); in LLVMFuzzerTestOneInput()
39 CHECK(!kernel_release->string().empty()); in LLVMFuzzerTestOneInput()
40 CHECK(!kernel_release->kmi_version().string().empty()); in LLVMFuzzerTestOneInput()
/packages/modules/NeuralNetworks/common/
DModelUtils.cpp50 CHECK(indexes != nullptr); in remapIndexes()
61 CHECK(elements != nullptr); in keepSelectedElements()
118 CHECK(used != nullptr); in identifyUsedSubgraphs()
145 CHECK(used != nullptr); in identifyUsedPools()
172 CHECK(operand != nullptr); in fixOperandDataLocation()
173 CHECK(newOperandValues != nullptr); in fixOperandDataLocation()
259 CHECK(model != nullptr); in removeDeadOperands()
DTokenHasher.cpp40 CHECK(!mIsError) << "Calling update on an token in error state"; in update()
49 CHECK(!mIsError) << "Calling finish on an token in error state"; in finish()
65 CHECK(!mToken.empty()); in getCacheToken()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp175 CHECK(index < mOperations.size()); in getOperationOutputs()
195 CHECK(length <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES); in setOperandValue()
200 CHECK(sizeof(value) <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES); in setOperandValue()
270 CHECK(!mLayoutDone); in addMemory()
277 CHECK(!mLayoutDone); in addRegion()
278 CHECK(memoryIndex < memoryCount()); in addRegion()
291 CHECK(mLayoutDone); in getRegion()
292 CHECK(regionIndex < regionCount()); in getRegion()
299 CHECK(buffer != nullptr); in getRegion()
329 CHECK(!mLayoutDone); in layout()
[all …]
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp156 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingConnectionCtx()
338 CHECK(!outbuf.empty()); in DoExchangePeerInfo()
454 CHECK(pswd); in CreateConnection()
456 CHECK(x509_cert_pem); in CreateConnection()
458 CHECK(priv_key_pem); in CreateConnection()
460 CHECK(peer_info); in CreateConnection()
484 CHECK(ctx); in pairing_connection_destroy()
Dpairing_server.cpp156 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingServerCtx()
431 CHECK(pswd); in pairing_server_new()
433 CHECK(x509_cert_pem); in pairing_server_new()
435 CHECK(priv_key_pem); in pairing_server_new()
437 CHECK(peer_info); in pairing_server_new()
458 CHECK(ctx); in pairing_server_destroy()
/packages/services/Car/cpp/computepipe/runner/
DPixelFormatUtils.cpp33 CHECK(false) << "Unrecognized pixel format seen"; in numBytesPerPixel()
47 CHECK(false) << "Unrecognized pixel format seen"; in PixelFormatToHardwareBufferFormat()

123456