Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 190) sorted by relevance

12345678

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java112 Mockito.verify(wrapper, Mockito.never()).open(0); in testOpenCamera()
113 Mockito.verify(wrapper).open(1); in testOpenCamera()
118 Mockito.verify(wrapper).open(0); in testOpenCamera()
119 Mockito.verify(wrapper).open(1); in testOpenCamera()
123 inOrder.verify(wrapper).open(1); in testOpenCamera()
125 inOrder.verify(wrapper).open(0); in testOpenCamera()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDrawerController.java43 public void openDrawer(boolean open) { in openDrawer() argument
44 when(isPresent()).thenReturn(open); in openDrawer()
45 when(isOpen()).thenReturn(open); in openDrawer()
DTestActionHandler.java34 public final TestEventHandler<ItemDetails<String>> open = new TestEventHandler<>(); field in TestActionHandler
58 return open.accept(doc); in openItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java42 public abstract void setOpen(boolean open); in setOpen() argument
161 public void setOpen(boolean open) { in setOpen() argument
162 if (open) { in setOpen()
216 public void setOpen(boolean open) {} in setOpen() argument
DMenuManager.java141 MenuItem open = menu.findItem(R.id.dir_menu_open); in updateContextMenuForFiles() local
147 updateOpenInContextMenu(open, selectionDetails); in updateContextMenuForFiles()
348 protected void updateOpenInContextMenu(MenuItem open, SelectionDetails selectionDetails) { in updateOpenInContextMenu() argument
349 open.setVisible(false); in updateOpenInContextMenu()
/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java113 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig()
117 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig()
120 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in onLoadConfig()
136 parser.setInput(getApplicationContext().getAssets().open( in onLoadConfig()
/packages/apps/Car/libs/
Dresource_generator.py101 with open(filename, "w") as xmlfile:
162 with open(filename) as f:
204 with open(filenames[modifier], "wt", encoding=self.ENCODING) as xmlfile:
274 with open(csv_file, 'r') as handle:
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2eCarTestBase.java87 try (InputStream in = mContext.getAssets().open(fileName)) { in getExpectedEvents()
108 InputStream in = mContext.getAssets().open(fileName); in makeShareable()
131 mConnectionWait.open(); in onServiceConnected()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java120 public synchronized android.hardware.Camera open(int cameraId) in open() method in CameraHolder
131 mCameraDevice = android.hardware.Camera.open(cameraId); in open()
159 return mUsers == 0 ? open(cameraId) : null; in tryOpen()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java102 public long open(DataSpec dataSpec) { in open() method in FileTsStreamer.FileDataSource
256 open(filepath); in StreamProvider()
259 private void open(String filepath) { in open() method in FileTsStreamer.StreamProvider
312 open(mFilepath); in read()
/packages/services/Car/tools/
Dupdate-obd2-sensors.py235 intfile = open(os.path.join(filepath, "IntegerSensorIndex.java"), "w")
236 floatfile = open(os.path.join(filepath, "FloatSensorIndex.java"), "w")
250 destfile = open(filepath, "w")
/packages/apps/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/
DSecondaryDisplayLauncher.java224 private Animator revealAnimator(View view, boolean open) { in revealAnimator() argument
227 open ? 0 : radius, open ? radius : 0); in revealAnimator()
/packages/apps/Camera2/src/com/android/camera/device/
DMultiCameraDeviceLifecycle.java295 deviceLifecycle.open(); in openDevice()
303 deviceLifecycle.open(); in openDevice()
380 mCurrentDevice.open(); in onCameraDeviceShutdown()
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py56 with open(path, 'rb') as f:
183 with open(resource_file, 'w') as f:
191 with open(manifest_file, 'w') as f:
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java43 context.getResources().getAssets().open(PEM_FOLDER_NAME + "/" + fileName); in createCertFromPemFile()
53 context.getResources().getAssets().open(KEY_FOLDER_NAME + "/" + fileName); in createRsaPrivateKeyFromKeyFile()
/packages/modules/DnsResolver/tests/
Dpbtxt2pb_converter_host.cpp30 int fd = open(pbtxtFile.c_str(), O_RDONLY); in ConvertPbtxtToPb()
47 fd = open(pbFile.c_str(), O_CREAT | O_WRONLY | O_TRUNC, 0660); in ConvertPbtxtToPb()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DTestUtils.java69 ParcelFileDescriptor.open( in getSeekableDescriptor()
81 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY); in getSeekableDescriptor()
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/
DTimeZoneRulesDataProvider.java152 distroBytesInputStream = context.getAssets().open(TimeZoneDistro.FILE_NAME); in attachInfo()
279 try (InputStream is = assets.open(TimeZoneDistro.FILE_NAME, ACCESS_STREAMING);
284 return ParcelFileDescriptor.open(distroFile, ParcelFileDescriptor.MODE_READ_ONLY);
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapConnection.java94 public void open() throws IOException, MessagingException { in open() method in ImapConnection
105 transport.open(); in open()
357 open(); in sendCommand()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DAssetDataSource.java51 public long open(DataSpec dataSpec) throws AssetDataSourceException { in open() method in AssetDataSource
59 mInputStream = mAssetManager.open(path, AssetManager.ACCESS_RANDOM); in open()
/packages/services/Car/car_product/sepolicy/private/
Dcarservice_app.te61 allow carservice_app proc_uid_io_stats:file { read open getattr };
66 allow carservice_app sysfs_fs_lifetime_write:file { getattr open read };
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java317 private Animator revealAnimator(View view, boolean open) { in revealAnimator() argument
320 open ? 0 : radius, open ? radius : 0); in revealAnimator()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaChooser.java121 void onOpenedChanged(final boolean open) { in onOpenedChanged() argument
122 mOpen = open; in onOpenedChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java69 mImageReadyCond.open(); in insert()
135 return ParcelFileDescriptor.open(path, imode); in openFile()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBottomUserEducationView.java110 private void open(boolean animate) { in open() method in BottomUserEducationView
136 bottomUserEducationView.open(true); in showIfNeeded()

12345678