/external/tensorflow/tensorflow/python/training/ |
monitored_session.py | 16 """A wrapper of Session API which runs hooks.""" 98 * `init_feed_dict`: A session feed dictionary that should be used when 102 `init_fn(scaffold, session)`. 120 init_feed_dict: Optional session feed dictionary to use when running the 123 the init_op. Will be called as `init_fn(scaffold, session)`. 293 For a chief, this utility sets proper session initializer/restorer. It also 295 utility sets proper session creator which waits for the chief to 303 underlying TensorFlow session. If `False`, it will wait on a chief to 304 initialize or recover the TensorFlow session. 323 config: an instance of `tf.ConfigProto` proto used to configure the session 629 def session(self): member in class:_MonitoredSession.StepContext [all...] |
/external/v8/src/inspector/ |
v8-console-message.cc | 13 #include "src/inspector/v8-inspector-session-impl.h" 232 V8ConsoleMessage::wrapArguments(V8InspectorSessionImpl* session, 234 V8InspectorImpl* inspector = session->inspector(); 235 int contextGroupId = session->contextGroupId(); 254 session->wrapTable(context, table, columns); 264 session->wrapObject(context, m_arguments[i]->Get(isolate), "console", 279 V8InspectorSessionImpl* session, 281 int contextGroupId = session->contextGroupId(); 282 V8InspectorImpl* inspector = session->inspector(); 286 wrapException(session, generatePreview) 465 V8InspectorSessionImpl* session = local [all...] |
v8-inspector-impl.cc | 39 #include "src/inspector/v8-inspector-session-impl.h" 74 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); local 75 V8DebuggerAgentImpl* agent = session ? session->debuggerAgent() : nullptr; 81 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); local 82 V8RuntimeAgentImpl* agent = session ? session->runtimeAgent() : nullptr; 88 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); local 89 V8ProfilerAgentImpl* agent = session ? session->profilerAgent() : nullptr 215 std::unique_ptr<V8InspectorSessionImpl> session = local 282 SessionMap::iterator session = m_sessions.find(contextGroupId); local [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
ClearKeyCasPlugin.cpp | 121 sp<ClearKeyCasSession> session = local 123 if (session == NULL) { 135 sp<ClearKeyCasSession> session = local 137 if (session == NULL) { 146 sp<ClearKeyCasSession> session = local 148 if (session == NULL) { 154 return session->updateECM(mKeyFetcher.get(), (void*)ecm.data(), ecm.size()); 421 sp<ClearKeyCasSession> session = local 424 if (session == NULL) { 425 ALOGE("ClearKeyDescramblerPlugin: session not found") [all...] |
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 52 * <li>Optional SSL session caching with {@link SSLSessionCache} 130 * and SSL session cache. 143 * disabled, using an optional handshake timeout and SSL session cache. 208 SSLSession session = ssl.getSession(); local 209 if (session == null) { 210 throw new SSLException("Cannot verify SSL socket without session"); 212 if (!HttpsURLConnection.getDefaultHostnameVerifier().verify(hostname, session)) { 389 * Enables <a href="http://tools.ietf.org/html/rfc5077#section-3.2">session ticket</a> 393 * @param useSessionTickets {@code true} to enable session ticket support on this socket.
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 89 public String session; field in class:VpnConfig 149 out.writeString(session); 174 config.session = in.readString();
|
/frameworks/base/media/java/android/media/tv/ |
TvRecordingClient.java | 47 private TvInputManager.Session mSession; 71 * recording session for the corresponding TV input and establish a connection between the 72 * application and the session. If recording has already started in the current recording 73 * session, this method throws an exception. 78 * <p>The recording session will respond by calling 92 * recording session for the corresponding TV input and establish a connection between the 93 * application and the session. If recording has already started in the current recording 94 * session, this method throws an exception. This can be used to provide domain-specific 100 * <p>The recording session will respond by calling 136 * Releases the resources in the current recording session immediately. This may be called a [all...] |
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
WorkflowTest.java | 99 /** Add a printer with a given name and supported mediasize to a session */ 100 private void addPrinter(StubbablePrinterDiscoverySession session, 102 PrinterId printerId = session.getService().generatePrinterId(name); 125 session.addPrinters(printers); 151 * @param sessionRef Where to store the reference to the session once started 269 final StubbablePrinterDiscoverySession session[] = new StubbablePrinterDiscoverySession[1]; local 275 setMockPrintServiceCallbacks(session, trackedPrinters, mFirst); 279 Log.i(LOG_TAG, "Waiting for session"); 280 synchronized (session) { 281 waitWithTimeout(() -> session[0] == null, session::wait) [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
RestoreUtils.java | 30 import android.content.pm.PackageInstaller.Session; 91 try (Session session = installer.openSession(sessionId)) { 92 try (OutputStream apkStream = session.openWrite(info.packageName, 0, 108 session.abandon(); 109 // session.commit(receiver.getIntentSender());
|
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionStack.java | 19 import android.media.session.MediaController.PlaybackInfo; 20 import android.media.session.MediaSession; 21 import android.media.session.PlaybackState; 42 * Listen the change in the media button session. 46 * Called when the media button session is changed. 72 * The session of which PlaybackState is changed to ALWAYS_PRIORITY_STATES or 82 * The media button session which receives media key events. 83 * It could be null if the previous media buttion session is released. 109 // Update the media button session. 110 // The added session could be the session from the package with the audio playback 330 final MediaSessionRecord session = mSessions.get(i); local [all...] |
/frameworks/base/telephony/java/android/telephony/ |
MbmsDownloadSession.java | 304 MbmsDownloadSession session = local 306 final int result = session.bindAndInitialize(); 317 return session; [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
WifiAwareManagerTest.java | 149 * (4) try publishing on old session (5) connect again 169 WifiAwareSession session = sessionCaptor.getValue(); local 173 session.publish(publishConfig, mockSessionCallback, mMockLooperHandler); 177 session.close(); 181 session.publish(new PublishConfig.Builder().build(), mockSessionCallback, 221 WifiAwareSession session = sessionCaptor.getValue(); local 225 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); 268 * success creates session, (3) pass through everything, (4) update publish 269 * through session, (5) terminate locally, (6) try another command - 305 WifiAwareSession session = sessionCaptor.getValue() local 397 WifiAwareSession session = sessionCaptor.getValue(); local 454 WifiAwareSession session = sessionCaptor.getValue(); local 539 WifiAwareSession session = sessionCaptor.getValue(); local 937 WifiAwareSession session = sessionCaptor.getValue(); local 1012 WifiAwareSession session = sessionCaptor.getValue(); local 1130 WifiAwareSession session = sessionCaptor.getValue(); local [all...] |
/frameworks/support/media/src/main/java/androidx/media/ |
MediaLibraryService2.java | 66 * This is the interface name that a service implementing a session service should say that it 72 * Session for the {@link MediaLibraryService2}. Build this object with 91 * @param session the session for this event 104 public @Nullable LibraryRoot onGetLibraryRoot(@NonNull MediaLibrarySession session, 114 * @param session the session for this event 119 public @Nullable MediaItem2 onGetItem(@NonNull MediaLibrarySession session, 129 * @param session the session for this even 351 MediaSession2 session = getSession(); local 492 MediaLibrarySession session = getLibrarySession(); local 619 MediaLibrarySession session = getLibrarySession(); local [all...] |
/frameworks/support/media/src/main/java/androidx/media/session/ |
MediaButtonReceiver.java | 17 package androidx.media.session; 32 import android.support.v4.media.session.MediaControllerCompat; 33 import android.support.v4.media.session.MediaSessionCompat; 34 import android.support.v4.media.session.PlaybackStateCompat; 35 import android.support.v4.media.session.PlaybackStateCompat.MediaKeyAction; 51 * <receiver android:name="androidx.media.session.MediaButtonReceiver" >
|
/hardware/interfaces/drm/1.1/vts/functional/ |
drm_hal_clearkey_test.cpp | 270 * Helper method to open a session and verify that a non-empty 271 * session ID is returned 287 * Helper method to open as session using V1.1 API 304 * Helper method to close a session 449 * Test that the plugin returns default open and max session counts 464 * Test that the plugin returns valid open and max session counts 465 * after a session is opened. 480 SessionId session = openSession(); local 489 closeSession(session); 509 SessionId session = openSession() local 534 SessionId session = openSession(SecurityLevel::SW_SECURE_CRYPTO); local 549 SessionId session; local [all...] |
/hardware/qcom/audio/hal/ |
voice.c | 45 struct voice_session *session = NULL; local 48 ret = voice_extn_get_session_from_use_case(adev, usecase_id, &session); 50 session = &adev->voice.session[VOICE_SESS_IDX]; 53 return session; 105 struct voice_session *session = NULL; local 109 session = (struct voice_session *)voice_get_session_from_use_case(adev, usecase_id); 118 session->state.current = CALL_INACTIVE; 124 ret = platform_stop_voice_call(adev->platform, session->vsid); 127 if (session->pcm_rx) 160 struct voice_session *session = NULL; local [all...] |
/hardware/qcom/audio/hal/voice_extn/ |
voice_extn.c | 52 /* Voice Session Indices */ 133 ALOGE("%s: Invalid voice session index\n", __func__); 142 struct voice_session *session = NULL; local 147 session = &adev->voice.session[i]; 148 if(session->state.current == call_state){ 149 session_id = session->vsid; 162 struct voice_session *session = NULL; local 170 session = &adev->voice.session[i] 293 struct voice_session *session = NULL; local 338 struct voice_session *session = NULL; local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
hwc_tonemapper.cpp | 164 ToneMapSession *session = tone_map_sessions_.at(session_index); local 165 ToneMap(&content_list->hwLayers[i], layer, session); 166 session->layer_index_ = INT(i); 173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { 178 uint8_t buffer_index = session->current_buffer_index_; 179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; 183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 189 if (session->release_fence_fd_[buffer_index] >= 0) { 190 CloseFd(&session->release_fence_fd_[buffer_index]); 194 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd) 206 ToneMapSession *session = tone_map_sessions_.at(session_index); local 300 ToneMapSession *session = new ToneMapSession(); local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
hwc_tonemapper.cpp | 213 ToneMapSession *session = tone_map_sessions_.at(session_index); local 214 ToneMap(layer, session); 215 DLOGI_IF(kTagClient, "Layer %d associated with session index %d", i, session_index); 216 session->layer_index_ = INT(i); 223 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { 227 uint8_t buffer_index = session->current_buffer_index_; 228 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 243 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 246 DumpToneMapOutput(session, &ctx.fence_fd); 247 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer) 254 ToneMapSession *session = tone_map_sessions_.at(session_index); local 356 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
hwc_tonemapper.cpp | 164 ToneMapSession *session = tone_map_sessions_.at(session_index); local 165 ToneMap(&content_list->hwLayers[i], layer, session); 166 session->layer_index_ = INT(i); 173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { 178 uint8_t buffer_index = session->current_buffer_index_; 179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; 183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); 189 if (session->release_fence_fd_[buffer_index] >= 0) { 190 CloseFd(&session->release_fence_fd_[buffer_index]); 194 fence_fd = session->gpu_tone_mapper_->blit(reinterpret_cast<const void *>(dst_hnd) 206 ToneMapSession *session = tone_map_sessions_.at(session_index); local 300 ToneMapSession *session = new ToneMapSession(); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
hwc_tonemapper.cpp | 212 ToneMapSession *session = tone_map_sessions_.at(session_index); local 213 ToneMap(layer, session); 214 session->layer_index_ = INT(i); 221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { 225 uint8_t buffer_index = session->current_buffer_index_; 226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 244 DumpToneMapOutput(session, &ctx.fence_fd); 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); 252 ToneMapSession *session = tone_map_sessions_.at(session_index) local 353 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
hwc_tonemapper.cpp | 212 ToneMapSession *session = tone_map_sessions_.at(session_index); local 213 ToneMap(layer, session); 214 session->layer_index_ = INT(i); 221 void HWCToneMapper::ToneMap(Layer* layer, ToneMapSession *session) { 225 uint8_t buffer_index = session->current_buffer_index_; 226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; 241 session->tone_map_task_.PerformTask(ToneMapTaskCode::kCodeBlit, &ctx); 244 DumpToneMapOutput(session, &ctx.fence_fd); 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); 252 ToneMapSession *session = tone_map_sessions_.at(session_index) local 339 ToneMapSession *session = new ToneMapSession(buffer_allocator_); local [all...] |
/hardware/qcom/gps/msm8909w_3100/gnss/ |
GnssAdapter.h | 61 NiSession session; /* SUPL NI Session */ member in struct:__anon50430 62 NiSession sessionEs; /* Emergency SUPL NI Session */
|
/hardware/qcom/gps/msm8909w_3100/location/ |
LocationAPIClientBase.cpp | 91 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); local 92 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); 93 mRequestQueues[CTRL_REQUEST_DELETEAIDINGDATA].reset(session); 111 uint32_t session = mLocationControlAPI->enable(techType); local 112 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); 113 mRequestQueues[CTRL_REQUEST_CONTROL].reset(session); 129 uint32_t session = 0; local 130 session = mRequestQueues[CTRL_REQUEST_CONTROL].getSession() 156 uint32_t session = 0; local 311 uint32_t session = mLocationAPI->startTracking(options); local 332 uint32_t session = 0; local 349 uint32_t session = 0; local 412 uint32_t session = ((sessionMode == SESSION_MODE_ON_FULL || local 538 uint32_t session = ((sessionMode == SESSION_MODE_ON_FULL) || local 563 uint32_t session = 0; local 784 uint32_t session = id; local [all...] |
/hardware/qcom/gps/msm8998/gnss/ |
GnssAdapter.h | 60 NiSession session; /* SUPL NI Session */ member in struct:__anon50780 61 NiSession sessionEs; /* Emergency SUPL NI Session */
|