Home
last modified time | relevance | path

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

12345678910>>...40

/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 …]
/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/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()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp100 if (mStarted.empty()) { in noteStop()
120 if (mStarted.empty()) { in noteStop()
126 if (!mStarted.empty()) { in noteStopAll()
201 if (isFullBucket || mAnomalyTrackers.empty()) { in flushCurrentBucket()
239 return mStarted.empty() && mPaused.empty() && (isFullBucket || mAnomalyTrackers.size() == 0); in flushCurrentBucket()
254 if (!mStarted.empty()) { in onSlicedConditionMayChange()
275 if (mStarted.empty()) { in onSlicedConditionMayChange()
287 if (!mPaused.empty()) { in onSlicedConditionMayChange()
307 if (mStarted.empty() && pausedToStarted.size() > 0) { in onSlicedConditionMayChange()
312 if (mStarted.empty() && !pausedToStarted.empty()) { in onSlicedConditionMayChange()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java143 return Optional.empty(); in parseTrigger()
160 return Optional.empty(); in parseTrigger()
178 return Optional.empty(); in parseTrigger()
190 return Optional.empty(); in parseTrigger()
199 return Optional.empty(); in parseTrigger()
214 return Optional.empty(); in parseTrigger()
226 return Optional.empty(); in parseTrigger()
239 return Optional.empty(); in parseTrigger()
284 return Optional.empty(); in parseTrigger()
325 return Optional.empty(); in parseTrigger()
[all …]
DAsyncSourceFetcher.java587 return Optional.empty(); in getValidTriggerSpecs()
593 return Optional.empty(); in getValidTriggerSpecs()
598 return Optional.empty(); in getValidTriggerSpecs()
603 return Optional.empty(); in getValidTriggerSpecs()
617 return Optional.empty(); in getValidTriggerSpec()
624 return Optional.empty(); in getValidTriggerSpec()
631 return Optional.empty(); in getValidTriggerSpec()
642 return Optional.empty(); in getValidTriggerSpec()
665 return Optional.empty(); in getValidTriggerSpec()
672 return Optional.empty(); in getValidTriggerSpec()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp78 if (!v.empty()) { in toStringVector()
94 if (thresholds.name.empty()) { in containsValidThresholds()
145 if (ioOveruseConfig.systemWideThresholds.empty()) { in isValidIoOveruseConfiguration()
252 if (thresholds.empty()) { in updatePerPackageThresholds()
257 if (packageThreshold.name.empty()) { in updatePerPackageThresholds()
275 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updatePerPackageThresholds()
282 if (packages.empty()) { in updateSafeToKillPackages()
287 if (packageName.empty()) { in updateSafeToKillPackages()
294 return errorMsgs.empty() ? Result<void>{} : Error() << errorMsgs; in updateSafeToKillPackages()
358 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()
230 !it->second.doing_targeted_announcements_conn.empty(); in background_connect_targeted_announcement_add()
[all …]
/packages/modules/Bluetooth/system/gd/discovery/device/
Deir_data.cc44 return !names.empty(); in GetCompleteNames()
55 return !names.empty(); in GetShortenedNames()
68 return !uuids.empty(); in GetUuids16()
81 return !uuids.empty(); in GetUuidsIncomplete16()
94 return !uuids.empty(); in GetUuids32()
107 return !uuids.empty(); in GetUuidsIncomplete32()
121 return !uuids.empty(); in GetUuids128()
135 return !uuids.empty(); in GetUuidsIncomplete128()
144 return !device_ids.empty(); in GetDeviceId()
153 return !data.empty(); in GetManufacturerSpecificData()
[all …]
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto119 // Typically shown up as popup window by longpressing on empty space on workspace.
169 // Folder's label is one of the non-empty suggested values.
172 // Folder's label is non-empty, manually entered by the user
180 // Folder's label is empty(i.e., title == "").
336 // EditText was empty.
337 // Eg: When a folder label is updated from empty string.
340 // EditText was non-empty and manually entered by the user.
344 // EditText was non-empty and one of the suggestions.
362 // New value matches with second top suggestion even though the top suggestion was non-empty.
365 // New value matches with second top suggestion given that top suggestion was empty.
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DConfigurationParams.java480 Optional.empty();
482 Optional.empty();
483 private Optional<Integer> mStsConfig = Optional.empty();
485 Optional.empty();
486 private Optional<Byte> mRangingTimeStruct = Optional.empty();
487 private Optional<Integer> mScheduleMode = Optional.empty();
488 private Optional<Boolean> mHoppingMode = Optional.empty();
489 private Optional<Boolean> mBlockStriding = Optional.empty();
490 private Optional<Boolean> mUwbInitiationTime = Optional.empty();
491 private Optional<Integer> mChannel = Optional.empty();
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DMemBlockTest.cpp37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock()
44 for (; !slice.empty(); slice = drop(slice, 1)) { in checkAllZeros()
53 for (; !slice.empty(); slice = drop(slice, 1)) { in checkArbitraryMemBlock()
72 MemBlock empty; in TEST() local
73 EXPECT_TRUE(empty.get().empty()); in TEST()
74 EXPECT_EQ(nullptr, empty.get().base()); in TEST()
79 EXPECT_TRUE(zero.get().empty()); in TEST()
106 EXPECT_TRUE(block.get().empty()); in TEST()
/packages/modules/Bluetooth/system/gd/storage/
Dmutation_entry.cc37 log::assert_that(!section.empty(), "section cannot be empty for EntryType::SET"); in MutationEntry()
38 log::assert_that(!property.empty(), "property cannot be empty for EntryType::SET"); in MutationEntry()
39 log::assert_that(!value.empty(), "value cannot be empty for EntryType::SET"); in MutationEntry()
42 log::assert_that(!section.empty(), "section cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry()
44 !property.empty(), "property cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry()
47 log::assert_that(!section.empty(), "section cannot be empty for EntryType::REMOVE_SECTION"); in MutationEntry()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalCameraFuzzer.cpp80 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
89 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
131 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
145 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
154 if (!vBufferDesc_1_0.empty()) { in LLVMFuzzerTestOneInput()
163 if (!vBufferDesc_1_1.empty()) { in LLVMFuzzerTestOneInput()
172 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
181 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
190 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
199 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types.cc200 if (!config.vendor_params.empty()) { in operator <<()
291 string += std::string((string.empty() ? "" : "|")) + "11.025"; in CapabilityValueToStr()
294 string += std::string((string.empty() ? "" : "|")) + "16"; in CapabilityValueToStr()
297 string += std::string((string.empty() ? "" : "|")) + "22.050"; in CapabilityValueToStr()
300 string += std::string((string.empty() ? "" : "|")) + "24"; in CapabilityValueToStr()
303 string += std::string((string.empty() ? "" : "|")) + "32"; in CapabilityValueToStr()
306 string += std::string((string.empty() ? "" : "|")) + "44.1"; in CapabilityValueToStr()
309 string += std::string((string.empty() ? "" : "|")) + "48"; in CapabilityValueToStr()
312 string += std::string((string.empty() ? "" : "|")) + "88.2"; in CapabilityValueToStr()
315 string += std::string((string.empty() ? "" : "|")) + "96"; in CapabilityValueToStr()
[all …]
/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/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DAssistStateManager.java53 return Optional.empty(); in getLPNHDurationMillis()
60 return Optional.empty(); in getLPNHCustomSlopMultiplier()
65 return Optional.empty(); in getLPHDurationMillis()
70 return Optional.empty(); in getLPHCustomSlopMultiplier()
85 return Optional.empty(); in getShouldPlayHapticOverride()
/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/adb/client/
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/client/pairing/tests/
Dpairing_server.cpp136 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty() && port_ > 0); in PairingServerImpl()
288 if (conn_write_queue_.empty()) { in connectionEventsWorker()
291 return (is_terminate_ || !conn_write_queue_.empty()); in connectionEventsWorker()
342 if (name.has_value() && guid.has_value() && cert.has_value() && !name->empty() && in connectionEventsWorker()
343 !guid->empty() && !cert->empty()) { in connectionEventsWorker()
399 if (pswd.empty() || cert.empty() || priv_key.empty() || port <= 0) { in create()
/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/services/Car/cpp/evs/manager/aidl/tests/fuzz/
DHalCameraFuzzer.cpp98 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
107 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
149 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
163 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
172 if (!buffers.empty()) { in LLVMFuzzerTestOneInput()
182 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
191 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
200 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
209 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
/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/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()

12345678910>>...40