OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:appContext
(Results
1 - 25
of
46
) 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/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
);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
InvalidationController.java
120
Context
appContext
= context.getApplicationContext();
121
if (
appContext
== null) throw new NullPointerException("Unable to get application context");
122
mContext =
appContext
;
/packages/apps/Email/provider_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
);
/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)) {
/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/content/public/android/java/src/org/chromium/content/browser/
BatteryStatusManager.java
50
static BatteryStatusManager getInstance(Context
appContext
) {
51
return new BatteryStatusManager(
appContext
);
BrowserStartupController.java
265
Context
appContext
= mContext.getApplicationContext();
270
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
85
private native void nativeRunTests(String filesDir, Context
appContext
);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ShortcutHelper.java
56
public ShortcutHelper(Context
appContext
, Tab tab) {
57
mAppContext =
appContext
;
SSLClientCertificateRequest.java
266
final Context
appContext
= activity.getApplicationContext();
268
((ChromiumApplication)
appContext
).getPKCS11AuthenticationManager();
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
InvalidationPreferences.java
82
Context
appContext
= context.getApplicationContext();
83
if (
appContext
== null) throw new NullPointerException("Unable to get application context");
84
mContext =
appContext
;
/frameworks/base/telecomm/java/android/telecom/
TelecomManager.java
334
Context
appContext
= context.getApplicationContext();
335
if (
appContext
!= null) {
336
mContext =
appContext
;
[
all
...]
/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
)
Completed in 1819 milliseconds
1
2