HomeSort by relevance Sort by last modified time
    Searched defs:callback (Results 51 - 75 of 1863) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libxml2/python/tests/
reader2.py 30 def callback(ctx, str): function
33 libxml2.registerErrorHandler(callback, "")
reader6.py 87 def callback(ctx, str): function
90 libxml2.registerErrorHandler(callback, "")
  /external/mesa3d/src/gallium/drivers/swr/
swr_fence_work.h 28 SWR_WORK_CALLBACK_FUNC callback; member in struct:swr_fence_work
  /external/nanopb-c/
pb_encode.h 16 * a callback function to write the bytes to your storage, which can be
19 * The callback must conform to these rules:
23 * 3) pb_write will update bytes_written after your callback runs.
30 /* Callback pointer is not used in buffer-only configuration.
32 * gives an error if someone tries to assign callback function.
36 int *callback; member in struct:_pb_ostream_t
38 bool (*callback)(pb_ostream_t *stream, const uint8_t *buf, size_t count);
40 void *state; /* Free field for use by callback implementation. */
117 * structure. Call this from the callback before writing out field contents. */
121 * if you want to write out packed arrays from a callback field. *
    [all...]
  /external/nanopb-c/tests/basic_stream/
decode_stream.c 58 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count) function
73 pb_istream_t stream = {&callback, NULL, SIZE_MAX};
  /external/perfetto/src/ipc/
deferred_unittest.cc 60 // In case of a Reject() a callback with a nullptr should be received.
94 // first callback is released.
96 // Use shared_ptr's use_count() to infer the bind state of the callback.
102 // At this point both the shared_ptr above and the callback in |deferred| are
106 // Re-binding the callback should release the bind state, without invoking the
107 // old callback.
112 // Test that the new callback is invoked when re-bindings.
128 std::function<void(AsyncResult<TestMessage>)> callback = local
137 deferred.Bind(callback);
159 deferred.Bind(callback);
184 std::function<void(AsyncResult<TestMessage>)> callback = local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowKeyguardManager.java 32 private KeyguardManager.KeyguardDismissCallback callback; field in class:ShadowKeyguardManager
47 Activity activity, KeyguardManager.KeyguardDismissCallback callback) {
49 if (this.callback != null) {
50 callback.onDismissError();
52 this.callback = callback;
54 callback.onDismissError();
81 if (callback != null) {
83 callback.onDismissCancelled();
85 callback.onDismissSucceeded()
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteCustomFunction.java 27 public final SQLiteDatabase.CustomFunction callback; field in class:SQLiteCustomFunction
35 * @param callback The callback to invoke when the function is executed.
38 SQLiteDatabase.CustomFunction callback) {
45 this.callback = callback;
51 callback.callback(args);
  /frameworks/base/services/backup/java/com/android/server/backup/internal/
Operation.java 24 public final BackupRestoreTask callback; field in class:Operation
29 callback = callbackObj;
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/controllers/
BatteryChargingController.java 29 public BatteryChargingController(Context context, OnConstraintUpdatedCallback callback) {
30 super(Trackers.getInstance(context).getBatteryChargingTracker(), callback); local
BatteryNotLowController.java 29 public BatteryNotLowController(Context context, OnConstraintUpdatedCallback callback) {
30 super(Trackers.getInstance(context).getBatteryNotLowTracker(), callback); local
NetworkConnectedController.java 39 public NetworkConnectedController(Context context, OnConstraintUpdatedCallback callback) {
40 super(Trackers.getInstance(context).getNetworkStateTracker(), callback); local
NetworkUnmeteredController.java 33 public NetworkUnmeteredController(Context context, OnConstraintUpdatedCallback callback) {
34 super(Trackers.getInstance(context).getNetworkStateTracker(), callback); local
StorageNotLowController.java 29 public StorageNotLowController(Context context, OnConstraintUpdatedCallback callback) {
30 super(Trackers.getInstance(context).getStorageNotLowTracker(), callback); local
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_code.py 125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_code.py 125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_code.py 125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_code.py 125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
  /system/chre/platform/shared/
platform_sensor_util.cc 48 auto callback = [](uint16_t /* type */, void *data) { local
63 // Schedule a deferred callback.
65 SystemCallbackType::SensorLastEventUpdate, callbackData, callback);
  /system/tpm/attestation/client/
dbus_proxy_test.cc 77 auto callback = [&callback_count](const CreateGoogleAttestedKeyReply& reply) { local
90 proxy_.CreateGoogleAttestedKey(request, base::Bind(callback));
123 auto callback = [&callback_count](const GetKeyInfoReply& reply) { local
136 proxy_.GetKeyInfo(request, base::Bind(callback));
164 auto callback = [&callback_count](const GetEndorsementInfoReply& reply) { local
172 proxy_.GetEndorsementInfo(request, base::Bind(callback));
203 auto callback = [&callback_count](const GetAttestationKeyInfoReply& reply) { local
214 proxy_.GetAttestationKeyInfo(request, base::Bind(callback));
246 auto callback = [&callback_count](const ActivateAttestationKeyReply& reply) { local
256 proxy_.ActivateAttestationKey(request, base::Bind(callback));
288 auto callback = [&callback_count](const CreateCertifiableKeyReply& reply) { local
329 auto callback = [&callback_count](const DecryptReply& reply) { local
367 auto callback = [&callback_count](const SignReply& reply) { local
403 auto callback = local
    [all...]
  /system/tpm/tpm_manager/client/
tpm_ownership_dbus_proxy_test.cc 74 auto callback = [&callback_count](const GetTpmStatusReply& reply) { local
85 proxy_.GetTpmStatus(request, base::Bind(callback));
110 auto callback = [&callback_count](const TakeOwnershipReply& reply) { local
115 proxy_.TakeOwnership(request, base::Bind(callback));
143 auto callback = [&callback_count](const RemoveOwnerDependencyReply& reply) { local
149 proxy_.RemoveOwnerDependency(request, base::Bind(callback));
  /system/update_engine/
proxy_resolver_unittest.cc 47 auto callback = base::Bind( local
58 resolver_.GetProxiesForUrl("http://foo", callback));
59 // Check the callback is not called until the message loop runs.
68 auto callback = base::Bind( local
72 ProxyRequestId request = resolver_.GetProxiesForUrl("http://foo", callback);
81 auto callback = base::Bind( local
84 resolver_.GetProxiesForUrl("http://foo", callback);
85 resolver_.GetProxiesForUrl("http://bar", callback);
  /frameworks/base/telephony/java/android/telephony/
NetworkServiceCallback.java 28 * Network service callback. Object of this class is passed to NetworkServiceProvider upon
64 public NetworkServiceCallback(INetworkServiceCallback callback) {
65 mCallback = new WeakReference<>(callback);
74 * @param state The state information to be returned to callback.
77 INetworkServiceCallback callback = mCallback.get(); local
78 if (callback != null) {
80 callback.onGetNetworkRegistrationStateComplete(result, state);
85 Rlog.e(mTag, "Weak reference of callback is null.");
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/
MultiStateCallback.java 41 Runnable callback = mCallbacks.valueAt(i); local
42 if (callback != null) {
43 // Set the callback to null, so that it does not run again.
45 callback.run();
53 * The callback is only run once.
55 public void addCallback(int stateMask, Runnable callback) {
56 mCallbacks.put(stateMask, callback);
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
AdvertiseManager.java 97 public IAdvertisingSetCallback callback; field in class:AdvertiseManager.AdvertiserInfo
100 IAdvertisingSetCallback callback) {
103 this.callback = callback;
112 public IAdvertisingSetCallback callback; field in class:AdvertiseManager.AdvertisingSetDeathRecipient
114 AdvertisingSetDeathRecipient(IAdvertisingSetCallback callback) {
115 this.callback = callback;
123 stopAdvertisingSet(callback);
149 Log.i(TAG, "onAdvertisingSetStarted() - no callback found for regId " + regId)
155 IAdvertisingSetCallback callback = entry.getValue().callback; local
181 IAdvertisingSetCallback callback = entry.getValue().callback; local
224 IAdvertisingSetCallback callback = entry.getValue().callback; local
309 IAdvertisingSetCallback callback = entry.getValue().callback; local
325 IAdvertisingSetCallback callback = entry.getValue().callback; local
343 IAdvertisingSetCallback callback = entry.getValue().callback; local
360 IAdvertisingSetCallback callback = entry.getValue().callback; local
376 IAdvertisingSetCallback callback = entry.getValue().callback; local
393 IAdvertisingSetCallback callback = entry.getValue().callback; local
    [all...]

Completed in 519 milliseconds

1 23 4 5 6 7 8 91011>>