/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 106 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 …]
|
D | ActivityManager.cpp | 35 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/ |
D | Android.mk | 7 LOCAL_MODULE := am 11 ALL_PREBUILT += $(TARGET_OUT)/bin/am 12 $(TARGET_OUT)/bin/am : $(LOCAL_PATH)/am | $(ACP)
|
D | am | 1 # 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/ |
D | MediaPresetReverbTest.java | 191 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()
|
D | MediaVisualizerTest.java | 198 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()
|
D | MediaEnvReverbTest.java | 346 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()
|
D | MediaVirtualizerTest.java | 194 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()
|
D | MediaBassBoostTest.java | 193 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()
|
D | MediaEqualizerTest.java | 260 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/ |
D | Instrumentation.java | 622 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/ |
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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 173 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/ |
D | BroadcastReceiver.java | 209 IActivityManager am = ActivityManagerNative.getDefault(); in peekService() local 212 binder = am.peekService(service, service.resolveTypeIfNeeded( in peekService()
|
/frameworks/base/docs/html/guide/developing/testing/ |
D | testing_otheride.jd | 329 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 <test_package_name>/<runner_class> 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] <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/cmds/runtime/ |
D | main_runtime.cpp | 133 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/ |
D | AppErrorResult.java | 17 package com.android.server.am;
|
D | PendingThumbnailsRecord.java | 17 package com.android.server.am;
|
D | ActivityResult.java | 17 package com.android.server.am;
|
D | FactoryErrorDialog.java | 17 package com.android.server.am;
|
/frameworks/base/core/java/com/google/android/mms/util/ |
D | SqliteWrapper.java | 46 ActivityManager am = (ActivityManager) in isLowMemory() local 49 am.getMemoryInfo(outInfo); in isLowMemory()
|
/frameworks/base/cmds/svc/ |
D | svc | 1 # Script to start "am" on the device, which has a very rudimentary
|
/frameworks/base/services/java/ |
D | Android.mk | 10 com/android/server/am/EventLogTags.logtags
|
/frameworks/base/tests/SmokeTest/ |
D | README | 7 adb shell am instrument \
|