Home
last modified time | relevance | path

Searched refs:CLIENT_UID (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java46 private static final int CLIENT_UID = 10101; field in CarStatsServiceTest
68 when(mPackageManager.getNameForUid(CLIENT_UID)).thenReturn(CLIENT_PACKAGE); in setUp()
88 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_Connecting()
95 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_Connected()
102 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_Disconnected()
109 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_Terminated()
116 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_ConnectionError()
130 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_MultipleClients_MultipleStates()
132 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_MultipleClients_MultipleStates()
134 mCarStatsService.getVmsClientLogger(CLIENT_UID) in testLogConnectionState_MultipleClients_MultipleStates()
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRegistrationBinderTest.java81 private static final int CLIENT_UID = RAND.nextInt(); field in RegistrationBinderTest
147 mRegistration = new RegistrationBinder(mContext, CLIENT_UID, mockSystem, mMockDao,
155 .getKeyForClientAndIrpc(IRPC_HAL, CLIENT_UID, KEY_ID);
170 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
185 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
202 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
226 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
322 .getKeyForClientAndIrpc(IRPC_HAL, CLIENT_UID, KEY_ID);
371 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
394 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxStorageManagerUnitTest.java56 private static final int CLIENT_UID = 11000; field in SdkSandboxStorageManagerUnitTest
132 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo_nonExistingStorage()
152 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo_storageExists()
164 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInernalStorageDirInfo_nonExistingStorage()
186 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInternalStorageDirInfo_storageExists()
241 mSdkSandboxManagerLocal.notifyInstrumentationStarted(CLIENT_PKG_NAME, CLIENT_UID); in test_onUserUnlocking_Instrumentation_NoSdk_PackageDirNotRemoved()
447 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getSdkStorageDirInfo()
471 final CallingInfo callingInfo = new CallingInfo(CLIENT_UID, CLIENT_PKG_NAME); in test_getInternalStorageDirInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DFocusEntryTest.java45 private static final int CLIENT_UID = 0; field in FocusEntryTest
138 return new AudioFocusInfo(attributes, CLIENT_UID, CLIENT_ID, PACKAGE_NAME, in getInfo()
DCarZonesAudioFocusUnitTest.java71 private static final int CLIENT_UID = 1086753; field in CarZonesAudioFocusUnitTest
541 return new AudioFocusInfo(attributes, CLIENT_UID, CLIENT_ID, in generateAudioFocusInfoWithAttributes()