/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherListView.java | 79 void updateVisibilities(boolean open, boolean animate) { in updateVisibilities() argument 82 open, animate, getChildCount())); in updateVisibilities() 94 userItemViews[i].updateVisibilities(true /* showItem */, open /* showTextName */, in updateVisibilities() 99 userItemViews[i].setClickable(open); in updateVisibilities() 101 if (open) { in updateVisibilities() 118 (open ? mAppearAnimationUtils : mDisappearAnimationUtils) in updateVisibilities() 123 if (!open) { in updateVisibilities()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | CloseGuardTest.java | 40 owner.open(); in testEnabled_OpenNotClosed() 47 owner.open(); in testEnabled_OpenThenClosed() 55 closeGuard.open(null); in testOpen_withNullMethodName_throwsNPE() 80 public void open() { in open() method in CloseGuardTest.ResourceOwner 81 mCloseGuard.open("close"); in open()
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file: 338 with open(out_path, 'w') as out_file: 343 with open(in_path, 'r') as in_file: 353 with open(os.path.join(SupportLibGenTestDir(), shared_rsh), 'a') as shared: 421 with open(SupportLib19MakefileLocation(), 'w') as gen_file: 578 with open(ForwardMakefileLocation(build_tool_version_name), 'w') as gen_file: 582 with open(ForwardAndroidManifestLocation(build_tool_version_name), 'w') as gen_file: 587 with open(ForwardJavaApiVersionLocation(build_tool_version_name), 'w') as gen_file: 591 with open(ForwardMakeTargetsLocation(), 'w') as gen_file: 683 with open(BackwardJavaFileLocation(), 'w') as gen_file: [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | RedactingFileDescriptorTest.java | 66 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() 82 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() 104 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile() 117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite() 174 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart() 186 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset() 198 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart() 210 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd() 222 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction() 234 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeMultipleRedactions()
|
/frameworks/base/libs/androidfw/tests/ |
D | BackupData_test.cpp | 60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp() 75 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() 84 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F() 117 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() 125 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F() 165 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() 175 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F() 220 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() 227 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F() 259 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F() [all …]
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | DecryptedChunkFileOutputTest.java | 65 DecryptedChunkOutput result = mDecryptedChunkFileOutput.open(); in open_returnsInstance() 74 assertThrows(FileNotFoundException.class, () -> mDecryptedChunkFileOutput.open()); in open_nonExistentOutputFolder_throwsException() 79 mDecryptedChunkFileOutput.open(); in open_whenRunTwice_throwsException() 80 assertThrows(IllegalStateException.class, () -> mDecryptedChunkFileOutput.open()); in open_whenRunTwice_throwsException() 99 mDecryptedChunkFileOutput.open(); in getDigest_beforeClose_throws() 127 mDecryptedChunkFileOutput.open(); in processTestChunks()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuProcStringReaderTest.java | 91 assertEquals(null, mReader.open()); in testReadInvalidFile() 100 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit() 109 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit() 115 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit() 123 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit() 144 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLine() 179 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testMultipleRead() 196 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLineToArray() 233 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadOverLimit() 265 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testConcurrent() [all …]
|
D | KernelCpuUidBpfMapReaderTest.java | 71 assertEquals(null, mReader.open()); in testUnsuccessfulRead() 80 try (BpfMapIterator iter = mReader.open()) { in testReadErrorsLimit() 93 try (BpfMapIterator iter = mReader.open(true)) { in testReadErrorsLimit() 98 try (BpfMapIterator iter = mReader.open(true)) { in testReadErrorsLimit() 198 try (BpfMapIterator iter = mReader.open()) { in testOpenAndReadData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 98 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_emptyInput_throwsEOFException() 119 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException() 139 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything() 156 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_notEnoughData_throwsEOFException() 179 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly() 199 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly() 224 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly() 249 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | InputPort.java | 42 public void open() { in open() method in InputPort 43 super.open(); in open() 45 mSourcePort.open(); in open()
|
D | OutputPort.java | 44 public void open() { in open() method in OutputPort 45 super.open(); in open() 47 mTargetPort.open(); in open()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 39 private static InputStream open(String path) throws FileNotFoundException { in open() method in TestAssetRepository 55 return open(mAssetPath + path); in openAsset() 60 return open(path); in openNonAsset()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbDeviceManager.cpp | 62 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings() 84 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory() 101 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested() 113 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode() 131 fd = TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP0 : FFS_MTP_EP0, O_RDWR)); in android_server_UsbDeviceManager_openControl()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagCommonKinds.inc | 3 "can not open input file `%0': %1", 4 "can not open input file `%0' : %1") 7 "cannot open output file `%0': %1", 8 "cannot open output file `%0': %1") 11 "can not open search directory `-L%0'", 12 "can not open search directory `-L%0'") 112 "cannot open file `%0': %1.", 113 "cannot open file `%0': %1.") 128 "cannot open memory mapped file %0 from offset %1 to length %2.", 129 "cannot open memoory mpped file %0 from offset %1 to length %2.") [all …]
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 71 mDone.open(); in run() 79 mDone.open(); in run() 89 mDone.open(); in run() 127 mDone.open(); in stop()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | IfElseFilterTest.java | 59 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterTrue() 61 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterTrue() 90 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterFalse() 92 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterFalse()
|
/frameworks/native/cmds/cmd/fuzzer/ |
D | cmd_fuzzer.cpp | 68 int32_t in = open("/dev/null", O_RDWR | O_CREAT); in process() 69 int32_t out = open("/dev/null", O_RDWR | O_CREAT); in process() 70 int32_t err = open("/dev/null", O_RDWR | O_CREAT); in process()
|
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/ |
D | gen.py | 43 f = open('PingReceiver{:03d}.java'.format(i), 'w') 47 manifest = open('AppendToManifest.xml', 'w')
|
/frameworks/base/core/java/android/util/ |
D | CloseGuard.java | 129 public void open(@NonNull String closeMethodName) { in open() method in CloseGuard 130 mImpl.open(closeMethodName); in open()
|
/frameworks/base/tests/ApkVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 63 fd_.reset(TEMP_FAILURE_RETRY(open(file_path, O_WRONLY | O_CLOEXEC, 0))); in ScopedF2fsFilePinning() 82 android::base::unique_fd fd(open(block_device, O_RDONLY)); in get_logical_block_size() 97 android::base::unique_fd fd(open(file_name, O_RDONLY)); in get_physical_offset() 142 android::base::unique_fd fd(open(device_path, O_RDONLY | O_DIRECT)); in read_block_from_device() 161 android::base::unique_fd fd(open(device_path, O_WRONLY | O_DIRECT)); in write_block_to_device()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidTimeReader.java | 236 try (ProcFileIterator iter = mReader.open(!mThrottle || forceRead)) { in readDeltaImpl() 274 try (ProcFileIterator iter = mReader.open(!mThrottle)) { in readAbsoluteImpl() 517 try (BpfMapIterator iter = mBpfReader.open(!mThrottle)) { in readDeltaImpl() 526 try (ProcFileIterator iter = mReader.open(!mThrottle)) { in readDeltaImpl() 544 try (BpfMapIterator iter = mBpfReader.open(!mThrottle)) { in readAbsoluteImpl() 554 try (ProcFileIterator iter = mReader.open(!mThrottle)) { in readAbsoluteImpl() 685 try (BpfMapIterator iter = mBpfReader.open(!mThrottle)) { in readDeltaImpl() 694 try (ProcFileIterator iter = mReader.open(!mThrottle)) { in readDeltaImpl() 719 try (BpfMapIterator iter = mBpfReader.open(!mThrottle)) { in readAbsoluteImpl() 728 try (ProcFileIterator iter = mReader.open(!mThrottle)) { in readAbsoluteImpl() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | FileHandleTest.cpp | 43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F() 62 int fd = ::open(path.native().c_str(), O_RDONLY); in TEST_F() 85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
|
/frameworks/compile/libbcc/lib/ |
D | FileBase.cpp | 69 open(); in FileBase() 78 bool FileBase::open() { in open() function in FileBase 82 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
|
/frameworks/libs/net/common/native/bpfutiljni/ |
D | com_android_net_module_util_BpfUtils.cpp | 38 unique_fd cg_fd(open(dirPath.c_str(), O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in com_android_net_module_util_BpfUtil_attachProgramToCgroup() 68 unique_fd cg_fd(open(dirPath.c_str(), O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in com_android_net_module_util_BpfUtil_detachProgramFromCgroup() 89 unique_fd cg_fd(open(dirPath.c_str(), O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in com_android_net_module_util_BpfUtil_detachSingleProgramFromCgroup()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 93 mCamera = Camera.open(CAMERA_ID); in initializeMessageLooper() 94 startDone.open(); in initializeMessageLooper() 132 mPreviewDone.open(); in onPreviewFrame() 169 mSnapshotDone.open(); in onPictureTaken()
|