Home
last modified time | relevance | path

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

12

/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.kt40 Controller.getController().setContext(applicationContext) in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DController.kt42 fun setContext(context: Context) { in setContext() method
/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/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperValidImportanceTest.java83 public void setContext() { in setContext() method in NotificationHelperValidImportanceTest
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DDateTimeUtils.java115 format.setContext(DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE); in getDateTimeString()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java46 mDateFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in TimeZoneInfoPreferenceController()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java87 setContext(new ContextThemeWrapper(getContext(), keyboardTheme.mStyleId)); in setUp()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastServiceTestCase.java200 setContext(mContext); in setUp()
DCellBroadcastReceiverTest.java128 setContext(); in setUp()
481 private void setContext() { in setContext() method in CellBroadcastReceiverTest
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandlerTest.java111 .setContext(mTargetContext) in setUp()
/packages/modules/ExtServices/java/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java68 setContext(mContext); in setUp()
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java70 setContext(mContext); in setUp()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java150 setContext(Factory.get().getApplicationContext()); 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/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java207 setContext(mTestContext); in setUp()
/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/
DLRResolverRankerServiceTest.java69 setContext(mContext); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java163 .setContext(mService) in enter()

12