/system/keymaster/tests/ |
H A D | authorization_set_test.cpp | 166 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); 167 AuthorizationSet deserialized(buf.get(), size); 194 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); 196 const uint8_t* p = buf.get(); 198 EXPECT_EQ(p, buf.get() + size); 239 EXPECT_EQ(buf.get() [all...] |
/system/bt/service/ipc/binder/ |
H A D | bluetooth_gatt_server_binder_server.cc | 84 if (!sp_to_this.get()) { 92 if (!gatt_cb.get()) { 148 if (!sp_to_this.get()) { 156 if (!gatt_cb.get()) { 183 if (!gatt_cb.get()) { 200 if (!gatt_cb.get()) { 214 static_cast<IBluetoothGattServerCallback*>(cb.get())); 233 static_cast<IBluetoothGattServerCallback*>(callback.get())); 247 if (!gatt_cb.get()) { 265 if (!gatt_cb.get()) { [all...] |
H A D | interface_with_instances_base.cc | 30 if (!callback.get()) { 35 // Store the callback in the pending list. It will get removed later when the 55 if (!strong_ptr_to_this.get()) { 113 if (!callback.get()) { 140 OnRegisterInstanceImpl(status, callback, shared_instance.get());
|
H A D | bluetooth_gatt_client_binder_server.cc | 66 static_cast<IBluetoothGattClientCallback*>(cb.get())); 82 static_cast<IBluetoothGattClientCallback*>(callback.get()));
|
/system/chre/platform/linux/ |
H A D | init.cc | 51 EventLoopManagerSingleton::get()->getEventLoop().stop(); 108 EventLoopManagerSingleton::get()->getEventLoop() 112 EventLoopManagerSingleton::get()->getEventLoop().run();
|
/system/connectivity/wificond/tests/integration/ |
H A D | client_interface_test.cpp | 53 EXPECT_NE(nullptr, client_interface.get()); 70 EXPECT_EQ(nullptr, client_interface2.get()); 88 ASSERT_NE(nullptr, client_interface.get());
|
/system/core/libbacktrace/ |
H A D | UnwindStackMap.h | 51 unwindstack::Maps* stack_maps() { return stack_maps_.get(); } 55 unwindstack::JitDebug* GetJitDebug() { return jit_debug_.get(); } 58 unwindstack::DexFiles* GetDexFiles() { return dex_files_.get(); }
|
/system/chre/platform/linux/include/chre/target_platform/ |
H A D | log.h | 38 ::chre::PlatformLogSingleton::get()->log( \
|
/system/chre/platform/slpi/ |
H A D | preloaded_nanoapps.cc | 45 EventLoop& eventLoop = EventLoopManagerSingleton::get()->getEventLoop();
|
/system/core/debuggerd/ |
H A D | crash_dump.cpp | 144 if (amfd.get() == -1) { 153 if (setsockopt(amfd.get(), SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)) == -1) { 158 if (setsockopt(amfd.get(), SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { 209 // If we abort before we get an output fd, contact tombstoned to let any 220 dprintf(g_output_fd.get(), "crash_dump failed to dump process"); 222 dprintf(g_output_fd.get(), " %d: %s\n", g_target_thread, abort_msg); 224 dprintf(g_output_fd.get(), ": %s\n", abort_msg); 254 ssize_t rc = TEMP_FAILURE_RETRY(read(fd.get(), &buf, sizeof(buf))); 295 PLOG(FATAL) << "failed to get child pid via PTRACE_GETEVENTMSG"; 361 // We need the pseudothread to live until we get aroun [all...] |
/system/keymaster/legacy_support/ |
H A D | keymaster0_engine.cpp | 151 if (!blob_copy.get()) 169 if (!blob_copy->key_material || !RSA_set_ex_data(rsa.get(), rsa_index_, blob_copy)) 176 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); 194 if (!blob_copy->key_material || !EC_KEY_set_ex_data(ec_key.get(), ec_key_index_, blob_copy)) 202 unique_ptr<EC_KEY, EC_KEY_Delete> public_ec_key(EVP_PKEY_get1_EC_KEY(pkey.get())); 206 if (!EC_KEY_set_group(ec_key.get(), EC_KEY_get0_group(public_ec_key.get())) || 207 !EC_KEY_set_public_key(ec_key.get(), EC_KEY_get0_public_key(public_ec_key.get()))) 296 return input_as_bn && BN_ucmp(input_as_bn.get(), rs [all...] |
/system/libhidl/transport/include/hidl/ |
H A D | HidlPassthroughSupport.h | 30 * Note that 'static_cast<IFoo*>(wrapPassthrough(foo).get()) is guaranteed to work' 45 return static_cast<IType*>(wrapPassthroughInternal(iface).get());
|
/system/nvram/hal/include/nvram/hal/ |
H A D | nvram_device_adapter.h | 44 // |NvramImplementation| and call |as_device()| to get the HAL device pointer. 52 NvramImplementation* nvram_implementation() { return implementation_.get(); }
|
/system/tpm/trunks/ |
H A D | scoped_key_handle.h | 59 virtual TPM_HANDLE get() const;
|
H A D | trunks_client_test.cc | 75 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 104 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 145 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 165 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, 166 session.get()); 172 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 195 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorization, 196 session.get()); 202 if (utility->StartSession(session.get()) != TPM_RC_SUCCESS) { 236 return PerformRSAEncrpytAndDecrpyt(scoped_key.get(), key_authorizatio [all...] |
/system/vold/ |
H A D | FileDeviceUtils.cpp | 53 while ((mnt = getmntent(mnts.get())) != nullptr) { 84 if (ioctl(fd.get(), FS_IOC_FIEMAP, fiemap.get()) != 0) { 106 memset(res.get(), 0, allocsize);
|
/system/core/debuggerd/handler/ |
H A D | debuggerd_fallback.cpp | 85 dump_backtrace_thread(output_fd, map.get(), thread); 234 dump_backtrace_header(output_fd.get()); 237 debuggerd_fallback_trace(output_fd.get(), ucontext); 272 bool success = forward_output(pipe_read.get(), output_fd, tid); 290 output_fd.get()); 292 dump_backtrace_footer(output_fd.get()); 293 tombstoned_notify_completion(tombstone_socket.get()); 314 debuggerd_fallback_tombstone(output_fd.get(), ucontext, info, abort_message); 316 tombstoned_notify_completion(tombstone_socket.get());
|
/system/libhidl/libhidlcache/ |
H A D | libhidlcache_test.cpp | 51 ASSERT_NE(nullptr, ashmemAllocator.get()); 64 mtoken->get([&](const hidl_memory& mem) { sp<IMemory> memory = mapMemory(mem); }); 76 EXPECT_NE(nullptr, cache->getCachedLocked(token).get()); 79 EXPECT_NE(nullptr, cache->getCachedLocked(token).get()); 85 EXPECT_NE(nullptr, cache->getCachedLocked(token).get()); 92 EXPECT_NE(nullptr, cache->getCachedLocked(token).get()); 97 EXPECT_NE(nullptr, cache->getCachedLocked(token).get()); 136 EXPECT_EQ(nullptr, dealer.get()); 139 EXPECT_NE(nullptr, dealer.get());
|
/system/security/keystore/ |
H A D | keystore_attestation_id.cpp | 63 static KeyAttestationApplicationIdProvider& get(); 69 KeyAttestationApplicationIdProvider& KeyAttestationApplicationIdProvider::get() { function in class:android::__anon2582::KeyAttestationApplicationIdProvider 138 if (!attestation_package_info.get()) return NO_MEMORY; 190 if (!sk_push(attestation_pinfo_stack, attestation_package_info.get())) { 212 if (!ASN1_OCTET_STRING_set(asn1_item.get(), si.data(), si.size())) { 215 if (!sk_push(signature_digest_stack, asn1_item.get())) { 221 int len = i2d_KM_ATTESTATION_APPLICATION_ID(attestation_id.get(), nullptr); 226 len = i2d_KM_ATTESTATION_APPLICATION_ID(attestation_id.get(), &p); 255 auto& pm = KeyAttestationApplicationIdProvider::get();
|
/system/tools/aidl/ |
H A D | generate_cpp_unittest.cpp | 1314 doc->Write(cw.get()); 1344 Compare(doc.get(), kExpectedComplexTypeClientHeaderOutput); 1351 Compare(doc.get(), kExpectedComplexTypeClientSourceOutput); 1359 Compare(doc.get(), kExpectedComplexTypeClientWithTraceSourceOutput); 1366 Compare(doc.get(), kExpectedComplexTypeServerHeaderOutput); 1373 Compare(doc.get(), kExpectedComplexTypeServerSourceOutput); 1381 Compare(doc.get(), kExpectedComplexTypeServerWithTraceSourceOutput); 1388 Compare(doc.get(), kExpectedComplexTypeInterfaceHeaderOutput); 1395 Compare(doc.get(), kExpectedComplexTypeInterfaceSourceOutput);
|
/system/core/debuggerd/libdebuggerd/test/ |
H A D | dump_memory_test.cpp | 204 dump_memory(&log_, memory_mock_.get(), 0x12345678, "memory near r1"); 224 dump_memory(&log_, memory_mock_.get(), 0x12345679, "memory near r1"); 243 dump_memory(&log_, memory_mock_.get(), 0x12345679, "memory near r1"); 256 dump_memory(&log_, memory_mock_.get(), 0xa2345678, "memory near pc"); 312 dump_memory(&log_, memory_mock_.get(), 0x12345600, "memory near pc"); 332 dump_memory(&log_, memory_mock_.get(), 0x12345600, "memory near pc"); 357 dump_memory(&log_, memory_mock_.get(), 0x12345600, "memory near pc"); 383 dump_memory(&log_, memory_mock_.get(), 0x1000, "memory near r1"); 437 dump_memory(&log_, memory_mock_.get(), 0, "memory near r1"); 455 dump_memory(&log_, memory_mock_.get(), [all...] |
/system/extras/simpleperf/ |
H A D | sample_tree.h | 204 if (sample == nullptr || !FilterSample(sample.get())) { 207 UpdateSummary(sample.get()); 209 auto it = sample_set_.find(sample.get()); 211 result = sample.get(); 212 sample_set_.insert(sample.get()); 216 MergeSample(*it, sample.get()); 226 if (!FilterSample(sample.get())) { 228 auto it = callchain_sample_set_.find(sample.get()); 232 EntryT* result = sample.get(); 233 callchain_sample_set_.insert(sample.get()); [all...] |
/system/chre/apps/unload_tester/ |
H A D | unload_tester.cc | 40 EventLoop& eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); 82 LOGW("Couldn't get spammer's app info - not running?"); 86 // event callback, so get into the system context 87 EventLoopManagerSingleton::get()->deferCallback(
|
/system/core/debuggerd/tombstoned/ |
H A D | tombstoned_client.cpp | 72 int flags = fcntl(tmp_output_fd.get(), F_GETFL); 73 if (fcntl(tmp_output_fd.get(), F_SETFL, flags | O_APPEND) != 0) {
|
/system/timezone/zone_compactor/main/java/ |
H A D | ZoneCompactor.java | 90 String link = links.get(s); 108 String to = links.get(from); 110 offsets.put(from, offsets.get(to)); 111 lengths.put(from, lengths.get(to)); 152 while (links.get(actualZoneName) != null) { 153 actualZoneName = links.get(actualZoneName); 157 f.writeInt(offsets.get(actualZoneName)); 158 f.writeInt(lengths.get(actualZoneName));
|