/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 | 648 final AssetManager am = mContext.getAssets(); in testFontVariationSettings() local 682 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_UnsupportedAxes() local 704 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_OutOfRangeValue() local 761 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_getWeight() local 777 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customWeight() local 793 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customItalic() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 57 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in setMaxLevel() local 63 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in setMinLevel() local 68 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in testMaxLevel() local 81 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in getMaxLevelForStream() local 89 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in setLevelForStream() local 100 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in getLevelForStream() local
|
D | AudioLoopbackActivity.java | 135 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() local 170 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in refreshLevel() local 209 AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in startAudioTest() local
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFamilyTest.java | 44 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_SingleFont() local 54 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont() local 69 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideWeight() local 84 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideItalic() local 99 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle() local 109 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideWeight() local 119 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideItalic() local
|
D | FontTest.java | 77 private static ByteBuffer mmap(AssetManager am, String path) { in mmap() 127 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer() local 148 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_ttc() local 170 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_vf() local 194 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_override() local 243 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file() local 269 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_ttc() local 296 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_vf() local 325 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_override() local 383 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_fd() local [all …]
|
/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/tests/tests/media/src/android/media/cts/ |
D | LoudnessEnhancerTest.java | 54 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test0_0ConstructorAndRelease() local 160 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test3_0MeasureGainChange() local
|
D | AudioRecordingConfigurationTest.java | 112 AudioManager am = new AudioManager(getContext()); in testAudioManagerGetActiveRecordConfigurations() local 170 AudioManager am = new AudioManager(getContext()); in doCallbackTest() local 230 AudioManager am = new AudioManager(getContext()); in testParcel() local
|
D | PostProcTestBase.java | 59 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in getSessionId() local
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManager_RunningAppProcessInfoTest.java | 34 final ActivityManager am = (ActivityManager) in testRunningAppProcessInfo() local
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
D | AccountCheckTest.java | 135 final AccountManager am = AccountManager.get(mContext); in testCheckPreconfiguredAccountFeatures() local 163 private boolean hasAccountFeatures(AccountManager am, Account account, String[] features) { in hasAccountFeatures()
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | LeakTest.java | 52 ActivityManager am = (ActivityManager) getContext().getSystemService("activity"); in testForLeaks() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ProvisioningTest.java | 123 AccountManager am = AccountManager.get(mContext); in testAccountExist() local 134 AccountManager am = AccountManager.get(mContext); in testAccountNotExist() local
|
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/ |
D | TaskRemovedListenerService.java | 90 final AlarmManager am = getSystemService(AlarmManager.class); in onTaskRemoved() local
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
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/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsAuthenticator.java | 66 final AccountManager am = context.getSystemService(AccountManager.class); in ensureTestAccount() local 77 final AccountManager am = context.getSystemService(AccountManager.class); in removeAllAccounts() 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
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 214 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setTime() local 229 ActivityManager am = context.getSystemService(ActivityManager.class); in launchPackageForCrash() local
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestAlarmScheduler.java | 45 final AlarmManager am = context.getSystemService(AlarmManager.class); in onReceive() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CrossProcessExceptionTest.java | 87 final ActivityManager am = (ActivityManager) mContext.getSystemService( in tearDown() local
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 93 final AlarmManager am = context.getSystemService(AlarmManager.class); in handleBatterySaverBgServiceRequest() local
|
/cts/tests/ProcessTest/src/com/android/cts/process/ |
D | ProcessTest.java | 50 ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in testPid() local
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | AlarmOperation.java | 90 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in execute() local
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | URLSpanTest.java | 85 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(), in testOnClick() local
|