Home
last modified time | relevance | path

Searched refs:String16 (Results 1 – 25 of 229) sorted by relevance

12345678910

/frameworks/base/tools/aapt/
DResourceTable.h39 const String16& resourceName,
46 const String16& resourceName,
54 const String16& resourceName,
84 String16 resourceName;
104 ResourceTable(Bundle* bundle, const String16& assetsPackage, PackageType type);
106 const String16& getAssetsPackage() const { in getAssetsPackage()
125 const String16& package,
126 const String16& type,
127 const String16& name,
131 const String16& package,
[all …]
DXMLNode.h20 String16 getNamespaceResourcePackage(String16 namespaceUri, bool* outIsPublic = NULL);
25 const String16& endTag,
26 String16* outString,
43 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { in newNamespace()
48 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { in newElement()
65 const String16& getNamespacePrefix() const;
66 const String16& getNamespaceUri() const;
68 const String16& getElementNamespace() const;
69 const String16& getElementName() const;
86 String16 ns;
[all …]
Dpseudolocalize.cpp6 static const String16 k_expansion_string = String16("one two three "
11 static const String16 k_rlm = String16("\xe2\x80\x8f");
12 static const String16 k_rlo = String16("\xE2\x80\xae");
13 static const String16 k_pdf = String16("\xE2\x80\xac");
16 static const String16 k_placeholder_open = String16("\xc2\xbb");
17 static const String16 k_placeholder_close = String16("\xc2\xab");
109 String16
111 String16 result = k_expansion_string; in pseudo_generate_expansion()
114 result += String16(" "); in pseudo_generate_expansion()
136 String16
[all …]
DResourceIdCache.cpp20 static const android::String16 TRUE16("1");
21 static const android::String16 FALSE16("0");
25 android::String16 hashedName;
29 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } in CacheEntry()
40 static uint32_t hash(const android::String16& hashableString) { in hash()
49 static inline String16 makeHashableName(const android::String16& package, in makeHashableName()
50 const android::String16& type, in makeHashableName()
51 const android::String16& name, in makeHashableName()
53 String16 hashable = String16(name); in makeHashableName()
60 uint32_t ResourceIdCache::lookup(const android::String16& package, in lookup()
[all …]
DResourceTable.cpp22 const String16& resourceName, in compileXmlFile()
37 const String16& resourceName, in compileXmlFile()
53 const String16& resourceName, in compileXmlFile()
220 static String16 mayOrMust(int type, int flags) in mayOrMust()
223 return String16("<p>Must"); in mayOrMust()
226 return String16("<p>May"); in mayOrMust()
229 static void appendTypeInfo(ResourceTable* outTable, const String16& pkg, in appendTypeInfo()
230 const String16& typeName, const String16& ident, int type, in appendTypeInfo()
236 String16 fullMsg(mayOrMust(type, flags->value)); in appendTypeInfo()
237 fullMsg.append(String16(" be ")); in appendTypeInfo()
[all …]
DResourceIdCache.h15 static uint32_t lookup(const String16& package,
16 const String16& type,
17 const String16& name,
20 static uint32_t store(const String16& package,
21 const String16& type,
22 const String16& name,
Dpseudolocalize.h8 String16 pseudolocalize_string(const String16& source);
11 String16 pseudobidi_string(const String16& source);
15 String16 pseudo_generate_expansion(const unsigned int length);
DStringPool.h43 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } in entry()
48 String16 value;
68 String16 name;
95 ssize_t add(const String16& value, bool mergeDuplicates = false,
98 ssize_t add(const String16& value, const Vector<entry_style_span>& spans,
101 status_t addStyleSpan(size_t idx, const String16& name,
130 ssize_t offsetForString(const String16& val) const;
138 const Vector<size_t>* offsetsForString(const String16& val) const;
168 DefaultKeyedVector<String16, ssize_t> mValues;
DXMLNode.cpp47 static const String16 RESOURCES_PREFIX(RESOURCES_ROOT_NAMESPACE);
48 static const String16 RESOURCES_PREFIX_AUTO_PACKAGE(RESOURCES_AUTO_PACKAGE_NAMESPACE);
49 static const String16 RESOURCES_PRV_PREFIX(RESOURCES_ROOT_PRV_NAMESPACE);
50 static const String16 RESOURCES_TOOLS_NAMESPACE("http://schemas.android.com/tools");
52 String16 getNamespaceResourcePackage(String16 appPackage, String16 namespaceUri, bool* outIsPublic) in getNamespaceResourcePackage()
69 return String16(); in getNamespaceResourcePackage()
75 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); in getNamespaceResourcePackage()
80 String16 str16) in hasSubstitutionErrors()
186 const String16& endTag, in parseStyledString()
187 String16* outString, in parseStyledString()
[all …]
/frameworks/base/include/storage/
DIMountService.h41 virtual int32_t mountVolume(const String16& mountPoint) = 0;
43 const String16& mountPoint, const bool force, const bool removeEncryption) = 0;
44 virtual int32_t formatVolume(const String16& mountPoint) = 0;
46 getStorageUsers(const String16& mountPoint, int32_t** users) = 0;
47 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
48 virtual int32_t createSecureContainer(const String16& id,
49 const int32_t sizeMb, const String16& fstype, const String16& key,
51 virtual int32_t finalizeSecureContainer(const String16& id) = 0;
52 virtual int32_t destroySecureContainer(const String16& id) = 0;
53 virtual int32_t mountSecureContainer(const String16& id,
[all …]
/frameworks/native/include/binder/
DPermissionCache.h43 String16 name;
53 SortedVector< String16 > mPermissionNamesPool;
61 const String16& permission, uid_t uid) const;
63 void cache(const String16& permission, uid_t uid, bool granted);
68 static bool checkCallingPermission(const String16& permission);
70 static bool checkCallingPermission(const String16& permission,
73 static bool checkPermission(const String16& permission,
DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
44 virtual sp<IBinder> checkService( const String16& name) const = 0;
49 virtual status_t addService( const String16& name,
56 virtual Vector<String16> listServices() = 0;
69 status_t getService(const String16& name, sp<INTERFACE>* outService) in getService()
79 bool checkCallingPermission(const String16& permission);
80 bool checkCallingPermission(const String16& permission,
82 bool checkPermission(const String16& permission, pid_t pid, uid_t uid);
DIInterface.h53 virtual sp<IInterface> queryLocalInterface(const String16& _descriptor);
54 virtual const String16& getInterfaceDescriptor() const;
75 static const android::String16 descriptor; \
78 virtual const android::String16& getInterfaceDescriptor() const; \
84 const android::String16 I##INTERFACE::descriptor(NAME); \
85 const android::String16& \
116 const String16& _descriptor) in queryLocalInterface()
123 inline const String16& BnInterface<INTERFACE>::getInterfaceDescriptor() const in getInterfaceDescriptor()
DAppOpsManager.h71 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage);
72 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage);
73 int32_t startOp(int32_t op, int32_t uid, const String16& callingPackage);
74 void finishOp(int32_t op, int32_t uid, const String16& callingPackage);
75 void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/libs/storage/
DIMountService.cpp143 int32_t mountVolume(const String16& mountPoint) in mountVolume()
160 int32_t unmountVolume(const String16& mountPoint, const bool force, const bool removeEncryption) in unmountVolume()
179 int32_t formatVolume(const String16& mountPoint) in formatVolume()
196 int32_t getStorageUsers(const String16& mountPoint, int32_t** users) in getStorageUsers()
218 int32_t getVolumeState(const String16& mountPoint) in getVolumeState()
235 int32_t createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, in createSecureContainer()
236 const String16& key, const int32_t ownerUid) in createSecureContainer()
257 int32_t finalizeSecureContainer(const String16& id) in finalizeSecureContainer()
274 int32_t destroySecureContainer(const String16& id) in destroySecureContainer()
291 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) in mountSecureContainer()
[all …]
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp83 ASSERT_EQ(String16("test2"), String16(targetStr16, strLen)); in TEST_F()
97 ASSERT_EQ(String16("test2-overlay"), String16(targetStr16, strLen)); in TEST_F()
110 EXPECT_EQ(String16("com.android.test.basic"), String16(resName.package, resName.packageLen)); in TEST_F()
111 EXPECT_EQ(String16("array"), String16(resName.type, resName.typeLen)); in TEST_F()
112 EXPECT_EQ(String16("integerArray1"), String16(resName.name, resName.nameLen)); in TEST_F()
DSplit_test.cpp131 String16(baseName.package, baseName.packageLen), in TEST()
132 String16(frName.package, frName.packageLen)); in TEST()
135 String16(baseName.type, baseName.typeLen), in TEST()
136 String16(frName.type, frName.typeLen)); in TEST()
139 String16(baseName.name, baseName.nameLen), in TEST()
140 String16(frName.name, frName.nameLen)); in TEST()
193 EXPECT_EQ(String16("com.android.test.basic"), in TEST()
194 String16(name.package, name.packageLen)); in TEST()
196 EXPECT_EQ(String16("string"), in TEST()
197 String16(name.type, name.typeLen)); in TEST()
[all …]
/frameworks/base/packages/services/PacProcessor/jni/
Dcom_android_pacprocessor_PacNative.cpp35 void AlertMessage(String16 message) { in AlertMessage()
39 void ErrorMessage(String16 message) { in ErrorMessage()
49 String16 jstringToString16(JNIEnv* env, jstring jstr) { in jstringToString16()
51 String16 str16(str, env->GetStringLength(jstr)); in jstringToString16()
56 jstring string16ToJstring(JNIEnv* env, String16 string) { in string16ToJstring()
89 String16 script16 = jstringToString16(env, script); in com_android_pacprocessor_PacNative_setProxyScriptNativeLocked()
107 String16 url16 = jstringToString16(env, url); in com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked()
108 String16 host16 = jstringToString16(env, host); in com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked()
109 String16 ret; in com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked()
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp30 static const String16 sRecordAudio("android.permission.RECORD_AUDIO"); in recordingAllowed()
39 static const String16 sCaptureAudioOutput("android.permission.CAPTURE_AUDIO_OUTPUT"); in captureAudioOutputAllowed()
47 static const String16 sCaptureHotwordAllowed("android.permission.CAPTURE_AUDIO_HOTWORD"); in captureHotwordAllowed()
55 static const String16 sAudioSettings("android.permission.MODIFY_AUDIO_SETTINGS"); in settingsAllowed()
63 static const String16 sModifyAudioRoutingAllowed("android.permission.MODIFY_AUDIO_ROUTING"); in modifyAudioRoutingAllowed()
71 static const String16 sDump("android.permission.DUMP"); in dumpAllowed()
/frameworks/native/libs/binder/
DIServiceManager.cpp50 bool checkCallingPermission(const String16& permission) in checkCallingPermission()
55 static String16 _permission("permission");
58 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission()
68 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
134 virtual sp<IBinder> getService(const String16& name) const in getService()
146 virtual sp<IBinder> checkService( const String16& name) const in checkService()
155 virtual status_t addService(const String16& name, const sp<IBinder>& service, in addService()
167 virtual Vector<String16> listServices() in listServices()
169 Vector<String16> res; in listServices()
196 String16 which = data.readString16(); in onTransact()
[all …]
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp24 static int sort_func(const String16* lhs, const String16* rhs) in sort_func()
40 Vector<String16> services; in main()
41 Vector<String16> args; in main()
49 args.add(String16("-a")); in main()
51 services.add(String16(argv[1])); in main()
53 args.add(String16(argv[i])); in main()
/frameworks/base/native/android/
Dstorage_manager.cpp44 virtual void onObbResult(const android::String16& filename, const int32_t nonce,
94 mMountService = interface_cast<IMountService>(sm->getService(String16("mount"))); in initialize()
138 String16 rawPath16(rawPath); in mountObb()
139 String16 canonicalPath16(canonicalPath); in mountObb()
140 String16 key16(key); in mountObb()
146 String16 filename16(filename); in unmountObb()
151 String16 filename16(filename); in isObbMounted()
156 String16 filename16(filename); in getMountedObbPath()
157 String16 path16; in getMountedObbPath()
166 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const i… in onObbResult()
/frameworks/native/cmds/service/
Dservice.cpp35 parcel.writeString16(String16(string)); in writeString16()
44 static String16 get_interface_name(sp<IBinder> service) in get_interface_name()
53 return String16(); in get_interface_name()
56 static String8 good_old_string(const String16& src) in good_old_string()
105 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main()
115 Vector<String16> services = sm->listServices(); in main()
118 String16 name = services[i]; in main()
129 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main()
130 String16 ifName = get_interface_name(service); in main()
157 data.writeString16(String16(argv[optind++])); in main()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h82 const String16& clientPackageName, int clientUid,
87 int halVersion, const String16& clientPackageName, int clientUid,
92 int cameraId, const String16& clientPackageName, int clientUid,
99 const String16& clientPackageName,
111 String16* parameters);
121 virtual status_t dump(int fd, const Vector<String16>& args);
168 virtual status_t dump(int fd, const Vector<String16>& args) = 0;
173 const String16& clientPackageName,
192 const String16 mClientPackageName;
214 virtual void opChanged(int32_t op, const String16& packageName);
[all …]
/frameworks/av/include/camera/
DICameraService.h35 class String16; variable
102 const String16& clientPackageName,
109 const String16& clientPackageName,
117 const String16& clientPackageName,
125 String16* parameters) = 0;
141 const String16& clientPackageName,

12345678910