Home
last modified time | relevance | path

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

12345678910>>...17

/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/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp79 if (!v.empty()) { in toStringVector()
101 if (thresholds.name.empty()) { in containsValidThresholds()
155 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/apps/Launcher3/protos/
Dlauncher_atom.proto96 // Typically shown up as popup window by longpressing on empty space on workspace.
114 // Folder's label is one of the non-empty suggested values.
117 // Folder's label is non-empty, manually entered by the user
125 // Folder's label is empty(i.e., title == "").
242 // EditText was empty.
243 // Eg: When a folder label is updated from empty string.
246 // EditText was non-empty and manually entered by the user.
250 // EditText was non-empty and one of the suggestions.
268 // New value matches with second top suggestion even though the top suggestion was non-empty.
271 // New value matches with second top suggestion given that top suggestion was empty.
[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/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DHalCameraFuzzer.cpp78 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
87 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
129 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
143 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
152 if (!vBufferDesc_1_0.empty()) { in LLVMFuzzerTestOneInput()
161 if (!vBufferDesc_1_1.empty()) { in LLVMFuzzerTestOneInput()
170 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
179 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
188 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
197 if (!virtualCameras.empty()) { in LLVMFuzzerTestOneInput()
/packages/modules/StatsD/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp155 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
164 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
172 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
180 EXPECT_TRUE(data.bucket_info(2).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
188 EXPECT_TRUE(data.bucket_info(3).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
196 EXPECT_TRUE(data.bucket_info(4).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
204 EXPECT_TRUE(data.bucket_info(5).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
273 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST()
282 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
290 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java323 Preference empty = new Preference(context); in onPackagesLoaded() local
324 empty.setSelectable(false); in onPackagesLoaded()
325 empty.setKey(category.getKey() + KEY_EMPTY); in onPackagesLoaded()
327 empty.setTitle(getString(R.string.no_apps_allowed)); in onPackagesLoaded()
333 empty.setTitle(getString(R.string.no_apps_denied)); in onPackagesLoaded()
335 category.addPreference(empty); in onPackagesLoaded()
397 Preference empty = new Preference(context); in onPackagesLoaded() local
398 empty.setSelectable(false); in onPackagesLoaded()
399 empty.setKey(STORAGE_ALLOWED_FULL + KEY_EMPTY); in onPackagesLoaded()
400 empty.setTitle(getString(R.string.no_apps_allowed_full)); in onPackagesLoaded()
[all …]
/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/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/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/
Dtransport_mdns.cpp157 if (config.network_info.empty()) { in GetConfigForAllInterfaces()
211 if (wanted_instance_name.empty() || s.get().instance_name == wanted_instance_name) { in ForEachService()
262 if (!g_state || g_state->receivers.empty()) { in adb_secure_connect_by_service_name()
295 if (!g_state || g_state->receivers.empty()) { in mdns_list_discovered_services()
313 CHECK(!name.empty()); in mdns_get_connect_service_info()
319 if (!g_state || g_state->receivers.empty()) { in mdns_get_connect_service_info()
336 if (!mdns_instance->service_name.empty()) { in mdns_get_connect_service_info()
366 CHECK(!name.empty()); in mdns_get_pairing_service_info()
372 if (!g_state || g_state->receivers.empty()) { in mdns_get_pairing_service_info()
389 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()
Dbugreport.cpp77 if (!invalid_lines_.empty()) { in Done()
91 if (src_file_.empty()) { in Done()
97 if (dest_dir_.empty()) { in Done()
127 if (!dest_dir_.empty()) { in SetSrcFile()
135 if (line.empty()) return; in ProcessLine()
212 if (status != 0 || bugz_version.empty()) { in DoIt()
259 if (dest_file.empty()) { in DoIt()
Dmdns_utils_test.cpp30 EXPECT_TRUE(res->service_name.empty()); in TEST()
31 EXPECT_TRUE(res->transport_type.empty()); in TEST()
38 EXPECT_TRUE(res->service_name.empty()); in TEST()
39 EXPECT_TRUE(res->transport_type.empty()); in TEST()
46 EXPECT_TRUE(res->service_name.empty()); in TEST()
47 EXPECT_TRUE(res->transport_type.empty()); in TEST()
/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/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md263 values -> non-empty-values | ε
264 non-empty-values -> value addition-values
265 addition-values -> ε | , non-empty-values
266 members -> non-empty-members | ε
267 non-empty-members -> member addition-members
268 addition-members -> ε | , non-empty-members
293 | non-empty-members | STRING |
294 | non-empty-values | STRING NUMBER NULL BOOLEAN { [ |
304 | non-empty-values | ] |
307 | non-empty-members | } |
[all …]
/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()
/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/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoPermissionAppsFragment.java284 Preference empty = new Preference(context); in onPermissionsLoaded() local
285 empty.setTitle(R.string.no_apps_allowed); in onPermissionsLoaded()
286 empty.setSelectable(false); in onPermissionsLoaded()
287 allowed.addPreference(empty); in onPermissionsLoaded()
294 Preference empty = new Preference(context); in onPermissionsLoaded() local
295 empty.setTitle(R.string.no_apps_denied); in onPermissionsLoaded()
296 empty.setSelectable(false); in onPermissionsLoaded()
297 denied.addPreference(empty); in onPermissionsLoaded()
DAutoAppPermissionsFragment.java250 Preference empty = new Preference(context); in updatePreferences() local
251 empty.setTitle(getString(R.string.no_permissions_allowed)); in updatePreferences()
252 empty.setSelectable(false); in updatePreferences()
253 allowed.addPreference(empty); in updatePreferences()
256 Preference empty = new Preference(context); in updatePreferences() local
257 empty.setTitle(getString(R.string.no_permissions_denied)); in updatePreferences()
258 empty.setSelectable(false); in updatePreferences()
259 denied.addPreference(empty); in updatePreferences()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCollectionUtilsTests.java81 final ArrayList<String> empty = new ArrayList<>(); in testArrayAsList() local
82 assertEquals(empty, CollectionUtils.arrayAsList(new String[] {}, 0, 0)); in testArrayAsList()
84 assertEquals(empty, CollectionUtils.arrayAsList(array, 0, 0)); in testArrayAsList()
85 assertEquals(empty, CollectionUtils.arrayAsList(array, 1, 1)); in testArrayAsList()
86 assertEquals(empty, CollectionUtils.arrayAsList(array, array.length, array.length)); in testArrayAsList()
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp156 CHECK(!pswd_.empty() && !cert_.empty() && !priv_key_.empty()); in PairingConnectionCtx()
193 if (exportedKeyMaterial.empty()) { in SetupTlsConnection()
220 if (data.empty()) { in ReadHeader()
322 if (their_msg.empty() || in DoExchangeMsgs()
338 CHECK(!outbuf.empty()); in DoExchangePeerInfo()
377 if (buf.empty()) { in DoExchangePeerInfo()
383 if (outbuf.empty()) { in DoExchangePeerInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DHighPower.java130 final Preference empty = new Preference(getPreferenceManager().getContext()); in getEmptyPreference() local
131 empty.setKey("empty"); in getEmptyPreference()
132 empty.setTitle(R.string.high_power_apps_empty); in getEmptyPreference()
133 empty.setEnabled(false); in getEmptyPreference()
134 return empty; in getEmptyPreference()

12345678910>>...17