/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumeGroupChangeHandlerTest.java | 99 final AudioAttributes aa = avgAttributes.get(0); in testCallbackReceived() local 101 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived() 102 int indexMax = mAudioManager.getMaxVolumeIndexForAttributes(aa); in testCallbackReceived() 103 int indexMin = mAudioManager.getMinVolumeIndexForAttributes(aa); in testCallbackReceived() 109 mAudioManager.setVolumeIndexForAttributes(aa, indexForAa, 0/*flags*/); in testCallbackReceived() 113 final int readIndex = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived() 153 AudioAttributes aa = avgAttributes.get(0); in testMultipleCallbackReceived() local 155 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testMultipleCallbackReceived() 156 int indexMax = mAudioManager.getMaxVolumeIndexForAttributes(aa); in testMultipleCallbackReceived() 157 int indexMin = mAudioManager.getMinVolumeIndexForAttributes(aa); in testMultipleCallbackReceived() [all …]
|
D | AudioManagerTest.java | 77 for (final AudioAttributes aa : audioVolumeGroup.getAudioAttributes()) { in testGetAndValidateProductStrategies() 78 if (audioProductStrategy.supportsAudioAttributes(aa)) { in testGetAndValidateProductStrategies() 120 for (final AudioAttributes aa : avgAttributes) { in testGetAndValidateVolumeGroups() 121 if (aa.equals(sDefaultAttributes)) { in testGetAndValidateVolumeGroups() 129 int groupId = strategy.getVolumeGroupIdForAudioAttributes(aa); in testGetAndValidateVolumeGroups() 135 + aa.toString() + " are mismatching", in testGetAndValidateVolumeGroups() 142 + ") has no associated strategy for attributes " + aa.toString(), in testGetAndValidateVolumeGroups() 275 for (final AudioAttributes aa : avgAttributes) { in testVolumeGroupCallback() 276 if (aa.equals(sDefaultAttributes)) { in testVolumeGroupCallback() 282 index = mAudioManager.getVolumeIndexForAttributes(aa); in testVolumeGroupCallback() [all …]
|
D | AudioVolumeGroupTest.java | 69 for (final AudioAttributes aa : avgAttributes) { in testGetVolumeGroups() 70 if (aa.equals(sDefaultAttributes)) { in testGetVolumeGroups() 78 int groupId = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetVolumeGroups() 83 assertTrue(aps.supportsAudioAttributes(aa)); in testGetVolumeGroups() 87 + aa.toString() + " are mismatching", in testGetVolumeGroups() 94 + ") has no associated strategy for attributes " + aa.toString(), in testGetVolumeGroups()
|
D | AudioVolumesTestBase.java | 60 for (final AudioAttributes aa : avg.getAudioAttributes()) { in storeAllVolumes() 61 if (!aa.equals(AudioProductStrategy.getDefaultAttributes())) { in storeAllVolumes() 62 avgAttributes = aa; in storeAllVolumes() 86 for (final AudioAttributes aa : avg.getAudioAttributes()) { in restoreAllVolumes() 87 if (!aa.equals(AudioProductStrategy.getDefaultAttributes())) { in restoreAllVolumes() 88 avgAttributes = aa; in restoreAllVolumes()
|
D | AudioProductStrategyTest.java | 47 AudioAttributes aa = aps.getAudioAttributes(); in testGetProductStrategies() local 48 assertNotNull(aa); in testGetProductStrategies() 51 assertTrue(aps.supportsAudioAttributes(aa)); in testGetProductStrategies() 53 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() 59 final int volumeGroupFromAttributes = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetProductStrategies()
|
/frameworks/base/core/jni/ |
D | android_media_AudioAttributes.cpp | 67 JNIEnv* env, jobject jAudioAttributes, audio_attributes_t *aa) in nativeAudioAttributesFromJavaAudioAttributes() argument 86 strncpy(aa->tags, tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1); in nativeAudioAttributesFromJavaAudioAttributes() 90 aa->source = (audio_source_t) env->GetIntField(jAudioAttributes, in nativeAudioAttributesFromJavaAudioAttributes() 93 aa->usage = (audio_usage_t) env->GetIntField(jAudioAttributes, gAudioAttributesFields.mUsage); in nativeAudioAttributesFromJavaAudioAttributes() 95 aa->content_type = in nativeAudioAttributesFromJavaAudioAttributes() 99 aa->flags = (audio_flags_mask_t)env->GetIntField(jAudioAttributes, in nativeAudioAttributesFromJavaAudioAttributes() 103 aa->usage, aa->content_type, aa->source, aa->tags, aa->flags, aa->tags); in nativeAudioAttributesFromJavaAudioAttributes() 147 audio_attributes_t *aa = new (calloc(1, sizeof(audio_attributes_t))) in makeUnique() 149 return UniqueAaPtr{aa}; in makeUnique()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 785 public Builder(AudioAttributes aa) { in Builder() argument 786 mUsage = aa.mUsage; in Builder() 787 mContentType = aa.mContentType; in Builder() 788 mSource = aa.mSource; in Builder() 789 mFlags = aa.getAllFlags(); in Builder() 790 mTags = (HashSet<String>) aa.mTags.clone(); in Builder() 791 mMuteHapticChannels = aa.areHapticChannelsMuted(); in Builder() 792 mIsContentSpatialized = aa.isContentSpatialized(); in Builder() 793 mSpatializationBehavior = aa.getSpatializationBehavior(); in Builder() 806 AudioAttributes aa = new AudioAttributes(); in build() local [all …]
|
D | IRingtonePlayer.aidl | 31 … oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play() argument 32 oneway void playWithVolumeShaping(IBinder token, in Uri uri, in AudioAttributes aa, in playWithVolumeShaping() argument 40 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync() argument
|
D | AudioFocusInfo.java | 58 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() argument 60 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; in AudioFocusInfo()
|
D | IAudioService.aidl | 214 int requestAudioFocus(in AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocus() argument 218 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa, in abandonAudioFocus() argument 235 void setWiredDeviceConnectionState(in AudioDeviceAttributes aa, int state, String caller); in setWiredDeviceConnectionState() argument 403 int requestAudioFocusForTest(in AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocusForTest() argument 408 in AudioAttributes aa, in String callingPackageName); in abandonAudioFocusForTest() argument 410 long getFadeOutDurationOnFocusLossMillis(in AudioAttributes aa); in getFadeOutDurationOnFocusLossMillis() argument 437 boolean canBeSpatialized(in AudioAttributes aa, in AudioFormat af); in canBeSpatialized() argument
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 127 AudioAttributes aa = productStrategy.getAudioAttributesForLegacyStreamType(streamType); in getAudioAttributesForStrategyWithLegacyStreamType() local 128 if (aa != null) { in getAudioAttributesForStrategyWithLegacyStreamType() 129 return aa; in getAudioAttributesForStrategyWithLegacyStreamType() 278 public int getLegacyStreamTypeForAudioAttributes(@NonNull AudioAttributes aa) { in getLegacyStreamTypeForAudioAttributes() argument 279 Objects.requireNonNull(aa, "AudioAttributes must not be null"); in getLegacyStreamTypeForAudioAttributes() 281 if (aag.supportsAttributes(aa)) { in getLegacyStreamTypeForAudioAttributes() 295 public boolean supportsAudioAttributes(@NonNull AudioAttributes aa) { in supportsAudioAttributes() argument 296 Objects.requireNonNull(aa, "AudioAttributes must not be null"); in supportsAudioAttributes() 298 if (aag.supportsAttributes(aa)) { in supportsAudioAttributes() 328 public int getVolumeGroupIdForAudioAttributes(@NonNull AudioAttributes aa) { in getVolumeGroupIdForAudioAttributes() argument [all …]
|
/frameworks/av/media/codecs/m4v_h263/enc/src/ |
D | dct_inline.h | 272 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 …]
|
D | fastquant_inline.h | 489 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/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 91 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client() argument 92 this(token, uri, user, aa, null); in Client() 95 Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa, in Client() argument 100 mRingtone.setAudioAttributesField(aa); in Client() 117 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping) 119 playWithVolumeShaping(token, uri, aa, volume, looping, null); 122 public void playWithVolumeShaping(IBinder token, Uri uri, AudioAttributes aa, float volume, 134 client = new Client(token, uri, user, aa, volumeShaperConfig); 187 public void playAsync(Uri uri, UserHandle user, boolean looping, AudioAttributes aa) { 195 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasFrontend.cpp | 52 const SkRect& bounds, bool aa, bool fillsBounds) { in apply() argument 53 this->aa |= aa; in apply() 58 if (!this->bounds.intersect(aa ? devBounds.roundOut() : devBounds.round())) { in apply() 125 SkIRect::Intersects(this->bounds, aa ? devRect.roundOut() : devRect.round()); in quickReject()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 108 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRenaming() local 116 agen.setAnalysisResult(aa.analyze()); in testClassRenaming() 151 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testJavaClassRefactoring() local 161 agen.setAnalysisResult(aa.analyze()); in testJavaClassRefactoring() 199 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRefactoring() local 207 agen.setAnalysisResult(aa.analyze()); in testClassRefactoring() 235 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassExclusion() local 245 agen.setAnalysisResult(aa.analyze()); in testClassExclusion() 280 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testMethodInjection() local 290 agen.setAnalysisResult(aa.analyze()); in testMethodInjection() [all …]
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | VolumeGroup.cpp | 44 for (auto &aa : mGroupVolumeCurves.getAttributes()) { in getSupportedAttributes() local 45 aa.source = AUDIO_SOURCE_INVALID; in getSupportedAttributes() 46 supportedAttributes.push_back(aa); in getSupportedAttributes()
|
/frameworks/compile/mclinker/unittests/ |
D | SymbolCategoryTest.cpp | 55 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/av/media/libaaudio/tests/ |
D | test_disconnect_race.cpp | 47 #define MY_ASSERT_EQ(aa,bb) MY_ASSERT_TRUE(((aa) == (bb))) argument 48 #define MY_ASSERT_NE(aa,bb) MY_ASSERT_TRUE(((aa) != (bb))) argument
|
/frameworks/base/tools/aapt2/compile/ |
D | PngCrunch.cpp | 652 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/ |
D | RecordingCanvas.cpp | 164 ClipPath(const SkPath& path, SkClipOp op, bool aa) : path(path), op(op), aa(aa) {} in ClipPath() 167 bool aa; member 168 void draw(SkCanvas* c, const SkMatrix&) const { c->clipPath(path, op, aa); } in draw() 172 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect() 175 bool aa; member 176 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRect(rect, op, aa); } in draw() 180 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect() 183 bool aa; member 184 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRRect(rrect, op, aa); } in draw() 673 void DisplayListData::clipPath(const SkPath& path, SkClipOp op, bool aa) { in clipPath() argument [all …]
|
D | VectorDrawable.h | 121 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() 654 void setAntiAlias(bool aa) { mRootNode->setAntiAlias(aa); } in setAntiAlias() argument
|
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/ |
D | reflection3264_struct_mismatch.rscript | 19 struct t aa; 26 int aa;
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | tbaa.ll | 4 ; RUN: opt -load libbcc.so -kernelexp -tbaa -aa-eval -print-no-aliases -evaluate-aa-metadata < %s -…
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 824 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 …]
|