HomeSort by relevance Sort by last modified time
    Searched refs:appContext (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium_org/base/android/java/src/org/chromium/base/
PathUtils.java 35 public static String getDataDirectory(Context appContext) {
40 return appContext.getDir(sDataDirectorySuffix, Context.MODE_PRIVATE).getPath();
47 public static String getDatabaseDirectory(Context appContext) {
49 return appContext.getDatabasePath("foo").getParent();
57 public static String getCacheDirectory(Context appContext) {
58 return appContext.getCacheDir().getPath();
66 private static String getDownloadsDirectory(Context appContext) {
76 private static String getNativeLibraryDirectory(Context appContext) {
77 ApplicationInfo ai = appContext.getApplicationInfo();
  /external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
ShellLayoutTestUtils.java 22 private static String getApplicationFilesDirectory(Context appContext) {
23 return appContext.getFilesDir().getAbsolutePath();
  /external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/sync/
ChromeShellSyncAdapter.java 14 public ChromeShellSyncAdapter(Context appContext, Application application) {
15 super(appContext, application);
  /packages/apps/Camera2/src/com/android/camera/
SoundPlayer.java 36 public SoundPlayer(Context appContext) {
37 mAppContext = appContext;
  /frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DefaultFailureHandler.java 45 private final Context appContext;
48 public DefaultFailureHandler(@TargetContext Context appContext) {
49 this.appContext = checkNotNull(appContext);
  /frameworks/base/core/java/android/content/
RestrictionsManager.java 547 Context appContext;
549 appContext = mContext.createPackageContext(packageName, 0 /* flags */);
563 TypedArray a = appContext.obtainStyledAttributes(attrSet,
565 restriction = loadRestriction(appContext, a);
585 private RestrictionEntry loadRestriction(Context appContext, TypedArray a) {
608 restriction.setChoiceEntries(appContext, entries);
611 restriction.setChoiceValues(appContext, entryValues);
629 appContext.getResources().getStringArray(resId));
  /packages/apps/Camera2/src/com/android/camera/processing/
ProcessingServiceManager.java 56 public static void initSingleton(Context appContext) {
57 sInstance = new ProcessingServiceManager(appContext);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothManager.java 58 Context appContext = context.getApplicationContext();
59 sInstance = new LocalBluetoothManager(adapter, appContext);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupTypeFragment.java 53 final Context appContext = inflater.getContext().getApplicationContext();
59 : EmailServiceUtils.getServiceInfoList(appContext)) {
60 if (EmailServiceUtils.isServiceAvailable(appContext, info.protocol)) {
  /packages/apps/Email/src/com/android/email/mail/
Sender.java 109 Context appContext = context.getApplicationContext();
110 Sender sender = findSender(appContext, R.xml.senders_product, account);
112 sender = findSender(appContext, R.xml.senders, account);
Store.java 110 Context appContext = context.getApplicationContext();
120 store = (Store)m.invoke(null, account, appContext);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationLoading.java 84 Context appContext = AnimationLoading.this;
88 loadAnimator(appContext, R.anim.object_animator);
93 loadAnimator(appContext, R.anim.animator);
101 (AnimatorSet) AnimatorInflater.loadAnimator(appContext,
106 loadAnimator(appContext, R.anim.color_animator);
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
VideoCaptureFactory.java 83 private static int getNumberOfCameras(Context appContext) {
91 appContext.getPackageManager().checkPermission(
92 "android.permission.CAMERA", appContext.getPackageName())) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
PreviewInflater.java 67 Context appContext = mContext.createPackageContext(
70 appContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
71 appInflater = appInflater.cloneInContext(appContext);
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ContentViewMiscTest.java 60 final MockContext appContext = new MockContext() {
70 return appContext;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ShortcutHelper.java 42 * @param appContext The application context.
46 public static void addShortcut(Context appContext, Tab tab, String userRequestedTitle) {
51 ActivityManager am = (ActivityManager) appContext.getSystemService(
SSLClientCertificateRequest.java 266 final Context appContext = activity.getApplicationContext();
268 ((ChromiumApplication) appContext).getPKCS11AuthenticationManager();
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
BatteryStatusManager.java 51 static BatteryStatusManager getInstance(Context appContext) {
52 return new BatteryStatusManager(appContext);
BrowserStartupController.java 279 Context appContext = mContext.getApplicationContext();
285 ContentMain.initApplicationContext(appContext);
  /external/chromium_org/content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/
ContentBrowserTestsActivity.java 61 private native void nativeRunTests(String filesDir, Context appContext);
  /external/chromium_org/testing/android/java/src/org/chromium/native_test/
ChromeNativeTestActivity.java 79 private native void nativeRunTests(String filesDir, Context appContext);
  /frameworks/base/telecomm/java/android/telecom/
TelecomManager.java 317 Context appContext = context.getApplicationContext();
318 if (appContext != null) {
319 mContext = appContext;
  /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
NDKHelper.java 167 public static String getNativeLibraryDirectory(Context appContext)
  /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
NDKHelper.java 167 public static String getNativeLibraryDirectory(Context appContext)
  /frameworks/base/media/java/android/media/
MediaRouter.java 107 Static(Context appContext) {
108 mAppContext = appContext;
110 mHandler = new Handler(appContext.getMainLooper());
115 mDisplayService = (DisplayManager) appContext.getSystemService(Context.DISPLAY_SERVICE);
128 mCanConfigureWifiDisplays = appContext.checkPermission(
134 void startMonitoringRoutes(Context appContext) {
144 appContext.registerReceiver(new WifiDisplayStatusChangedReceiver(),
146 appContext.registerReceiver(new VolumeChangeReceiver(),
716 final Context appContext = context.getApplicationContext();
717 sStatic = new Static(appContext);
    [all...]

Completed in 731 milliseconds

1 2