/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 60 if (cookie != null) { in onQueryComplete() 61 ((Listener) cookie).onQueryComplete(token, cookie, cursor); in onQueryComplete() 71 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 72 if (cookie != null) { in onInsertComplete() 73 ((Listener) cookie).onInsertComplete(token, cookie, uri); in onInsertComplete() 78 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 79 if (cookie != null) { in onUpdateComplete() 80 ((Listener) cookie).onUpdateComplete(token, cookie, result); in onUpdateComplete() 85 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument [all …]
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 59 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() argument 90 final Object cookie) { in startQuery() argument 93 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery() 98 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery() 103 || !startOtherDirectoriesQuery(token, context, info, listener, cookie)) { in startQuery() 105 listener.onQueryComplete(token, cookie, ci); in startQuery() 111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery() 113 listener.onDataLoaded(token, cookie, ci); in startQuery() 116 startDefaultDirectoryQuery(token, context, info, contactsProviderQueryCompleteListener, cookie); in startQuery() [all …]
|
D | ContactsAsyncHelper.java | 51 void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie); in onImageLoadComplete() argument 55 void onImageLoaded(int token, Drawable photo, Bitmap photoIcon, Object cookie); in onImageLoaded() argument 78 Object cookie) { in startObtainPhotoAsync() argument 92 args.cookie = cookie; in startObtainPhotoAsync() 111 args.token, args.photo, args.photoIcon, args.cookie); in startObtainPhotoAsync() 125 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 163 args.listener.onImageLoaded(args.token, args.photo, args.photoIcon, args.cookie); in doInBackground()
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | ScopedTrace.h | 29 explicit ScopedTrace(const std::string& name, int cookie) : mName(name), mCookie(cookie) { in ScopedTrace() argument 35 explicit ScopedTrace(const std::string& track, const std::string& name, int cookie) : in ScopedTrace() argument 36 mTrack(track), mName(name), mCookie(cookie), mHasTrack(true) { in ScopedTrace() 53 static void beginTrace(const std::string& name, int cookie) { in beginTrace() argument 54 ATRACE_ASYNC_BEGIN(name.c_str(), cookie); in beginTrace() 57 static void beginTrace(const std::string& track, const std::string& name, int cookie) { in beginTrace() argument 58 ATRACE_ASYNC_FOR_TRACK_BEGIN(track.c_str(), name.c_str(), cookie); in beginTrace() 61 static void endTrace(const std::string& name, int cookie) { in endTrace() argument 62 ATRACE_ASYNC_END(name.c_str(), cookie); in endTrace() 66 int cookie) { in endTrace() argument [all …]
|
/packages/modules/Connectivity/bpf/netd/ |
D | BpfBaseTest.cpp | 61 uint64_t cookie = getSocketCookie(sock); in TEST_F() local 62 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F() 64 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F() 69 tagResult = cookieTagMap.readValue(cookie); in TEST_F() 79 uint64_t cookie = getSocketCookie(sock); in TEST_F() local 80 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F() 82 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F() 90 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
|
D | BpfHandlerTest.cpp | 83 int setUpSocketAndTag(int protocol, uint64_t* cookie, uint32_t tag, uid_t uid, in setUpSocketAndTag() argument 87 *cookie = getSocketCookie(sock); in setUpSocketAndTag() 88 EXPECT_NE(NONEXISTENT_COOKIE, *cookie); in setUpSocketAndTag() 93 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { in expectUidTag() argument 94 Result<UidTagValue> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() 100 void expectNoTag(uint64_t cookie) { EXPECT_FALSE(mFakeCookieTagMap.readValue(cookie).ok()); } in expectNoTag() argument 102 void populateFakeStats(uint64_t cookie, uint32_t uid, uint32_t tag, StatsKey* key) { in populateFakeStats() argument 104 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, cookieMapkey, BPF_ANY)); in populateFakeStats() 242 uint64_t cookie = TEST_COOKIE + i; in TEST_F() local 244 populateFakeStats(cookie, uid, tag, &tagStatsMapKey[i]); in TEST_F() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, in startQuery() argument 38 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); in startQuery() 44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 45 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; in onQueryComplete() 55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument 64 public CookieWithProjection(Object cookie, String[] projection) { in CookieWithProjection() argument 65 this.originalCookie = cookie; in CookieWithProjection()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | BluetoothHciVendorSpecificNativeInterface.java | 60 void sendCommand(int ocf, byte[] parameters, byte[] cookie) { in sendCommand() argument 61 sendCommandNative(ocf, parameters, cookie); in sendCommand() 66 private void onCommandStatus(int ocf, int status, byte[] cookie) { in onCommandStatus() argument 68 cookie, (cb) -> cb.onCommandStatus(ocf, status)); in onCommandStatus() 71 private void onCommandComplete(int ocf, byte[] returnParameters, byte[] cookie) { in onCommandComplete() argument 73 cookie, (cb) -> cb.onCommandComplete(ocf, returnParameters)); in onCommandComplete() 86 private native void sendCommandNative(int ocf, byte[] parameters, byte[] cookie); in sendCommandNative() argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 72 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorIsNotNull() 92 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectCookies() local 99 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectCookies() 102 cookieHolder.obj = cookie; in testCursorContainsCorrectCookies() 106 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies() 111 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies() 119 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectColumns() local 126 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectColumns() 133 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructInetDiagSockId.java | 66 public final long cookie; field in StructInetDiagSockId 73 int ifIndex, long cookie) { in StructInetDiagSockId() argument 77 this.cookie = cookie; in StructInetDiagSockId() 138 final long cookie = byteBuffer.getLong(); in parse() local 139 return new StructInetDiagSockId(srcSocketAddr, dstSocketAddr, ifIndex, cookie); in parse() 159 byteBuffer.putLong(cookie); in pack() 171 + (cookie == INET_DIAG_NOCOOKIE ? "INET_DIAG_NOCOOKIE" : cookie) + "}" in toString()
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
D | NoNullCursorAsyncQueryHandler.java | 43 Object cookie, in startQuery() argument 54 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); in startQuery() 59 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 60 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; in onQueryComplete() 75 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument 99 public CookieWithProjection(Object cookie, String[] projection) { in CookieWithProjection() argument 100 this.originalCookie = cookie; in CookieWithProjection()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TraceHelper.java | 68 int cookie = Random.Default.nextInt(); in beginAsyncSection() local 69 Trace.beginAsyncSection(sectionName, cookie); in beginAsyncSection() 70 return () -> Trace.endAsyncSection(sectionName, cookie); in beginAsyncSection() 79 int cookie = Random.Default.nextInt(); in allowIpcs() local 80 Trace.beginAsyncSection(rpcName, cookie); in allowIpcs() 81 return () -> Trace.endAsyncSection(rpcName, cookie); in allowIpcs()
|
/packages/modules/DnsResolver/ |
D | ResolverEventReporter.cpp | 134 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addListenerImplLocked() argument 135 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked() 146 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addListenerImplLocked() local 147 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked() 185 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addUnsolEventListenerImplLocked() argument 186 ResolverEventReporter::getInstance().handleUnsolEventBinderDied(cookie); in addUnsolEventListenerImplLocked() 197 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addUnsolEventListenerImplLocked() local 198 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addUnsolEventListenerImplLocked()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ClatCoordinator.java | 332 public final long cookie; field in ClatCoordinator.ClatdTracker 336 @NonNull Inet6Address pfx96, int pid, long cookie) { in ClatdTracker() argument 345 this.cookie = cookie; in ClatdTracker() 360 && this.cookie == that.cookie; in equals() 373 + ", cookie: " + cookie; in toString() 531 private void tagSocketAsClat(long cookie) throws IOException { in tagSocketAsClat() argument 539 final CookieTagMapKey key = new CookieTagMapKey(cookie); in tagSocketAsClat() 547 Log.i(TAG, "tag socket cookie " + cookie); in tagSocketAsClat() 550 private void untagSocket(long cookie) throws IOException { in untagSocket() argument 559 final CookieTagMapKey key = new CookieTagMapKey(cookie); in untagSocket() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | AIBinderDeathRegistrationWrapper.cpp | 27 void* cookie) const { in linkToDeath() 28 return ScopedAStatus::fromStatus(AIBinder_linkToDeath(binder, recipient, cookie)); in linkToDeath() 32 void* cookie) const { in unlinkToDeath() 33 return ScopedAStatus::fromStatus(AIBinder_unlinkToDeath(binder, recipient, cookie)); in unlinkToDeath()
|
D | AIBinderDeathRegistrationWrapper.h | 33 void* cookie) const = 0; 39 void* cookie) const = 0; 45 void* cookie) const override; 47 void* cookie) const override;
|
/packages/services/Car/cpp/watchdog/stable_server/src/ |
D | AIBinderDeathRegistrationWrapper.cpp | 27 void* cookie) const { in linkToDeath() 28 return ScopedAStatus::fromStatus(AIBinder_linkToDeath(binder, recipient, cookie)); in linkToDeath() 32 void* cookie) const { in unlinkToDeath() 33 return ScopedAStatus::fromStatus(AIBinder_unlinkToDeath(binder, recipient, cookie)); in unlinkToDeath()
|
D | AIBinderDeathRegistrationWrapper.h | 33 void* cookie) const = 0; 39 void* cookie) const = 0; 45 void* cookie) const override; 47 void* cookie) const override;
|
/packages/modules/Bluetooth/floss/pandora/server/ |
D | a2dp.py | 84 cookie = utils.address_to(address) 85 return a2dp_pb2.OpenSourceResponse(source=a2dp_pb2.Source(cookie=cookie)) 129 cookie = utils.address_to(address) 130 return a2dp_pb2.WaitSourceResponse(source=a2dp_pb2.Source(cookie=cookie)) 142 address = utils.address_from(request.target.cookie) 154 address = utils.address_from(request.target.cookie) 180 address = utils.address_from(request.target.cookie) 211 address = utils.address_from(request.target.cookie)
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/util/ |
D | Trace.java | 32 public void beginAsyncSection(String sectionName, int cookie) { in beginAsyncSection() argument 33 android.os.Trace.beginAsyncSection(sectionName, cookie); in beginAsyncSection() 42 public void endAsyncSection(String metricName, int cookie) { in endAsyncSection() argument 43 android.os.Trace.endAsyncSection(metricName, cookie); in endAsyncSection()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_BluetoothHciVendorSpecific.cpp | 43 void onCommandStatus(uint16_t ocf, uint8_t status, Cookie cookie) override { in onCommandStatus() argument 52 auto j_cookie = toJByteArray(callbackEnv.get(), cookie); in onCommandStatus() 63 Cookie cookie) override { in onCommandComplete() argument 73 auto j_cookie = toJByteArray(callbackEnv.get(), cookie); in onCommandComplete() 174 Cookie cookie; in sendCommandNative() local 175 std::memcpy(cookie.data(), reinterpret_cast<const uint8_t*>(pUuid), 16); in sendCommandNative() 180 sBluetoothHciVendorSpecificInterface->sendCommand(ocf, parameters, cookie); in sendCommandNative()
|
/packages/services/Car/libs/car-internal-dep-lib/src/com/android/car/internal/dep/ |
D | Trace.java | 49 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument 50 android.os.Trace.asyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin() 56 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument 57 android.os.Trace.asyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BinderTracker.java | 101 int cookie = Random.Default.nextInt(); in beginAsyncSection() local 102 Trace.beginAsyncSection(sectionName, cookie); in beginAsyncSection() 104 Trace.endAsyncSection(sectionName, cookie); in beginAsyncSection() 125 int cookie = Random.Default.nextInt(); in allowIpcs() local 126 Trace.beginAsyncSection(rpcName, cookie); in allowIpcs() 128 Trace.endAsyncSection(rpcName, cookie); in allowIpcs()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_hci_vs.cc | 39 Cookie cookie, in CommandStatusOrCompleteCallback() argument 46 base::Unretained(callbacks), ocf, status, cookie)); in CommandStatusOrCompleteCallback() 53 base::Unretained(callbacks), ocf, return_parameters, cookie)); in CommandStatusOrCompleteCallback() 83 void sendCommand(uint16_t ocf, std::vector<uint8_t> parameters, Cookie cookie) override { in sendCommand() argument 100 get_main()->BindOnce(CommandStatusOrCompleteCallback, callbacks_, std::move(cookie))); in sendCommand()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeCallbackHandler.java | 121 CallerPriorityCookie cookie = (CallerPriorityCookie) getBroadcastCookie(index); in onVolumeGroupChange() local 123 if (!cookie.mPriority) { in onVolumeGroupChange() 141 CallerPriorityCookie cookie = (CallerPriorityCookie) getBroadcastCookie(index); in onGroupMuteChange() local 143 if (!cookie.mPriority) { in onGroupMuteChange() 173 public void onCallbackDied(ICarVolumeCallback callback, Object cookie) { in onCallbackDied() argument 174 CallerPriorityCookie caller = (CallerPriorityCookie) cookie; in onCallbackDied()
|