Home
last modified time | relevance | path

Searched refs:openSession (Results 1 – 25 of 58) sorted by relevance

123

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
H A DLightsServiceTest.java112 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 DSystemLightsManager.java101 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 DLightsManager.java80 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 DILightsManager.aidl30 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 DBroadcastRadioServiceHidlTest.java135 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 DBroadcastRadioServiceImplTest.java139 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 DCameraPrivacyLightControllerTest.java149 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 DReader.java92 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 DInputDeviceLightsManager.java77 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 DISecureElementReader.aidl41 android.se.omapi.ISecureElementSession openSession(); in openSession() method
/aosp14/frameworks/base/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/
H A DISecureElementReader.aidl41 android.se.omapi.ISecureElementSession openSession(); in openSession() method
/aosp14/frameworks/base/omapi/aidl/android/se/omapi/
H A DISecureElementReader.aidl44 ISecureElementSession openSession(); in openSession() method
/aosp14/frameworks/base/omapi/aidl/vts/functional/omapi/
H A DVtsHalOmapiSeServiceV1_TargetTest.cpp67 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 DVtsHalOmapiSeAccessControlTestCases.cpp99 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 DPackageSessionTests.kt268 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 DIBlobStoreManager.aidl27 IBlobStoreSession openSession(long sessionId, in String packageName); in openSession() method
H A DBlobStoreManager.java214 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 DInstallInstalling.java138 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 DBroadcastRadioServiceImpl.java201 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 DBroadcastRadioService.java171 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 DPackageInstallerImpl.java132 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 DIPackageInstaller.aidl40 IPackageInstallerSession openSession(int sessionId); in openSession() method
/aosp14/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
H A DBlobStorePerfTests.java190 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 DInputDeviceLightsManagerTest.java176 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 DIRadioServiceAidlImplTest.java86 when(mHalMock.openSession(anyInt(), any(), anyBoolean(), any())) in setUp()

123