Home
last modified time | relevance | path

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

/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java131 public final void addCallback(T localCallback) { in addCallback() argument
136 registerCallback(localCallback); in addCallback()
137 Log.i(TAG, "Local callback added: " + localCallback); in addCallback()
138 mRemoteCallbacks.register(localCallback); in addCallback()
144 public final void addCallbackForSubscription(T localCallback, int subId) { in addCallbackForSubscription() argument
149 addCallback(localCallback); in addCallbackForSubscription()
150 linkCallbackToSubscription(localCallback, subId); in addCallbackForSubscription()
155 public final void removeCallback(T localCallback) { in removeCallback() argument
156 Log.i(TAG, "Local callback removed: " + localCallback); in removeCallback()
158 if (mRemoteCallbacks.unregister(localCallback)) { in removeCallback()
[all …]
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp188 sp<PreparedModelCallback> localCallback = new PreparedModelCallback; in prepareModel_1_2() local
190 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2()
196 localCallback->getStatus(), in prepareModel_1_2()
197 V1_2::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_2()
200 localCallback->wait(); in prepareModel_1_2()
201 if (localCallback->getStatus() != ErrorStatus::NONE) { in prepareModel_1_2()
203 localCallback->getStatus(), in prepareModel_1_2()
204 V1_2::IPreparedModel::castFrom(localCallback->getPreparedModel())); in prepareModel_1_2()
208 new TestPreparedModel12(localCallback->getPreparedModel(), mErrorStatus)); in prepareModel_1_2()
216 sp<PreparedModelCallback> localCallback = new PreparedModelCallback; in prepareModel_1_1() 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/
DImsMmTelManager.java120 RegistrationBinder(RegistrationCallback localCallback) { in RegistrationBinder() argument
121 mLocalCallback = localCallback; in RegistrationBinder()