Home
last modified time | relevance | path

Searched refs:mApplication (Results 1 – 25 of 35) sorted by relevance

12

/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java74 private PhoneGlobals mApplication; field in CallNotifier
127 mApplication = app; in CallNotifier()
130 mAudioManager = (AudioManager) mApplication.getSystemService(Context.AUDIO_SERVICE); in CallNotifier()
132 (TelephonyManager) mApplication.getSystemService(Context.TELEPHONY_SERVICE); in CallNotifier()
133 mSubscriptionManager = (SubscriptionManager) mApplication.getSystemService( in CallNotifier()
140 adapter.getProfileProxy(mApplication.getApplicationContext(), in CallNotifier()
492 PhoneDisplayMessage.displayNetworkMessage(mApplication, displayInfo); in onDisplayInfo()
508 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed()
512 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed()
516 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java59 private Application mApplication; field in UserBackupSettingsActivityTest
77 mApplication = RuntimeEnvironment.application; in setUp()
80 mPackageManager = Shadows.shadowOf(mApplication.getPackageManager()); in setUp()
94 mApplication.getPackageManager().setComponentEnabledSetting(mComponent, in onCreate_launchActivity()
106 assertThat(Shadows.shadowOf(mApplication).getNextStartedActivity()).isEqualTo(mIntent); in onCreate_launchActivity()
121 assertThat(Shadows.shadowOf(mApplication).getNextStartedActivity()).isNull(); in onCreate_hasManufacturerIntent()
130 mApplication, true)).isNotEmpty(); in getNonIndexableKeys_whenBackupServiceActive()
132 mApplication)).isEmpty(); in getNonIndexableKeys_whenBackupServiceActive()
140 mApplication, true)).isNotEmpty(); in getNonIndexableKeys_whenBackupServiceNotActive()
142 mApplication)).contains("Backup"); in getNonIndexableKeys_whenBackupServiceNotActive()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDataManager.java101 private GalleryApp mApplication; field in DataManager
112 mApplication = application; in DataManager()
120 addSource(new LocalSource(mApplication)); in initializeSourceMap()
121 addSource(new PicasaSource(mApplication)); in initializeSourceMap()
122 addSource(new ComboSource(mApplication)); in initializeSourceMap()
123 addSource(new ClusterSource(mApplication)); in initializeSourceMap()
124 addSource(new FilterSource(mApplication)); in initializeSourceMap()
125 addSource(new SecureSource(mApplication)); in initializeSourceMap()
126 addSource(new UriSource(mApplication)); in initializeSourceMap()
127 addSource(new SnailSource(mApplication)); in initializeSourceMap()
[all …]
DLocalSource.java37 private GalleryApp mApplication; field in LocalSource
58 mApplication = context; in LocalSource()
84 GalleryApp app = mApplication; in createMediaObject()
89 return new LocalAlbumSet(path, mApplication); in createMediaObject()
106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0)); in createMediaObject()
108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0)); in createMediaObject()
183 MediaObject object = mApplication.getDataManager().getMediaObject(item); in getDefaultSetOf()
236 mApplication, isImage, ids); in processMapMediaItems()
266 mClient = mApplication.getContentResolver() in resume()
DSecureSource.java22 private GalleryApp mApplication; field in SecureSource
34 mApplication = context; in SecureSource()
45 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
48 return new SecureAlbum(path, mApplication, unlock); in createMediaObject()
51 return new UnlockImage(path, mApplication); in createMediaObject()
DLocalAlbumSet.java50 private final GalleryApp mApplication; field in LocalAlbumSet
63 mApplication = application; in LocalAlbumSet()
109 jc, mApplication.getContentResolver(), mType); in run()
126 DataManager dataManager = mApplication.getDataManager(); in run()
144 return new LocalAlbum(path, mApplication, id, true, name); in getLocalAlbum()
146 return new LocalAlbum(path, mApplication, id, false, name); in getLocalAlbum()
170 mLoadTask = mApplication.getThreadPool().submit(new AlbumsLoader(), this); in reload()
DFilterSource.java35 private GalleryApp mApplication; field in FilterSource
42 mApplication = application; in FilterSource()
52 mApplication); in FilterSource()
54 Path.fromString(FILTER_CAMERA_SHORTCUT_ITEM), mApplication); in FilterSource()
63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
DLocalVideo.java71 private final GalleryApp mApplication; field in LocalVideo
77 mApplication = application; in LocalVideo()
83 mApplication = context; in LocalVideo()
84 ContentResolver resolver = mApplication.getContentResolver(); in LocalVideo()
155 return new LocalVideoRequest(mApplication, getPath(), dateModifiedInSec, in requestImage()
192 mApplication.getContentResolver().delete(baseUri, "_id=?", in delete()
223 mApplication.getAndroidContext(), durationInSec)); in getDetails()
DLocalImage.java101 private final GalleryApp mApplication; field in LocalImage
109 mApplication = application; in LocalImage()
115 mApplication = application; in LocalImage()
116 ContentResolver resolver = mApplication.getContentResolver(); in LocalImage()
175 return new LocalImageRequest(mApplication, mPath, dateModifiedInSec, in requestImage()
257 mPanoramaMetadata.getPanoramaSupport(mApplication, callback); in getPanoramaSupport()
269 ContentResolver contentResolver = mApplication.getContentResolver(); in delete()
304 mApplication.getContentResolver().update(baseUri, values, "_id=?", in rotate()
DComboSource.java24 private GalleryApp mApplication; field in ComboSource
29 mApplication = application; in ComboSource()
43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
46 return new ComboAlbumSet(path, mApplication, in createMediaObject()
DUriImage.java60 private GalleryApp mApplication; field in UriImage
65 mApplication = Utils.checkNotNull(application); in UriImage()
100 InputStream is = mApplication.getContentResolver() in openOrDownloadInner()
105 mFileDescriptor = mApplication.getContentResolver() in openOrDownloadInner()
116 mCacheEntry = mApplication.getDownloadCache().download(jc, url); in openOrDownloadInner()
224 mPanoramaMetadata.getPanoramaSupport(mApplication, callback); in getPanoramaSupport()
DClusterSource.java34 GalleryApp mApplication; field in ClusterSource
39 mApplication = application; in ClusterSource()
63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType); in createMediaObject()
DUriSource.java36 private GalleryApp mApplication; field in UriSource
40 mApplication = context; in UriSource()
52 return new UriImage(mApplication, path, Uri.parse(uri), type); in createMediaObject()
68 String type = mApplication.getContentResolver().getType(uri); in getMimeType()
DClusterAlbumSet.java30 private GalleryApp mApplication; field in ClusterAlbumSet
39 mApplication = application; in ClusterAlbumSet()
82 Context context = mApplication.getAndroidContext(); in updateClusters()
103 DataManager dataManager = mApplication.getDataManager(); in updateClusters()
DSnailSource.java26 private GalleryApp mApplication; field in SnailSource
32 mApplication = application; in SnailSource()
41 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
DLocalAlbum.java52 private final GalleryApp mApplication; field in LocalAlbum
64 mApplication = application; in LocalAlbum()
116 DataManager dataManager = mApplication.getDataManager(); in getMediaItem()
135 dataManager, mApplication, mIsImage); in getMediaItem()
251 return getLocalizedName(mApplication.getResources(), mBucketId, mName); in getName()
DActionImage.java33 private GalleryApp mApplication; field in ActionImage
38 mApplication = Utils.checkNotNull(application); in ActionImage()
62 Bitmap bitmap = BitmapFactory.decodeResource(mApplication.getResources(), in run()
/packages/apps/TV/common/src/com/android/tv/common/dagger/
DApplicationModule.java33 private final Application mApplication; field in ApplicationModule
36 mApplication = application; in ApplicationModule()
41 return mApplication; in provideApplication()
47 return mApplication.getApplicationContext(); in provideContext()
58 return mApplication.getContentResolver(); in provideContentResolver()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DUsersLiveData.java41 private final Application mApplication; field in UsersLiveData
68 mApplication = application; in UsersLiveData()
75 setValue(mApplication.getSystemService(UserManager.class).getUserProfiles()); in update()
86 mApplication.registerReceiver(mUserMonitor, userChangeFilter); in onActive()
91 mApplication.unregisterReceiver(mUserMonitor); in onInactive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
DAutoTimeFormatPreferenceControllerTest.java46 private ShadowApplication mApplication; field in AutoTimeFormatPreferenceControllerTest
54 mApplication = ShadowApplication.getInstance(); in setUp()
107 List<Intent> intentsFired = mApplication.getBroadcastIntents(); in updatePreference_autoSet_shouldSendIntent_12HourLocale()
127 List<Intent> intentsFired = mApplication.getBroadcastIntents(); in updatePreference_autoSet_shouldSendIntent_24HourLocale()
147 List<Intent> intentsFired = mApplication.getBroadcastIntents(); in updatePreference_24HourSet_shouldSendIntent()
DTimeFormatPreferenceControllerTest.java45 private ShadowApplication mApplication; field in TimeFormatPreferenceControllerTest
53 mApplication = ShadowApplication.getInstance(); in setUp()
120 List<Intent> intentsFired = mApplication.getBroadcastIntents(); in updatePreference_12HourSet_shouldSendIntent()
139 List<Intent> intentsFired = mApplication.getBroadcastIntents(); in updatePreference_24HourSet_shouldSendIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java46 private Application mApplication; field in SettingsLicenseActivityTest
52 mApplication = RuntimeEnvironment.application; in setUp()
78 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile()
99 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java48 private Application mApplication; field in LicenseActivityTest
54 mApplication = RuntimeEnvironment.application; in setUp()
80 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile()
102 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java75 private ShadowApplication mApplication; field in AutomaticStorageManagementJobServiceTest
108 mApplication = ShadowApplication.getInstance(); in setUp()
109 mApplication.setSystemService(Context.BATTERY_SERVICE, mBatteryManager); in setUp()
110 mApplication.setSystemService(Context.NOTIFICATION_SERVICE, mNotificationManager); in setUp()
154 mApplication.runBackgroundTasks(); in testStartJobTriesUpsellWhenASMDisabled()
156 List<Intent> broadcastedIntents = mApplication.getBroadcastIntents(); in testStartJobTriesUpsellWhenASMDisabled()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleViewModel.java46 private Application mApplication; field in RequestRoleViewModel.Factory
50 mApplication = application; in Factory()
57 return (T) new RequestRoleViewModel(mRole, mApplication); in create()

12