Searched refs:mContext (Results 176 - 200 of 1175) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/pm/
H A DOtaDexoptService.java61 private final Context mContext; field in class:OtaDexoptService
93 this.mContext = context;
228 long lowThreshold = StorageManager.from(mContext).getStorageLowBytes(dataDir);
281 Installer collectingInstaller = new Installer(mContext, collectingConnection);
285 collectingInstaller, mPackageManagerService.mInstallLock, mContext);
381 MetricsLogger.histogram(mContext, "ota_dexopt_available_space_before_mb",
383 MetricsLogger.histogram(mContext, "ota_dexopt_available_space_after_bulk_delete_mb",
385 MetricsLogger.histogram(mContext, "ota_dexopt_available_space_after_dexopt_mb",
388 MetricsLogger.histogram(mContext, "ota_dexopt_num_important_packages",
390 MetricsLogger.histogram(mContext, "ota_dexopt_num_other_package
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilterGraph.java51 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 DRenderTarget.java66 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationGuts.java117 TunerService.get(mContext).addTunable(this, SHOW_SLIDER);
122 TunerService.get(mContext).removeTunable(this);
148 mBackground = mContext.getDrawable(R.drawable.notification_guts_bg);
228 MetricsLogger.action(mContext, MetricsEvent.ACTION_SAVE_IMPORTANCE,
269 mReset.setText(mContext.getString(R.string.do_not_silence));
271 mReset.setText(mContext.getString(R.string.do_not_silence_block));
273 mBlock.setText(mContext.getString(R.string.block));
274 mSilent.setText(mContext.getString(R.string.show_silently));
283 mActiveSliderTint = ColorStateList.valueOf(Utils.getColorAccent(mContext));
304 MetricsLogger.action(mContext, MetricsEven
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DWifiNetworkAdapter.java41 private final Context mContext; field in class:WifiNetworkAdapter
76 mContext = context;
89 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
131 mContext.startActivity(intent);
135 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
142 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
147 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
152 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
161 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
171 WifiManager wifiManager = (WifiManager) mContext
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java38 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;
H A DFileBackupHelperBase.java33 Context mContext; field in class:FileBackupHelperBase
38 mContext = context;
96 + mContext.getPackageName() + "\' result=0x"
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java61 private Context mContext; field in class:NotificationStressTest
70 mContext = getInstrumentation().getContext();
71 mNotificationManager = (NotificationManager) mContext.getSystemService(
114 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
118 Notification notification = new Notification.Builder(mContext)
133 KeyguardManager myKM = (KeyguardManager) mContext
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java63 private final Context mContext; field in class:KeyPairGeneratorSpec
138 mContext = context;
154 return mContext;
268 * new KeyPairGeneratorSpec.Builder(mContext).setAlias("myKey")
277 private final Context mContext; field in class:KeyPairGeneratorSpec.Builder
307 mContext = context;
449 return new KeyPairGeneratorSpec(mContext,
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp99 : mInfo(info), mContext(context), mDirtyMask(outDirtyMask) {}
103 bool remove = animator->animate(mContext);
119 AnimationContext& mContext; member in class:android::uirenderer::AnimateFunctor
171 EndActiveAnimatorsFunctor(AnimationContext& context) : mContext(context) {}
174 animator->forceEndNow(mContext);
178 AnimationContext& mContext; member in class:android::uirenderer::EndActiveAnimatorsFunctor
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentClipper.java48 private Context mContext; field in class:DocumentClipper
52 mContext = context;
74 return uri != null && DocumentsContract.isDocumentUri(mContext, uri);
99 ContentResolver resolver = mContext.getContentResolver();
103 if (itemUri != null && DocumentsContract.isDocumentUri(mContext, itemUri)) {
129 final ContentResolver resolver = mContext.getContentResolver();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DFlashlightTile.java85 MetricsLogger.action(mContext, getMetricsCategory(), !mState.value);
93 return mContext.getString(R.string.quick_settings_flashlight_label);
113 state.contentDescription = mContext.getString(
128 state.contentDescription = mContext.getString(R.string.quick_settings_flashlight_label);
141 return mContext.getString(R.string.accessibility_quick_settings_flashlight_changed_on);
143 return mContext.getString(R.string.accessibility_quick_settings_flashlight_changed_off);
H A DHotspotTile.java57 mAirplaneMode = new GlobalSetting(mContext, mHandler, Global.AIRPLANE_MODE_ON) {
106 MetricsLogger.action(mContext, getMetricsCategory(), !isEnabled);
112 return mContext.getString(R.string.quick_settings_hotspot_label);
117 state.label = mContext.getString(R.string.quick_settings_hotspot_label);
150 return mContext.getString(R.string.accessibility_quick_settings_hotspot_changed_on);
152 return mContext.getString(R.string.accessibility_quick_settings_hotspot_changed_off);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DHybridGroupManager.java42 private final Context mContext; field in class:HybridGroupManager
47 mContext = ctx;
52 LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class);
60 LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class);
110 String text = mContext.getResources().getString(
115 String contentDescription = String.format(mContext.getResources().getQuantityString(
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintServiceRecommendationService.java53 private @NonNull final Context mContext; field in class:RemotePrintServiceRecommendationService
84 List<ResolveInfo> installedServices = mContext.getPackageManager()
100 ApplicationInfo appInfo = mContext.getPackageManager()
135 mContext = context;
142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection,
171 mContext.unbindService(mConnection);
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
H A DPreloadAppsInstaller.java52 private final Context mContext; field in class:PreloadAppsInstaller
62 mContext = context;
70 AppInstallCounter counter = new AppInstallCounter(mContext, userId);
151 private final Context mContext; field in class:PreloadAppsInstaller.AppInstallCounter
155 mContext = context;
172 Settings.Secure.putStringForUser(mContext.getContentResolver(),
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java251 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
257 final Notification n = makeBigTextNotification(mContext, 0, bigtextId, System.currentTimeMillis());
266 mNotifications.add(makeUploadNotification(mContext, 0, uploadWhen));
272 = FullScreenActivity.getPendingIntent(mContext, phoneId);
274 Notification phoneCall = new Notification.Builder(mContext)
277 .setLargeIcon(getBitmap(mContext, R.drawable.matias_hed))
284 ToastService.getPendingIntent(mContext, "Clicked on Answer"))
286 ToastService.getPendingIntent(mContext, "Clicked on Ignore"))
296 final Notification n = new Notification.Builder(mContext)
299 .setContentIntent(ToastService.getPendingIntent(mContext, "Clicke
[all...]
/frameworks/base/tools/aapt2/test/
H A DContext.h76 std::unique_ptr<Context> mContext = std::unique_ptr<Context>(new Context()); member in class:aapt::test::ContextBuilder
80 mContext->mCompilationPackage = package.toString();
85 mContext->mPackageId = id;
90 mContext->mNameMangler = NameMangler(policy);
95 mContext->getExternalSymbols()->appendSource(std::move(src));
100 return std::move(mContext);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java53 @Mock Context mContext; field in class:WifiApConfigStoreTest
70 when(mContext.getResources()).thenReturn(resources);
120 mContext, mBackupManagerProxy, mApConfigFile.getPath());
138 mContext, mBackupManagerProxy, mApConfigFile.getPath());
158 mContext, mBackupManagerProxy, mApConfigFile.getPath());
173 mContext, mBackupManagerProxy, mApConfigFile.getPath());
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
H A DSwitchItemTest.java166 ViewGroup root = new FrameLayout(mContext);
168 TextView titleView = new TextView(mContext);
172 TextView summaryView = new TextView(mContext);
176 FrameLayout iconContainer = new FrameLayout(mContext);
180 ImageView iconView = new ImageView(mContext);
184 mSwitch = new SwitchCompat(mContext);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java.broken42 private Context mContext;
49 mContext = context;
55 mGSMPhone = new GSMPhone(mContext, sc, new TestPhoneNotifier(), true);
/frameworks/support/documents-archive/tests/src/android/support/provider/
H A DIntegrationTest.java66 final Cursor cursor = mContext.getContentResolver().query(
75 final Cursor cursor = mContext.getContentResolver().query(
87 final Cursor cursor = mContext.getContentResolver().query(
111 mContext.getContentResolver().query(
124 assertEquals("text/plain", mContext.getContentResolver().getType(
130 final ParcelFileDescriptor descriptor = mContext.getContentResolver().openFileDescriptor(
/frameworks/base/core/java/com/android/internal/widget/
H A DAccountViewAdapter.java30 private Context mContext; field in class:AccountViewAdapter
40 mContext = context;
68 view = new AccountItemView(mContext);
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DActionBarContainerTest.java34 mActionBarContainer = new ActionBarContainer(mContext);
38 TestViewGroup viewGroup = new TestViewGroup(mContext);
58 TestViewGroup viewGroup = new TestViewGroup(mContext);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMimeTest.java50 private Context mContext; field in class:MediaMimeTest
60 mContext = getActivity();
121 return mContext.getPackageManager().resolveActivity(

Completed in 1010 milliseconds

1234567891011>>