Searched defs:source (Results 51 - 75 of 617) sorted by relevance

1234567891011>>

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp30 const Iv iv, const uint8_t* source,
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
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp31 const sp<IStreamSource> &source,
33 : mSource(source),
30 NuPlayerStreamListener( const sp<IStreamSource> &source, const sp<AHandler> &targetHandler) argument
/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp25 SourceAudioBufferProvider::SourceAudioBufferProvider(const sp<NBAIO_Source>& source) : argument
26 mSource(source),
30 ALOG_ASSERT(source != 0);
32 // negotiate with source
35 ssize_t index = source->negotiate(NULL, 0, counterOffers, numCounterOffers);
38 index = source->negotiate(counterOffers, 1, NULL, numCounterOffers);
40 mFrameSize = Format_frameSize(source->format());
75 // read from source
/frameworks/av/media/libstagefright/
H A DDataConverter.cpp30 status_t DataConverter::convert(const sp<ABuffer> &source, sp<ABuffer> &target) { argument
31 CHECK(source->base() != target->base());
32 size_t size = targetSize(source->size());
40 err = safeConvert(source, target);
46 status_t DataConverter::safeConvert(const sp<ABuffer> &source, sp<ABuffer> &target) { argument
47 memcpy(target->base(), source->data(), source->size());
65 ALOGW("limiting source size due to overflow (%zu*%zu/%zu)",
95 AudioConverter* AudioConverter::Create(AudioEncoding source, AudioEncoding target) { argument
96 uint32_t sourceSampleSize = getAudioSampleSize(source);
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp179 sp<MediaSource> source = session->trackAt(0); local
182 source, 0 /* flags: ACodec::kPreferSoftwareCodecs */);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp92 audio_source_t source,
99 } else if (mMapType == MAPTYPE_OUTPUT && source != SessionRoute::SOURCE_TYPE_NA) {
115 route = new SessionRoute(session, streamType, source, descriptor, uid);
90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> descriptor, uid_t uid) argument
/frameworks/base/core/java/android/content/pm/
H A DFeatureInfo.java118 public FeatureInfo createFromParcel(Parcel source) {
119 return new FeatureInfo(source);
127 private FeatureInfo(Parcel source) { argument
128 name = source.readString();
129 version = source.readInt();
130 reqGlEsVersion = source.readInt();
131 flags = source.readInt();
H A DPackageInfoLite.java101 public PackageInfoLite createFromParcel(Parcel source) {
102 return new PackageInfoLite(source);
110 private PackageInfoLite(Parcel source) { argument
111 packageName = source.readString();
112 splitNames = source.createStringArray();
113 versionCode = source.readInt();
114 baseRevisionCode = source.readInt();
115 splitRevisionCodes = source.createIntArray();
116 recommendedInstallLocation = source.readInt();
117 installLocation = source
[all...]
H A DPermissionGroupInfo.java116 public PermissionGroupInfo createFromParcel(Parcel source) {
117 return new PermissionGroupInfo(source);
124 private PermissionGroupInfo(Parcel source) { argument
125 super(source);
126 descriptionRes = source.readInt();
127 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
128 flags = source.readInt();
129 priority = source.readInt();
/frameworks/base/core/java/android/content/res/
H A DObbInfo.java90 public ObbInfo createFromParcel(Parcel source) {
91 return new ObbInfo(source);
99 private ObbInfo(Parcel source) { argument
100 filename = source.readString();
101 packageName = source.readString();
102 version = source.readInt();
103 flags = source.readInt();
104 salt = source.createByteArray();
/frameworks/base/core/java/android/net/
H A DDhcpInfo.java40 public DhcpInfo(DhcpInfo source) { argument
41 if (source != null) {
42 ipAddress = source.ipAddress;
43 gateway = source.gateway;
44 netmask = source.netmask;
45 dns1 = source.dns1;
46 dns2 = source.dns2;
47 serverAddress = source.serverAddress;
48 leaseDuration = source.leaseDuration;
/frameworks/base/core/java/android/os/
H A DParcelable.java123 * @param source The Parcel to read the object's data from.
126 public T createFromParcel(Parcel source); argument
149 * @param source The Parcel to read the object's data from.
153 public T createFromParcel(Parcel source, ClassLoader loader); argument
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java27 * Transforms source text into an ALL CAPS string, locale-aware.
42 public CharSequence getTransformation(CharSequence source, View view) { argument
45 return source;
48 if (source == null) {
59 return source.toString().toUpperCase(locale);
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java85 public ImageSpan(Drawable d, String source) { argument
86 this(d, source, ALIGN_BOTTOM);
93 public ImageSpan(Drawable d, String source, int verticalAlignment) { argument
96 mSource = source;
161 * Returns the source string that was saved during construction.
/frameworks/base/core/java/android/view/
H A DFocusFinderHelper.java36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2);
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { argument
41 return mFocusFinder.beamBeats(direction, source, rect1, rect2);
52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { argument
53 return FocusFinder.majorAxisDistance(direction, source, dest);
56 public static int majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) { argument
57 return FocusFinder.majorAxisDistanceToFarEdge(direction, source, dest);
H A DKeyboardShortcutGroup.java77 private KeyboardShortcutGroup(Parcel source) { argument
79 mLabel = source.readCharSequence();
80 source.readTypedList(mItems, KeyboardShortcutInfo.CREATOR);
81 mSystemGroup = source.readInt() == 1;
126 public KeyboardShortcutGroup createFromParcel(Parcel source) {
127 return new KeyboardShortcutGroup(source);
/frameworks/base/core/java/android/view/inputmethod/
H A DCorrectionInfo.java43 private CorrectionInfo(Parcel source) { argument
44 mOffset = source.readInt();
45 mOldText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
46 mNewText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
93 public CorrectionInfo createFromParcel(Parcel source) {
94 return new CorrectionInfo(source);
/frameworks/base/graphics/java/android/view/
H A DPixelCopy.java46 * A timeout occurred while trying to acquire a buffer from the source to
52 * The source has nothing to copy from. When the source is a {@link Surface}
53 * this means that no buffers have been queued yet. Wait for the source
59 * It is not possible to copy from the source. This can happen if the source
90 * The contents of the source will be scaled to fit exactly inside the bitmap.
91 * The pixel format of the source buffer will be converted, as part of the copy,
93 * in the SurfaceView's Surface will be used as the source of the copy.
95 * @param source Th
102 request(@onNull SurfaceView source, @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) argument
123 request(@onNull Surface source, @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DDvbDeviceInfo.java35 public DvbDeviceInfo createFromParcel(Parcel source) {
37 return new DvbDeviceInfo(source);
53 private DvbDeviceInfo(Parcel source) { argument
54 mAdapterId = source.readInt();
55 mDeviceId = source.readInt();
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.cpp35 JMediaDataSource::JMediaDataSource(JNIEnv* env, jobject source) argument
37 mMediaDataSourceObj = env->NewGlobalRef(source);
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DStatement.java22 * An immutable value type representing a statement, consisting of a source, target, and relation.
23 * This reflects an assertion that the relation holds for the source, target pair. For example, if a
53 private Statement(AbstractAsset source, AbstractAsset target, Relation relation) { argument
54 mSource = source;
60 * Returns the source asset of the statement.
92 public static Statement create(@NonNull AbstractAsset source, @NonNull AbstractAsset target, argument
94 return new Statement(source, target, relation);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java112 public Drawable getDrawable(String source) { argument
/frameworks/base/services/core/java/com/android/server/
H A DHardwarePropertiesManagerService.java39 private static native float[] nativeGetDeviceTemperatures(int type, int source); argument
53 public float[] getDeviceTemperatures(String callingPackage, int type, int source) argument
57 return nativeGetDeviceTemperatures(type, source);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DActiveSourceHandler.java42 static ActiveSourceHandler create(HdmiCecLocalDeviceTv source, IHdmiControlCallback callback) { argument
43 if (source == null) {
47 return new ActiveSourceHandler(source, callback);
50 private ActiveSourceHandler(HdmiCecLocalDeviceTv source, IHdmiControlCallback callback) { argument
51 mSource = source;
57 * Handles the incoming active source command.
59 * @param newActive new active source information
60 * @param deviceType device type of the new active source
80 // TV is in a mode that should keep its current source/input from
81 // being changed for its operation. Reclaim the active source
[all...]
H A DHdmiCecMessage.java26 * source and destination address, command (or opcode), and optional parameters.
40 public HdmiCecMessage(int source, int destination, int opcode, byte[] params) { argument
41 mSource = source;
48 * Return the source address field of the message. It is the logical address
51 * @return source address

Completed in 5531 milliseconds

1234567891011>>