Home
last modified time | relevance | path

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

12

/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlarmController.java101 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
102 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
132 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
133 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
155 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
156 am.cancel(sender);
DAlarmService.java67 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
68 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
80 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
81 am.cancel(mAlarmSender);
DContactsSelectInstrumentation.java60 ActivityMonitor am = addMonitor(IntentFilter.create( in onStart() local
75 if (checkMonitorHit(am, 1)) { in onStart()
/development/apps/CustomLocale/src/com/android/customlocale2/
DChangeLocale.java48 IActivityManager am = ActivityManagerNative.getDefault(); in changeSystemLocale() local
49 Configuration config = am.getConfiguration(); in changeSystemLocale()
66 am.updateConfiguration(config); in changeSystemLocale()
DCustomLocaleActivity.java264 IActivityManager am = ActivityManagerNative.getDefault(); in displayCurrentLocale() local
265 Configuration config = am.getConfiguration(); in displayCurrentLocale()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java86 public void register(IActivityManager am) throws RemoteException { in register() argument
88 am.registerReceiver(null, null, this, filter, null, UserHandle.USER_ALL); in register()
91 public void unregister(IActivityManager am) throws RemoteException { in unregister() argument
93 am.unregisterReceiver(this); in unregister()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20Activity.java49 ActivityManager am = in detectOpenGLES20() local
51 ConfigurationInfo info = am.getDeviceConfigurationInfo(); in detectOpenGLES20()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulController.java63 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
64 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
DAssetProvider.java86 AssetManager am = getContext().getAssets(); in openAssetFile() local
87 return am.openFd(assetName); in openAssetFile()
/development/samples/SupportVectorDrawable/animated/
Drundemo.sh4 adb shell am start -n com.example.android.support.vectordrawable/com.example.android.support.vector…
/development/samples/SupportVectorDrawable/static/
Drundemo.sh4 adb shell am start -n com.example.android.support.vectordrawable/com.example.android.support.vector…
/development/tools/templates/
Djava_tests_file.template11 * adb shell am instrument -w \
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java102 final AccountManager am = AccountManager.get(mContext); in getAuthToken() local
103 final String password = am.getPassword(account); in getAuthToken()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java186 AudioManager am = (AudioManager) context in getNativeAudioBufferSize() local
188 String framesPerBuffer = am in getNativeAudioBufferSize()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java186 AudioManager am = (AudioManager) context in getNativeAudioBufferSize() local
188 String framesPerBuffer = am in getNativeAudioBufferSize()
/development/apps/Development/src/com/android/development/
DRunningProcesses.java81 ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); in AppListAdapter() local
82 List<ActivityManager.RunningAppProcessInfo> appList = am.getRunningAppProcesses(); in AppListAdapter()
DPackageSummary.java152 ActivityManager am = (ActivityManager)getSystemService( in onCreate()
154 am.killBackgroundProcesses(mPackageName); in onCreate()
DConnectivity.java595 AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in scheduleAlarm() local
605 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + delayMs, p); in scheduleAlarm()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java312 final AssetManager am = getAssets(); in onCreate() local
316 return am.open(filename); in onCreate()
/development/ndk/platforms/android-9/include/android/
Dconfiguration.h115 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-13/include/android/
Dconfiguration.h124 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-16/include/android/
Dconfiguration.h127 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-21/include/android/
Dconfiguration.h137 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-17/include/android/
Dconfiguration.h132 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);
/development/ndk/platforms/android-18/include/android/
Dconfiguration.h133 void AConfiguration_fromAssetManager(AConfiguration* out, AAssetManager* am);

12