/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceCustomFallbackBuilderTest.java | 50 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in createFullFamilyTypeface() local 69 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_path() local 84 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_ttc() local 100 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_vf() local 135 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testFamily_selectStyleByBuilder() local 160 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testFamily_closestDefault() local 179 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testUserFallback() local 201 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testMaxCustomFallback() local 214 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testMaxCustomFallback_exceed_limits() local 236 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testUserFallbackOverLocaleFallback() local [all …]
|
D | TypefaceTest.java | 692 final AssetManager am = mContext.getAssets(); in testFontVariationSettings() local 730 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_UnsupportedAxes() local 752 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_OutOfRangeValue() local 809 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_getWeight() local 825 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customWeight() local 841 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customItalic() local
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFamilyTest.java | 43 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_SingleFont() local 53 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont() local 68 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideWeight() local 83 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideItalic() local 98 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle() local 108 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideWeight() local 118 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideItalic() local
|
D | FontTest.java | 85 private static ByteBuffer mmap(AssetManager am, String path) { in mmap() 153 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer() local 174 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_ttc() local 196 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_vf() local 220 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_override() local 269 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file() local 295 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_ttc() local 322 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_vf() local 351 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_override() local 409 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_fd() local [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | SoundDoseHelperTest.java | 123 final AudioManager am = new AudioManager(mContext); in testGetSetRs2Value() local 147 final AudioManager am = new AudioManager(mContext); in testGetSetCsd() local 158 final AudioManager am = new AudioManager(mContext); in testFrameworkMomentaryExposure() local 199 private void playLoudSound(AudioManager am) throws Exception { in playLoudSound() 225 private boolean platformSupportsSoundDose(String testName, AudioManager am) { in platformSupportsSoundDose()
|
D | AudioPlaybackConfigurationTest.java | 153 AudioManager am = new AudioManager(getContext()); in testParcelableWriteToParcel() local 200 AudioManager am = new AudioManager(getContext()); in testGetterMediaPlayer() local 269 AudioManager am = new AudioManager(getContext()); in doTestCallbackMediaPlayer() local 338 AudioManager am = new AudioManager(getContext()); in testCallbackMediaPlayerRelease() local 463 AudioManager am = new AudioManager(getContext()); in testGetAudioDeviceInfoMediaPlayerStart() local 596 AudioManager am = new AudioManager(getContext()); in checkMuteFromStreamVolumeNotification() local 698 AudioManager am = new AudioManager(getContext()); in verifyMuteUnmuteNotifications() local 751 private void adjustUnMuteStreamVolume(AudioManager am) { in adjustUnMuteStreamVolume() 758 private void adjustMuteStreamVolume(AudioManager am) { in adjustMuteStreamVolume() 779 AudioManager am = new AudioManager(getContext()); in findConfiguration() local [all …]
|
D | AudioRecordingConfigurationTest.java | 110 AudioManager am = new AudioManager(getContext()); in testAudioManagerGetActiveRecordConfigurations() local 168 AudioManager am = new AudioManager(getContext()); in doCallbackTest() local 229 AudioManager am = new AudioManager(getContext()); in testParcel() local
|
D | LoudnessEnhancerTest.java | 65 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test0_0ConstructorAndRelease() local 177 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test3_0MeasureGainChange() local
|
/cts/hostsidetests/devicepolicy/app/StartInfoApp/src/com/android/cts/startinfoapp/ |
D | ApiTestActivity.java | 126 ActivityManager am = getSystemService(ActivityManager.class); in queryStart() local 145 ActivityManager am = getSystemService(ActivityManager.class); in addTimestamp() local 161 ActivityManager am = getSystemService(ActivityManager.class); in addOneListener() local 181 ActivityManager am = getSystemService(ActivityManager.class); in addMultipleListeners() local 213 ActivityManager am = getSystemService(ActivityManager.class); in addAndRemoveListener() local
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsTest.java | 236 final AccountManager am = context.getSystemService(AccountManager.class); in addAccount() local 245 final AccountManager am = mContext.getSystemService(AccountManager.class); in isAuthenticatorRegistered() local 261 final AccountManager am = context.getSystemService(AccountManager.class); in removeAccount() local
|
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/ |
D | AccountCreator.java | 81 private void waitForAccountAuthenticator(String accountType, AccountManager am) { in waitForAccountAuthenticator() 94 private boolean accountAuthenticatorExists(String accountType, AccountManager am) { in accountAuthenticatorExists()
|
D | MockAuthenticator.java | 67 final AccountManager am = context.getSystemService(AccountManager.class); in addTestAccount() local 99 final AccountManager am = mContext.getSystemService(AccountManager.class); in addAccount() local
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutFallbackLineSpacingTest.java | 53 AssetManager am = in testFallbackSpacing_Metrics() local 87 AssetManager am = in testFallbackSpacing_Layout() local
|
D | StaticLayoutBidiTouchTest.java | 44 AssetManager am = InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in touchOffsetTest() local
|
D | StaticLayoutFallbackLineSpacingTest.java | 50 AssetManager am = in testFallbackSpacing() local
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManager_RunningAppProcessInfoTest.java | 34 final ActivityManager am = (ActivityManager) in testRunningAppProcessInfo() local
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | LeakTest.java | 52 ActivityManager am = (ActivityManager) getContext().getSystemService("activity"); in testForLeaks() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | WallpaperManagerTest.java | 131 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testSetMaliciousStream() local 154 AssetManager am = mContext.getAssets(); in unZipMaliciousImageFile() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MultiAuthorityTest.java | 60 final ActivityManager am = InstrumentationRegistry.getInstrumentation() in killProviderProcess() local
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | SettingsMultiPaneDeepLinkTest.java | 136 ActivityMonitor am = instrumentation.addMonitor(RightPaneActivity.class.getName(), in deepLinkHomeActivity_receiveMultiPaneDeepLinkIntent_shouldStartActivity() local
|
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
D | Utils.java | 46 final AudioManager am = context.getSystemService(AudioManager.class); in assertMediaPlaybackStarted() local
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdAuthenticator.java | 65 final AccountManager am = context.getSystemService(AccountManager.class); in ensureTestAccount() local 76 final AccountManager am = context.getSystemService(AccountManager.class); in removeAllAccounts() local
|
/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/ |
D | RequestReceiver.java | 56 final AlarmManager am = context.getSystemService(AlarmManager.class); in onReceive() local
|
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/ |
D | TaskRemovedListenerService.java | 90 final AlarmManager am = getSystemService(AlarmManager.class); in onTaskRemoved() local
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | AuthenticatorContentProvider.java | 81 AccountManager am = AccountManager.get(context); in setup() local 99 AccountManager am = AccountManager.get(context); in teardown() local
|