/packages/services/Telephony/src/com/android/phone/ |
D | CallNotifier.java | 76 private PhoneGlobals mApplication; field in CallNotifier 129 mApplication = app; in CallNotifier() 132 mAudioManager = (AudioManager) mApplication.getSystemService(Context.AUDIO_SERVICE); in CallNotifier() 134 (TelephonyManager) mApplication.getSystemService(Context.TELEPHONY_SERVICE); in CallNotifier() 135 mSubscriptionManager = (SubscriptionManager) mApplication.getSystemService( in CallNotifier() 142 adapter.getProfileProxy(mApplication.getApplicationContext(), in CallNotifier() 499 PhoneDisplayMessage.displayNetworkMessage(mApplication, displayInfo); in onDisplayInfo() 515 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed() 519 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed() 523 mergeFailedString = mApplication.getResources().getString( in onSuppServiceFailed() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/ |
D | UserBackupSettingsActivityTest.java | 59 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/ |
D | DataManager.java | 101 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 …]
|
D | LocalSource.java | 37 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()
|
D | SecureSource.java | 22 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()
|
D | LocalAlbumSet.java | 50 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()
|
D | FilterSource.java | 35 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()
|
D | LocalVideo.java | 71 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()
|
D | LocalImage.java | 101 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()
|
D | ComboSource.java | 24 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()
|
D | UriImage.java | 60 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()
|
D | ClusterSource.java | 34 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()
|
D | UriSource.java | 36 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()
|
D | ClusterAlbumSet.java | 30 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()
|
D | SnailSource.java | 26 private GalleryApp mApplication; field in SnailSource 32 mApplication = application; in SnailSource() 41 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
|
/packages/apps/TV/common/src/com/android/tv/common/dagger/ |
D | ApplicationModule.java | 35 private final Application mApplication; field in ApplicationModule 38 mApplication = application; in ApplicationModule() 43 return mApplication; in provideApplication() 49 return mApplication.getApplicationContext(); in provideContext() 60 return mApplication.getContentResolver(); in provideContentResolver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | TestingSettingsBroadcastReceiverTest.java | 37 private Application mApplication; field in TestingSettingsBroadcastReceiverTest 43 mApplication = RuntimeEnvironment.application; in setUp() 54 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_nullIntent_shouldNotCrash() 65 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_wrongIntent_shouldNotStartActivity() 76 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_correctIntent_shouldStartActivity()
|
D | SettingsLicenseActivityTest.java | 46 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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningViewModel.java | 192 private final ManagedProvisioningBaseApplication mApplication; field in PreProvisioningViewModel.PreProvisioningViewModelFactory 195 mApplication = application; in PreProvisioningViewModelFactory() 205 new TimeLogger(mApplication, PROVISIONING_PREPROVISIONING_ACTIVITY_TIME_MS), in create() 206 new MessageParser(mApplication), in create() 207 mApplication.getEncryptionController()); in create()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | AutoTimeFormatPreferenceControllerTest.java | 46 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()
|
D | TimeFormatPreferenceControllerTest.java | 45 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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsViewModel.java | 93 private final Application mApplication; field in TermsViewModel.TermsViewModelFactory 97 mApplication = requireNonNull(application); in TermsViewModelFactory() 109 mApplication.getApplicationContext(), in create() 113 () -> mApplication.getApplicationContext().getPackageManager() in create()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/ |
D | LicenseActivityTest.java | 48 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/Settings/src/com/android/settings/tts/ |
D | TextToSpeechViewModel.java | 33 private final Application mApplication; field in TextToSpeechViewModel 38 mApplication = application; in TextToSpeechViewModel() 63 mTts = new TextToSpeech(this.mApplication, listener); in getTtsAndWhetherNew()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RequestRoleViewModel.java | 46 private Application mApplication; field in RequestRoleViewModel.Factory 50 mApplication = application; in Factory() 57 return (T) new RequestRoleViewModel(mRole, mApplication); in create()
|