/system/media/camera/docs/ |
D | plots.py | 146 redMap = np.dstack( (redMap, np.zeros(shadingMapSize), np.zeros(shadingMapSize) ) ) 147 greenEMap = np.dstack( (np.zeros(shadingMapSize), greenEMap, np.zeros(shadingMapSize) ) ) 148 greenOMap = np.dstack( (np.zeros(shadingMapSize), greenOMap, np.zeros(shadingMapSize) ) ) 149 blueMap = np.dstack( (np.zeros(shadingMapSize), np.zeros(shadingMapSize), blueMap ) )
|
/system/keymaster/km_openssl/ |
D | hkdf.cpp | 36 UniquePtr<uint8_t[]> zeros(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey() local 37 if (zeros.get() == nullptr) return false; in GenerateKey() 39 memset(zeros.get(), 0, digest_size_); in GenerateKey() 40 result = prk_hmac.Init(zeros.get(), digest_size_); in GenerateKey()
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 68 string zeros(size, '\0'); in SetUp() local 69 EXPECT_TRUE(utils::WriteFile(path, zeros.c_str(), zeros.size())); in SetUp()
|
/system/core/fs_mgr/libsnapshot/ |
D | utility.cpp | 111 std::vector<uint8_t> zeros(kDmSnapZeroFillSize, 0); in InitializeKernelCow() local 119 if (!android::base::WriteFully(fd, zeros.data(), kDmSnapZeroFillSize)) { in InitializeKernelCow()
|
D | snapshot_fuzz_utils.cpp | 373 std::string zeros(size, '\0'); in CheckZeroFill() local 374 PCHECK(WriteStringToFile(zeros, file)) << "Cannot write zeros to " << file; in CheckZeroFill()
|
/system/update_engine/payload_consumer/ |
D | partition_writer.cc | 346 brillo::Blob zeros; in PerformZeroOrDiscardOperation() local 357 zeros.resize(16 * block_size_); in PerformZeroOrDiscardOperation() 358 for (uint64_t offset = 0; offset < length; offset += zeros.size()) { in PerformZeroOrDiscardOperation() 360 std::min(length - offset, static_cast<uint64_t>(zeros.size())); in PerformZeroOrDiscardOperation() 362 target_fd_, zeros.data(), chunk_length, start + offset)); in PerformZeroOrDiscardOperation()
|
D | delta_performer_integration_test.cc | 430 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 431 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 434 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 435 zeros.size())); in GenerateDeltaFile() 486 brillo::Blob zeros(16 * 1024, 0); in GenerateDeltaFile() local 487 EXPECT_EQ(static_cast<int>(zeros.size()), in GenerateDeltaFile() 489 reinterpret_cast<const char*>(zeros.data()), in GenerateDeltaFile() 490 zeros.size())); in GenerateDeltaFile()
|
/system/chre/chpp/test/ |
D | wwan_convert_test.cpp | 343 uint8_t zeros[sizePastEnd]; in TEST() local 344 memset(zeros, 0, sizePastEnd); in TEST() 345 EXPECT_EQ(memcmp(pastEnd, zeros, sizeof(zeros)), 0); in TEST()
|
/system/bt/gd/security/ |
D | pairing_handler_le_secure_connections.cc | 223 Octet16 zeros{0}; in SecureConnectionsOutOfBand() local 224 …t16 localR = (remote_oob_flag == OobDataFlag::PRESENT && i.my_oob_data) ? i.my_oob_data->r : zeros; in SecureConnectionsOutOfBand() 230 remoteR = zeros; in SecureConnectionsOutOfBand()
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 241 zeros = '\x00' * BOOT_IMAGE_V4_SIGNATURE_SIZE 242 self.assertEqual(f.read(), zeros)
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 53 sudo dd if=/dev/zero of="${mntdir}"/regular-32k-zeros bs=1024 count=16 \
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android.cc | 603 brillo::Blob zeros(write_size); in Erase() local 604 TEST_AND_RETURN_FALSE(utils::WriteAll(fd_, zeros.data(), zeros.size())); in Erase()
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 582 zeros = b'\x00' * BOOT_IMAGE_V4_SIGNATURE_SIZE 583 args.output.write(zeros)
|
/system/update_engine/ |
D | update_metadata.proto | 79 // - ZERO: Write zeros to the destination dst_extents. 184 ZERO = 6; // Write zeros in the destination.
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 79 // - ZERO: Write zeros to the destination dst_extents. 184 ZERO = 6; // Write zeros in the destination.
|