Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/base/core/java/android/net/
DProxyInfo.java98 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
145 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
160 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
229 if (!Uri.EMPTY.equals(mPacFileUrl)) return true; in isValid()
253 if (!Uri.EMPTY.equals(mPacFileUrl)) { in toString()
277 if (!Uri.EMPTY.equals(mPacFileUrl)) { in equals()
280 if (!Uri.EMPTY.equals(p.mPacFileUrl)) { in equals()
318 if (!Uri.EMPTY.equals(mPacFileUrl)) { in writeToParcel()
DUri.java131 public static final Uri EMPTY = new HierarchicalUri(null, Part.NULL, field in Uri
132 PathPart.EMPTY, Part.NULL, Part.NULL);
458 "file", Part.EMPTY, path, Part.NULL, Part.NULL); in fromFile()
986 static final PathSegments EMPTY = new PathSegments(null, 0); field in Uri.PathSegments
1031 return PathSegments.EMPTY; in build()
1540 path = PathPart.EMPTY; in build()
2013 static final Part EMPTY = new EmptyPart(""); field in Uri.Part
2083 return EMPTY; in from()
2090 return EMPTY; in from()
2118 static final PathPart EMPTY = new PathPart("", ""); field in Uri.PathPart
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java54 assertEquals(Configuration.EMPTY, root.getOverrideConfiguration()); in testConfigurationInit()
55 assertEquals(Configuration.EMPTY, root.getMergedOverrideConfiguration()); in testConfigurationInit()
56 assertEquals(Configuration.EMPTY, root.getConfiguration()); in testConfigurationInit()
60 assertEquals(Configuration.EMPTY, child1.getOverrideConfiguration()); in testConfigurationInit()
61 assertEquals(Configuration.EMPTY, child1.getMergedOverrideConfiguration()); in testConfigurationInit()
62 assertEquals(Configuration.EMPTY, child1.getConfiguration()); in testConfigurationInit()
69 assertEquals(Configuration.EMPTY, child2.getOverrideConfiguration()); in testConfigurationInit()
82 assertEquals(Configuration.EMPTY, child3.getOverrideConfiguration()); in testConfigurationInit()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java125 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false /* isDeviceOwner */, in testSortToGlobalAndLocal()
200 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false, in testSortToLocalAndGlobalWithCameraDisabled()
206 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false, in testSortToLocalAndGlobalWithCameraDisabled()
275 Bundle.EMPTY)); in testAreEqual()
278 Bundle.EMPTY, in testAreEqual()
282 Bundle.EMPTY, in testAreEqual()
283 Bundle.EMPTY)); in testAreEqual()
287 Bundle.EMPTY)); in testAreEqual()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java36 ? configuration : Configuration.EMPTY); in DisplayAdjustments()
42 ? daj.mConfiguration : Configuration.EMPTY); in DisplayAdjustments()
67 mConfiguration.setTo(configuration != null ? configuration : Configuration.EMPTY); in setConfiguration()
/frameworks/base/core/java/android/os/
DPersistableBundle.java41 public static final PersistableBundle EMPTY; field in PersistableBundle
44 EMPTY = new PersistableBundle();
45 EMPTY.mMap = ArrayMap.EMPTY;
297 return EMPTY; in restoreFromXml()
DFileUtils.java82 private static final File[] EMPTY = new File[0]; field in FileUtils
736 if (dir == null) return EMPTY; in listFilesOrEmpty()
741 return EMPTY; in listFilesOrEmpty()
746 if (dir == null) return EMPTY; in listFilesOrEmpty()
751 return EMPTY; in listFilesOrEmpty()
/frameworks/support/tv-provider/src/android/support/media/tv/
DTvContractUtils.java35 static final TvContentRating[] EMPTY = new TvContentRating[0]; field in TvContractUtils
50 return EMPTY; in stringToContentRatings()
61 return contentRatings.size() == 0 ? EMPTY in stringToContentRatings()
/frameworks/support/tv-provider/tests/src/android/support/media/tv/
DTvContractUtilsTest.java36 assertArrayEquals(TvContractUtils.EMPTY, TvContractUtils.stringToContentRatings(null)); in testStringToContentRatings_nullInput()
41 assertArrayEquals(TvContractUtils.EMPTY, TvContractUtils.stringToContentRatings("")); in testStringToContentRatings_emptyInput()
86 assertArrayEquals(TvContractUtils.EMPTY, TvContractUtils.stringToContentRatings( in testStringToContentRatings_allRatingsInvalid()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java199 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
204 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
209 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
259 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
269 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java104 Bundle.EMPTY, true); in testPurgeActiveSync()
271 ContentResolver.addPeriodicSync(account1, "", Bundle.EMPTY, 84000L); in testExpectedIllegalArguments()
276 ContentResolver.removePeriodicSync(account1, "", Bundle.EMPTY); in testExpectedIllegalArguments()
296 ContentResolver.requestSync(account1, "", Bundle.EMPTY); in testExpectedIllegalArguments()
307 ContentResolver.requestSync(null, null, Bundle.EMPTY); in testExpectedIllegalArguments()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java414 if (null == uri || Uri.EMPTY == uri) { in getConstraints()
429 if (null == uri || Uri.EMPTY == uri) { in getMetadata()
500 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals(""))) { in canHandle()
589 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals(""))) { in getDrmObjectType()
645 if (null == uri || Uri.EMPTY == uri) { in getOriginalMimeType()
670 if (null == uri || Uri.EMPTY == uri) { in checkRightsStatus()
702 if (null == uri || Uri.EMPTY == uri) { in checkRightsStatus()
730 if (null == uri || Uri.EMPTY == uri) { in removeRights()
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java28 private static final String[] EMPTY = ArrayUtils.emptyArray(String.class); field in SuggestionsInfo
73 mSuggestions = EMPTY; in SuggestionsInfo()
/frameworks/base/core/java/android/util/
DBase64InputStream.java30 private static byte[] EMPTY = new byte[0]; field in Base64InputStream
143 success = coder.process(EMPTY, 0, 0, true); in refill()
DBase64OutputStream.java34 private static byte[] EMPTY = new byte[0]; field in Base64OutputStream
108 internalWrite(EMPTY, 0, 0, true); in close()
/frameworks/native/libs/ui/
DFenceTime.cpp83 if (src.state == Snapshot::State::EMPTY) { in applyTrustedSnapshot()
213 case State::EMPTY: in getFlattenedSize()
235 case State::EMPTY: in flatten()
255 case State::EMPTY: in unflatten()
/frameworks/ml/nn/runtime/
DExecutionPlan.h195 enum class Kind { ERROR, EMPTY, SIMPLE, COMPOUND }; enumerator
241 enum { EMPTY, SIMPLE, COMPOUND } mState = EMPTY; enumerator
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java317 .setSound(Uri.EMPTY) in testGroupAlertBehavior_mutesGroupNotifications()
326 .setSound(Uri.EMPTY) in testGroupAlertBehavior_mutesGroupNotifications()
364 .setSound(Uri.EMPTY) in testGroupAlertBehavior_doesNotMuteIncorrectGroupNotifications()
373 .setSound(Uri.EMPTY) in testGroupAlertBehavior_doesNotMuteIncorrectGroupNotifications()
381 .setSound(Uri.EMPTY) in testGroupAlertBehavior_doesNotMuteIncorrectGroupNotifications()
413 .setSound(Uri.EMPTY) in testGroupAlertBehavior_doesNotMuteNonGroupNotifications()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java78 private volatile Uri mPacUrl = Uri.EMPTY;
113 if (Uri.EMPTY.equals(pacUrl)) return;
179 if (!Uri.EMPTY.equals(proxy.getPacFileUrl())) { in setCurrentProxyScriptUrl()
194 mPacUrl = Uri.EMPTY; in setCurrentProxyScriptUrl()
/frameworks/native/libs/ui/include/ui/
DFenceTime.h47 EMPTY, enumerator
71 State state{State::EMPTY};
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java277 overrideConfig = Configuration.EMPTY; in setBounds()
279 if (bounds == null && !Configuration.EMPTY.equals(overrideConfig)) { in setBounds()
283 if (bounds != null && Configuration.EMPTY.equals(overrideConfig)) { in setBounds()
320 onOverrideConfigurationChanged(mFillsParent ? Configuration.EMPTY : overrideConfig); in setBounds()
407 if (!isResizeable() || Configuration.EMPTY.equals(getOverrideConfiguration())) { in alignToAdjustedBounds()
555 setBounds(null, Configuration.EMPTY); in updateDisplayInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowTestUtils.java32 import static android.content.res.Configuration.EMPTY;
73 final Task newTask = new Task(sNextTaskId++, stack, userId, service, null, EMPTY, 0, false, in createTaskInStack()
233 EMPTY /* overrideConfig*/, RESIZE_MODE_UNRESIZEABLE, in TestTaskWindowContainerController()
/frameworks/base/core/java/android/database/
DAbstractCursor.java80 private Bundle mExtras = Bundle.EMPTY;
429 mExtras = (extras == null) ? Bundle.EMPTY : extras; in setExtras()
439 return Bundle.EMPTY; in respond()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java63 ? overrideConfig : Configuration.EMPTY); in ResourcesKey()
78 return !Configuration.EMPTY.equals(mOverrideConfiguration); in hasOverrideConfiguration()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java55 public static final MediaRouteSelector EMPTY = new MediaRouteSelector(new Bundle(), null); field in MediaRouteSelector
301 return EMPTY; in build()

12345