/test/xts/acts/multimedia/image/image_js_standard/imagePackToFile/src/main/js/test/ |
D | PackToFile.test.js | 121 function packToFilePromise(done, testNum, source, fd, fPath, ops, checkSize) { argument 129 globalPacker.packToFile(source, fd, ops).then(async () => { 156 function packToFileCallback(done, testNum, source, fd, fPath, ops, checkSize) { argument 163 globalPacker.packToFile(source, fd, ops, async (err) => { 192 function packToFileCbErr(done, testNum, source, fd, ops, fPath) { argument 201 globalPacker.packToFile(source, fd, ops, (err) => { 220 async function packToFilePromiseErr(done, testNum, source, fd, ops, fPath) { argument 229 await globalPacker.packToFile(source, fd, ops); 267 let ops = { format: "image/jpeg", quality: 100 }; variable 274 globalImagesource, writeFd, fpath, ops, checkSize) [all …]
|
/test/xts/acts/multimedia/medialibrary/ |
D | common.js | 71 let ops = { variable 76 console.info(`${testNum}: fetchOps${JSON.stringify(ops)}`); 77 return ops; 80 let ops = { variable 84 console.info(`${testNum}: fetchOps${JSON.stringify(ops)}`); 85 return ops; 89 let ops = { variable 93 console.info(`${testNum}: fetchOps${JSON.stringify(ops)}`); 94 return ops; 98 let ops = { variable [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
D | image_packing_test.cpp | 133 static bool parseImagePackingOps(napi_env env, napi_value arg, struct ImagePackingTestOps &ops) in parseImagePackingOps() argument 140 if (!GetStringProperty(env, arg, "format", &(ops.format), &(ops.formatSize))) { in parseImagePackingOps() 143 if (!GetInt32Property(env, arg, "quality", &(ops.quality))) { in parseImagePackingOps() 146 GetUint32Property(env, arg, "size", &(ops.size)); in parseImagePackingOps() 212 struct ImagePackingTestOps ops; in PackToData() local 213 if (!parseImagePackingOps(env, argValue[ARGS_THIRD], ops)) { in PackToData() 219 packerOpts.format = ops.format; in PackToData() 220 packerOpts.quality = ops.quality; in PackToData() 222 size_t dataSize = (ops.size > SIZE_ZERO) ? ops.size : DEFAULT_PACKING_SIZE; in PackToData() 232 if (ops.format != nullptr) { in PackToData() [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
D | image_source_test.cpp | 230 static bool parseImageDecodingOps(napi_env env, napi_value arg, struct OhosImageDecodingOps &ops) in parseImageDecodingOps() argument 238 GetBoolProperty(env, arg, "editable", &(ops.editable)); in parseImageDecodingOps() 239 GetInt32Property(env, arg, "pixelFormat", &(ops.pixelFormat)); in parseImageDecodingOps() 240 GetInt32Property(env, arg, "fitDensity", &(ops.fitDensity)); in parseImageDecodingOps() 241 GetUint32Property(env, arg, "index", &(ops.index)); in parseImageDecodingOps() 242 GetUint32Property(env, arg, "sampleSize", &(ops.sampleSize)); in parseImageDecodingOps() 243 GetUint32Property(env, arg, "rotate", &(ops.rotate)); in parseImageDecodingOps() 247 GetInt32Property(env, nSize, "width", &(ops.size.width)); in parseImageDecodingOps() 248 GetInt32Property(env, nSize, "height", &(ops.size.height)); in parseImageDecodingOps() 253 GetInt32Property(env, nRegion, "x", &(ops.region.x)); in parseImageDecodingOps() [all …]
|
/test/xts/acts/multimedia/photoAccess/ |
D | common.ts | 45 const ops : photoAccessHelper.FetchOptions = { constant 49 return ops; 55 const ops : photoAccessHelper.FetchOptions = { constant 60 return ops; 66 const ops : photoAccessHelper.FetchOptions = { constant 71 return ops; 77 const ops : photoAccessHelper.FetchOptions = { constant 102 return ops;
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
D | mock_idevice.h | 45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
|
D | mock_idevice.cpp | 185 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument 187 ops = m_operations; in GetSupportedOperation()
|
/test/xts/acts/ai/nncore/common/ |
D | mock_idevice.h | 45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
|
D | mock_idevice.cpp | 201 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument 203 ops = m_operations; in GetSupportedOperation()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
D | mock_idevice.h | 45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
|
D | mock_idevice.cpp | 200 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument 202 ops = m_operations; in GetSupportedOperation()
|