/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() 274 for (final AudioAttributes aa : avgAttributes) { in testVolumeGroupCallback() 275 if (aa.equals(sDefaultAttributes)) { in testVolumeGroupCallback() 281 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 | 65 for (final AudioAttributes aa : avg.getAudioAttributes()) { in storeAllVolumes() 66 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { in storeAllVolumes() 67 avgAttributes = aa; in storeAllVolumes() 91 for (final AudioAttributes aa : avg.getAudioAttributes()) { in restoreAllVolumes() 92 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { in restoreAllVolumes() 93 avgAttributes = aa; in restoreAllVolumes()
|
D | AudioProductStrategyTest.java | 46 AudioAttributes aa = aps.getAudioAttributes(); in testGetProductStrategies() local 47 assertNotNull(aa); in testGetProductStrategies() 50 assertTrue(aps.supportsAudioAttributes(aa)); in testGetProductStrategies() 52 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() 58 final int volumeGroupFromAttributes = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetProductStrategies()
|
/frameworks/base/core/jni/ |
D | android_media_AudioAttributes.cpp | 64 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/ |
D | AudioAttributes.java | 610 public Builder(AudioAttributes aa) { in Builder() argument 611 mUsage = aa.mUsage; in Builder() 612 mContentType = aa.mContentType; in Builder() 613 mFlags = aa.getAllFlags(); in Builder() 614 mTags = (HashSet<String>) aa.mTags.clone(); in Builder() 615 mMuteHapticChannels = aa.areHapticChannelsMuted(); in Builder() 625 AudioAttributes aa = new AudioAttributes(); in build() local 626 aa.mContentType = mContentType; in build() 627 aa.mUsage = mUsage; in build() 628 aa.mSource = mSource; in build() [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 39 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync() argument
|
D | IAudioService.aidl | 97 …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 159 int requestAudioFocus(in AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocus() argument 163 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa, in abandonAudioFocus() argument
|
D | AudioFocusInfo.java | 60 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() argument 62 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; in AudioFocusInfo()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 94 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/av/media/libstagefright/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 | 82 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/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 103 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/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/base/libs/hwui/ |
D | RecordingCanvas.cpp | 155 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 …]
|
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() 660 void setAntiAlias(bool aa) { mRootNode->setAntiAlias(aa); } in setAntiAlias() argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 253 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/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/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 …]
|
/frameworks/base/libs/hwui/hwui/ |
D | PaintImpl.cpp | 92 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/slang/tests/F_reflection3264_struct_mismatch/ |
D | reflection3264_struct_mismatch.rscript | 19 struct t aa; 26 int aa;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 964 boolean foregroundAppShownEnoughLocked(ActiveForegroundApp aa, long nowElapsed) { in foregroundAppShownEnoughLocked() argument 965 if (DEBUG_FOREGROUND_SERVICE) Slog.d(TAG, "Shown enough: pkg=" + aa.mPackageName + ", uid=" in foregroundAppShownEnoughLocked() 966 + aa.mUid); in foregroundAppShownEnoughLocked() 968 aa.mHideTime = Long.MAX_VALUE; in foregroundAppShownEnoughLocked() 969 if (aa.mShownWhileTop) { in foregroundAppShownEnoughLocked() 974 } else if (mScreenOn || aa.mShownWhileScreenOn) { in foregroundAppShownEnoughLocked() 975 final long minTime = aa.mStartVisibleTime in foregroundAppShownEnoughLocked() 976 + (aa.mStartTime != aa.mStartVisibleTime in foregroundAppShownEnoughLocked() 987 aa.mHideTime = reportTime > minTime ? reportTime : minTime; in foregroundAppShownEnoughLocked() 988 if (DEBUG_FOREGROUND_SERVICE) Slog.d(TAG, "NO -- wait " + (aa.mHideTime-nowElapsed) in foregroundAppShownEnoughLocked() [all …]
|
/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 -…
|