Home
last modified time | relevance | path

Searched refs:localCallback (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCallbackAdapterManager.java103 public final void addCallback(T localCallback) { in addCallback() argument
108 registerCallback(localCallback); in addCallback()
109 Log.i(TAG + " [" + mSlotId + "]", "Local callback added: " + localCallback); in addCallback()
110 mRemoteCallbacks.register(localCallback); in addCallback()
116 public void addCallbackForSubscription(T localCallback, int subId) { in addCallbackForSubscription() argument
122 addCallback(localCallback); in addCallbackForSubscription()
123 linkCallbackToSubscription(localCallback, subId); in addCallbackForSubscription()
128 public final void removeCallback(T localCallback) { in removeCallback() argument
129 Log.i(TAG + " [" + mSlotId + "]", "Local callback removed: " + localCallback); in removeCallback()
131 if (mRemoteCallbacks.unregister(localCallback)) { in removeCallback()
[all …]
DMmTelFeatureConnection.java61 public void registerCallback(IImsRegistrationCallback localCallback) { in registerCallback() argument
65 imsRegistration.addRegistrationCallback(localCallback); in registerCallback()
79 public void unregisterCallback(IImsRegistrationCallback localCallback) { in unregisterCallback() argument
83 imsRegistration.removeRegistrationCallback(localCallback); in unregisterCallback()
102 public void registerCallback(IImsCapabilityCallback localCallback) { in registerCallback() argument
115 binder.addCapabilityCallback(localCallback); in registerCallback()
129 public void unregisterCallback(IImsCapabilityCallback localCallback) { in unregisterCallback() argument
144 binder.removeCapabilityCallback(localCallback); in unregisterCallback()
162 public void registerCallback(IImsConfigCallback localCallback) { in registerCallback() argument
171 binder.addImsConfigCallback(localCallback); in registerCallback()
[all …]
DRcsFeatureConnection.java53 public void registerCallback(IImsCapabilityCallback localCallback) { in registerCallback() argument
55 addCapabilityCallback(localCallback); in registerCallback()
64 public void unregisterCallback(IImsCapabilityCallback localCallback) { in unregisterCallback() argument
66 removeCapabilityCallback(localCallback); in unregisterCallback()
81 public void registerCallback(IImsRegistrationCallback localCallback) { in registerCallback() argument
90 imsRegistration.addRegistrationCallback(localCallback); in registerCallback()
98 public void unregisterCallback(IImsRegistrationCallback localCallback) { in unregisterCallback() argument
106 imsRegistration.removeRegistrationCallback(localCallback); in unregisterCallback()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp338 sp<PreparedModelCallback> localCallback = new PreparedModelCallback; in prepareModel_1_3() local
340 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3()
346 localCallback->getStatus(), in prepareModel_1_3()
347 V1_3::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_3()
350 localCallback->wait(); in prepareModel_1_3()
351 if (localCallback->getStatus() != ErrorStatus::NONE) { in prepareModel_1_3()
353 localCallback->getStatus(), in prepareModel_1_3()
354 V1_3::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_3()
358 new TestPreparedModel13(localCallback->getPreparedModel(), mErrorStatus)); in prepareModel_1_3()
368 sp<PreparedModelCallback> localCallback = new PreparedModelCallback; in prepareModel_1_2() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DMmTelFeatureConnectionTest.java68 public void registerCallback(TestCallback localCallback) { in registerCallback() argument
69 mCallbacks.add(localCallback); in registerCallback()
74 public void unregisterCallback(TestCallback localCallback) { in unregisterCallback() argument
75 mCallbacks.remove(localCallback); in unregisterCallback()
/frameworks/base/telephony/java/android/telephony/ims/
DRegistrationManager.java100 RegistrationBinder(RegistrationCallback localCallback) { in RegistrationBinder() argument
101 mLocalCallback = localCallback; in RegistrationBinder()