/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | ProgressiveDisclosureTest.java | 66 private Context mAppContext; field in ProgressiveDisclosureTest 75 mAppContext = ShadowApplication.getInstance().getApplicationContext(); in setUp() 76 mMixin = new ProgressiveDisclosureMixin(mAppContext, in setUp() 79 mPreference = new Preference(mAppContext); in setUp() 105 mMixin = new ProgressiveDisclosureMixin(mAppContext, in shouldNotCollapse_whenStartAsExpanded() 163 final PreferenceScreen prefGroup = spy(new PreferenceScreen(mAppContext, null)); in findPreference_nestedPrefInCollapsedList_shouldFindIt() 230 final Preference pref1 = new Preference(mAppContext); in addToCollapsedList_shouldAddInOrder() 231 final Preference pref2 = new Preference(mAppContext); in addToCollapsedList_shouldAddInOrder() 248 mMixin.addToCollapsedList(new Preference(mAppContext)); in addPreferenceWhenCollapsed_noPrefOnScreen_shouldAddToList() 253 final Preference toBeAdded = new Preference(mAppContext); in addPreferenceWhenCollapsed_noPrefOnScreen_shouldAddToList() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmUpdateHandler.java | 42 private final Context mAppContext; field in AlarmUpdateHandler 51 mAppContext = context.getApplicationContext(); in AlarmUpdateHandler() 68 ContentResolver cr = mAppContext.getContentResolver(); in asyncAddAlarm() 108 ContentResolver cr = mAppContext.getContentResolver(); in asyncUpdateAlarm() 130 AlarmNotifications.updateNotification(mAppContext, newInstance); in asyncUpdateAlarm() 135 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncUpdateAlarm() 165 AlarmStateManager.deleteAllInstances(mAppContext, alarm.id); in asyncDeleteAlarm() 166 return Alarm.deleteAlarm(mAppContext.getContentResolver(), alarm.id); in asyncDeleteAlarm() 186 final String time = DateFormat.getTimeFormat(mAppContext).format( in showPredismissToast() 188 final String text = mAppContext.getString(R.string.alarm_is_dismissed, time); in showPredismissToast() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountCreationFragment.java | 65 private Context mAppContext; field in AccountCreationFragment 105 mAppContext = getActivity().getApplicationContext(); in onActivityCreated() 176 return new MailAsyncTaskLoader<Boolean>(mAppContext) { in onCreateLoader() 185 AccountSettingsUtils.commitSettings(mAppContext, account); in onCreateLoader() 187 EmailServiceUtils.setupAccountManagerAccount(mAppContext, account, in onCreateLoader() 206 new AccountPreferences(mAppContext, account.getEmailAddress()) in onCreateLoader() 212 AccountSettingsUtils.commitSettings(mAppContext, account); in onCreateLoader() 252 return new MailAsyncTaskLoader<Account>(mAppContext) { 258 account.refresh(mAppContext); 292 return new MailAsyncTaskLoader<Account>(mAppContext) { [all …]
|
D | AccountServerBaseFragment.java | 53 protected Context mAppContext; field in AccountServerBaseFragment 140 mAppContext = activity.getApplicationContext(); in onActivityCreated() 175 (InputMethodManager) mAppContext.getSystemService(Context.INPUT_METHOD_SERVICE); in onPause() 223 InputMethodManager imm = (InputMethodManager) mAppContext. in makeTextViewUneditable() 252 final HostAuth sendAuth = account.getOrCreateHostAuthSend(mAppContext); in haveSettingsChanged() 255 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in haveSettingsChanged()
|
D | AccountSetupOutgoingFragment.java | 224 final HostAuth sendAuth = mSetupData.getAccount().getOrCreateHostAuthSend(mAppContext); in loadSettings() 227 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, sendAuth, in loadSettings() 296 final HostAuth sendAuth = mSetupData.getAccount().getOrCreateHostAuthSend(mAppContext); in onCheckedChanged() 342 return new SaveSettingsLoader(mAppContext, mSetupData, mSettingsMode); in getSaveSettingsLoader() 379 final HostAuth sendAuth = account.getOrCreateHostAuthSend(mAppContext); in collectUserInputInternal() 416 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn() 427 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, sendAuth, in onActivityResult()
|
D | AccountSetupIncomingFragment.java | 200 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in onActivityCreated() 352 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in loadSettings() 448 deviceId = Device.getDeviceId(mAppContext); in onUseSslChanged() 499 return new SaveSettingsLoader(mAppContext, mSetupData, mSettingsMode); in getSaveSettingsLoader() 556 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in collectUserInputInternal() 612 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn() 642 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, recvAuth, in onActivityResult()
|
D | AccountFinalizeFragment.java | 39 private Context mAppContext; field in AccountFinalizeFragment 60 mAppContext = getActivity().getApplicationContext(); in onCreate() 74 return new FinalSetupTaskLoader(mAppContext, accountArg); in onResume()
|
D | AccountSetupCredentialsFragment.java | 84 private Context mAppContext; field in AccountSetupCredentialsFragment 171 mAppContext = getActivity().getApplicationContext(); in onActivityCreated() 174 mOauthProviders = AccountSettingsUtils.getAllOAuthProviders(mAppContext); in onActivityCreated() 177 final EmailServiceInfo info = EmailServiceUtils.getServiceInfo(mAppContext, protocol); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 74 private final Context mAppContext; field in EntityHeaderController 111 mAppContext = activity.getApplicationContext(); in EntityHeaderController() 113 mMetricsCategory = FeatureFactory.getFactory(mAppContext).getMetricsFeatureProvider() in EntityHeaderController() 135 mIcon = icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon() 147 mIcon = appEntry.icon.getConstantState().newDrawable(mAppContext.getResources()); in setIcon() 325 FeatureFactory.getFactory(mAppContext).getMetricsFeatureProvider() in bindButton() 326 .actionWithSource(mAppContext, mMetricsCategory, in bindButton() 346 FeatureFactory.getFactory(mAppContext).getMetricsFeatureProvider() in bindButton() 347 .actionWithSource(mAppContext, mMetricsCategory, in bindButton() 364 ResolveInfo result = mAppContext.getPackageManager().resolveActivity(i, 0); in resolveIntent()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 78 private final Context mAppContext; field in DvrManager 82 mAppContext = context.getApplicationContext(); in DvrManager() 186 TvInputInfo input = Utils.getTvInputInfoForProgram(mAppContext, program); in addSchedule() 211 TvInputInfo input = Utils.getTvInputInfoForChannelId(mAppContext, channel.getId()); in addSchedule() 245 TvInputInfo input = Utils.getTvInputInfoForProgram(mAppContext, selectedProgram); in addSeriesRecording() 302 TvInputInfo input = Utils.getTvInputInfoForInputId(mAppContext, series.getInputId()); in addScheduleToSeriesRecording() 500 ContentResolver resolver = mAppContext.getContentResolver(); in removeRecordedProgram() 532 ContentResolver resolver = mAppContext.getContentResolver(); in removeRecordedPrograms() 656 TvInputInfo info = Utils.getTvInputInfoForChannelId(mAppContext, channel.getId()); in isChannelRecordable() 664 Program program = TvApplication.getSingletons(mAppContext).getProgramDataManager() in isChannelRecordable() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CameraActivity.java | 200 private Context mAppContext; field in CameraActivity 852 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mAppContext); in setupNfcBeamPush() 1021 return mAppContext; in getAndroidContext() 1079 mAppContext); in getQuickSwitchToModuleId() 1265 CameraUtil.broadcastNewPicture(mAppContext, uri); in notifyNewMedia() 1434 mAppContext = getApplicationContext(); in onCreateTasks() 1436 mLocationManager = new LocationManager(mAppContext); in onCreateTasks() 1439 mSoundPlayer = new SoundPlayer(mAppContext); in onCreateTasks() 1468 mAppContext, in onCreateTasks() 1480 mCameraController = new CameraController(mAppContext, this, mMainHandler, in onCreateTasks() [all …]
|
D | SoundPlayer.java | 31 private final Context mAppContext; field in SoundPlayer 41 mAppContext = appContext; in SoundPlayer() 50 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */); in loadSound()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | SpellCheckerPreferenceControllerTest.java | 49 private Context mAppContext; field in SpellCheckerPreferenceControllerTest 56 mAppContext = RuntimeEnvironment.application; in setUp() 59 mPreference = new Preference(mAppContext); in setUp() 71 .isEqualTo(mAppContext.getString(R.string.spell_checker_not_selected)); in updateState_NoSpellerChecker_shouldSetSummaryToDefault() 80 .isEqualTo(mAppContext.getString(R.string.switch_off_text)); in updateState_spellerCheckerDisabled_shouldSetSummaryToDisabledText()
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingServiceManager.java | 49 private final Context mAppContext; field in ProcessingServiceManager 63 mAppContext = context; in ProcessingServiceManager() 159 mAppContext.startService(new Intent(mAppContext, ProcessingService.class)); in startService()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | TetherServiceTest.java | 47 private Context mAppContext; field in TetherServiceTest 54 mAppContext = mShadowApplication.getApplicationContext(); in setUp() 56 ReflectionHelpers.setField(mService, "mBase", mAppContext); in setUp() 62 mService.setHotspotOffReceiver(new HotspotOffReceiver(mAppContext)); in scheduleAlarm_shouldRegisterReceiver()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | PortabilityCameraActionProvider.java | 36 private final Context mAppContext; field in PortabilityCameraActionProvider 46 mAppContext = appContext; in PortabilityCameraActionProvider() 52 return new PortabilityCameraActions(key, mAppContext, getApiFromKey(key), in get()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | ImageLoader.java | 263 protected final Context mAppContext; field in ImageLoader.LoadBitmapTask 311 mAppContext = context.getApplicationContext(); in LoadBitmapTask() 370 .decodeSampledBitmapFromUriString(mAppContext, getKey(), mMaxWidth, mMaxHeight); in doGetBitmapInBackground() 395 Drawable drawable = mInfo.loadIcon(mAppContext); in doGetBitmapInBackground()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | PackageInstallerCompatVL.java | 50 private final Context mAppContext; field in PackageInstallerCompatVL 54 mAppContext = context.getApplicationContext(); in PackageInstallerCompatVL() 163 LauncherAppsCompat launcherApps = LauncherAppsCompat.getInstance(mAppContext); in verify()
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
D | CarUiEntry.java | 37 protected final Context mAppContext; field in CarUiEntry 43 mAppContext = appContext; in CarUiEntry()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.java | 69 private Context mAppContext; field in HandleApiCalls 75 mAppContext = getApplicationContext(); in onCreate() 118 startActivity(new Intent(mAppContext, DeskClock.class)); in handleDismissAlarm() 120 new DismissAlarmAsync(mAppContext, intent, this).execute(); in handleDismissAlarm()
|
/packages/services/Car/car-lib/api/ |
D | 1.txt | 143 field protected final android.content.Context mAppContext;
|
D | 2.txt | 143 field protected final android.content.Context mAppContext;
|
D | current.txt | 146 field protected final android.content.Context mAppContext;
|
D | system-2.txt | 255 field protected final android.content.Context mAppContext;
|
D | system-1.txt | 250 field protected final android.content.Context mAppContext;
|