Home
last modified time | relevance | path

Searched defs:am (Results 1 – 25 of 58) sorted by relevance

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyActivity.java57 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
DAudioLoopbackActivity.java135 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/
DLoudnessEnhancerTest.java54 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
DAudioRecordingConfigurationTest.java109 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
DPostProcTestBase.java59 AudioManager am = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE); in getSessionId() local
DAudioPlaybackConfigurationTest.java181 AudioManager am = new AudioManager(getContext()); in doTestCallbackMediaPlayer() local
245 AudioManager am = new AudioManager(getContext()); in testCallbackMediaPlayerRelease() local
DVisualizerTest.java309 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/
DActivityManager_RunningAppProcessInfoTest.java34 final ActivityManager am = (ActivityManager) in testRunningAppProcessInfo() local
DActivityManagerProcessStateTest.java188 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
DTaskDescriptionTest.java78 final ActivityManager am = (ActivityManager) activity.getSystemService(ACTIVITY_SERVICE); in assertTaskDescription() local
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DAccountCheckTest.java135 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/
DLeakTest.java52 ActivityManager am = (ActivityManager) getContext().getSystemService("activity"); in testForLeaks() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java616 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/
DOutgoingCallTest.java86 AudioManager am = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in testStartCallWithSpeakerphoneNotProvided_SpeakerphoneOffByDefault() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProvisioningTest.java120 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/
DBatteryStatsAuthenticator.java66 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/
DStatsdAuthenticator.java65 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/
DAuthenticatorContentProvider.java81 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/
DTestAlarmScheduler.java45 final AlarmManager am = context.getSystemService(AlarmManager.class); in onReceive() local
/cts/tests/tests/os/src/android/os/cts/
DCrossProcessExceptionTest.java85 final ActivityManager am = (ActivityManager) mContext.getSystemService( in tearDown() local
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java88 final AlarmManager am = context.getSystemService(AlarmManager.class); in handleBatterySaverBgServiceRequest() local
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DAlarmOperation.java90 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in execute() local
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java50 ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in testPid() local
/cts/tests/tests/text/src/android/text/style/cts/
DURLSpanTest.java84 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(), in testOnClick() local
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoActivity.java120 ActivityManager am = in onCreate() local

123