Home
last modified time | relevance | path

Searched refs:mocks (Results 1 – 25 of 173) sorted by relevance

1234567

/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java17 package android.car.test.mocks;
20 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;
21 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackground;
22 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackgroundVisibleOnDispl…
23 import static android.car.test.mocks.AndroidMockitoHelper.mockBinderGetCallingUserHandle;
24 import static android.car.test.mocks.AndroidMockitoHelper.mockCarGetCarVersion;
25 import static android.car.test.mocks.AndroidMockitoHelper.mockCarGetPlatformVersion;
26 import static android.car.test.mocks.AndroidMockitoHelper.mockCarIsApiVersionAtLeast;
27 import static android.car.test.mocks.AndroidMockitoHelper.mockContextCheckCallingOrSelfPermission;
28 import static android.car.test.mocks.AndroidMockitoHelper.mockContextCreateContextAsUser;
[all …]
DCarArgumentMatchersTest.java17 package android.car.test.mocks;
19 import static android.car.test.mocks.CarArgumentMatchers.intentFor;
20 import static android.car.test.mocks.CarArgumentMatchers.isProperty;
21 import static android.car.test.mocks.CarArgumentMatchers.isPropertyWithValues;
22 import static android.car.test.mocks.CarArgumentMatchers.isUserHandle;
23 import static android.car.test.mocks.CarArgumentMatchers.isUserInfo;
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java37 import com.android.contacts.test.mocks.ContactsMockContext;
38 import com.android.contacts.test.mocks.MockAccountTypeManager;
39 import com.android.contacts.test.mocks.MockContactPhotoManager;
40 import com.android.contacts.test.mocks.MockContentProvider;
41 import com.android.contacts.test.mocks.MockContentProvider.Query;
42 import com.android.contacts.test.mocks.MockSharedPreferences;
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactDeletionInteractionTest.java34 import com.android.contacts.test.mocks.ContactsMockContext;
35 import com.android.contacts.test.mocks.MockAccountTypeManager;
36 import com.android.contacts.test.mocks.MockContentProvider;
37 import com.android.contacts.test.mocks.MockContentProvider.Query;
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/admin/
DNewUserDisclaimerActivityTest.java29 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
30 import android.car.test.mocks.AndroidMockitoHelper;
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockQueryService;
20 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
21 import static android.car.test.mocks.AndroidMockitoHelper.mockUmIsUserRunning;
40 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackground;
20 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackgroundVisibleOnDispl…
21 import static android.car.test.mocks.AndroidMockitoHelper.mockAmSwitchUser;
22 import static android.car.test.mocks.AndroidMockitoHelper.mockCarGetPlatformVersion;
23 import static android.car.test.mocks.AndroidMockitoHelper.mockContextCreateContextAsUser;
24 import static android.car.test.mocks.AndroidMockitoHelper.mockDpmLogoutUser;
25 import static android.car.test.mocks.AndroidMockitoHelper.mockForceStopUser;
26 import static android.car.test.mocks.AndroidMockitoHelper.mockForceStopUserThrows;
27 import static android.car.test.mocks.AndroidMockitoHelper.mockStopUserWithDelayedLocking;
28 import static android.car.test.mocks.AndroidMockitoHelper.mockStopUserWithDelayedLockingThrows;
[all …]
DUserHandleHelperUnitTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockContextCreateContextAsUser;
29 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
DExperimentalCarUserServiceTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmSwitchUser;
20 import static android.car.test.mocks.AndroidMockitoHelper.mockUmCreateUser;
21 import static android.car.test.mocks.JavaMockitoHelper.getResult;
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenarioLoader.java73 JSONArray mocks = json.getJSONArray(FIELD_MOCKS); in parseScenario() local
74 for (int i = 0; i < mocks.length(); i++) { in parseScenario()
75 JSONObject mockObject = mocks.getJSONObject(i); in parseScenario()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java42 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
43 import android.car.test.mocks.AbstractExtendedMockitoTestCase.CustomMockitoSessionBuilder;
44 import android.car.test.mocks.MockSettings;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioSettingsUnitTest.java27 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
28 import android.car.test.mocks.MockSettings;
/packages/modules/Bluetooth/system/rust/src/
Dgatt.rs9 pub mod mocks; module
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systeminterface/
DSystemStateInterfaceTest.java29 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
30 import android.car.test.mocks.JavaMockitoHelper;
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java16 package android.car.test.mocks;
24 import android.car.test.mocks.AbstractExtendedMockitoTestCase.CustomMockitoSessionBuilder;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/oem/
DCarOemProxyServiceHelperTest.java27 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
28 import android.car.test.mocks.JavaMockitoHelper;
/packages/modules/Bluetooth/system/stack/fuzzers/
DREADME.md70 dependencies from other Bluetooth components need to be mocked. The mocks are
72 minimium development effort. Some of the mocks are simply not implemented.
94 most of the stack components. With the mocks and design patterns it
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddActivityTest.java18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;
DEnterprisePrivacySettingsActivityTest.java18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;
DEnterpriseSetDefaultAppsListFragmentTest.java18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DContactsMockPackageManager.java16 package com.android.contacts.test.mocks;
DMockContactPhotoManager.java17 package com.android.contacts.test.mocks;
/packages/services/Car/tests/carservice_unit_test/src/android/car/
DAbstractExtendedMockitoCarServiceTestCase.java21 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarNightServiceTest.java37 import android.car.test.mocks.AbstractExtendedMockitoTestCase;
38 import android.car.test.mocks.MockSettings;
DCarServiceUtilsTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;
20 import static android.car.test.mocks.AndroidMockitoHelper.mockContextCreateContextAsUser;
38 import android.car.test.mocks.AbstractExtendedMockitoTestCase;

1234567