/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
|
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/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 | 109 AudioManager am = new AudioManager(getContext()); in testAudioManagerGetActiveRecordConfigurations() local 167 AudioManager am = new AudioManager(getContext()); in doCallbackTest() local 223 AudioManager am = new AudioManager(getContext()); in testParcel() local
|
D | PostProcTestBase.java | 59 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in getSessionId() local
|
D | AudioPlaybackConfigurationTest.java | 181 AudioManager am = new AudioManager(getContext()); in doTestCallbackMediaPlayer() local 245 AudioManager am = new AudioManager(getContext()); in testCallbackMediaPlayerRelease() local
|
D | VisualizerTest.java | 309 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test4_1MeasurePeakRms() local 382 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in test4_2MeasurePeakRmsLongMP3() local
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManager_RunningAppProcessInfoTest.java | 34 final ActivityManager am = (ActivityManager) in testRunningAppProcessInfo() local
|
D | ActivityManagerProcessStateTest.java | 188 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testUidImportanceListener() local 371 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testBackgroundCheckService() local 537 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testBackgroundCheckStopsService() local 1106 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testCantSaveStateLaunchAndBackground() local 1236 ActivityManager am = mContext.getSystemService(ActivityManager.class); in testCantSaveStateLaunchAndSwitch() local
|
D | TaskDescriptionTest.java | 78 final ActivityManager am = (ActivityManager) activity.getSystemService(ACTIVITY_SERVICE); in assertTaskDescription() 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/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 616 final AssetManager am = mContext.getAssets(); in testFontVariationSettings() local 649 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_UnsupportedAxes() local 671 final AssetManager am = mContext.getAssets(); in testFontVariationSettings_OutOfRangeValue() local 728 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_getWeight() local 742 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customWeight() local 755 final AssetManager am = mContext.getAssets(); in testTypefaceCreate_customFont_customItalic() local
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | OutgoingCallTest.java | 86 AudioManager am = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault() local
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ProvisioningTest.java | 120 AccountManager am = AccountManager.get(mContext); in testAccountExist() local 131 AccountManager am = AccountManager.get(mContext); in testAccountNotExist() 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/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/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/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 | 85 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 | 88 final AlarmManager am = context.getSystemService(AlarmManager.class); in handleBatterySaverBgServiceRequest() 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/ProcessTest/src/com/android/cts/process/ |
D | ProcessTest.java | 50 ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in testPid() local
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | URLSpanTest.java | 84 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(), in testOnClick() local
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoActivity.java | 120 ActivityManager am = in onCreate() local
|