Home
last modified time | relevance | path

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

1234567

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML.java54 private final boolean empty; field in HTML.Element
68 public Element(String name, int type, boolean empty, in Element() argument
74 this.empty = empty; in Element()
83 public Element(String name, int type, boolean empty, in Element() argument
85 this(name, type, empty, optionalEndTag, breaksFlow, Flow.NONE); in Element()
100 return empty; in isEmpty()
/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/apps/PermissionController/src/com/android/packageinstaller/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.java226 Preference empty = new Preference(context); in updatePreferences() local
227 empty.setTitle(getString(R.string.no_permissions_allowed)); in updatePreferences()
228 empty.setSelectable(false); in updatePreferences()
229 allowed.addPreference(empty); in updatePreferences()
232 Preference empty = new Preference(context); in updatePreferences() local
233 empty.setTitle(getString(R.string.no_permissions_denied)); in updatePreferences()
234 empty.setSelectable(false); in updatePreferences()
235 denied.addPreference(empty); in updatePreferences()
/packages/apps/Settings/src/com/android/settings/notification/
DChannelGroupNotificationSettings.java90 Preference empty = new Preference(getPrefContext()); in populateChannelList() local
91 empty.setTitle(R.string.no_channels); in populateChannelList()
92 empty.setEnabled(false); in populateChannelList()
93 getPreferenceScreen().addPreference(empty); in populateChannelList()
94 mDynamicPreferences.add(empty); in populateChannelList()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DChannelGroupNotificationSettings.java90 Preference empty = new Preference(getPrefContext()); in populateChannelList() local
91 empty.setTitle(R.string.no_channels); in populateChannelList()
92 empty.setEnabled(false); in populateChannelList()
93 getPreferenceScreen().addPreference(empty); in populateChannelList()
94 mDynamicPreferences.add(empty); in populateChannelList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DHighPower.java135 final Preference empty = new Preference(getPreferenceManager().getContext()); in getEmptyPreference() local
136 empty.setKey("empty"); in getEmptyPreference()
137 empty.setTitle(R.string.high_power_apps_empty); in getEmptyPreference()
138 empty.setEnabled(false); in getEmptyPreference()
139 return empty; in getEmptyPreference()
DManageAppOp.java198 final Preference empty = new Preference(getPreferenceManager().getContext());
199 empty.setKey("empty");
200 empty.setTitle(R.string.noApplications);
201 empty.setEnabled(false);
202 return empty;
DPictureInPicture.java140 final Preference empty = new Preference(getPreferenceManager().getContext()); in getEmptyPreference() local
141 empty.setKey("empty"); in getEmptyPreference()
142 empty.setTitle(R.string.picture_in_picture_empty_text); in getEmptyPreference()
143 empty.setEnabled(false); in getEmptyPreference()
144 return empty; in getEmptyPreference()
/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp78 EXPECT_TRUE(intArrayView.limit(0).empty()); in TEST()
93 EXPECT_TRUE(intArrayView.skip(intVector.size()).empty()); in TEST()
94 EXPECT_TRUE(intArrayView.skip(intVector.size() + 1).empty()); in TEST()
155 EXPECT_TRUE(IntArrayView().split(0, 0).empty()); in TEST()
159 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
164 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java185 MutableLiveData<Boolean> empty = new MutableLiveData<>(); in testAnd_uninitialized() local
188 pair(trueLiveData(), empty), in testAnd_uninitialized()
189 pair(falseLiveData(), empty), in testAnd_uninitialized()
190 pair(nullLiveData(), empty), in testAnd_uninitialized()
191 pair(empty, trueLiveData()), in testAnd_uninitialized()
192 pair(empty, falseLiveData()), in testAnd_uninitialized()
193 pair(empty, nullLiveData())); in testAnd_uninitialized()
227 LiveData<Boolean> empty = new MutableLiveData<>(); in testOr_uninitialized() local
230 pair(trueLiveData(), empty), in testOr_uninitialized()
231 pair(falseLiveData(), empty), in testOr_uninitialized()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionsFragment.java290 Preference empty = new Preference(context); in updatePreferences() local
291 empty.setTitle(getString(R.string.no_permissions_allowed)); in updatePreferences()
292 empty.setSelectable(false); in updatePreferences()
293 allowed.addPreference(empty); in updatePreferences()
296 Preference empty = new Preference(context); in updatePreferences() local
297 empty.setTitle(getString(R.string.no_permissions_denied)); in updatePreferences()
298 empty.setSelectable(false); in updatePreferences()
299 denied.addPreference(empty); in updatePreferences()
DPermissionAppsFragment.java390 Preference empty = new Preference(context); in onPermissionsLoaded() local
391 empty.setTitle(getString(R.string.no_apps_allowed)); in onPermissionsLoaded()
392 empty.setSelectable(false); in onPermissionsLoaded()
393 allowed.addPreference(empty); in onPermissionsLoaded()
401 Preference empty = new Preference(context); in onPermissionsLoaded() local
402 empty.setTitle(getString(R.string.no_apps_denied)); in onPermissionsLoaded()
403 empty.setSelectable(false); in onPermissionsLoaded()
404 denied.addPreference(empty); in onPermissionsLoaded()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/
Dheader_read_write_utils_test.cpp33 EXPECT_TRUE(vector.empty()); in TEST()
63 EXPECT_TRUE(HeaderReadWriteUtils::readCodePointVectorAttributeValue(&attributeMap, "").empty()); in TEST()
65 &attributeMap, "abc").empty()); in TEST()
69 &attributeMap, "abc").empty()); in TEST()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java145 final LinkProperties empty = new LinkProperties(); in makeEmptyLinkProperties() local
146 empty.setInterfaceName(iface); in makeEmptyLinkProperties()
147 return empty; in makeEmptyLinkProperties()
288 InitialConfiguration empty = conf(links(), prefixes()); in testIsProvisioned() local
292 notProvisionedCase(links(), routes(), dns(), empty), in testIsProvisioned()
295 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty), in testIsProvisioned()
300 routes(), dns(), empty), in testIsProvisioned()
303 routes("fe80::/64", "fd2c:4e57:8e3c::/64"), dns("fd00:1234:5678::1000"), empty), in testIsProvisioned()
307 dns("2001:db8:dead:beef:f00::02"), empty), in testIsProvisioned()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java283 View empty = root.findViewById(android.R.id.empty); in ensureGrid() local
284 if (empty != null && empty instanceof TextView) { in ensureGrid()
285 mEmptyView = (TextView) empty; in ensureGrid()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java791 return Optional.empty(); in parseOptional()
793 return Optional.empty(); in parseOptional()
795 return Optional.empty(); in parseOptional()
797 return Optional.empty(); in parseOptional()
805 return Optional.empty(); in parseOptionalOrZero()
807 return Optional.empty(); in parseOptionalOrZero()
842 return Optional.empty(); in parseOptionalDateTaken()
852 default: return Optional.empty(); in parseOptionalOrientation()
863 return Optional.empty(); in parseOptionalResolution()
868 if (TextUtils.isEmpty(date)) return Optional.empty(); in parseOptionalDate()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Dutf8_utils_test.cpp59 EXPECT_TRUE(Utf8Utils::getCodePoints("\xC0\xAF").empty()); in TEST()
60 EXPECT_TRUE(Utf8Utils::getCodePoints("\xE0\x80\xAF").empty()); in TEST()
61 EXPECT_TRUE(Utf8Utils::getCodePoints("\xF0\x80\x80\xAF").empty()); in TEST()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DNumberTransformer.java53 return Optional.empty(); in doAssistedDialingTransformation()
69 return Optional.empty(); in doAssistedDialingTransformation()
83 return Optional.empty(); in doAssistedDialingTransformation()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dprettywriter.h97 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; variable
99 if (!empty) {
121 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; variable
123 if (!empty) {
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2CommandTest.java67 Optional<Integer> receivedResponse = Optional.empty(); in checkLiveFrameIntCommand()
95 Optional<Float> receivedResponse = Optional.empty(); in checkLiveFrameFloatCommand()
123 Optional<Integer> receivedResponse = Optional.empty(); in checkFreezeFrameIntCommand()
151 Optional<Float> receivedResponse = Optional.empty(); in checkFreezeFrameFloatCommand()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java559 public void realTimeReorder(int empty, int target) { in realTimeReorder() argument
573 int pagePosE = empty % mMaxItemsPerPage; in realTimeReorder()
574 int pageE = empty / mMaxItemsPerPage; in realTimeReorder()
580 if (target == empty) { in realTimeReorder()
583 } else if (target > empty) { in realTimeReorder()
589 moveStart = empty; in realTimeReorder()
607 moveStart = empty; in realTimeReorder()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java169 TextView empty = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated() local
170 if (empty != null) { in onActivityCreated()
171 empty.setText(R.string.apn_settings_not_available); in onActivityCreated()
172 lv.setEmptyView(empty); in onActivityCreated()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DBaseCustomization.java77 return Optional.empty(); in getBooleanResource()
95 return resId == 0 ? Optional.empty() : Optional.of(res.getBoolean(resId)); in getBooleanResource()
97 return Optional.empty(); in getBooleanResource()

1234567