Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp215 AssetManager* am = reinterpret_cast<AssetManager*>(amHandle); in assetManagerForJavaObject() local
216 if (am != NULL) { in assetManagerForJavaObject()
217 return am; in assetManagerForJavaObject()
226 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAsset() local
227 if (am == NULL) { in android_content_AssetManager_openAsset()
231 ALOGV("openAsset in %p (Java object %p)\n", am, clazz); in android_content_AssetManager_openAsset()
245 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openAsset()
292 AssetManager* am = assetManagerForJavaObject(env, clazz); in android_content_AssetManager_openAssetFd() local
293 if (am == NULL) { in android_content_AssetManager_openAssetFd()
297 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/
DMediaVisualizerTest.java233 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 …]
DMediaPresetReverbTest.java200 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 …]
DMediaEnvReverbTest.java355 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/
DInstrumentation.java649 ActivityMonitor am = new ActivityMonitor(filter, result, block); in addMonitor() local
650 addMonitor(am); in addMonitor()
651 return am; in addMonitor()
672 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor() local
673 addMonitor(am); in addMonitor()
674 return am; in addMonitor()
1102 final ActivityMonitor am = mActivityMonitors.get(i); in postPerformCreate() local
1103 am.match(activity, activity, activity.getIntent()); in postPerformCreate()
1159 final ActivityMonitor am = mActivityMonitors.get(i); in callActivityOnDestroy() local
1160 am.match(activity, activity, activity.getIntent()); in callActivityOnDestroy()
[all …]
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md12 …oadcast intents, and thus can be driven via the command line (```adb shell am broadcast```) or an …
65 adb shell am broadcast -a com.android.systemui.demo -e command enter
72 adb shell am broadcast -a com.android.systemui.demo -e command exit
79 adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm
87 adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi
95 adb shell am broadcast -a com.android.systemui.demo -e command status -e volume
103 adb shell am broadcast -a com.android.systemui.demo -e command battery -e level
111 adb shell am broadcast -a com.android.systemui.demo -e command notifications -e
119 adb shell am broadcast -a com.android.systemui.demo -e command exit
152 $ADB shell am broadcast -a com.android.systemui.demo -e command enter || exit
[all …]
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/
DMediaSessionCompatApi18.java40 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in registerMediaButtonEventReceiver() local
47 am.registerMediaButtonEventReceiver(pi); in registerMediaButtonEventReceiver()
56 am.registerMediaButtonEventReceiver(cn); in registerMediaButtonEventReceiver()
62 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in unregisterMediaButtonEventReceiver() local
64 am.unregisterMediaButtonEventReceiver(pi); in unregisterMediaButtonEventReceiver()
66 am.unregisterMediaButtonEventReceiver(cn); in unregisterMediaButtonEventReceiver()
/frameworks/support/v4/froyo/android/support/v4/media/session/
DMediaSessionCompatApi8.java24 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in registerMediaButtonEventReceiver() local
25 am.registerMediaButtonEventReceiver(mbr); in registerMediaButtonEventReceiver()
29 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in unregisterMediaButtonEventReceiver() local
30 am.unregisterMediaButtonEventReceiver(mbr); in unregisterMediaButtonEventReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityController.java36 AccessibilityManager am = in AccessibilityController() local
38 am.addTouchExplorationStateChangeListener(this); in AccessibilityController()
39 am.addAccessibilityStateChangeListener(this); in AccessibilityController()
40 mAccessibilityEnabled = am.isEnabled(); in AccessibilityController()
41 mTouchExplorationEnabled = am.isTouchExplorationEnabled(); in AccessibilityController()
/frameworks/base/cmds/idmap/
Dinspect.cpp147 status_t resource_metadata(const AssetManager& am, uint32_t res_id, in resource_metadata() argument
149 const ResTable& rt = am.getResources(); in resource_metadata()
167 status_t parse_idmap_header(IdmapBuffer& buf, AssetManager& am) { in parse_idmap_header() argument
210 if (!am.addAssetPath(String8(path), NULL)) { in parse_idmap_header()
225 status_t parse_data(IdmapBuffer& buf, const AssetManager& am) { in parse_data() argument
226 const uint32_t packageId = am.getResources().getBasePackageId(0); in parse_data()
282 err = resource_metadata(am, resID, NULL, &type, &name); in parse_data()
300 AssetManager am; in idmap_inspect() local
301 if (parse_idmap_header(buf, am) != NO_ERROR) { in idmap_inspect()
305 if (parse_data(buf, am) != NO_ERROR) { in idmap_inspect()
/frameworks/base/cmds/am/
DAndroid.mk7 LOCAL_MODULE := am
11 LOCAL_MODULE := am
12 LOCAL_SRC_FILES := am
Dam7 export CLASSPATH=$base/framework/am.jar
8 exec app_process $base/bin com.android.commands.am.Am "$@"
/frameworks/base/services/core/
DAndroid.mk12 java/com/android/server/am/EventLogTags.logtags \
29 …-D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManag…
30 …-D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManager…
31 …-D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerSe…
/frameworks/native/opengl/libagl/
Darray.cpp1153 array_machine_t& am = c->arrays; in validate_arrays() local
1154 am.vertex.fetch = fetchNop; in validate_arrays()
1155 am.normal.fetch = currentNormal; in validate_arrays()
1156 am.color.fetch = currentColor; in validate_arrays()
1158 if (am.vertex.enable) { in validate_arrays()
1159 am.vertex.resolve(); in validate_arrays()
1160 if (am.vertex.bo || am.vertex.pointer) { in validate_arrays()
1161 am.vertex.fetch = vertex_fct[am.vertex.size-2][am.vertex.type & 0xF]; in validate_arrays()
1165 if (am.normal.enable) { in validate_arrays()
1166 am.normal.resolve(); in validate_arrays()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserState.java17 package com.android.server.am;
19 import static com.android.server.am.ActivityManagerDebugConfig.DEBUG_MU;
20 import static com.android.server.am.ActivityManagerDebugConfig.TAG_AM;
21 import static com.android.server.am.ActivityManagerDebugConfig.TAG_WITH_CLASS_NAME;
DActivityMetricsLogger.java1 package com.android.server.am;
8 import static com.android.server.am.ActivityManagerDebugConfig.TAG_AM;
9 import static com.android.server.am.ActivityManagerDebugConfig.TAG_WITH_CLASS_NAME;
10 import static com.android.server.am.ActivityStack.STACK_INVISIBLE;
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp36 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/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java47 IActivityManager am = ActivityManagerNative.getDefault(); in setRunAsMonkey() local
48 if (am == null) { in setRunAsMonkey()
53 am.setActivityController(new DummyActivityController(), true); in setRunAsMonkey()
55 am.setActivityController(null, true); in setRunAsMonkey()
/frameworks/base/core/java/android/service/vr/
DVrListenerService.java140 ActivityManager am = context.getSystemService(ActivityManager.class); in isVrModePackageEnabled() local
141 if (am == null) { in isVrModePackageEnabled()
144 return am.isVrModePackageEnabled(requestedComponent); in isVrModePackageEnabled()
/frameworks/support/v4/kitkat/android/support/v4/app/
DActivityManagerCompatKitKat.java22 public static boolean isLowRamDevice(ActivityManager am) { in isLowRamDevice() argument
23 return am.isLowRamDevice(); in isLowRamDevice()
/frameworks/base/tests/utils/SleepUtils/
DREADME13 am instrument -w -e command prepare \
17 am instrument -w -e command set_wait \
22 am instrument -w -e command done \
/frameworks/support/v4/java/android/support/v4/app/
DActivityManagerCompat.java38 public static boolean isLowRamDevice(@NonNull ActivityManager am) { in isLowRamDevice() argument
40 return ActivityManagerCompatKitKat.isLowRamDevice(am); in isLowRamDevice()
/frameworks/base/core/tests/SvcMonitor/
DREADME8 $ adb shell am startservice -a start \
13 $ adb shell am startservice -a stop \
17 $ adb shell am startservice -a change \
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java409 public void sendFinished(IActivityManager am) { in sendFinished() argument
421 am.finishReceiver(mToken, mResultCode, mResultData, mResultExtras, in sendFinished()
426 am.finishReceiver(mToken, 0, null, null, false, mFlags); in sendFinished()
522 IActivityManager am = ActivityManagerNative.getDefault(); in peekService() local
526 binder = am.peekService(service, service.resolveTypeIfNeeded( in peekService()
/frameworks/base/packages/DocumentsUI/
Dwrap_alpha.py37 am = src.endswith("_am") variable
38 if am:

12345678910