/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/lights/ |
H A D | LightsServiceTest.java | 112 LightsManager.LightsSession session = manager.openSession(); in testControlMultipleLights() 138 LightsManager.LightsSession session = manager.openSession(); in testControlLights_onlyEffectiveForLifetimeOfClient() 156 LightsManager.LightsSession session1 = manager.openSession(); in testControlLights_firstCallerWinsContention() 157 LightsManager.LightsSession session2 = manager.openSession(); in testControlLights_firstCallerWinsContention() 185 LightsManager.LightsSession session = manager.openSession(); in testClearLight() 204 try (LightsManager.LightsSession session1 = manager.openSession(DEFAULT_PRIORITY)) { in testControlLights_higherPriorityCallerWinsContention() 205 try (LightsManager.LightsSession session2 = manager.openSession(HIGH_PRIORITY)) { in testControlLights_higherPriorityCallerWinsContention()
|
/aosp14/frameworks/base/core/java/android/hardware/lights/ |
H A D | SystemLightsManager.java | 101 public @NonNull LightsSession openSession() { in openSession() method in SystemLightsManager 104 mService.openSession(session.getToken(), 0); in openSession() 122 public @NonNull LightsSession openSession(int priority) { in openSession() method in SystemLightsManager 125 mService.openSession(session.getToken(), priority); in openSession()
|
H A D | LightsManager.java | 80 public abstract @NonNull LightsSession openSession(); in openSession() method in LightsManager 92 public abstract @NonNull LightsSession openSession(int priority); in openSession() method in LightsManager
|
H A D | ILightsManager.aidl | 30 void openSession(in IBinder sessionToken, in int priority); in openSession() method
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
H A D | BroadcastRadioServiceHidlTest.java | 135 ITuner session = mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_withIdFound() 148 mBroadcastRadioService.openSession(moduleIdInvalid, /* legacyConfig= */ null, in openSession_withIdNotFound() 162 () -> mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_forNonCurrentUser_throwsException() 174 () -> mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_withoutAudio_fails() 244 when(mFmRadioModuleMock.openSession(mTunerCallbackMock)) in mockServiceManager()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
H A D | BroadcastRadioServiceImplTest.java | 139 ITuner session = mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_withIdFound() 150 ITuner session = mBroadcastRadioService.openSession(DAB_RADIO_MODULE_ID + 1, in openSession_withIdNotFound() 162 () -> mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_forNonCurrentUser_throwsException() 174 () -> mBroadcastRadioService.openSession(FM_RADIO_MODULE_ID, in openSession_withoutAudio_fails() 243 when(mFmRadioModuleMock.openSession(mTunerCallbackMock)).thenReturn(mFmTunerSessionMock); in mockServiceManager()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
H A D | CameraPrivacyLightControllerTest.java | 149 doReturn(mLightsSession).when(mLightsManager).openSession(anyInt()); in prepareCameraPrivacyLightController() 209 verify(mLightsManager, times(0)).openSession(anyInt()); in testAllCameraLightsAreRequestedOnOpActive() 215 verify(mLightsManager, times(1)).openSession(anyInt()); in testAllCameraLightsAreRequestedOnOpActive() 236 verify(mLightsManager, times(1)).openSession(anyInt()); in testWillOnlyOpenOnceWhenTwoPackagesStartOp() 238 verify(mLightsManager, times(1)).openSession(anyInt()); in testWillOnlyOpenOnceWhenTwoPackagesStartOp() 285 verify(mLightsManager, times(0)).openSession(anyInt()); in testWontOpenForExemptedPackage()
|
/aosp14/frameworks/base/omapi/java/android/se/omapi/ |
H A D | Reader.java | 92 public @NonNull Session openSession() throws IOException { in openSession() method in Reader 100 session = mReader.openSession(); in openSession()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputDeviceLightsManager.java | 77 public @NonNull LightsSession openSession() { in openSession() method in InputDeviceLightsManager 84 public @NonNull LightsSession openSession(int priority) { in openSession() method in InputDeviceLightsManager
|
/aosp14/frameworks/base/omapi/aidl/aidl_api/android.se.omapi/1/android/se/omapi/ |
H A D | ISecureElementReader.aidl | 41 android.se.omapi.ISecureElementSession openSession(); in openSession() method
|
/aosp14/frameworks/base/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/ |
H A D | ISecureElementReader.aidl | 41 android.se.omapi.ISecureElementSession openSession(); in openSession() method
|
/aosp14/frameworks/base/omapi/aidl/android/se/omapi/ |
H A D | ISecureElementReader.aidl | 44 ISecureElementSession openSession(); in openSession() method
|
/aosp14/frameworks/base/omapi/aidl/vts/functional/omapi/ |
H A D | VtsHalOmapiSeServiceV1_TargetTest.cpp | 67 res = reader->openSession(&session); in testSelectableAid() 100 res = reader->openSession(&session); in testNonSelectableAid() 156 res = reader->openSession(&session); in internalTransmitApdu() 376 auto status = reader->openSession(&session); in TEST_P() 408 auto status = reader->openSession(&session); in TEST_P() 479 res = reader->openSession(&session); in TEST_P()
|
/aosp14/frameworks/base/omapi/aidl/vts/functional/AccessControlApp/ |
H A D | VtsHalOmapiSeAccessControlTestCases.cpp | 99 res = reader->openSession(&session); in testSelectableAid() 139 res = reader->openSession(&session); in testUnauthorisedAid() 175 res = reader->openSession(&session); in testTransmitAPDU() 220 res = reader->openSession(&session); in testUnauthorisedAPDU()
|
/aosp14/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/ |
H A D | PackageSessionTests.kt | 268 val session = installer.openSession(sessionId) 333 val session = installer.openSession(sessionId) 374 val session = installer.openSession(sessionId)
|
/aosp14/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
H A D | IBlobStoreManager.aidl | 27 IBlobStoreSession openSession(long sessionId, in String packageName); in openSession() method
|
H A D | BlobStoreManager.java | 214 public @NonNull Session openSession(@IntRange(from = 1) long sessionId) throws IOException { in openSession() method in BlobStoreManager 216 return new Session(mService.openSession(sessionId, mContext.getOpPackageName())); in openSession()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | InstallInstalling.java | 138 getPackageManager().getPackageInstaller().openSession( in onCreate() 268 return getPackageManager().getPackageInstaller().openSession(mSessionId); in doInBackground()
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
H A D | BroadcastRadioServiceImpl.java | 201 public ITuner openSession(int moduleId, @Nullable RadioManager.BandConfig legacyConfig, in openSession() method in BroadcastRadioServiceImpl 225 TunerSession tunerSession = radioModule.openSession(callback); in openSession()
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
H A D | BroadcastRadioService.java | 171 public ITuner openSession(int moduleId, @Nullable RadioManager.BandConfig legacyConfig, in openSession() method in BroadcastRadioService 192 TunerSession tunerSession = module.openSession(callback); in openSession()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
H A D | PackageInstallerImpl.java | 132 session = mPackageInstaller.openSession(sessionInfo.getSessionId()); in install() 186 session = mPackageInstaller.openSession(sessionInfo.getSessionId()); in getSession()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageInstaller.aidl | 40 IPackageInstallerSession openSession(int sessionId); in openSession() method
|
/aosp14/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
H A D | BlobStorePerfTests.java | 190 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in testBlobStoreWrites() 247 try (BlobStoreManager.Session session = mBlobStoreManager.openSession(sessionId)) { in commitBlob()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/input/ |
H A D | InputDeviceLightsManagerTest.java | 176 LightsManager.LightsSession session = lightsManager.openSession(); in testControlMultipleLights() 225 LightsManager.LightsSession session = lightsManager.openSession(); in testControlPlayerIdLight()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
H A D | IRadioServiceAidlImplTest.java | 86 when(mHalMock.openSession(anyInt(), any(), anyBoolean(), any())) in setUp()
|