Home
last modified time | relevance | path

Searched refs:getDepth (Results 1 – 25 of 66) sorted by relevance

123

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DRoleParser.java157 int innerDepth = parser.getDepth() + 1; in parseXml()
159 && ((depth = parser.getDepth()) >= innerDepth in parseXml()
192 int innerDepth = parser.getDepth() + 1; in parseRoles()
194 && ((depth = parser.getDepth()) >= innerDepth in parseRoles()
242 int innerDepth = parser.getDepth() + 1; in parsePermissionSet()
244 && ((depth = parser.getDepth()) >= innerDepth in parsePermissionSet()
404 int innerDepth = parser.getDepth() + 1; in parseRole()
406 && ((depth = parser.getDepth()) >= innerDepth in parseRole()
489 int innerDepth = parser.getDepth() + 1; in parseRequiredComponents()
491 && ((depth = parser.getDepth()) >= innerDepth in parseRequiredComponents()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDevicePaddings.java57 final int depth = parser.getDepth(); in DevicePaddings()
60 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in DevicePaddings()
62 final int displayDepth = parser.getDepth(); in DevicePaddings()
64 parser.getDepth() > displayDepth) in DevicePaddings()
78 final int limitDepth = parser.getDepth(); in DevicePaddings()
80 parser.getDepth() > limitDepth) in DevicePaddings()
DLauncherState.java251 public final float getDepth(Context context) { in getDepth() method in LauncherState
252 return getDepth(context, in getDepth()
261 public final float getDepth(Context context, boolean isMultiWindowMode) { in getDepth() method in LauncherState
DAutoInstallsLayout.java223 final int depth = parser.getDepth(); in parseLayout()
229 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in parseLayout()
510 int widgetDepth = parser.getDepth(); in parseAndAdd()
513 parser.getDepth() > widgetDepth) { in parseAndAdd()
608 int folderDepth = parser.getDepth(); in parseAndAdd()
611 parser.getDepth() > folderDepth) { in parseAndAdd()
/packages/modules/Permission/service/java/com/android/role/persistence/
DRolesPersistenceImpl.java87 int innerDepth = parser.getDepth() + 1; in parseXml()
89 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parseXml()
110 int innerDepth = parser.getDepth() + 1; in parseRoles()
112 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parseRoles()
133 int innerDepth = parser.getDepth() + 1; in parseRoleHolders()
135 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parseRoleHolders()
/packages/modules/Permission/service/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceImpl.java89 int innerDepth = parser.getDepth() + 1; in parseXml()
91 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parseXml()
118 int innerDepth = parser.getDepth() + 1; in parseRuntimePermissions()
120 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parseRuntimePermissions()
153 int innerDepth = parser.getDepth() + 1; in parsePermissions()
155 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { in parsePermissions()
/packages/modules/StatsD/statsd/src/
DFieldValue.h115 inline int32_t getDepth() const { in getDepth() function
157 return getDepth() >= depth && getRawPosAtDepth(depth) == 0; in isAnyPosMatcher()
161 return getDepth() >= depth && getRawPosAtDepth(depth) == kLastBitMask; in isLastPosMatcher()
241 return mMatcher.getDepth() == 2 && getRawMaskAtDepth(1) == 0x7f; in hasAllPositionMatcher()
245 if (mMatcher.getDepth() == 2 && mMatcher.getRawPosAtDepth(1) == 0) { in hasAnyPositionMatcher()
Dstats_log_util.cpp111 const int valueDepth = dim.mField.getDepth(); in writeDimensionToProtoHelper()
180 const int valueDepth = dim.mField.getDepth(); in writeDimensionLeafToProtoHelper()
238 const int valueDepth = field.getDepth(); in writeDimensionPathToProtoHelper()
344 const int valueDepth = dim.mField.getDepth(); in writeFieldValueTreeToStreamHelper()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelperLegacy.java160 int outerDepth = parser.getDepth(); in loadVolumeGroups()
163 && (type != XmlResourceParser.END_TAG || parser.getDepth() > outerDepth)) { in loadVolumeGroups()
207 int innerDepth = parser.getDepth(); in parseAudioContexts()
209 && (type != XmlResourceParser.END_TAG || parser.getDepth() > innerDepth)) { in parseAudioContexts()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DDialerVvmConfigManager.java174 final int outerDepth = in.getDepth(); in readBundleList()
177 && (event != XmlPullParser.END_TAG || in.getDepth() < outerDepth)) { in readBundleList()
190 final int outerDepth = in.getDepth(); in restoreFromXml()
195 && (event != XmlPullParser.END_TAG || in.getDepth() < outerDepth)) { in restoreFromXml()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java299 final int depth = parser.getDepth(); in getSystemCategories()
303 || parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in getSystemCategories()
311 final int categoryDepth = parser.getDepth(); in getSystemCategories()
314 || parser.getDepth() > categoryDepth) in getSystemCategories()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java472 int outerDepth = parser.getDepth(); in generateFeatureList()
477 Log.d(LOG_TAG, "generateFeatureList parser.getDepth()" + parser.getDepth()); in generateFeatureList()
481 && outerDepth == parser.getDepth()) { in generateFeatureList()
529 int outerDepth = parser.getDepth(); in readCommandEntry()
536 && outerDepth == parser.getDepth()) { in readCommandEntry()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java206 float toDepth = toState.getDepth(mLauncher); in setState()
222 float toDepth = toState.getDepth(mLauncher); in setStateWithAnimation()
286 mLauncher.getStateManager().getState().getDepth(mLauncher, isInMultiWindowMode)) in onMultiWindowModeChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSearchIndexablesProvider.java75 final int depth = parser.getDepth(); in queryNonIndexableKeys()
79 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in queryNonIndexableKeys()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeItemParser.java67 int outerDepth = parser.getDepth(); in loadAudioUsageItems()
70 && (type != XmlResourceParser.END_TAG || parser.getDepth() > outerDepth)) { in loadAudioUsageItems()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java155 final int depth = parser.getDepth(); in loadPhotoPriorityFromXml()
156 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in loadPhotoPriorityFromXml()
/packages/apps/Contacts/src/com/android/contacts/util/
DLocalizedNameResolver.java99 final int depth = parser.getDepth(); in loadAllContactsNameFromXml()
100 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in loadAllContactsNameFromXml()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceXmlParser.java98 final int outerDepth = parser.getDepth(); in extractMetadata()
130 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)); in extractMetadata()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DExternalAccountType.java358 final int startDepth = parser.getDepth(); in inflate()
360 || parser.getDepth() > startDepth) in inflate()
363 if (type != XmlPullParser.START_TAG || parser.getDepth() != startDepth + 1) { in inflate()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DExternalAccountType.java398 final int startDepth = parser.getDepth(); in inflate()
399 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > startDepth) in inflate()
402 if (type != XmlPullParser.START_TAG || parser.getDepth() != startDepth + 1) { in inflate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/interactacrossprofiles/
DCrossProfileAppsSnapshot.java126 int outerDepth = parser.getDepth(); in readCrossProfileApps()
128 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in readCrossProfileApps()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshot.java132 int outerDepth = parser.getDepth(); in readSystemApps()
134 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in readSystemApps()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPersistedItemArray.java131 final int depth = parser.getDepth(); in read()
135 || parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { in read()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DXmlControllerAttributeTest.java149 final int outerDepth = parser.getDepth(); in getXmlControllers()
153 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { in getXmlControllers()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java634 in, in.getDepth(), in deserializeWifiConfiguration()
708 IpConfigurationXmlUtil.parseFromXml(in, in.getDepth()); in serializeDeserializeIpConfiguration()
730 return NetworkSelectionStatusXmlUtil.parseFromXml(in, in.getDepth()); in deserializeNetworkSelectionStatus()
763 in, in.getDepth(), mWifiConfigStoreEncryptionUtil != null, in deserializeWifiEnterpriseConfig()

123