Home
last modified time | relevance | path

Searched refs:stateCallback (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/cpp/computepipe/tests/runner/client_interface/
DClientInterfaceTest.cc142 std::shared_ptr<StateChangeCallback> stateCallback = in TEST_F() local
144 EXPECT_TRUE(mPipeRunner->init(stateCallback).isOk()); in TEST_F()
183 std::shared_ptr<StateChangeCallback> stateCallback = in TEST_F() local
185 EXPECT_TRUE(mPipeRunner->init(stateCallback).isOk()); in TEST_F()
225 std::shared_ptr<StateChangeCallback> stateCallback = in TEST_F() local
227 EXPECT_TRUE(mPipeRunner->init(stateCallback).isOk()); in TEST_F()
259 std::shared_ptr<StateChangeCallback> stateCallback = in TEST_F() local
261 EXPECT_TRUE(mPipeRunner->init(stateCallback).isOk()); in TEST_F()
305 std::shared_ptr<StateChangeCallback> stateCallback = in TEST_F() local
307 EXPECT_TRUE(mPipeRunner->init(stateCallback).isOk()); in TEST_F()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraDeviceProxy.java38 CameraCaptureSessionProxy.StateCallback stateCallback) { in AndroidCaptureSessionStateCallback() argument
39 mStateCallback = stateCallback; in AndroidCaptureSessionStateCallback()
81 CameraCaptureSessionProxy.StateCallback stateCallback, in createCaptureSession() argument
85 stateCallback), handler); in createCaptureSession()
DCameraDeviceProxy.java39 CameraCaptureSessionProxy.StateCallback stateCallback, @Nullable Handler handler) in createCaptureSession() argument
/packages/apps/Settings/src/com/android/settings/connecteddevice/threadnetwork/
DThreadNetworkFragmentController.kt44 private val stateCallback: StateCallback in <lambda>() constant
56 stateCallback = newStateCallback() in <lambda>()
89 threadController.registerStateCallback(executor, stateCallback) in <lambda>()
92 threadController.unregisterStateCallback(stateCallback) in <lambda>()
DThreadNetworkToggleController.kt45 private val stateCallback: StateCallback in <lambda>() constant
57 stateCallback = newStateCallback() in <lambda>()
128 threadController.registerStateCallback(executor, stateCallback) in <lambda>()
132 threadController.unregisterStateCallback(stateCallback) in <lambda>()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginExecutor.java139 public void checkPluginState(String pluginId, IPluginStateCallback stateCallback) in checkPluginState() argument
143 stateCallback.onState(PluginState.STATE_NOT_LOADED); in checkPluginState()
150 stateCallback.onState(PluginState.STATE_NOT_LOADED); in checkPluginState()
153 stateCallback.onState(PluginState.STATE_LOADED); in checkPluginState()
DPluginExecutorService.java134 public void checkPluginState(String pluginName, IPluginStateCallback stateCallback) { in onBind() argument
136 mPluginExecutor.checkPluginState(pluginName, stateCallback); in onBind()
139 stateCallback.onState(PluginState.STATE_EXCEPTION_THROWN); in onBind()
DIPluginExecutorService.aidl32 oneway void checkPluginState(in String pluginName, in IPluginStateCallback stateCallback) = 3; in checkPluginState() argument
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ims/
DImsMmTelRepositoryTest.kt53 private var stateCallback: ImsStateCallback? = null variable in com.android.settings.network.telephony.ims.ImsMmTelRepositoryTest
64 stateCallback = it.arguments[1] as ImsStateCallback in <lambda>()
65 stateCallback?.onAvailable() in <lambda>()
147 stateCallback?.onUnavailable(ImsStateCallback.REASON_IMS_SERVICE_NOT_READY) in <lambda>()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipDelegateController.java96 ISipDelegateConnectionStateCallback stateCallback, in SipDelegateController() argument
108 mDelegateStateTracker = new DelegateStateTracker(mSubId, mUid, stateCallback, in SipDelegateController()
DSipTransportController.java314 ISipDelegateConnectionStateCallback stateCallback, in create() argument
/packages/modules/Permission/tests/cts/permissionui/AppThatAccessesCameraAndMic/src/android/permissionui/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt141 private val stateCallback = constant
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java966 public void registerStateCallback(IStateCallback stateCallback) throws RemoteException {
968 mHandler.post(() -> mOtDaemonCallbackProxy.registerStateCallback(stateCallback));
972 public void unregisterStateCallback(IStateCallback stateCallback) throws RemoteException {
974 mHandler.post(() -> mOtDaemonCallbackProxy.unregisterStateCallback(stateCallback));