/frameworks/compile/slang/ |
H A D | slang_rs_pragma_handler.h | 36 RSContext *mContext; member in class:slang::RSPragmaHandler 40 mContext(Context) { 43 return this->mContext;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ActionProvider.java | 68 private final Context mContext; field in class:ActionProvider 79 mContext = context; 86 return mContext;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | EriManager.java | 94 private Context mContext; field in class:EriManager 100 mContext = context; 155 Resources r = mContext.getResources(); 304 mContext.getText(com.android.internal.R.string.roamingText0).toString()); 311 mContext.getText(com.android.internal.R.string.roamingText1).toString()); 318 mContext.getText(com.android.internal.R.string.roamingText2).toString()); 327 mContext.getText(com.android.internal.R.string.roamingText3).toString()); 334 mContext.getText(com.android.internal.R.string.roamingText4).toString()); 341 mContext.getText(com.android.internal.R.string.roamingText5).toString()); 348 mContext [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 71 private BridgeContext mContext; field in class:RenderAction 125 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, 158 if (mContext == null) { 201 // If this is called by init, mContext will be null and so should sCurrentContext 203 if (mContext != sCurrentContext) { 238 mContext.initResources(); 239 sCurrentContext = mContext; 246 mContext.getRenderResources().setFrameworkResourceIdProvider(this); 247 mContext.getRenderResources().setLogger(currentLog); 257 if (mContext ! [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManager.java | 91 private final Context mContext; field in class:UsageStatsManager 98 mContext = context; 134 endTime, mContext.getOpPackageName()); 159 intervalType, beginTime, endTime, mContext.getOpPackageName()); 183 mContext.getOpPackageName());
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AssistUtils.java | 40 private final Context mContext; field in class:AssistUtils 44 mContext = context; 136 final String setting = Settings.Secure.getStringForUser(mContext.getContentResolver(), 147 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) 149 PackageManager pm = mContext.getPackageManager();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SystemBars.java | 51 mContext, Settings.Secure.BAR_SERVICE_COMPONENT, this); 89 final String clsName = mContext.getString(R.string.config_statusBarComponent); 95 cls = mContext.getClassLoader().loadClass(clsName); 104 mStatusBar.mContext = mContext;
|
H A D | KeyguardIndicationController.java | 51 private final Context mContext; field in class:KeyguardIndicationController 64 mContext = context; 103 showTransientIndication(mContext.getResources().getString(transientIndication)); 160 return mContext.getResources().getString(R.string.keyguard_charged); 168 mContext, chargingTimeRemaining); 169 return mContext.getResources().getString( 177 return mContext.getResources().getString(R.string.keyguard_plugged_in);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarPolicy.java | 68 private final Context mContext; field in class:PhoneStatusBarPolicy 114 mContext = context; 130 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); 166 mContext.getString(R.string.accessibility_status_bar_hotspot)); 172 mContext.getString(R.string.accessibility_managed_profile)); 219 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); 229 if (DndTile.isVisible(mContext) || DndTile.isCombinedIcon(mContext)) { 233 zenDescription = mContext.getString(R.string.quick_settings_dnd_label); 237 zenDescription = mContext [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/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneMmiCode.java | 167 private Context mContext; field in class:ImsPhoneMmiCode 453 mContext = phone.getContext(); 912 mMessage = mContext.getText(com.android.internal.R.string.mmiError); 930 mMessage = mContext.getText(com.android.internal.R.string.mmiComplete); 954 mMessage = mContext.getText(com.android.internal.R.string.mmiError); 1072 return mContext.getText(com.android.internal.R.string.mmiError); 1078 return mContext.getText(com.android.internal.R.string.BaMmi); 1080 return mContext.getText(com.android.internal.R.string.CfMmi); 1082 return mContext.getText(com.android.internal.R.string.PwdMmi); 1084 return mContext [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNotificationController.java | 90 private final Context mContext; field in class:WifiNotificationController 96 mContext = context; 105 mContext.registerReceiver( 221 NotificationManager notificationManager = (NotificationManager) mContext 234 mNotificationBuilder = new Notification.Builder(mContext) 238 .setContentIntent(TaskStackBuilder.create(mContext) 242 .setColor(mContext.getResources().getColor( 246 CharSequence title = mContext.getResources().getQuantityText( 248 CharSequence details = mContext.getResources().getQuantityText( 278 ContentResolver cr = mContext [all...] |
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 46 mContext = nullptr; 61 if (mContext) { 62 RS::dispatch->ContextDeinitToClient(mContext); 67 RS::dispatch->ContextDestroy(mContext); 68 mContext = nullptr; 173 mContext = RS::dispatch->ContextCreate(mDev, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags); 174 if (mContext == 0) { 215 RS::dispatch->ContextInitToClient(rs->mContext); 222 RsMessageToClientType r = RS::dispatch->ContextPeekMessage(rs->mContext, 234 RS::dispatch->ContextGetMessage(rs->mContext, rbu [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 62 private Context mContext; field in class:BackupManager 81 mContext = context; 94 sService.dataChanged(mContext.getPackageName()); 147 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), 150 session = new RestoreSession(mContext, binder); 151 result = session.restorePackage(mContext.getPackageName(), observer); 180 session = new RestoreSession(mContext, binder);
|
H A D | RestoreSession.java | 38 final Context mContext; field in class:RestoreSession 54 RestoreObserverWrapper obsWrapper = new RestoreObserverWrapper(mContext, observer); 82 mObserver = new RestoreObserverWrapper(mContext, observer); 116 mObserver = new RestoreObserverWrapper(mContext, observer); 146 mObserver = new RestoreObserverWrapper(mContext, observer); 177 mContext = context;
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 34 private Context mContext; field in class:ImageSpan 63 mContext = context; 109 mContext = context; 124 mContext = context; 137 InputStream is = mContext.getContentResolver().openInputStream( 140 drawable = new BitmapDrawable(mContext.getResources(), bitmap); 149 drawable = mContext.getDrawable(mResourceId);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 51 private final Context mContext; field in class:PasswordEntryKeyboardHelper 84 mContext = context; 118 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC], width, height); 119 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal, 123 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY_SHIFTED], 128 mSymbolsKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS], width, height); 131 mSymbolsKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS_SHIFTED], 138 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC]); 139 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal); 142 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayout [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | BluetoothTile.java | 79 MetricsLogger.action(mContext, getMetricsCategory(), !isEnabled); 105 state.contentDescription = mContext.getString( 110 state.contentDescription = mContext.getString( 112 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 115 state.contentDescription = mContext.getString( 119 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 123 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 124 state.contentDescription = mContext.getString( 130 bluetoothName = state.dualLabelContentDescription = mContext.getString( 144 return 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/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 45 private Context mContext; field in class:SettingsHelper 94 mContext = context; 213 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri); 221 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri); 226 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri); 240 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0; 244 mContext.getContentResolver(), name)); 260 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); 271 mContext.getContentResolver(), GPS, enabled); 295 Configuration conf = mContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | ScreenPinningRequest.java | 48 private final Context mContext; field in class:ScreenPinningRequest 56 mContext = context; 58 mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); 60 mContext.getSystemService(Context.WINDOW_SERVICE); 73 mRequestWindow = new RequestWindowView(mContext, allowCancel); 144 boolean isLandscape = isLandscapePhone(mContext); 147 int bgColor = mContext.getColor( 181 mContext.registerReceiver(mReceiver, filter); 185 Configuration config = mContext.getResources().getConfiguration(); 232 if (mContext [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | LockdownVpnTracker.java | 74 private final Context mContext; field in class:LockdownVpnTracker 97 mContext = Preconditions.checkNotNull(context); 105 mConfigIntent = PendingIntent.getActivity(mContext, 0, configIntent, 0); 109 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0); 231 mContext.registerReceiver(mResetReceiver, resetFilter, CONNECTIVITY_INTERNAL, null); 270 mContext.unregisterReceiver(mResetReceiver); 338 final Notification.Builder builder = new Notification.Builder(mContext) 341 .setContentTitle(mContext.getString(titleRes)) 342 .setContentText(mContext.getString(R.string.vpn_lockdown_config)) 346 .addAction(R.drawable.ic_menu_refresh, mContext [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FilterGraph.java | 51 private MffContext mContext; field in class:FilterGraph 71 private MffContext mContext; field in class:FilterGraph.Builder 81 mContext = context; 119 VariableSource valueSource = new VariableSource(mContext, name); 128 FrameSlotSource filter = new FrameSlotSource(mContext, name, slotName); 134 FrameSlotTarget filter = new FrameSlotTarget(mContext, name, slotName); 222 VariableSource valueSource = new VariableSource(mContext, valueSourceName); 272 FilterGraph graph = new FilterGraph(mContext, parent); 295 branch = new BranchFilter(mContext, branchName, false); 365 return mContext; [all...] |
H A D | RenderTarget.java | 66 private EGLContext mContext; field in class:RenderTarget 115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); 130 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); 149 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); 168 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); 194 EGLSurface currentSurface = mDisplaySurfaces.get(mContext); 198 mDisplaySurfaces.put(mContext, mSurface); 205 mDisplaySurfaces.put(mContext, null); 214 mEgl.eglMakeCurrent(mDisplay, surface(), surface(), mContext); 238 return mContext; [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 70 , mContext(nullptr) { 76 mContext = (CanvasContext*) postAndWait(task); 77 mDrawFrameTask.setContext(&mRenderThread, mContext); 90 if (mContext) { 92 args->context = mContext; 93 mContext = nullptr; 108 args->context = mContext; 126 args->context = mContext; 137 args->context = mContext; 148 args->context = mContext; [all...] |