Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 724) sorted by relevance

12345678910>>...29

/packages/modules/adb/
Dadb_listeners_test.cpp36 (serial.empty() || info[0] == serial) && in listener_is_installed()
37 (source.empty() || info[1] == source) && in listener_is_installed()
38 (dest.empty() || info[2] == dest)) { in listener_is_installed()
72 ASSERT_TRUE(error.empty()); in TEST_F()
82 ASSERT_TRUE(error.empty()); in TEST_F()
86 ASSERT_TRUE(error.empty()); in TEST_F()
96 ASSERT_TRUE(error.empty()); in TEST_F()
100 ASSERT_FALSE(error.empty()); in TEST_F()
111 ASSERT_TRUE(error.empty()); in TEST_F()
121 ASSERT_TRUE(error.empty()); in TEST_F()
[all …]
Dcompression_utils.h96 while (available_out > 0 && !input_buffer_.empty()) { in Decode()
103 if (input_buffer_.empty()) { in Decode()
120 while (available_out > 0 && !input_buffer_.empty()) { in Encode()
129 if (input_buffer_.empty()) { in Encode()
223 } else if (input_buffer_.empty()) { in Encode()
263 if (!input_buffer_.empty()) { in Decode()
273 return input_buffer_.empty() && lz4_done_ ? DecodeResult::Done in Decode()
372 if (lz4_finalized_ && output_buffer_.empty()) { in Encode()
415 if (!input_buffer_.empty()) { in Decode()
425 return input_buffer_.empty() && zstd_done_ ? DecodeResult::Done in Decode()
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/fields/
Dpacket_field.cc45 if ((start_offset.empty() && size.empty()) || (start_offset.empty() && end_offset.empty()) || in GenBounds()
46 (end_offset.empty() && size.empty())) { in GenBounds()
54 if (!start_offset.empty()) { in GenBounds()
60 if (!end_offset.empty()) { in GenBounds()
63 if (!size.empty()) { in GenBounds()
77 if (param_type.empty()) { in GenBuilderParameter()
111 if ((start_offset.empty() && size.empty()) || (start_offset.empty() && end_offset.empty()) || in GetRustBitOffset()
112 (end_offset.empty() && size.empty())) { in GetRustBitOffset()
127 if (param_type.empty()) { in GenRustNameAndType()
/packages/modules/Bluetooth/system/gd/common/
Dblocking_queue_unittest.cc29 EXPECT_TRUE(queue_.empty()); in SetUp()
34 EXPECT_TRUE(queue_.empty()); in TearDown()
41 EXPECT_TRUE(queue_.empty()); in TEST_F()
47 EXPECT_FALSE(queue_.empty()); in TEST_F()
49 EXPECT_TRUE(queue_.empty()); in TEST_F()
55 EXPECT_FALSE(queue_.empty()); in TEST_F()
57 EXPECT_TRUE(queue_.empty()); in TEST_F()
65 EXPECT_FALSE(queue_.empty()); in TEST_F()
69 EXPECT_TRUE(queue_.empty()); in TEST_F()
76 EXPECT_FALSE(queue_.empty()); in TEST_F()
[all …]
Dblocking_queue.h40 while (queue_.empty()) { in take()
51 while (queue_.empty()) { in wait_to_take()
59 bool empty() const { in empty() function
61 return queue_.empty(); in empty()
66 std::queue<T> empty; in clear() local
67 std::swap(queue_, empty); in clear()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp79 if (!v.empty()) { in toStringVector()
95 if (thresholds.name.empty()) { in containsValidThresholds()
146 if (ioOveruseConfig.systemWideThresholds.empty()) { in isValidIoOveruseConfiguration()
253 if (thresholds.empty()) { in updatePerPackageThresholds()
258 if (packageThreshold.name.empty()) { in updatePerPackageThresholds()
276 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updatePerPackageThresholds()
283 if (packages.empty()) { in updateSafeToKillPackages()
288 if (packageName.empty()) { in updateSafeToKillPackages()
295 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updateSafeToKillPackages()
359 if (thresholds.empty()) { in updatePerCategoryThresholds()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dconnection_manager.cc92 !pair.second.doing_targeted_announcements_conn.empty()); in num_of_targeted_announcements_users()
98 if (!it->second.doing_targeted_announcements_conn.empty()) { in is_anyone_interested_to_use_accept_list()
99 return (!it->second.doing_direct_conn.empty()); in is_anyone_interested_to_use_accept_list()
101 return (!it->second.doing_bg_conn.empty() || in is_anyone_interested_to_use_accept_list()
102 !it->second.doing_direct_conn.empty()); in is_anyone_interested_to_use_accept_list()
107 return (!it->second.doing_bg_conn.empty() || in is_anyone_connecting()
108 !it->second.doing_direct_conn.empty() || in is_anyone_connecting()
109 !it->second.doing_targeted_announcements_conn.empty()); in is_anyone_connecting()
164 it->second.doing_targeted_announcements_conn.empty()) { in target_announcement_observe_results_cb()
233 !it->second.doing_targeted_announcements_conn.empty(); in background_connect_targeted_announcement_add()
[all …]
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp91 if (mStarted.empty()) { in noteStop()
111 if (mStarted.empty()) { in noteStop()
117 if (!mStarted.empty()) { in noteStopAll()
223 return mStarted.empty() && mPaused.empty() && (isFullBucket || mAnomalyTrackers.size() == 0); in flushCurrentBucket()
239 if (!mStarted.empty()) { in onSlicedConditionMayChange()
260 if (mStarted.empty()) { in onSlicedConditionMayChange()
272 if (!mPaused.empty()) { in onSlicedConditionMayChange()
292 if (mStarted.empty() && pausedToStarted.size() > 0) { in onSlicedConditionMayChange()
297 if (mStarted.empty() && !pausedToStarted.empty()) { in onSlicedConditionMayChange()
303 if (mStarted.empty()) { in onSlicedConditionMayChange()
[all …]
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto116 // Typically shown up as popup window by longpressing on empty space on workspace.
152 // Folder's label is one of the non-empty suggested values.
155 // Folder's label is non-empty, manually entered by the user
163 // Folder's label is empty(i.e., title == "").
306 // EditText was empty.
307 // Eg: When a folder label is updated from empty string.
310 // EditText was non-empty and manually entered by the user.
314 // EditText was non-empty and one of the suggestions.
332 // New value matches with second top suggestion even though the top suggestion was non-empty.
335 // New value matches with second top suggestion given that top suggestion was empty.
[all …]
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalCameraFuzzer.cpp74 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
83 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
125 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
139 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
148 if (!vBufferDesc_1_0.empty()) { in LLVMFuzzerTestOneInput()
157 if (!vBufferDesc_1_1.empty()) { in LLVMFuzzerTestOneInput()
166 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
175 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
184 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
193 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/gd/storage/
Dmutation_entry.cc37 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::SET"); in MutationEntry()
38 ASSERT_LOG(!property.empty(), "property cannot be empty for EntryType::SET"); in MutationEntry()
39 ASSERT_LOG(!value.empty(), "value cannot be empty for EntryType::SET"); in MutationEntry()
42 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry()
43 ASSERT_LOG(!property.empty(), "property cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry()
46 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::REMOVE_SECTION"); in MutationEntry()
/packages/modules/SdkExtensions/derive_classpath/
Dmain.cpp43 if (!args.system_bootclasspath_fragment.empty()) { in ParseArgs()
49 if (!args.system_systemserverclasspath_fragment.empty()) { in ParseArgs()
55 if (!args.scan_dirs.empty()) { in ParseArgs()
66 if (!args.scan_dirs.empty() && (!args.system_bootclasspath_fragment.empty() || in ParseArgs()
67 !args.system_systemserverclasspath_fragment.empty())) { in ParseArgs()
/packages/modules/StatsD/statsd/tests/
Dindexed_priority_queue_test.cpp48 EXPECT_TRUE(ipq.empty()); in TEST()
52 EXPECT_FALSE(ipq.empty()); in TEST()
56 EXPECT_FALSE(ipq.empty()); in TEST()
60 EXPECT_FALSE(ipq.empty()); in TEST()
64 EXPECT_TRUE(ipq.empty()); in TEST()
185 EXPECT_TRUE(ipq.empty()); in TEST()
189 EXPECT_TRUE(ipq.empty()); in TEST()
193 EXPECT_TRUE(ipq.empty()); in TEST()
227 EXPECT_TRUE(ipq.empty()); in TEST()
230 EXPECT_TRUE(ipq.empty()); in TEST()
/packages/modules/adb/client/pairing/
Dpairing_client.cpp90 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingClientImpl()
104 CHECK(!ip_addr.empty()); in Start()
165 CHECK(!pswd.empty()); in Create()
166 CHECK(!cert.empty()); in Create()
167 CHECK(!priv_key.empty()); in Create()
/packages/modules/StatsD/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp167 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST_F()
176 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
184 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
192 EXPECT_TRUE(data.bucket_info(2).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
200 EXPECT_TRUE(data.bucket_info(3).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
208 EXPECT_TRUE(data.bucket_info(4).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
216 EXPECT_TRUE(data.bucket_info(5).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
286 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST_F()
295 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
303 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST_F()
[all …]
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp136 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty() && port_ > 0); in PairingServerImpl()
294 if (conn_write_queue_.empty()) { in connectionEventsWorker()
297 return (is_terminate_ || !conn_write_queue_.empty()); in connectionEventsWorker()
348 if (name.has_value() && guid.has_value() && cert.has_value() && !name->empty() && in connectionEventsWorker()
349 !guid->empty() && !cert->empty()) { in connectionEventsWorker()
405 if (pswd.empty() || cert.empty() || priv_key.empty() || port <= 0) { in create()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java408 Preference empty = new Preference(context); in onPackagesLoaded() local
409 empty.setSelectable(false); in onPackagesLoaded()
410 empty.setKey(category.getKey() + KEY_EMPTY); in onPackagesLoaded()
412 empty.setTitle(getString(R.string.no_apps_allowed)); in onPackagesLoaded()
418 empty.setTitle(getString(R.string.no_apps_denied)); in onPackagesLoaded()
420 category.addPreference(empty); in onPackagesLoaded()
482 Preference empty = new Preference(context); in onPackagesLoaded() local
483 empty.setSelectable(false); in onPackagesLoaded()
484 empty.setKey(STORAGE_ALLOWED_FULL + KEY_EMPTY); in onPackagesLoaded()
485 empty.setTitle(getString(R.string.no_apps_allowed_full)); in onPackagesLoaded()
[all …]
/packages/modules/adb/client/
Dtransport_mdns.cpp146 if (config.network_info.empty()) { in GetConfigForAllInterfaces()
200 if (wanted_instance_name.empty() || s.get().instance_name == wanted_instance_name) { in ForEachService()
251 if (!g_state || g_state->receivers.empty()) { in adb_secure_connect_by_service_name()
284 if (!g_state || g_state->receivers.empty()) { in mdns_list_discovered_services()
302 CHECK(!name.empty()); in mdns_get_connect_service_info()
308 if (!g_state || g_state->receivers.empty()) { in mdns_get_connect_service_info()
325 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info()
355 CHECK(!name.empty()); in mdns_get_pairing_service_info()
361 if (!g_state || g_state->receivers.empty()) { in mdns_get_pairing_service_info()
378 if (!mdns_instance->service_name.empty()) { in mdns_get_pairing_service_info()
Dmdns_utils.cpp25 CHECK(!name.empty()); in mdns_parse_instance_name()
36 if (name.empty()) { in mdns_parse_instance_name()
51 if (name.empty()) { in mdns_parse_instance_name()
59 if (has_local_suffix && transport.empty()) { in mdns_parse_instance_name()
64 if (!has_local_suffix && transport.empty()) { in mdns_parse_instance_name()
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp106 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingClientImpl()
112 CHECK(!ip_addr.empty()); in Start()
193 CHECK(!pswd.empty()); in Create()
194 CHECK(!cert.empty()); in Create()
195 CHECK(!priv_key.empty()); in Create()
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dutils_unittest.cc39 EXPECT_TRUE(map_.empty()); in TEST_F()
46 EXPECT_TRUE(map_.empty()); in TEST_F()
105 EXPECT_TRUE(map_.empty()); in TEST_F()
112 EXPECT_TRUE(map_.empty()); in TEST_F()
119 EXPECT_TRUE(map_.empty()); in TEST_F()
126 EXPECT_TRUE(map_.empty()); in TEST_F()
/packages/modules/Bluetooth/system/service/ipc/
Dipc_handler_linux.cc42 if (!socket_path_.empty()) unlink(socket_path_.value().c_str()); in ~IPCHandlerLinux()
54 CHECK(android_suffix.empty() || path.empty()); in Run()
55 if (android_suffix.empty() && path.empty()) { in Run()
64 if (!android_suffix.empty()) { in Run()
/packages/modules/adb/daemon/
Dmdns.cpp99 txtRecord.empty() ? nullptr : txtRecord.data(), mdns_callback, nullptr); in register_mdns_service()
168 if (serial.empty()) { in GenerateDeviceGuid()
180 if (guid.empty()) { in ReadDeviceGuid()
182 CHECK(!guid.empty()); in ReadDeviceGuid()
193 CHECK(!guid.empty()); in setup_mdns()
204 if (service_name.empty()) { in register_adb_secure_connect_service()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/provisioning/
DStaticConfigProvisioningController.java47 private Optional<RcsProvisioningCallback> storedCallback = Optional.empty();
48 private Optional<ProvisioningStateChangeCallback> stateChangeCallback = Optional.empty();
49 private Optional<byte[]> configXmlData = Optional.empty();
129 configXmlData = Optional.empty(); in register()
139 configXmlData = Optional.empty(); in register()
159 storedCallback = Optional.empty(); in unRegister()
/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp89 CHECK(!pswd.empty()); in PairingAuthCtx()
138 CHECK(!their_msg.empty()); in InitCipher()
166 CHECK(!data.empty()); in Encrypt()
182 CHECK(!data.empty()); in Decrypt()
212 CHECK(!ret->msg().empty()); in pairing_auth_server_new()
221 CHECK(!ret->msg().empty()); in pairing_auth_client_new()
261 if (out.empty()) { in pairing_auth_encrypt()
288 if (out.empty()) { in pairing_auth_decrypt()

12345678910>>...29