/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectsTest.java | 103 private Context mContext; field in class:EffectsTest.EffectListAdapter 109 mContext = context; 135 ev = new EffectView(mContext, mDescriptors); 138 ev = new EffectView(mContext, mDescriptors); 147 private Context mContext; field in class:EffectsTest.EffectView 153 mContext = context; 181 TextView tv = new TextView(mContext); 185 tv = new TextView(mContext); 189 tv = new TextView(mContext); 193 tv = new TextView(mContext); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DoNotDisturbController.java | 34 private Context mContext; field in class:DoNotDisturbController 40 mContext = context; 58 SharedPreferences.Editor editor = Prefs.edit(mContext);
|
H A D | BrightnessController.java | 43 private final Context mContext; field in class:BrightnessController 58 mContext = context; 61 mUserTracker = new CurrentUserTracker(mContext); 83 automatic = Settings.System.getIntForUser(mContext.getContentResolver(), 99 value = Settings.System.getIntForUser(mContext.getContentResolver(), 120 Settings.System.putIntForUser(mContext.getContentResolver(), 134 Settings.System.putIntForUser(mContext.getContentResolver(),
|
H A D | LocationController.java | 47 private Context mContext; field in class:LocationController 59 mContext = context; 106 String text = mContext.getText(textResId).toString(); 108 Notification n = new Notification.Builder(mContext) 123 mContext.getPackageName(), 135 mContext.getPackageName(), null,
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayAdapter.java | 36 private final Context mContext; field in class:DisplayAdapter 49 mContext = context; 67 return mContext;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestGalleryImages.java | 27 private Context mContext; field in class:BiDiTestGalleryImages 43 mContext = c; 63 ImageView i = new ImageView(mContext);
|
/frameworks/compile/libbcc/include/bcc/ |
H A D | Source.h | 32 BCCContext &mContext; member in class:bcc::Source 65 { return mContext; } 67 { return mContext; }
|
/frameworks/compile/slang/ |
H A D | slang_rs_pragma_handler.h | 36 RSContext *mContext; member in class:slang::RSPragmaHandler 40 mContext(Context) { 44 return this->mContext;
|
H A D | slang_rs_backend.cpp | 60 mContext(Context), 70 mRefCount(mContext->getASTContext()), 71 mASTChecker(mContext->getASTContext(), mContext->getTargetAPI(), 142 mContext->addPragma("rs_fp_relaxed", ""); 145 int version = mContext->getVersion(); 157 if (mContext->getReflectJavaPackageName().empty()) { 191 if (!mContext->processExport()) { 201 if (mContext->hasExportVar()) { 211 for (RSContext::const_export_var_iterator I = mContext [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkManagementService.java | 138 private Context mContext; field in class:NetworkManagementService 187 mContext = context; 219 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 225 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 474 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 485 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 529 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 551 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 559 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG); 567 mContext [all...] |
H A D | DockObserver.java | 57 private final Context mContext; field in class:DockObserver 62 mContext = context; 64 mPowerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 136 final ContentResolver cr = mContext.getContentResolver(); 176 final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); 189 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
H A D | RecognitionManagerService.java | 43 private final Context mContext; field in class:RecognitionManagerService 77 mContext = context; 81 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, 110 mContext.getPackageManager().queryIntentServicesAsUser( 137 mContext.getContentResolver(), 148 Settings.Secure.putStringForUser(mContext.getContentResolver(),
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | EriManager.java | 97 private Context mContext; field in class:EriManager 104 this.mContext = context; 159 Resources r = mContext.getResources(); 308 mContext.getText(com.android.internal.R.string.roamingText0).toString()); 315 mContext.getText(com.android.internal.R.string.roamingText1).toString()); 322 mContext.getText(com.android.internal.R.string.roamingText2).toString()); 331 mContext.getText(com.android.internal.R.string.roamingText3).toString()); 338 mContext.getText(com.android.internal.R.string.roamingText4).toString()); 345 mContext.getText(com.android.internal.R.string.roamingText5).toString()); 352 mContext [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 132 const void *typeID = rsaAllocationGetType(mRS->mContext, getID()); 152 rsAllocationSyncAll(mRS->mContext, getIDSafe(), srcLocation); 159 rsAllocationIoSend(mRS->mContext, getID()); 166 rsAllocationIoReceive(mRS->mContext, getID()); 224 rsAllocationGenerateMipmaps(mRS->mContext, getID()); 243 rsAllocation1DData(mRS->mContext, getIDSafe(), off, mSelectedLOD, count, data, dataLen); 269 rsAllocationCopy2DRange(mRS->mContext, getIDSafe(), off, 0, 288 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace, 295 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace, 302 rsAllocation2DData(mRS->mContext, getIDSaf [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerDataHelper.java | 30 private Context mContext; field in class:TrackerDataHelper 60 mContext = context; 76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, 98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, 111 Cursor cursor = mContext.getContentResolver().query(
|
/frameworks/base/core/java/android/server/search/ |
H A D | SearchManagerService.java | 62 private final Context mContext; field in class:SearchManagerService 74 mContext = context; 75 mContext.registerReceiver(new BootCompletedReceiver(), 77 mContext.registerReceiver(new UserReceiver(), 85 boolean userExists = ((UserManager) mContext.getSystemService(Context.USER_SERVICE)) 96 searchables = new Searchables(mContext, userId); 122 mContext.unregisterReceiver(BootCompletedReceiver.this); 166 mContext.sendBroadcastAsUser(intent, new UserHandle(changingUserId)); 191 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); 269 assistIntent.resolveTypeIfNeeded(mContext [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 88 mContext = context; 126 String pkg = mContext.getPackageName(); 148 String pkg = mContext.getPackageName(); 181 String pkg = mContext.getPackageName(); 195 String pkg = mContext.getPackageName(); 210 String pkg = mContext.getPackageName(); 218 private Context mContext; field in class:NotificationManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CallerInfoTest.java | 39 private Context mContext; field in class:CallerInfoTest 48 mContext = new MockContext(); 67 mInfo = CallerInfo.getCallerInfo(mContext, "911"); 70 mInfo = CallerInfo.getCallerInfo(mContext, "tel:911"); 75 mInfo = CallerInfo.getCallerInfo(mContext, "18001234567"); 106 mInfo = CallerInfo.getCallerInfo(mContext, "911"); 191 CallerInfoAsyncQuery.startQuery(kToken, mContext, mNumber, this, null);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 53 private final Context mContext; field in class:PasswordEntryKeyboardHelper 86 mContext = context; 120 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC], width, height); 121 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal, 125 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY_SHIFTED], 130 mSymbolsKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS], width, height); 133 mSymbolsKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS_SHIFTED], 140 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC]); 141 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal); 144 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayout [all...] |
H A D | DigitalClock.java | 72 private Context mContext; field in class:DigitalClock.TimeChangedReceiver 76 mContext = clock.getContext(); 96 mContext.unregisterReceiver(this); 135 private Context mContext; field in class:DigitalClock.FormatChangeObserver 139 mContext = clock.getContext(); 149 mContext.getContentResolver().unregisterContentObserver(this); 195 mContext.registerReceiver(mIntentReceiver, filter); 201 mContext.getContentResolver().registerContentObserver( 215 mContext.unregisterReceiver(mIntentReceiver); 218 mContext [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 42 Context mContext; field in class:SimpleCursorAdapterTest 58 mContext = getContext(); 90 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 101 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); 112 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 131 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); 150 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, 176 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null); 186 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null); 209 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayou [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | ClockView.java | 60 private Context mContext; field in class:ClockView.TimeChangedReceiver 64 mContext = clock.getContext(); 84 mContext.unregisterReceiver(this); 123 private Context mContext; field in class:ClockView.FormatChangeObserver 127 mContext = clock.getContext(); 137 mContext.getContentResolver().unregisterContentObserver(this); 176 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.OWNER, filter, null, null ); 182 mContext.getContentResolver().registerContentObserver( 196 mContext.unregisterReceiver(mIntentReceiver); 199 mContext [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | LockdownVpnTracker.java | 61 private final Context mContext; field in class:LockdownVpnTracker 83 mContext = Preconditions.checkNotNull(context); 91 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0); 190 mContext.registerReceiver(mResetReceiver, resetFilter, CONNECTIVITY_INTERNAL, null); 227 mContext.unregisterReceiver(mResetReceiver); 280 final Notification.Builder builder = new Notification.Builder(mContext); 283 builder.setContentTitle(mContext.getString(titleRes)); 284 builder.setContentText(mContext.getString(R.string.vpn_lockdown_reset)); 288 NotificationManager.from(mContext).notify(TAG, 0, builder.build()); 292 NotificationManager.from(mContext) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 43 private Context mContext; field in class:StorageNotification 70 mContext = context; 140 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 141 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 208 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 209 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 222 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 223 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 264 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 267 PendingIntent pi = PendingIntent.getActivity(mContext, [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreSession.java | 36 final Context mContext; field in class:RestoreSession 52 RestoreObserverWrapper obsWrapper = new RestoreObserverWrapper(mContext, observer); 80 mObserver = new RestoreObserverWrapper(mContext, observer); 114 mObserver = new RestoreObserverWrapper(mContext, observer); 144 mObserver = new RestoreObserverWrapper(mContext, observer); 175 mContext = context;
|