Home
last modified time | relevance | path

Searched refs:clientRequest (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/ambientcontext/
DAmbientContextManagerServiceTest.java62 AmbientContextManagerService.ClientRequest clientRequest = in testClientRequest() local
66 assertThat(clientRequest.getRequest()).isEqualTo(request); in testClientRequest()
67 assertThat(clientRequest.getPackageName()).isEqualTo(SYSTEM_PACKAGE_NAME); in testClientRequest()
68 assertThat(clientRequest.getObserver()).isEqualTo(observer); in testClientRequest()
69 assertThat(clientRequest.hasUserId(USER_ID)).isTrue(); in testClientRequest()
70 assertThat(clientRequest.hasUserId(-1)).isFalse(); in testClientRequest()
71 assertThat(clientRequest.hasUserIdAndPackageName(USER_ID, SYSTEM_PACKAGE_NAME)).isTrue(); in testClientRequest()
72 assertThat(clientRequest.hasUserIdAndPackageName(-1, SYSTEM_PACKAGE_NAME)).isFalse(); in testClientRequest()
73 assertThat(clientRequest.hasUserIdAndPackageName(USER_ID, "random.package.name")) in testClientRequest()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java178 for (ClientRequest clientRequest : mExistingClientRequests) { in findExistingRequests()
179 if (clientRequest.hasUserIdAndPackageName(userId, packageName)) { in findExistingRequests()
180 existingRequests.add(clientRequest); in findExistingRequests()
189 for (ClientRequest clientRequest : mExistingClientRequests) { in getClientRequestObserver()
190 if (clientRequest.hasUserIdAndPackageName(userId, packageName)) { in getClientRequestObserver()
191 return clientRequest.getObserver(); in getClientRequestObserver()
373 for (ClientRequest clientRequest : mExistingClientRequests) { in restorePreviouslyEnabledClients()
375 if (clientRequest.hasUserId(userId)) { in restorePreviouslyEnabledClients()
377 + clientRequest.getPackageName()); in restorePreviouslyEnabledClients()
378 service.startDetection(clientRequest.getRequest(), in restorePreviouslyEnabledClients()
[all …]
/frameworks/base/services/credentials/java/com/android/server/credentials/
DProviderClearSession.java63 android.credentials.ClearCredentialStateRequest clientRequest, in createProviderRequest() argument
68 clientRequest.getData()); in createProviderRequest()
DProviderCreateSession.java121 android.credentials.CreateCredentialRequest clientRequest, in createProviderRequest() argument
124 if (clientRequest.isSystemProviderRequired() && !isSystemProvider) { in createProviderRequest()
129 String capability = clientRequest.getType(); in createProviderRequest()
132 clientRequest.getCredentialData()); in createProviderRequest()
DProviderGetSession.java182 android.credentials.GetCredentialRequest clientRequest, in filterOptions() argument
191 return clientRequest; in filterOptions()
197 for (CredentialOption option : clientRequest.getCredentialOptions()) { in filterOptions()
208 .Builder(clientRequest.getData()) in filterOptions()
DRequestSession.java122 @NonNull T clientRequest, U clientCallback, in RequestSession() argument
133 mClientRequest = clientRequest; in RequestSession()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionSessionImpl.java645 List<CaptureStageImpl> captureStageList, CaptureRequest clientRequest, in createBurstRequest() argument
659 Object value = clientRequest.get(requestKey); in createBurstRequest()
679 CaptureRequest clientRequest) throws CameraAccessException { in createRequest() argument
694 if (clientRequest != null) { in createRequest()
698 Object value = clientRequest.get(requestKey); in createRequest()
884 CameraCaptureSession.CaptureCallback requestHandler, CaptureRequest clientRequest) in setRepeatingRequest() argument
889 mCameraRepeatingSurface, CameraDevice.TEMPLATE_PREVIEW, clientRequest); in setRepeatingRequest()
1574 public CaptureResultHandler(@NonNull CaptureRequest clientRequest, in CaptureResultHandler() argument
1577 mClientRequest = clientRequest; in CaptureResultHandler()
1638 public PreviewRequestHandler(@Nullable CaptureRequest clientRequest, in PreviewRequestHandler() argument
[all …]
DCameraAdvancedExtensionSessionImpl.java838 private RequestCallbackHandler(@NonNull CaptureRequest clientRequest, in RequestCallbackHandler() argument
842 mClientRequest = clientRequest; in RequestCallbackHandler()