/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | pointer.h | 387 …ValueType& Create(ValueType& root, typename ValueType::AllocatorType& allocator, bool* alreadyExis… 389 ValueType* v = &root; 457 ValueType* Get(ValueType& root) const { in Get() argument 459 ValueType* v = &root; in Get() 487 const ValueType* Get(const ValueType& root) const { return Get(const_cast<ValueType&>(root)); } in Get() argument 504 …ValueType& GetWithDefault(ValueType& root, const ValueType& defaultValue, typename ValueType::Allo… in GetWithDefault() argument 506 Value& v = Create(root, allocator, &alreadyExist); in GetWithDefault() 511 …ValueType& GetWithDefault(ValueType& root, const Ch* defaultValue, typename ValueType::AllocatorTy… in GetWithDefault() argument 513 Value& v = Create(root, allocator, &alreadyExist); in GetWithDefault() 519 …ValueType& GetWithDefault(ValueType& root, const std::basic_string<Ch>& defaultValue, typename Val… in GetWithDefault() argument [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootItem.java | 44 public final RootInfo root; field in RootItem 49 public RootItem(RootInfo root, ActionHandler actionHandler) { in RootItem() argument 50 super(R.layout.item_root, getStringId(root)); in RootItem() 51 this.root = root; in RootItem() 55 private static String getStringId(RootInfo root) { in getStringId() argument 59 String authority = (root.authority == null ? "" : root.authority); in getStringId() 60 return String.format(STRING_ID_FORMAT, authority, root.rootId); in getStringId() 71 icon.setImageDrawable(root.loadDrawerIcon(context)); in bindView() 72 title.setText(root.title); in bindView() 74 if (root.supportsEject()) { in bindView() [all …]
|
D | RootsFragment.java | 172 if (!(item instanceof RootItem) || !((RootItem) item).root.supportsCreate()) { in onRightClick() 249 for (final RootInfo root : roots) { in sortLoadResult() 250 final RootItem item = new RootItem(root, mActionHandler); in sortLoadResult() 253 if (root.isHome() && !Shared.shouldShowDocumentsRoot(activity)) { in sortLoadResult() 255 } else if (root.isLibrary()) { in sortLoadResult() 335 final RootInfo root = ((BaseActivity) getActivity()).getCurrentRoot(); in onCurrentRootChanged() local 339 final RootInfo testRoot = ((RootItem) item).root; in onCurrentRootChanged() 340 if (Objects.equals(testRoot, root)) { in onCurrentRootChanged() 373 if (!(item instanceof RootItem) || !((RootItem) item).root.supportsCreate()) { in onDragEntered() 450 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected() [all …]
|
/packages/services/Car/car_product/init/ |
D | init.bootstat.rc | 7 mkdir /data/misc/bootstat 0700 root root 15 exec - root root -- /system/bin/bootstat -r post_decrypt_time_elapsed 22 exec - root root -- /system/bin/bootstat --record_boot_complete 25 exec - root root -- /system/bin/bootstat -r dev_bootcomplete 27 exec - root root -- /system/bin/bootstat -l 30 exec - root root -- /system/bin/bootstat -r car_service_created 33 exec - root root -- /system/bin/bootstat -r zygote_running
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 70 for (RootInfo root : roots) { in getMatchingRoots() 72 if (VERBOSE) Log.v(tag, "Evaluationg root: " + root); in getMatchingRoots() 74 if (state.action == State.ACTION_CREATE && !root.supportsCreate()) { in getMatchingRoots() 80 && !root.supportsCreate()) { in getMatchingRoots() 86 if (state.action == State.ACTION_OPEN_TREE && !root.supportsChildren()) { in getMatchingRoots() 92 if (!state.showAdvanced && root.isAdvanced()) { in getMatchingRoots() 97 if (state.localOnly && !root.isLocalOnly()) { in getMatchingRoots() 102 if (state.directoryCopy && root.isDownloads()) { in getMatchingRoots() 108 if (state.action == State.ACTION_OPEN && root.isEmpty()) { in getMatchingRoots() 113 if (state.action == State.ACTION_GET_CONTENT && root.isEmpty()) { in getMatchingRoots() [all …]
|
D | ProvidersCache.java | 284 final RootInfo root = RootInfo.fromRootsCursor(authority, cursor); in loadRootsForAuthority() local 285 roots.add(root); in loadRootsForAuthority() 319 RootInfo root = forceRefresh ? null : getRootLocked(authority, rootId); in getRootOneshot() local 320 if (root == null) { in getRootOneshot() 323 root = getRootLocked(authority, rootId); in getRootOneshot() 325 return root; in getRootOneshot() 338 for (RootInfo root : mRoots.get(authority)) { in getRootLocked() 339 if (Objects.equals(root.rootId, rootId)) { in getRootLocked() 340 return root; in getRootLocked() 351 public boolean isRecentsRoot(RootInfo root) { in isRecentsRoot() argument [all …]
|
/packages/experimental/TestBack/src/foo/bar/testback/ |
D | TestBackService.java | 93 AccessibilityNodeInfo root = source; in dumpWindow() local 95 AccessibilityNodeInfo parent = root.getParent(); in dumpWindow() 98 } else if (parent.equals(root)) { in dumpWindow() 99 Log.i(LOG_TAG, "Node is own parent:" + root); in dumpWindow() 101 root = parent; in dumpWindow() 103 dumpTree(root, new ArraySet<AccessibilityNodeInfo>()); in dumpWindow() 106 private void dumpTree(AccessibilityNodeInfo root, Set<AccessibilityNodeInfo> visited) { in dumpTree() argument 107 if (root == null) { in dumpTree() 111 if (!visited.add(root)) { in dumpTree() 112 Log.i(LOG_TAG, "Cycle detected to node:" + root); in dumpTree() [all …]
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSettings.java | 176 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local 177 if (root != null) { in createPreferenceHierarchy() 178 root.removeAll(); in createPreferenceHierarchy() 181 root = getPreferenceScreen(); in createPreferenceHierarchy() 183 setupManagedProfileCategory(root); in createPreferenceHierarchy() 184 mLocationMode = root.findPreference(KEY_LOCATION_MODE); in createPreferenceHierarchy() 203 preferenceController.displayPreference(root); in createPreferenceHierarchy() 206 (PreferenceCategory) root.findPreference(KEY_RECENT_LOCATION_REQUESTS); in createPreferenceHierarchy() 243 addLocationServices(activity, root, lockdownOnLocationAccess); in createPreferenceHierarchy() 246 return root; in createPreferenceHierarchy() [all …]
|
D | LocationMode.java | 63 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local 64 if (root != null) { in createPreferenceHierarchy() 65 root.removeAll(); in createPreferenceHierarchy() 68 root = getPreferenceScreen(); in createPreferenceHierarchy() 70 mHighAccuracy = (RadioButtonPreference) root.findPreference(KEY_HIGH_ACCURACY); in createPreferenceHierarchy() 71 mBatterySaving = (RadioButtonPreference) root.findPreference(KEY_BATTERY_SAVING); in createPreferenceHierarchy() 72 mSensorsOnly = (RadioButtonPreference) root.findPreference(KEY_SENSORS_ONLY); in createPreferenceHierarchy() 78 return root; in createPreferenceHierarchy()
|
/packages/apps/Settings/src/com/android/settings/ |
D | EncryptionAndCredential.java | 89 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local 90 if (root != null) { in createPreferenceHierarchy() 91 root.removeAll(); in createPreferenceHierarchy() 94 root = getPreferenceScreen(); in createPreferenceHierarchy() 115 RestrictedPreference userCredentials = (RestrictedPreference) root.findPreference( in createPreferenceHierarchy() 119 RestrictedPreference credentialStorageType = (RestrictedPreference) root.findPreference( in createPreferenceHierarchy() 123 RestrictedPreference installCredentials = (RestrictedPreference) root.findPreference( in createPreferenceHierarchy() 127 mResetCredentials = (RestrictedPreference) root.findPreference(KEY_RESET_CREDENTIALS); in createPreferenceHierarchy() 137 root.findPreference(KEY_CREDENTIALS_MANAGER); in createPreferenceHierarchy() 138 credentialsManager.removePreference(root.findPreference(KEY_RESET_CREDENTIALS)); in createPreferenceHierarchy() [all …]
|
D | SecuritySettings.java | 264 PreferenceScreen root = getPreferenceScreen(); in createPreferenceHierarchy() local 265 if (root != null) { in createPreferenceHierarchy() 266 root.removeAll(); in createPreferenceHierarchy() 269 root = getPreferenceScreen(); in createPreferenceHierarchy() 291 maybeAddFingerprintPreference(root, mProfileChallengeUserId); in createPreferenceHierarchy() 294 root.findPreference(KEY_UNLOCK_SET_OR_CHANGE_PROFILE); in createPreferenceHierarchy() 320 root.findPreference(KEY_SECURITY_CATEGORY); in createPreferenceHierarchy() 328 (SwitchPreference) root.findPreference(KEY_VISIBLE_PATTERN_PROFILE); in createPreferenceHierarchy() 329 mUnifyProfile = (SwitchPreference) root.findPreference(KEY_UNIFICATION); in createPreferenceHierarchy() 341 root.removePreference(root.findPreference(KEY_SIM_LOCK)); in createPreferenceHierarchy() [all …]
|
D | ShowAdminSupportDetailsDialog.java | 100 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews() argument 118 ((ImageView) root.findViewById(R.id.admin_support_icon)).setImageDrawable( in initializeDialogViews() 124 setAdminSupportTitle(root, restriction); in initializeDialogViews() 125 setAdminSupportDetails(this, root, new EnforcedAdmin(admin, userId), true); in initializeDialogViews() 128 private void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle() argument 129 final TextView titleView = (TextView) root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() 159 public static void setAdminSupportDetails(final Activity activity, View root, in setAdminSupportDetails() argument 182 TextView textView = (TextView) root.findViewById(R.id.admin_support_msg); in setAdminSupportDetails() 188 root.findViewById(R.id.admins_policies_list).setOnClickListener( in setAdminSupportDetails()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 174 final RootInfo root = new RootInfo(); 175 DurableUtils.readFromParcel(in, root); 176 return root; 186 final RootInfo root = new RootInfo(); in fromRootsCursor() local 187 root.authority = authority; in fromRootsCursor() 188 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor() 189 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor() 190 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor() 191 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor() 192 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor() [all …]
|
D | DocumentStack.java | 66 public DocumentStack(RootInfo root, DocumentInfo... docs) { in DocumentStack() argument 72 mRoot = root; in DocumentStack() 79 public DocumentStack(RootInfo root, List<DocumentInfo> docs) { in DocumentStack() argument 81 mRoot = root; in DocumentStack() 151 public void changeRoot(RootInfo root) { in changeRoot() argument 152 if (DEBUG) Log.d(TAG, "Root changed to: " + root); in changeRoot() 154 mRoot = root; in changeRoot() 206 for (RootInfo root : matchingRoots) { in updateRoot() 209 if (root.equals(this.mRoot)) { in updateRoot() 210 this.mRoot = root; in updateRoot()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgressFragment.java | 45 final View root = inflater.inflate(R.layout.uninstall_progress, container, false); in onCreateView() local 47 View snippetView = root.findViewById(R.id.app_snippet); in onCreateView() 50 mDeviceManagerButton = (Button) root.findViewById(R.id.device_manager_button); in onCreateView() 51 mUsersButton = (Button) root.findViewById(R.id.users_button); in onCreateView() 75 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView() 78 return root; in onCreateView() 102 final View root = getView(); in showCompletion() local 103 root.findViewById(R.id.progress_view).setVisibility(View.GONE); in showCompletion() 104 root.findViewById(R.id.status_view).setVisibility(View.VISIBLE); in showCompletion() 105 ((TextView) root.findViewById(R.id.status_text)).setText(statusText); in showCompletion() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLView.java | 86 GLRoot root = getGLRoot(); in startAnimation() local 87 if (root == null) throw new IllegalStateException(); in startAnimation() 91 root.registerLaunchedAnimation(mAnimation); in startAnimation() 115 public void attachToRoot(GLRoot root) { in attachToRoot() argument 117 onAttachToRoot(root); in attachToRoot() 206 GLRoot root = getGLRoot(); in invalidate() local 207 if (root != null) root.requestRender(); in invalidate() 219 GLRoot root = getGLRoot(); in requestLayout() local 220 if (root != null) root.requestLayoutContentPane(); in requestLayout() 431 protected void onAttachToRoot(GLRoot root) { in onAttachToRoot() argument [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 114 public boolean dropOn(DragEvent event, RootInfo root) { in dropOn() argument 115 if (!root.supportsCreate() || root.isLibrary()) { in dropOn() 125 root, in dropOn() 127 (DocumentInfo rootDoc) -> dropOnCallback(clipData, localState, rootDoc, root)); in dropOn() 132 ClipData clipData, Object localState, DocumentInfo rootDoc, RootInfo root) { in dropOnCallback() argument 138 root, rootDoc, clipData, mDialogs::showFileOperationStatus); in dropOnCallback() 151 public void openSettings(RootInfo root) { in openSettings() argument 154 intent.setDataAndType(root.getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in openSettings() 159 public void pasteIntoFolder(RootInfo root) { in pasteIntoFolder() argument 161 root, in pasteIntoFolder() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | ButtonManager.java | 121 public void load(View root) { in load() argument 122 getButtonsReferences(root); in load() 151 private void getButtonsReferences(View root) { in getButtonsReferences() argument 153 = (MultiToggleImageButton) root.findViewById(R.id.camera_toggle_button); in getButtonsReferences() 155 = (MultiToggleImageButton) root.findViewById(R.id.flash_toggle_button); in getButtonsReferences() 157 = (MultiToggleImageButton) root.findViewById(R.id.hdr_plus_toggle_button); in getButtonsReferences() 159 = (MultiToggleImageButton) root.findViewById(R.id.grid_lines_toggle_button); in getButtonsReferences() 161 = (ImageButton) root.findViewById(R.id.cancel_button); in getButtonsReferences() 163 = (ImageButton) root.findViewById(R.id.done_button); in getButtonsReferences() 165 = (ImageButton) root.findViewById(R.id.retake_button); in getButtonsReferences() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 106 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() argument 107 return createDocument(root.documentId, mimeType, name); in createDocument() 134 public Uri createFolder(RootInfo root, String name) { in createFolder() argument 135 return createDocument(root, Document.MIME_TYPE_DIR, name); in createFolder() 170 public void assertChildCount(RootInfo root, int expected) throws Exception { in assertChildCount() argument 171 assertChildCount(root.documentId, expected); in assertChildCount() 189 public void assertHasFile(RootInfo root, String name) throws Exception { in assertHasFile() argument 190 assertHasFile(root.documentId, name); in assertHasFile() 208 public void assertHasDirectory(RootInfo root, String name) throws Exception { in assertHasDirectory() argument 209 assertHasDirectory(root.documentId, name); in assertHasDirectory() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | FileUtil.java | 75 public static void removeFileOrDirectory(File root) { in removeFileOrDirectory() argument 76 removeFileOrDirectoryExcept(root, null); in removeFileOrDirectory() 80 public static void removeFileOrDirectoryExcept(File root, File exclude) { in removeFileOrDirectoryExcept() argument 81 if (root.exists()) { in removeFileOrDirectoryExcept() 82 if (root.isDirectory()) { in removeFileOrDirectoryExcept() 83 for (File file : root.listFiles()) { in removeFileOrDirectoryExcept() 88 root.delete(); in removeFileOrDirectoryExcept() 89 } else if (root.isFile()) { in removeFileOrDirectoryExcept() 90 root.delete(); in removeFileOrDirectoryExcept()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/ |
D | ProvidersCacheTest.java | 138 RootInfo root = new RootInfo(); in testExcludedAuthorities() local 139 root.authority = "authority" + i; in testExcludedAuthorities() 140 roots.add(root); in testExcludedAuthorities() 146 for (RootInfo root: roots) { in testExcludedAuthorities() 147 if (!allowedRoots.contains(root)) { in testExcludedAuthorities() 148 mState.excludedAuthorities.add(root.authority); in testExcludedAuthorities() 166 final RootInfo root = new RootInfo(); in buildForMimeTypes() local 167 root.derivedMimeTypes = mimeTypes; in buildForMimeTypes() 168 return root; in buildForMimeTypes()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | TvSettingsActivity.java | 43 final ViewGroup root = findViewById(android.R.id.content); in onCreate() local 44 root.getViewTreeObserver().addOnPreDrawListener( in onCreate() 48 root.getViewTreeObserver().removeOnPreDrawListener(this); in onCreate() 49 final Scene scene = new Scene(root); in onCreate() 68 / root.getWidth()); in onCreate() 82 final ViewGroup root = findViewById(android.R.id.content); in finish() local 83 final Scene scene = new Scene(root); in finish() 89 getResources().getDimension(R.dimen.lb_settings_pane_width) / root.getWidth()); in finish()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 285 public void onRootPicked(RootInfo root) { in onRootPicked() argument 290 if (root.equals(getCurrentRoot()) && mState.stack.size() == 1) { in onRootPicked() 295 mState.derivedMode = LocalPreferences.getViewMode(this, root, MODE_GRID); in onRootPicked() 302 root.isRecents() || root.isDownloads() ? View.VISIBLE : View.INVISIBLE); in onRootPicked() 305 mState.stack.changeRoot(root); in onRootPicked() 310 if (mProviders.isRecentsRoot(root)) { in onRootPicked() 314 root, in onRootPicked() 376 final RootInfo root = getCurrentRoot(); in canCreateDirectory() local 381 && !root.isRecents(); in canCreateDirectory() 540 RootInfo root = mState.stack.getRoot(); in getCurrentRoot() local [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 77 private void add(RootInfo root) { in add() argument 78 if (!roots.containsKey(root.authority)) { in add() 79 roots.put(root.authority, new ArrayList<>()); in add() 81 roots.get(root.authority).add(root); in add() 94 for (RootInfo root : roots.get(authority)) { in getRootOneshot() 95 if (rootId.equals(root.rootId)) { in getRootOneshot() 96 return root; in getRootOneshot()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | PagedListView.java | 508 private int getLeft(View root) { in getLeft() argument 509 if (root == null) { in getLeft() 512 View view = findTextView(root); in getLeft() 514 view = root; in getLeft() 517 while (view != null && view != root) { in getLeft() 524 private TextView findTextView(View root) { in findTextView() argument 525 if (root == null) { in findTextView() 528 if (root instanceof TextView) { in findTextView() 529 return (TextView) root; in findTextView() 531 if (root instanceof ViewGroup) { in findTextView() [all …]
|