/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 108 AssetManager* am = (AssetManager*)env->GetIntField(obj, gAssetManagerOffsets.mObject); in assetManagerForJavaObject() local 109 if (am != NULL) { in assetManagerForJavaObject() 110 return am; in assetManagerForJavaObject() 119 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAsset() local 120 if (am == NULL) { in android_content_AssetManager_openAsset() 124 ALOGV("openAsset in %p (Java object %p)\n", am, clazz); in android_content_AssetManager_openAsset() 137 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openAsset() 184 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAssetFd() local 185 if (am == NULL) { in android_content_AssetManager_openAssetFd() 189 ALOGV("openAssetFd in %p (Java object %p)\n", am, clazz); in android_content_AssetManager_openAssetFd() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 233 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0PollingCapture() local 234 int ringerMode = am.getRingerMode(); in test2_0PollingCapture() 235 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0PollingCapture() 236 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0PollingCapture() 237 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0PollingCapture() 238 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0PollingCapture() 299 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0PollingCapture() 300 am.setRingerMode(ringerMode); in test2_0PollingCapture() 312 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1ListenerCapture() local 313 int ringerMode = am.getRingerMode(); in test2_1ListenerCapture() [all …]
|
D | MediaPresetReverbTest.java | 200 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0AuxiliarySoundModification() local 201 int ringerMode = am.getRingerMode(); in test2_0AuxiliarySoundModification() 202 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification() 203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 204 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification() 205 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification() 258 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification() 259 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification() 273 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1InsertSoundModification() local 274 int ringerMode = am.getRingerMode(); in test2_1InsertSoundModification() [all …]
|
D | MediaEnvReverbTest.java | 355 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0AuxiliarySoundModification() local 356 int ringerMode = am.getRingerMode(); in test2_0AuxiliarySoundModification() 357 am.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in test2_0AuxiliarySoundModification() 358 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification() 359 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification() 360 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification() 415 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification() 416 am.setRingerMode(ringerMode); in test2_0AuxiliarySoundModification() 430 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1InsertSoundModification() local 431 int ringerMode = am.getRingerMode(); in test2_1InsertSoundModification() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 632 ActivityMonitor am = new ActivityMonitor(filter, result, block); in addMonitor() local 633 addMonitor(am); in addMonitor() 634 return am; in addMonitor() 655 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor() local 656 addMonitor(am); in addMonitor() 657 return am; in addMonitor() 1093 final ActivityMonitor am = mActivityMonitors.get(i); in callActivityOnCreate() local 1094 am.match(activity, activity, activity.getIntent()); in callActivityOnCreate() 1123 final ActivityMonitor am = mActivityMonitors.get(i); in callActivityOnDestroy() local 1124 am.match(activity, activity, activity.getIntent()); in callActivityOnDestroy() [all …]
|
/frameworks/base/cmds/am/ |
D | Android.mk | 7 LOCAL_MODULE := am 11 LOCAL_MODULE := am 12 LOCAL_SRC_FILES := am
|
D | am | 7 export CLASSPATH=$base/framework/am.jar 8 exec app_process $base/bin com.android.commands.am.Am "$@"
|
/frameworks/av/media/libmediaplayerservice/ |
D | ActivityManager.cpp | 36 sp<IBinder> am = sm->getService(String16("activity")); in openContentProviderFile() local 37 if (am != NULL) { in openContentProviderFile() 41 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); in openContentProviderFile()
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | UiAutomationShellWrapper.java | 47 IActivityManager am = ActivityManagerNative.getDefault(); in setRunAsMonkey() local 48 if (am == null) { in setRunAsMonkey() 53 am.setActivityController(new DummyActivityController()); in setRunAsMonkey() 55 am.setActivityController(null); in setRunAsMonkey()
|
/frameworks/native/opengl/libagl/ |
D | array.cpp | 1149 array_machine_t& am = c->arrays; in validate_arrays() local 1150 am.vertex.fetch = fetchNop; in validate_arrays() 1151 am.normal.fetch = currentNormal; in validate_arrays() 1152 am.color.fetch = currentColor; in validate_arrays() 1154 if (am.vertex.enable) { in validate_arrays() 1155 am.vertex.resolve(); in validate_arrays() 1156 if (am.vertex.bo || am.vertex.pointer) { in validate_arrays() 1157 am.vertex.fetch = vertex_fct[am.vertex.size-2][am.vertex.type & 0xF]; in validate_arrays() 1161 if (am.normal.enable) { in validate_arrays() 1162 am.normal.resolve(); in validate_arrays() [all …]
|
/frameworks/testing/uiautomator/utils/SleepUtils/ |
D | README | 13 am instrument -w -e command prepare \ 17 am instrument -w -e command set_wait \ 22 am instrument -w -e command done \
|
/frameworks/base/core/java/android/content/ |
D | BroadcastReceiver.java | 407 public void sendFinished(IActivityManager am) { in sendFinished() argument 419 am.finishReceiver(mToken, mResultCode, mResultData, mResultExtras, in sendFinished() 424 am.finishReceiver(mToken, 0, null, null, false); in sendFinished() 520 IActivityManager am = ActivityManagerNative.getDefault(); in peekService() local 524 binder = am.peekService(service, service.resolveTypeIfNeeded( in peekService()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 226 IActivityManager am = ActivityManagerNative.getDefault(); in setLocaleData() local 227 Configuration config = am.getConfiguration(); in setLocaleData() 232 am.updateConfiguration(config); in setLocaleData() 243 AudioManager am = new AudioManager(mContext); in applyAudioSettings() local 244 am.reloadAudioSettings(); in applyAudioSettings()
|
/frameworks/opt/telephony/ |
D | README.txt | 33 …adb shell am broadcast -a com.android.internal.telephony.dataconnection.action_fail_bringup --ei c… 37 adb shell am broadcast -a com.android.internal.telephony.dataconnection.action_deactivate_all 41 adb shell am broadcast -a com.android.internal.telephony.{x}.action_detached 42 adb shell am broadcast -a com.android.internal.telephony.{x}.action_attached
|
/frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
D | AlarmImpl.java | 51 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in setAlarmAndWait() local 55 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, atTime, pi); in setAlarmAndWait()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 222 ActivityManager am = (ActivityManager) getInstrumentation() in reportError() local 224 List<ProcessErrorStateInfo> crashes = am.getProcessesInErrorState(); in reportError() 243 ActivityManager am = (ActivityManager) getInstrumentation() in getPss() local 245 List<RunningAppProcessInfo> apps = am.getRunningAppProcesses(); in getPss() 255 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0]; in getPss()
|
/frameworks/base/docs/html/tools/testing/ |
D | testing_otheride.jd | 327 shell on your device or emulator, and then in the shell run the <code>am instrument</code> 328 command. You control <code>am</code> and your tests with command-line flags. 331 As a shortcut, you can start an <code>adb</code> shell, call <code>am instrument</code>, and 336 To run a test with <code>am instrument</code>: 348 $ adb shell am instrument -w <test_package_name>/<runner_class> 364 This operation starts an <code>adb</code> shell, then runs <code>am instrument</code> 367 <code>am instrument</code>. These flags are described in the next section. 369 <h2 id="AMSyntax">Using the am instrument Command</h2> 371 The general syntax of the <code>am instrument</code> command is: 374 am instrument [flags] <test_package>/<runner_class> [all …]
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 68 AssetManager am = params[0]; in doInBackground() local 70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING); in doInBackground()
|
/frameworks/base/docs/html/training/managing-audio/ |
D | audio-focus.jd | 60 AudioManager am = mContext.getSystemService(Context.AUDIO_SERVICE); 64 int result = am.requestAudioFocus(afChangeListener, 71 am.unregisterMediaButtonEventReceiver(RemoteControlReceiver); 84 am.abandonAudioFocus(afChangeListener); 95 int result = am.requestAudioFocus(afChangeListener, 149 am.unregisterMediaButtonEventReceiver(RemoteControlReceiver); 150 am.abandonAudioFocus(afChangeListener);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsApplication.java | 66 final ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); in onCreate() local 67 final int memoryClassBytes = am.getMemoryClass() * 1024 * 1024; in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentTasksLoader.java | 190 final ActivityManager am = (ActivityManager) in loadThumbnailAndIcon() local 193 Bitmap thumbnail = am.getTaskTopThumbnail(td.persistentTaskId); in loadThumbnailAndIcon() 368 … final ActivityManager am = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in loadFirstTask() local 370 final List<ActivityManager.RecentTaskInfo> recentTasks = am.getRecentTasksForUser( in loadFirstTask() 438 final ActivityManager am = (ActivityManager) in loadTasksInBackground() 442 am.getRecentTasks(MAX_TASKS, ActivityManager.RECENT_IGNORE_UNAVAILABLE); in loadTasksInBackground()
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
D | SqliteWrapper.java | 46 ActivityManager am = (ActivityManager) in isLowMemory() local 49 am.getMemoryInfo(outInfo); in isLowMemory()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ThumbnailHolder.java | 17 package com.android.server.am;
|
D | AppErrorResult.java | 17 package com.android.server.am;
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 233 final AccountManager am = in checkAccountSignIn() local 236 Account[] accounts = am.getAccounts(); in checkAccountSignIn() 286 ActivityManager am = (ActivityManager) getInstrumentation() in reportError() local 288 List<ProcessErrorStateInfo> crashes = am.getProcessesInErrorState(); in reportError()
|