Home
last modified time | relevance | path

Searched refs:setContext (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastReceiverTest.java221 setContext(); in testMigrateSharedPreferenceFromLegacyWhenNoLegacyProvider()
232 setContext(); in testMigrateSharedPreferenceFromLegacyWhenBundleNull()
249 setContext(); in testSetTestingMode()
269 setContext(); in testAdjustReminderInterval()
287 setContext(); in testEnableLauncherIfNoLauncherActivity()
305 setContext(); in testEnableLauncherIfEnableTrue()
326 setContext(); in testEnableLauncherIfEnableFalse()
375 setContext(); in testHandleCdmaSmsCbProgramDataOperationAddAndDelete()
398 setContext(); in testHandleCdmaSmsCbProgramDataOprationClear()
419 private void setContext() { in setContext() method in CellBroadcastReceiverTest
DCellBroadcastServiceTestCase.java154 setContext(mContext); in setUp()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowStatusBarNotification.java35 public static void setContext(Context context) { in setContext() method in ShadowStatusBarNotification
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockApplication.java42 Controller.getController().setContext(applicationContext); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DController.kt42 fun setContext(context: Context) { in setContext() method
DController.java53 public void setContext(Context context) { in setContext() method in Controller
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DUnrecognizedColumnsTest.java50 setContext(mContext); in setUp()
DColumnFilterTest.java55 setContext(new MockTvProviderContext(mResolver, getContext())); in setUp()
DBootCompletedReceiverTest.java66 setContext(mockTvProviderContext); in setUp()
DPackageRemovedReceiverTest.java63 setContext(new MockTvProviderContext(mResolver, getContext())); in setUp()
DTransientRowHelperTests.java69 setContext(new MockTvProviderContext(mResolver, getContext())); in setUp()
DParametersTest.java57 setContext(mContext); in setUp()
DDatabaseHelperTest.java51 setContext(new MockTvProviderContext(mResolver, getContext())); in setUp()
DEpgDataCleanupServiceTests.java72 setContext(new MockTvProviderContext(mResolver, getSystemContext())); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DTimeZoneInfoPreferenceController.java47 mDateFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in TimeZoneInfoPreferenceController()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java47 mDateFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in TimeZoneInfoPreferenceController()
/packages/modules/ExtServices/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java61 setContext(mContext); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java87 setContext(new ContextThemeWrapper(getContext(), keyboardTheme.mStyleId)); in setUp()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java200 setContext(activity); in onAttach()
207 public void setContext(Context context) { in setContext() method in ContactEntryListFragment
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java150 setContext(Factory.get().getApplicationContext()); in setUp()
DActionServiceSystemTest.java296 setContext(Factory.get().getApplicationContext()); in setUp()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java207 setContext(mTestContext); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java159 .setContext(mService) in enter()
DPbapClientConnectionHandler.java192 public Builder setContext(Context context) { in setContext() method in PbapClientConnectionHandler.Builder
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DTetherServiceTest.java110 setContext(mContext); in setUp()

12