• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.os;
18 
19 /** {@hide} */
20 oneway interface IVoldListener {
onDiskCreated(@tf8InCpp String diskId, int flags)21     void onDiskCreated(@utf8InCpp String diskId, int flags);
onDiskScanned(@tf8InCpp String diskId)22     void onDiskScanned(@utf8InCpp String diskId);
onDiskMetadataChanged(@tf8InCpp String diskId, long sizeBytes, @utf8InCpp String label, @utf8InCpp String sysPath)23     void onDiskMetadataChanged(@utf8InCpp String diskId,
24             long sizeBytes, @utf8InCpp String label, @utf8InCpp String sysPath);
onDiskDestroyed(@tf8InCpp String diskId)25     void onDiskDestroyed(@utf8InCpp String diskId);
26 
onVolumeCreated(@tf8InCpp String volId, int type, @utf8InCpp String diskId, @utf8InCpp String partGuid)27     void onVolumeCreated(@utf8InCpp String volId,
28             int type, @utf8InCpp String diskId, @utf8InCpp String partGuid);
onVolumeStateChanged(@tf8InCpp String volId, int state)29     void onVolumeStateChanged(@utf8InCpp String volId, int state);
onVolumeMetadataChanged(@tf8InCpp String volId, @utf8InCpp String fsType, @utf8InCpp String fsUuid, @utf8InCpp String fsLabel)30     void onVolumeMetadataChanged(@utf8InCpp String volId,
31             @utf8InCpp String fsType, @utf8InCpp String fsUuid, @utf8InCpp String fsLabel);
onVolumePathChanged(@tf8InCpp String volId, @utf8InCpp String path)32     void onVolumePathChanged(@utf8InCpp String volId,
33             @utf8InCpp String path);
onVolumeInternalPathChanged(@tf8InCpp String volId, @utf8InCpp String internalPath)34     void onVolumeInternalPathChanged(@utf8InCpp String volId,
35             @utf8InCpp String internalPath);
onVolumeDestroyed(@tf8InCpp String volId)36     void onVolumeDestroyed(@utf8InCpp String volId);
37 }
38