/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 | 653 final AssetManager am = mContext.getAssets(); in testFontVariationSettings() local 687 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_UnsupportedAxes() local 709 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_OutOfRangeValue() local 766 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_getWeight() local 782 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customWeight() local 798 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/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 | 113 AudioManager am = new AudioManager(getContext()); in testAudioManagerGetActiveRecordConfigurations() local 171 AudioManager am = new AudioManager(getContext()); in doCallbackTest() local 231 AudioManager am = new AudioManager(getContext()); in testParcel() local
|
D | PostProcTestBase.java | 59 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in getSessionId() local
|
D | AudioFocusTest.java | 267 final AudioManager am = new AudioManager(getContext()); in testAudioFocusRequestMediaGainLossWithPlayer() local 403 final AudioManager am = new AudioManager(getContext()); in doTwoFocusOwnerOnePlayerFocusLoss() local 485 final AudioManager am = new AudioManager(getContext()); in doTestTwoPlayersGainLoss() 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/app/src/android/app/cts/ |
D | ActivityManager_RunningAppProcessInfoTest.java | 34 final ActivityManager am = (ActivityManager) in testRunningAppProcessInfo() local
|
D | ActivityManagerProcessStateTest.java | 183 final ActivityManager am = mContext.getSystemService(ActivityManager.class); in setUp() local 303 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testUidImportanceListener() local 477 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testBackgroundCheckService() local 648 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testBackgroundCheckStopsService() local 1299 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testCantSaveStateLaunchAndBackground() local 1446 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testCantSaveStateLaunchAndSwitch() local 2304 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testForegroundService_malformedNotificationExtras() local 2381 final ActivityManager am = mContext.getSystemService(ActivityManager.class); in testFgsStickyInternal() local
|
/cts/tests/AlarmManager/app30/src/android/alarmmanager/alarmtestapp/cts/sdk30/ |
D | TestReceiver.java | 38 final AlarmManager am = context.getSystemService(AlarmManager.class); in onReceive() local
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | LeakTest.java | 52 ActivityManager am = (ActivityManager) getContext().getSystemService("activity"); in testForLeaks() 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/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/security/src/android/security/cts/ |
D | ActivityManagerTest.java | 88 final ActivityManager am = context.getSystemService(ActivityManager.class); in testActivityManager_appExitReasonPackageNames() 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
|
/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/ |
D | MockAuthenticator.java | 66 final AccountManager am = context.getSystemService(AccountManager.class); in addTestAccount() local 98 final AccountManager am = mContext.getSystemService(AccountManager.class); in addAccount() local
|
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/ |
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/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/ |
D | MediaCodecFlushActivity.java | 56 AudioManager am = (AudioManager) getApplicationContext().getSystemService(AUDIO_SERVICE); in onCreate() local
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 238 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setTime() local 253 ActivityManager am = context.getSystemService(ActivityManager.class); in launchPackageForCrash() local
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestAlarmScheduler.java | 47 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
|