/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlarmController.java | 105 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); 109 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender); 112 am.setExactAndAllowWhileIdle( 145 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); 146 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 168 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); 169 am.cancel(sender);
|
D | AlarmService.java | 67 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); 68 am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 80 AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE); 81 am.cancel(mAlarmSender);
|
D | ContactsSelectInstrumentation.java | 60 ActivityMonitor am = addMonitor(IntentFilter.create( in onStart() local 75 if (checkMonitorHit(am, 1)) { in onStart()
|
D | ForegroundService.java | 236 AlarmManager am = (AlarmManager) ctx.getSystemService(Context.ALARM_SERVICE); 237 am.setExact(AlarmManager.ELAPSED_REALTIME,
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | ChangeLocale.java | 48 IActivityManager am = ActivityManager.getService(); in changeSystemLocale() local 49 Configuration config = am.getConfiguration(); in changeSystemLocale() 66 am.updateConfiguration(config); in changeSystemLocale()
|
D | CustomLocaleActivity.java | 264 IActivityManager am = ActivityManager.getService(); in displayCurrentLocale() local 265 Configuration config = am.getConfiguration(); in displayCurrentLocale()
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MainActivity.java | 50 private static AccountManager am; field in MainActivity 54 Account[] accounts = am.getAccountsByType(TYPE); in isAccountAdded() 68 am = AccountManager.get(getApplicationContext()); in onCreate() 161 am.setAccountVisibility(currentAccount, packageName, in onCreate() 169 am.setAccountVisibility(currentAccount, packageName, in onCreate() 177 am.setAccountVisibility(currentAccount, packageName, in onCreate() 188 + am.getAccountVisibility(currentAccount, packageName), in onCreate() 194 + am.addAccountExplicitly(currentAccount, null, null), in onCreate() 203 + am.addAccountExplicitly(currentAccount, null, null, in onCreate() 211 + am.removeAccountExplicitly(currentAccount), in onCreate() [all …]
|
/development/tools/logblame/ |
D | connectivity_log_test | 15 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null 27 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null 33 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
|
D | app_switch_test | 32 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null 45 adb shell am start -a android.intent.action.MAIN $intent 66 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
|
D | sample.txt | 938 …am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.… 941 …am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.… 2578 …am.ActivityManagerService.activityIdle(android.os.IBinder, android.content.res.Configuration, bool… 2780 …am.BatteryStatsService.getStatisticsStream()(BatteryStatsService.java:378) waiters=0 in boolean co…
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyNetworkMonitor.java | 86 public void register(IActivityManager am) throws RemoteException { in register() argument 88 am.registerReceiver(null, null, this, filter, null, UserHandle.USER_ALL, 0); in register() 91 public void unregister(IActivityManager am) throws RemoteException { in unregister() argument 93 am.unregisterReceiver(this); in unregister()
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 46 private static AccountManager am; field in MainActivity 53 am = AccountManager.get(getApplicationContext()); in onCreate() 65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate() 89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate() 110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 46 private static AccountManager am; field in MainActivity 53 am = AccountManager.get(getApplicationContext()); in onCreate() 65 am.addOnAccountsUpdatedListener(mListener, null, false, in onCreate() 89 Account[] accountsAccessedByAuthApp = am.getAccounts(); in onCreate() 110 am.removeOnAccountsUpdatedListener(mListener); in onDestroy()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | GLES20Activity.java | 49 ActivityManager am = in detectOpenGLES20() local 51 ConfigurationInfo info = am.getDeviceConfigurationInfo(); in detectOpenGLES20()
|
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/ |
D | MyAuthenticator.java | 50 final AccountManager am = AccountManager.get(context); in setUpAccount() local 51 if (am.getAccountsByType(ACCOUNT_TYPE).length > 0) { in setUpAccount() 58 am.addAccountExplicitly(account, null, null); in setUpAccount()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | IntentDialogFragment.java | 125 ActivityManager am = getActivity().getSystemService(ActivityManager.class); in removeTask() local 126 List<ActivityManager.AppTask> appTasks = am.getAppTasks(); in removeTask() 143 ActivityManager am = getActivity().getSystemService(ActivityManager.class); in moveTaskToFront() local 144 am.moveTaskToFront(taskId, 0 /* flags */); in moveTaskToFront()
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | AssetProvider.java | 95 AssetManager am = context.getAssets(); in openAssetFile() local 96 return am.openFd(assetName); in openAssetFile()
|
/development/scripts/ |
D | runahat | 38 do_adb shell am dumpheap -g "$pid" "$dev_file"
|
/development/tools/templates/ |
D | java_tests_file.template | 11 * adb shell am instrument -w \
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | Authenticator.java | 102 final AccountManager am = AccountManager.get(mContext); in getAuthToken() local 103 final String password = am.getPassword(account); in getAuthToken()
|
/development/apps/Development/src/com/android/development/ |
D | RunningProcesses.java | 81 ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); in AppListAdapter() local 82 List<ActivityManager.RunningAppProcessInfo> appList = am.getRunningAppProcesses(); in AppListAdapter()
|
D | PackageSummary.java | 152 ActivityManager am = (ActivityManager)getSystemService( in onCreate() 154 am.killBackgroundProcesses(mPackageName); in onCreate()
|
D | Connectivity.java | 616 AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in scheduleAlarm() local 626 am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + delayMs, p); in scheduleAlarm()
|
/development/apps/OBJViewer/com/android/objviewer/ |
D | OBJViewer.java | 312 final AssetManager am = getAssets(); in onCreate() local 316 return am.open(filename); in onCreate()
|