Home
last modified time | relevance | path

Searched refs:am (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp106 AssetManager* am = (AssetManager*)env->GetIntField(obj, gAssetManagerOffsets.mObject); in assetManagerForJavaObject() local
107 if (am != NULL) { in assetManagerForJavaObject()
108 return am; in assetManagerForJavaObject()
117 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAsset() local
118 if (am == NULL) { in android_content_AssetManager_openAsset()
122 LOGV("openAsset in %p (Java object %p)\n", am, clazz); in android_content_AssetManager_openAsset()
136 Asset* a = am->open(fileName8, (Asset::AccessMode)mode); in android_content_AssetManager_openAsset()
185 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAssetFd() local
186 if (am == NULL) { in android_content_AssetManager_openAssetFd()
190 LOGV("openAssetFd in %p (Java object %p)\n", am, clazz); in android_content_AssetManager_openAssetFd()
[all …]
DActivityManager.cpp35 sp<IBinder> am = sm->getService(String16("activity")); in openContentProviderFile() local
36 if (am != NULL) { in openContentProviderFile()
40 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); in openContentProviderFile()
/frameworks/base/cmds/am/
DAndroid.mk7 LOCAL_MODULE := am
11 ALL_PREBUILT += $(TARGET_OUT)/bin/am
12 $(TARGET_OUT)/bin/am : $(LOCAL_PATH)/am | $(ACP)
Dam1 # Script to start "am" on the device, which has a very rudimentary
5 export CLASSPATH=$base/framework/am.jar
6 exec app_process $base/bin com.android.commands.am.Am "$@"
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaPresetReverbTest.java191 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0AuxiliarySoundModification() local
192 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
193 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
194 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
247 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
261 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1InsertSoundModification() local
262 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
263 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
264 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
333 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
DMediaVisualizerTest.java198 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0PollingCapture() local
199 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0PollingCapture()
200 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0PollingCapture()
201 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0PollingCapture()
262 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0PollingCapture()
274 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1ListenerCapture() local
275 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1ListenerCapture()
276 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1ListenerCapture()
277 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1ListenerCapture()
391 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1ListenerCapture()
DMediaEnvReverbTest.java346 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0AuxiliarySoundModification() local
347 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0AuxiliarySoundModification()
348 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0AuxiliarySoundModification()
349 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_0AuxiliarySoundModification()
404 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0AuxiliarySoundModification()
418 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_1InsertSoundModification() local
419 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_1InsertSoundModification()
420 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_1InsertSoundModification()
421 am.getStreamMaxVolume(AudioManager.STREAM_MUSIC), in test2_1InsertSoundModification()
488 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_1InsertSoundModification()
DMediaVirtualizerTest.java194 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0SoundModification() local
195 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
196 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
260 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
DMediaBassBoostTest.java193 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0SoundModification() local
194 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
195 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
255 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
DMediaEqualizerTest.java260 AudioManager am = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in test2_0SoundModification() local
261 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in test2_0SoundModification()
262 am.setStreamVolume(AudioManager.STREAM_MUSIC, in test2_0SoundModification()
317 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in test2_0SoundModification()
/frameworks/base/core/java/android/app/
DInstrumentation.java622 ActivityMonitor am = new ActivityMonitor(filter, result, block); in addMonitor() local
623 addMonitor(am); in addMonitor()
624 return am; in addMonitor()
645 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor() local
646 addMonitor(am); in addMonitor()
647 return am; in addMonitor()
1053 final ActivityMonitor am = mActivityMonitors.get(i); in callActivityOnCreate() local
1054 am.match(activity, activity, activity.getIntent()); in callActivityOnCreate()
1081 final ActivityMonitor am = mActivityMonitors.get(i); in callActivityOnDestroy() local
1082 am.match(activity, activity, activity.getIntent()); in callActivityOnDestroy()
[all …]
/frameworks/base/opengl/libagl/
Darray.cpp1149 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/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java173 IActivityManager am = ActivityManagerNative.getDefault(); in setLocaleData() local
174 Configuration config = am.getConfiguration(); in setLocaleData()
179 am.updateConfiguration(config); in setLocaleData()
190 AudioManager am = new AudioManager(mContext); in applyAudioSettings() local
191 am.reloadAudioSettings(); in applyAudioSettings()
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java209 IActivityManager am = ActivityManagerNative.getDefault(); in peekService() local
212 binder = am.peekService(service, service.resolveTypeIfNeeded( in peekService()
/frameworks/base/docs/html/guide/developing/testing/
Dtesting_otheride.jd329 shell on your device or emulator, and then in the shell run the <code>am instrument</code>
330 command. You control <code>am</code> and your tests with command-line flags.
333 As a shortcut, you can start an <code>adb</code> shell, call <code>am instrument</code>, and
338 To run a test with <code>am instrument</code>:
350 $ adb shell am instrument -w &lt;test_package_name&gt;/&lt;runner_class&gt;
366 This operation starts an <code>adb</code> shell, then runs <code>am instrument</code>
369 <code>am instrument</code>. These flags are described in the next section.
371 <h2 id="AMSyntax">Using the am instrument Command</h2>
373 The general syntax of the <code>am instrument</code> command is:
376 am instrument [flags] &lt;test_package&gt;/&lt;runner_class&gt;
[all …]
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java68 AssetManager am = params[0]; in doInBackground() local
70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING); in doInBackground()
/frameworks/base/cmds/runtime/
Dmain_runtime.cpp133 sp<IBinder> am; in run() local
134 while ((am = sm->getService(String16("activity"))) == NULL) { in run()
147 am->transact(IBinder::FIRST_CALL_TRANSACTION, data, &reply); in run()
153 am->linkToDeath(grim, grim.get(), 0); in run()
/frameworks/base/services/java/com/android/server/am/
DAppErrorResult.java17 package com.android.server.am;
DPendingThumbnailsRecord.java17 package com.android.server.am;
DActivityResult.java17 package com.android.server.am;
DFactoryErrorDialog.java17 package com.android.server.am;
/frameworks/base/core/java/com/google/android/mms/util/
DSqliteWrapper.java46 ActivityManager am = (ActivityManager) in isLowMemory() local
49 am.getMemoryInfo(outInfo); in isLowMemory()
/frameworks/base/cmds/svc/
Dsvc1 # Script to start "am" on the device, which has a very rudimentary
/frameworks/base/services/java/
DAndroid.mk10 com/android/server/am/EventLogTags.logtags
/frameworks/base/tests/SmokeTest/
DREADME7 adb shell am instrument \

1234