Searched defs:mContext (Results 126 - 150 of 738) sorted by relevance

1234567891011>>

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DConferenceManagerPresenter.java38 private Context mContext; field in class:ConferenceManagerPresenter
106 mContext = Preconditions.checkNotNull(context);
107 mContext = context;
136 getUi().update(mContext, calls, canSeparate);
H A DInCallCameraManager.java68 private Context mContext; field in class:InCallCameraManager
77 mContext = context;
107 maybeInitializeCameraList(mContext);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DDefaultVoicemailNotifier.java67 private final Context mContext; field in class:DefaultVoicemailNotifier
79 mContext = context;
94 CallLogNotificationsHelper.getInstance(mContext).getNewVoicemails();
107 Resources resources = mContext.getResources();
126 mContext, newCall.number, newCall.countryIso, newCall.dateMs)) {
130 mContext.getContentResolver().delete(newCall.voicemailUri, null, null);
137 name = CallLogNotificationsHelper.getInstance(mContext).getName(newCall.number,
178 Notification.Builder notificationBuilder = new Notification.Builder(mContext)
192 contentIntent = new Intent(mContext, DialtactsActivity.class);
195 mContext,
[all...]
H A DGroupingListAdapter.java36 private Context mContext; field in class:GroupingListAdapter
66 mContext = context;
H A DMissedCallNotifier.java59 private Context mContext; field in class:MissedCallNotifier
70 mContext = context;
78 CallLogNotificationsHelper.getInstance(mContext).getNewMissedCalls();
100 Notification.Builder builder = new Notification.Builder(mContext);
106 ContactInfo contactInfo = CallLogNotificationsHelper.getInstance(mContext)
117 ContactPhotoLoader loader = new ContactPhotoLoader(mContext, contactInfo);
125 mContext.getString(R.string.notification_missedCallsMsg, count);
130 Notification.Builder publicBuilder = new Notification.Builder(mContext);
132 .setColor(mContext.getResources().getColor(R.color.dialer_theme_color))
134 .setContentTitle(mContext
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DSmartDialCursorLoader.java43 private final Context mContext; field in class:SmartDialCursorLoader
54 mContext = context;
81 if (!PermissionsUtil.hasContactsPermissions(mContext)) {
87 mContext);
125 mContext.getContentResolver().registerContentObserver(
164 mContext.getContentResolver().unregisterContentObserver(mObserver);
180 mContext.getContentResolver().unregisterContentObserver(mObserver);
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
H A DNumbersAdapter.java41 private Context mContext; field in class:NumbersAdapter
53 mContext = context;
106 mContext.getResources().getString(R.string.description_contact_details, displayName));
124 mContext.getResources(), info.type, info.label);
126 return PhoneNumberUtil.getGeoDescription(mContext, info.number);
131 return mContext;
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVisualVoicemailEnabledChecker.java35 private Context mContext; field in class:VisualVoicemailEnabledChecker
48 mContext = context;
50 mPrefs = PreferenceManager.getDefaultSharedPreferences(mContext);
70 new CallLogQueryHandler(mContext, mContext.getContentResolver(), this);
H A DWiredHeadsetManager.java48 private Context mContext; field in class:WiredHeadsetManager
51 mContext = context;
70 mContext.registerReceiver(mReceiver, intentFilter);
74 mContext.unregisterReceiver(mReceiver);
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DContactInfoHelperTest.java44 private ContactsMockContext mContext; field in class:ContactInfoHelperTest
54 mContext = new ContactsMockContext(getContext());
58 mContactInfoHelper = new ContactInfoHelper(mContext, TEST_COUNTRY_ISO);
71 mContext.verify();
85 mContext.verify();
99 mContext.verify();
103 Assert.assertNull(mContactInfoHelper.lookUpDisplayNameAlternative(mContext, null,
110 Assert.assertNull(mContactInfoHelper.lookUpDisplayNameAlternative(mContext,
112 mContext.verify();
119 mContactInfoHelper.lookUpDisplayNameAlternative(mContext, TEST_LOOKUP_KE
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
H A DFilteredNumbersUtilTest.java54 private ContactsMockContext mContext; field in class:FilteredNumbersUtilTest
59 mContext = new ContactsMockContext(getContext(), FilteredNumberContract.AUTHORITY);
62 PreferenceManager.getDefaultSharedPreferences(mContext)
70 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER,
76 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER,
82 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER,
88 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER,
94 assertTrue(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBER,
100 PreferenceManager.getDefaultSharedPreferences(mContext)
105 assertFalse(FilteredNumbersUtil.shouldBlockVoicemail(mContext, NORMALIZED_NUMBE
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/
H A DPhoneNumberInteractionTest.java76 private ContactsMockContext mContext; field in class:PhoneNumberInteractionTest
82 mContext = new ContactsMockContext(getInstrumentation().getTargetContext());
83 mContactsProvider = mContext.getContactsProvider();
99 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
104 Intent intent = mContext.getIntentForStartActivity();
118 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
123 Intent intent = mContext.getIntentForStartActivity();
139 mContext, ContactDisplayUtils.INTERACTION_SMS, null);
144 Intent intent = mContext.getIntentForStartActivity();
158 assertTrue(phoneItem1.shouldCollapseWith(phoneItem2, mContext));
[all...]
/packages/apps/Email/provider_src/com/android/email/provider/
H A DEmailConversationCursor.java54 private final Context mContext; field in class:EmailConversationCursor
68 mContext = context;
130 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId);
140 final ContentResolver resolver = mContext.getContentResolver();
226 final ContentResolver resolver = mContext.getContentResolver();
238 final ContentResolver resolver = mContext.getContentResolver();
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java60 Context mContext; field in class:LegacyConversionsTests
70 mContext = getContext();
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DEmailPreferenceActivityTests.java49 private Context mContext; field in class:EmailPreferenceActivityTests
65 mContext = getInstrumentation().getTargetContext();
75 mContext.getContentResolver().delete(uri, null, null);
161 mAccount.getOrCreateHostAuthRecv(mContext).setHostAuthFromString(storeUri);
162 mAccount.getOrCreateHostAuthSend(mContext).setHostAuthFromString(senderUri);
163 mAccount.save(mContext);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSizeClustering.java30 private Context mContext; field in class:SizeClustering
49 mContext = context;
89 Resources res = mContext.getResources();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DProcessingTaskController.java30 private Context mContext; field in class:ProcessingTaskController
66 mContext = context;
86 return mContext;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCacheStorageUsageInfo.java44 private Context mContext; field in class:CacheStorageUsageInfo
49 mContext = activity.getAndroidContext();
57 File cacheDir = mContext.getExternalCacheDir();
59 cacheDir = mContext.getCacheDir();
H A DDetailsAddressResolver.java35 private final AbstractGalleryActivity mContext; field in class:DetailsAddressResolver
48 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext());
58 mContext = context;
64 mAddressLookupJob = mContext.getThreadPool().submit(
85 Context context = mContext.getAndroidContext();
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DAnotherWindowDragSource.java33 private final Context mContext; field in class:AnotherWindowDragSource
36 mContext = context;
67 Launcher.getLauncher(mContext).exitSpringLoadedDragModeDelayed(false, 0, null);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
H A DSetDevicePolicyTask.java37 private final Context mContext; field in class:SetDevicePolicyTask
54 mContext = context;
58 mPackageManager = mContext.getPackageManager();
59 mDevicePolicyManager = (DevicePolicyManager) mContext.
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
H A DInstallPackageTaskTest.java51 private Context mContext; field in class:InstallPackageTaskTest
66 mContext = mock(Context.class);
85 when(mContext.getPackageManager()).thenReturn(mPackageManager);
86 when(mContext.getPackageName()).thenReturn(PACKAGE_NAME);
87 when(mContext.getContentResolver()).thenReturn(mContentResolver);
89 mTask = new InstallPackageTask(mContext, mCallback);
H A DSetDevicePolicyTaskTest.java42 @Mock private Context mContext; field in class:SetDevicePolicyTaskTest
56 when(mContext.getPackageManager()).thenReturn(mPackageManager);
57 when(mContext.getSystemService(Context.DEVICE_POLICY_SERVICE))
65 mTask = new SetDevicePolicyTask(mContext, OWNER_NAME, mCallback, TEST_USER_ID);
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DCursorQueryData.java42 protected final Context mContext; field in class:CursorQueryData
46 mContext = context;
55 return new BoundCursorLoader(bindingId, mContext, mUri, mProjection, mSelection,
65 return mContext.getContentResolver().query(mUri, mProjection, mSelection,
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DBugleActionToasts.java145 private final Context mContext; field in class:BugleActionToasts.UpdateDestinationBlockedActionToast
148 mContext = context;
158 Toast.makeText(mContext,

Completed in 537 milliseconds

1234567891011>>