/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 241 const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) { 257 if (destination.mType == kDestinationTypeNativeHandle) { 258 destPtr = static_cast<void *>(destination.mHandle); 261 destPtr = destination.mSharedMemory->pointer(); 237 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
|
H A D | CryptoHal.cpp | 285 const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) { 326 if (destination.mType == kDestinationTypeSharedMemory) { 328 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum, 336 hDestination.secureMemory = hidl_handle(destination.mHandle); 281 decrypt(const uint8_t keyId[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const ICrypto::SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
|
H A D | ICrypto.cpp | 103 const DestinationBuffer &destination, AString *errorDetailMsg) { 137 data.writeInt32((int32_t)destination.mType); 138 if (destination.mType == kDestinationTypeNativeHandle) { 139 if (destination.mHandle == NULL) { 142 data.writeNativeHandle(destination.mHandle); 144 if (destination.mSharedMemory == NULL) { 147 data.writeStrongBinder(IInterface::asBinder(destination.mSharedMemory)); 350 DestinationBuffer destination; local 351 destination.mType = (DestinationType)data.readInt32(); 352 if (destination 99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | AesCtrDecryptor.cpp | 31 uint8_t* destination, 49 memcpy(destination + offset, source + offset, 55 AES_ctr128_encrypt(source + offset, destination + offset, 29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
H A D | Session.cpp | 66 void* destination, const SubSample* subSamples, 81 reinterpret_cast<uint8_t*>(destination), subSamples, 64 decrypt( const KeyId keyId, const Iv iv, const void* source, void* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | AesCtrDecryptorUnittest.cpp | 34 uint8_t* destination, const SubSample* subSamples, 40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, 33 attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
H A D | loopback.cpp | 233 float *destination, 237 destination[i] = source[i] * scaler; 232 convertPcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples) argument
|
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioStreamInternalCapture.cpp | 113 uint8_t *destination = (uint8_t *) buffer; local 133 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); 138 (float *) destination, 145 (int16_t *) destination, 152 destination += numBytes;
|
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoBuffer.cpp | 122 uint8_t *destination = (uint8_t *) buffer; local 137 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); 139 destination += numBytes;
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | AAudioUtilities.cpp | 104 int16_t *destination, 110 *destination++ = clipAndClampFloatToPcm16(sample, scaler); 115 int16_t *destination, 126 *destination++ = clipAndClampFloatToPcm16(sample, scaler); 135 float *destination, 140 destination[i] = source[i] * scaler; 146 float *destination, 155 *destination++ = *source++ * scaler; 163 float *destination, 178 *destination 103 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numSamples, float amplitude) argument 114 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 134 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples, float amplitude) argument 145 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 162 AAudio_linearRamp(const float *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 185 AAudio_linearRamp(const int16_t *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument [all...] |
/frameworks/av/media/libaaudio/tests/ |
H A D | test_linear_ramp.cpp | 28 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local 42 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); 43 ASSERT_EQ(0.0f, destination[0]); 44 ASSERT_EQ(1.0f, destination[1]); 45 ASSERT_EQ(2.0f, destination[2]); 46 ASSERT_EQ(3.0f, destination[3]); 53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo); 54 ASSERT_EQ(4.0f, destination[0]); 55 ASSERT_EQ(5.0f, destination[1]); 56 ASSERT_EQ(6.0f, destination[ 76 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioMixer.cpp | 46 float *destination = mOutputBuffer; local 61 mixPart(destination, (float *)wrappingBuffer.data[partIndex], framesToMix, volume); 63 destination += framesToMix * mSamplesPerFrame; 76 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames, float volume) { argument 80 *destination++ += *source++ * volume;
|
/frameworks/base/cmds/incident/ |
H A D | main.cpp | 140 enum { DEST_DROPBOX, DEST_STDOUT } destination = DEST_STDOUT; local 147 destination = DEST_STDOUT; 153 destination = DEST_DROPBOX; 205 if (destination == DEST_STDOUT) {
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 208 * file descriptor pointing to the backup data destination. 255 * points to the backup destination, and the app has the opportunity to choose which 279 * @param data A structured wrapper pointing to the backup destination. 489 * will be delivered to the backup destination along with the metadata necessary 501 * @param output The destination to which the backed-up file data will be sent. 708 * The default implementation creates the destination file/directory and populates it 715 * destination. If the file system object being restored is a directory, {@code size} 717 * @param destination The File on disk to be restored with the given data. 720 * @param mode The access mode to be assigned to the destination after its data is 727 File destination, in 726 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 735 isFileEligibleForRestore(File destination) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | BlackLevelPattern.java | 74 * Copy the ColorChannel offsets into the destination vector. 78 * @param destination an array big enough to hold at least {@value #COUNT} elements after the 83 * @throws ArrayIndexOutOfBoundsException if the destination vector is too small. 84 * @throws NullPointerException if the destination is null. 86 public void copyTo(int[] destination, int offset) { argument 87 checkNotNull(destination, "destination must not be null"); 91 if (destination.length - offset < COUNT) { 92 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements"); 95 destination[offse [all...] |
H A D | ColorSpaceTransform.java | 149 * Copy the {@link Rational} elements in row-major order from this matrix into the destination. 151 * @param destination 157 * If {@code destination} was {@code null} 159 * If there's not enough room to write the elements at the specified destination and 162 public void copyElements(Rational[] destination, int offset) { argument 164 checkNotNull(destination, "destination must not be null"); 165 if (destination.length - offset < COUNT) { 166 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements"); 173 destination[ 197 copyElements(int[] destination, int offset) argument [all...] |
H A D | LensShadingMap.java | 177 * Copy all gain factors in row-major order from this lens shading map into the destination. 181 * @param destination 187 * If {@code destination} was {@code null} 191 * If there's not enough room to write the elements at the specified destination and 196 public void copyGainFactors(final float[] destination, final int offset) { argument 198 checkNotNull(destination, "destination must not be null"); 199 if (destination.length + offset < getGainFactorCount()) { 200 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements"); 203 System.arraycopy(mElements, /*srcPos*/0, destination, offse [all...] |
H A D | RggbChannelVector.java | 133 * Copy the vector into the destination in the order {@code [R, Geven, Godd, B]}. 135 * @param destination 142 * If {@code destination} was {@code null} 144 * If there's not enough room to write the elements at the specified destination and 147 public void copyTo(final float[] destination, final int offset) { argument 148 checkNotNull(destination, "destination must not be null"); 149 if (destination.length - offset < COUNT) { 150 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements"); 153 destination[offse [all...] |
H A D | TonemapCurve.java | 203 * Copy the color curve for a single color channel from this tonemap curve into the destination. 213 * @param destination 219 * If {@code destination} was {@code null} 223 * If there's not enough room to write the elements at the specified destination and 232 public void copyColorCurve(int colorChannel, float[] destination, argument 235 checkNotNull(destination, "destination must not be null"); 237 if (destination.length + offset < getPointCount(colorChannel) * POINT_SIZE) { 238 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements"); 242 System.arraycopy(curve, /*srcPos*/0, destination, offse [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 162 * ({@code destination}) in-place. 165 * @param destination the resulting floating point rectangle will be written out to here 169 public static void convertRectF(Rect source, RectF destination) { argument 171 checkNotNull(destination, "destination must not be null"); 173 destination.left = source.left; 174 destination.right = source.right; 175 destination.bottom = source.bottom; 176 destination.top = source.top;
|
/frameworks/base/core/java/android/net/ |
H A D | RouteInfo.java | 38 * <li>a destination {@link IpPrefix} specifying the network destinations covered by this route. 45 * Either the destination or the gateway may be {@code null}, but not both. If the 46 * destination and gateway are both specified, they must be of the same address family 51 * The IP destination address for this route. 88 * If destination is null, then gateway must be specified and the 94 * destination and gateway may not both be null. 96 * @param destination the destination prefix 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument 122 if (destination 163 RouteInfo(IpPrefix destination, InetAddress gateway, String iface) argument 170 RouteInfo(LinkAddress destination, InetAddress gateway, String iface) argument 191 RouteInfo(IpPrefix destination, InetAddress gateway) argument 200 RouteInfo(LinkAddress destination, InetAddress gateway) argument 223 RouteInfo(IpPrefix destination) argument 230 RouteInfo(LinkAddress destination) argument 237 RouteInfo(IpPrefix destination, int type) argument 369 matches(InetAddress destination) argument [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentAdapter.java | 68 * pages to the provided destination. The execution of this method is not 234 * @param destination The destination file descriptor to which to write. 241 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
|
H A D | PrintFileDocumentAdapter.java | 87 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument 89 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback); 102 public WriteFileAsyncTask(ParcelFileDescriptor destination, argument 104 mDestination = destination;
|
/frameworks/base/core/java/android/view/ |
H A D | DragAndDropPermissions.java | 139 public void writeToParcel(Parcel destination, int flags) { argument 140 destination.writeStrongInterface(mDragAndDropPermissions); 141 destination.writeStrongBinder(mTransientToken);
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupDataTest.java | 229 private void copyAssetToFile(String source, String destination) throws IOException { argument 230 mFile = new File(mDirectory, destination);
|