/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
SubscriptionManager.cpp | 215 uint64_t cookie = reinterpret_cast<uint64_t>(clientId); local 216 ALOGI("Creating new client and linking to death recipient, cookie: 0x%" PRIx64, cookie); 217 auto res = callback->linkToDeath(mCallbackDeathRecipient, cookie); 274 void SubscriptionManager::onCallbackDead(uint64_t cookie) { 275 ALOGI("%s, cookie: 0x%" PRIx64, __func__, cookie); 276 ClientId clientId = cookie;
|
/libcore/ojluni/src/main/java/java/net/ |
InMemoryCookieStore.java | 42 // b/25897688 InMemoryCookieStore ignores scheme (http/https) port and path of the cookie 43 // Remove cookieJar and domainIndex. Use urlIndex as single Cookie storage 44 // Fix InMemoryCookieStore#remove to verify cookie URI before removal 60 // CAUTION: when a cookie removed from main data structure (i.e. cookieJar), 62 // presence of cookie when retrieve one form index store. 89 * Add one cookie into cookie store. 91 public void add(URI uri, HttpCookie cookie) { 93 if (cookie == null) { 94 throw new NullPointerException("cookie is null") 150 HttpCookie cookie = it.next(); local [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
ContactsAsyncHelper.java | 54 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 56 * cookie is null. 59 Object cookie); 85 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs 144 args.cookie); 199 * @param cookie Arbitrary object the caller wants to remember, which will become the 204 OnImageLoadCompleteListener listener, Object cookie) { 214 // Added additional Cookie field in the callee to handle arguments 219 args.cookie = cookie; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_arcnet.h | 92 __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ member in struct:arc_cap
|
/system/core/adb/ |
services.cpp | 62 void (*func)(int fd, void *cookie); 64 void *cookie; member in struct:stinfo 70 sti->func(sti->fd, sti->cookie); 76 void restart_root_service(int fd, void *cookie) { 93 void restart_unroot_service(int fd, void *cookie) { 104 void restart_tcp_service(int fd, void *cookie) { 105 int port = (int) (uintptr_t) cookie; 117 void restart_usb_service(int fd, void *cookie) { 239 static int create_service_thread(const char* service_name, void (*func)(int, void*), void* cookie) { 262 sti->cookie = cookie [all...] |
/system/core/libziparchive/ |
unzip.cpp | 238 void* cookie; local 239 int err = StartIteration(zah, &cookie, nullptr, nullptr); 246 while ((err = Next(cookie, &entry, &string)) >= 0) { 252 EndIteration(cookie);
|
/system/netd/bpfloader/ |
bpf_kern.h | 175 uint64_t cookie = get_socket_cookie(skb); local 176 struct uid_tag* utag = find_map_entry(COOKIE_TAG_MAP, &cookie);
|
/system/netd/libbpf/ |
BpfNetworkStatsTest.cpp | 115 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { 116 auto tagResult = mFakeCookieTagMap.readValue(cookie); 161 uint64_t cookie = i + 1; local 163 EXPECT_TRUE(isOk(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY))); 192 uint64_t cookie = i + 1; local 194 EXPECT_TRUE(isOk(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)));
|
/system/netd/server/ |
TrafficControllerTest.cpp | 130 int setUpSocketAndTag(int protocol, uint64_t* cookie, uint32_t tag, uid_t uid) { 133 *cookie = getSocketCookie(sock); 134 EXPECT_NE(NONEXISTENT_COOKIE, *cookie); 139 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { 140 StatusOr<UidTag> tagResult = mFakeCookieTagMap.readValue(cookie); 146 void expectNoTag(uint64_t cookie) { EXPECT_FALSE(isOk(mFakeCookieTagMap.readValue(cookie))); } 150 void populateFakeStats(uint64_t cookie, uint32_t uid, uint32_t tag, StatsKey* key) { 152 EXPECT_TRUE(isOk(mFakeCookieTagMap.writeValue(cookie, cookieMapkey, BPF_ANY))); 326 uint64_t cookie = 1 local 351 uint64_t cookie = 1; local [all...] |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.5.2/ |
httpclient-4.5.2.jar | |
/prebuilts/sdk/org.apache.http.legacy/ |
org.apache.http.legacy.jar | |
/bootable/recovery/ |
install.cpp | 528 void* cookie; local 529 ret = StartIteration(zip_handle, &cookie, nullptr, nullptr); 535 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); 540 while (Next(cookie, &info_entry, &info_name) == 0) {
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
WebViewDeviceSideStartupTest.java | 86 Log.i(TAG, "done setting cookie before creating webview"); 100 // Now create WebView and test that setting the cookie beforehand really worked. 112 assertEquals("1|count=41", onUiThread.getTitle()); // outgoing cookie 114 String cookie = cookieManager.getCookie(url); local 115 assertNotNull(cookie); 117 Matcher m = pat.matcher(cookie);
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 103 * cookie that will be used when the image will be retrieved. 107 * @param cookie A cookie String that will be used by the http connection. 109 public void download(String url, ImageView imageView, String cookie) { 114 forceDownload(url, imageView, cookie); 133 private void forceDownload(String url, ImageView imageView, String cookie) { 144 task.execute(url, cookie); 252 String cookie = params[1]; local 253 if (cookie != null) { 254 getRequest.setHeader("cookie", cookie) [all...] |
/device/google/contexthub/firmware/os/inc/ |
syscallDo.h | 107 static inline uint32_t eOsSensorRegister(const struct SensorInfo *si, uint32_t tid, void *cookie, bool initComplete) 109 return syscallDo4P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_REG), si, tid, cookie, (int)initComplete); 177 static inline uint32_t eOsTimTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, uint32_t tid, void* cookie, bool oneShot) 182 return syscallDoGeneric(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_TIME, SYSCALL_OS_MAIN_TIME_SET_TIMER), lengthLo, lengthHi, jitterPpm, driftPpm, tid, cookie, (int)oneShot); 279 static inline int eOsI2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, uint32_t cbkTid, void *cookie) 281 return syscallDoGeneric(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cbkTid, cookie); 294 static inline void eOsI2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, uint32_t cbkTid, void *cookie) 296 syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_RX_EN), busId, rxBuf, rxSize, cbkTid, cookie); local 299 static inline int eOsI2cSlaveTxPreamble(uint32_t busId, uint8_t byte, uint32_t cbkTid, void *cookie) 301 return syscallDo4P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PRE), busId, byte, cbkTid, cookie); [all...] |
/device/google/contexthub/firmware/os/platform/stm32/ |
dma.c | 88 void *cookie; member in struct:StmDmaStreamState 202 state->callback(state->cookie, regs->NDTR, EIO); 215 state->callback(state->cookie, regs->NDTR, 0); 239 const struct dmaMode *mode, DmaCallbackF callback, void *cookie) 246 state->cookie = cookie;
|
/external/apache-http/android/src/android/net/http/ |
RequestHandle.java | 180 // update the "Cookie" header based on the redirected url 181 mHeaders.remove("Cookie"); 182 String cookie = null; local 184 cookie = CookieManager.getInstance().getCookie(mUri.toString()); 186 if (cookie != null && cookie.length() > 0) { 187 mHeaders.put("Cookie", cookie);
|
/external/boringssl/src/ssl/ |
tls13_client.cc | 115 CBS cookie, key_share, supported_versions; local 118 {TLSEXT_TYPE_cookie, &have_cookie, &cookie}, 138 if (!CBS_get_u16_length_prefixed(&cookie, &cookie_value) || 140 CBS_len(&cookie) != 0) { 146 if (!hs->cookie.CopyFrom(cookie_value)) {
|
/external/iproute2/ip/ |
ipl2tp.c | 51 uint8_t cookie[8]; member in struct:l2tp_parm 181 p->cookie, p->cookie_len); 207 static void print_cookie(char *name, const uint8_t *cookie, int len) 210 cookie[0], cookie[1], 211 cookie[2], cookie[3]); 214 cookie[4], cookie[5], 215 cookie[6], cookie[7]) [all...] |
/external/mtpd/ |
pptp.c | 93 uint32_t cookie; member in struct:packet::__anon30713::__anon30714::__anon30715 141 outgoing.header.cookie = MAGIC_COOKIE; 187 /* If incoming.header is valid, check cookie and update incoming.expect. */ 189 if (incoming.header.cookie != MAGIC_COOKIE) {
|
/external/wpa_supplicant_8/src/common/ |
wpa_ctrl.c | 63 char *cookie; member in struct:wpa_ctrl 451 ctrl->cookie = os_strdup(buf); 476 os_free(ctrl->cookie); 499 if (ctrl->cookie) { 501 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; 507 os_strlcpy(pos, ctrl->cookie, _cmd_len); 508 pos += os_strlen(ctrl->cookie);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 114 wpa_printf(MSG_DEBUG, "nl80211: Abort vendor scan with cookie 0x%llx", 132 "nl80211: Aborting vendor scan with cookie 0x%llx failed: ret=%d (%s)", 1027 u64 *cookie = arg; local 1040 *cookie = nla_get_u64( 1063 u64 cookie = 0; local 1192 ret = send_and_recv_msgs(drv, msg, scan_cookie_handler, &cookie); 1201 drv->vendor_scan_cookie = cookie; 1203 /* Pass the cookie to the caller to help distinguish the scans. * [all...] |
/external/wpa_supplicant_8/src/wps/ |
httpread.c | 53 void (*cb)(struct httpread *handle, void *cookie, 55 void *cookie; /* pass to callback */ member in struct:httpread 149 (*h->cb)(h, h->cookie, HTTPREAD_EVENT_TIMEOUT); 687 (*h->cb)(h, h->cookie, HTTPREAD_EVENT_ERROR); 712 (*h->cb)(h, h->cookie, HTTPREAD_EVENT_FILE_READY); 731 void (*cb)(struct httpread *handle, void *cookie, 733 void *cookie, /* pass to callback */ 745 h->cookie = cookie;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 74 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 79 * Wrap the cookie from the WorkerArgs with additional information needed by our 84 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 178 CookieWrapper cw = (CookieWrapper) args.cookie; 227 CookieWrapper cw = (CookieWrapper) args.cookie; 228 if (!TextUtils.isEmpty(cw.number) && cw.cookie != null && mContext != null) { 269 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 272 //get the cookie and notify the listener. 273 CookieWrapper cw = (CookieWrapper) cookie; 279 Rlog.i(LOG_TAG, "Cookie is null, ignoring onQueryComplete() request.") [all...] |
/hardware/libhardware/modules/radio/ |
radio_hw.c | 91 void *cookie; member in struct:stub_radio_tuner 468 tuner->callback(&event, tuner->cookie); 663 void *cookie, 699 rdev->tuner->cookie = cookie;
|