Home
last modified time | relevance | path

Searched refs:aa (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/core/jni/
Dandroid_media_AudioAttributes.cpp64 JNIEnv* env, jobject jAudioAttributes, audio_attributes_t *aa) in nativeAudioAttributesFromJavaAudioAttributes() argument
83 strncpy(aa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1); in nativeAudioAttributesFromJavaAudioAttributes()
87 aa->source = (audio_source_t) env->GetIntField(jAudioAttributes, in nativeAudioAttributesFromJavaAudioAttributes()
90 aa->usage = (audio_usage_t) env->GetIntField(jAudioAttributes, gAudioAttributesFields.mUsage); in nativeAudioAttributesFromJavaAudioAttributes()
92 aa->content_type = in nativeAudioAttributesFromJavaAudioAttributes()
96 aa->flags = (audio_flags_mask_t)env->GetIntField(jAudioAttributes, in nativeAudioAttributesFromJavaAudioAttributes()
100 aa->usage, aa->content_type, aa->source, aa->tags, aa->flags, aa->tags); in nativeAudioAttributesFromJavaAudioAttributes()
136 audio_attributes_t *aa = new (calloc(1, sizeof(audio_attributes_t))) in makeUnique()
138 return UniqueAaPtr{aa}; in makeUnique()
/frameworks/base/media/java/android/media/
DAudioAttributes.java600 public Builder(AudioAttributes aa) { in Builder() argument
601 mUsage = aa.mUsage; in Builder()
602 mContentType = aa.mContentType; in Builder()
603 mFlags = aa.getAllFlags(); in Builder()
604 mTags = (HashSet<String>) aa.mTags.clone(); in Builder()
605 mMuteHapticChannels = aa.areHapticChannelsMuted(); in Builder()
615 AudioAttributes aa = new AudioAttributes(); in build() local
616 aa.mContentType = mContentType; in build()
617 aa.mUsage = mUsage; in build()
618 aa.mSource = mSource; in build()
[all …]
DIRingtonePlayer.aidl30 … oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play() argument
31 oneway void playWithVolumeShaping(IBinder token, in Uri uri, in AudioAttributes aa, in playWithVolumeShaping() argument
38 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync() argument
DIAudioService.aidl97 …void setVolumeIndexForAttributes(in AudioAttributes aa, int index, int flags, String callingPackag… in setVolumeIndexForAttributes() argument
99 int getVolumeIndexForAttributes(in AudioAttributes aa); in getVolumeIndexForAttributes() argument
101 int getMaxVolumeIndexForAttributes(in AudioAttributes aa); in getMaxVolumeIndexForAttributes() argument
103 int getMinVolumeIndexForAttributes(in AudioAttributes aa); in getMinVolumeIndexForAttributes() argument
155 int requestAudioFocus(in AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocus() argument
159 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa, in abandonAudioFocus() argument
DAudioFocusInfo.java59 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() argument
61 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; in AudioFocusInfo()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java94 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForStrategyWithLegacyStreamType() local
95 if (aa != null) { in getAudioAttributesForStrategyWithLegacyStreamType()
96 return aa; in getAudioAttributesForStrategyWithLegacyStreamType()
209 public int getLegacyStreamTypeForAudioAttributes(@NonNull AudioAttributes aa) { in getLegacyStreamTypeForAudioAttributes() argument
210 Preconditions.checkNotNull(aa, "AudioAttributes must not be null"); in getLegacyStreamTypeForAudioAttributes()
212 if (aag.supportsAttributes(aa)) { in getLegacyStreamTypeForAudioAttributes()
225 public boolean supportsAudioAttributes(@NonNull AudioAttributes aa) { in supportsAudioAttributes() argument
226 Preconditions.checkNotNull(aa, "AudioAttributes must not be null"); in supportsAudioAttributes()
228 if (aag.supportsAttributes(aa)) { in supportsAudioAttributes()
256 public int getVolumeGroupIdForAudioAttributes(@NonNull AudioAttributes aa) { in getVolumeGroupIdForAudioAttributes() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client() argument
83 this(token, uri, user, aa, null); in Client()
86 Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa, in Client() argument
91 mRingtone.setAudioAttributes(aa); in Client()
107 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping)
109 playWithVolumeShaping(token, uri, aa, volume, looping, null);
112 public void playWithVolumeShaping(IBinder token, Uri uri, AudioAttributes aa, float volume,
124 client = new Client(token, uri, user, aa, volumeShaperConfig);
175 public void playAsync(Uri uri, UserHandle user, boolean looping, AudioAttributes aa) {
183 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct_inline.h272 register int32 aa = (int32)op1; in mla724() local
278 : "r"(aa), in mla724()
288 register int32 aa = (int32)k0; in mla392() local
294 : "r"(aa), in mla392()
304 register int32 aa = (int32)k4; in mla554() local
310 : "r"(aa), in mla554()
320 register int32 aa = (int32)k6; in mla1338() local
326 : "r"(aa), in mla1338()
335 register int32 aa = (int32)k6; in mla946() local
341 : "r"(aa), in mla946()
[all …]
Dfastquant_inline.h489 register int32 aa = Addition; in coeff_dequant() local
504 "r"(aa), in coeff_dequant()
513 register int32 aa = (int32)q_value; in smlabb() local
519 : "r"(aa), in smlabb()
528 register int32 aa = (int32)q_scale; in smulbb() local
533 : "r"(aa), in smulbb()
/frameworks/compile/mclinker/unittests/
DSymbolCategoryTest.cpp55 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F() local
65 m_pTestee->add(*aa); in TEST_F()
98 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F() local
104 a->setSymPtr(aa); in TEST_F()
114 m_pTestee->add(*aa); in TEST_F()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java103 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRenaming() local
110 agen.setAnalysisResult(aa.analyze()); in testClassRenaming()
145 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testJavaClassRefactoring() local
154 agen.setAnalysisResult(aa.analyze()); in testJavaClassRefactoring()
192 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRefactoring() local
199 agen.setAnalysisResult(aa.analyze()); in testClassRefactoring()
227 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassExclusion() local
236 agen.setAnalysisResult(aa.analyze()); in testClassExclusion()
270 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testMethodInjection() local
279 agen.setAnalysisResult(aa.analyze()); in testMethodInjection()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java253 AudioAttributes aa = record.getAudioAttributes(); in isMedia() local
254 return aa != null && AudioAttributes.SUPPRESSIBLE_USAGES.get(aa.getUsage()) == in isMedia()
259 AudioAttributes aa = record.getAudioAttributes(); in isSystem() local
260 return aa != null && AudioAttributes.SUPPRESSIBLE_USAGES.get(aa.getUsage()) == in isSystem()
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rs19 struct t aa;
26 int aa;
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp155 ClipPath(const SkPath& path, SkClipOp op, bool aa) : path(path), op(op), aa(aa) {} in ClipPath()
158 bool aa; member
159 void draw(SkCanvas* c, const SkMatrix&) const { c->clipPath(path, op, aa); } in draw()
163 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect()
166 bool aa; member
167 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRect(rect, op, aa); } in draw()
171 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
174 bool aa; member
175 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRRect(rrect, op, aa); } in draw()
559 void DisplayListData::clipPath(const SkPath& path, SkClipOp op, bool aa) { in clipPath() argument
[all …]
DVectorDrawable.h121 virtual void setAntiAlias(bool aa) = 0;
353 virtual void setAntiAlias(bool aa) { mAntiAlias = aa; } in setAntiAlias() argument
378 virtual void setAntiAlias(bool aa) {} in setAntiAlias() argument
482 virtual void setAntiAlias(bool aa) { in setAntiAlias() argument
484 child->setAntiAlias(aa); in setAntiAlias()
660 void setAntiAlias(bool aa) { mRootNode->setAntiAlias(aa); } in setAntiAlias() argument
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp652 int aa = *in_row++; in WritePng() local
653 if (aa == 0) { in WritePng()
658 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
677 int aa = in_row[x * 4 + 3]; in WritePng() local
678 if (aa == 0) { in WritePng()
696 out_row[x * bpp + 1] = aa; in WritePng()
714 int aa = *in_row++; in WritePng() local
715 if (aa == 0) { in WritePng()
723 out_row[x * bpp + 3] = aa; in WritePng()
/frameworks/base/libs/hwui/hwui/
DPaintImpl.cpp92 void Paint::setAntiAlias(bool aa) { in setAntiAlias() argument
96 SkPaint::setAntiAlias(aa); in setAntiAlias()
97 mFont.setEdging(aa ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in setAntiAlias()
/frameworks/compile/libbcc/tests/libbcc/
Dtbaa.ll4 ; RUN: opt -load libbcc.so -kernelexp -tbaa -aa-eval -print-no-aliases -evaluate-aa-metadata < %s -…
/frameworks/base/tools/aapt/
DImages.cpp824 int i, j, rr, gg, bb, aa; in dump_image() local
845 aa = row[3]; in dump_image()
862 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
882 int i, j, rr, gg, bb, aa, idx;; in analyze_image() local
920 aa = *(row + 3); in analyze_image()
921 if (aa == 0) { in analyze_image()
946 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
955 i, j, rr, gg, bb, aa); in analyze_image()
963 if (aa != 0xff) { in analyze_image()
966 i, j, rr, gg, bb, aa); in analyze_image()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_extra64/
Dreflection3264_foreach_mismatch_extra64.rs4 void aa(const int *in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_extra32/
Dreflection3264_foreach_mismatch_extra32.rs4 void aa(const int *in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name32/
Dreflection3264_foreach_mismatch_name32.rs8 void aa(const size_t *in) { }
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name64/
Dreflection3264_foreach_mismatch_name64.rs8 void aa(const size_t *in) { }
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra64/
Dreflection3264_reduce_extra64.rs6 #pragma rs reduce(aa) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra32/
Dreflection3264_reduce_extra32.rs6 #pragma rs reduce(aa) accumulator(accum)

123